Grapple

Latest version: v0.3.0

Safety actively analyzes 625178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.21.0

Added

- Support for SVGs when using Wagtail 5.0+ ([359](https://github.com/torchbox/wagtail-grapple/pull/359)) zerolab
You can differentiate images using the `isSVG` property. The image rendition field accepts a `preserveSvg` argument
which will help prevent raster image operations (e.g. format-webp, bgcolor, etc.) being applied to SVGs. [Reference](https://docs.wagtail.org/en/stable/topics/images.html#svg-images)

Changed

- Use consistent ID type for pages and page queries ([350](https://github.com/torchbox/wagtail-grapple/pull/350)) estyxx
⚠️ Warning note: if your query looked like `query($id: Int) { page(id: $id) { ... } }`, it must now be `query($id: ID) { page(id: $id) { ... } }`
- Pass the `GraphQLResolveInfo` object to the StreamField callables ([356](https://github.com/torchbox/wagtail-grapple/pull/356)) zerolab
This is passed as the `info` kwarg.
- The image rendition query will now surface any errors when:
- using filters not present in the `ALLOWED_IMAGE_FILTERS` Grapple setting,
- there are no filters to apply (for example you are requesting an SVG rendition but supply raster image operations)
- the source image is not present

0.20.0

0.19.2

0.19.1

0.19.0

0.18.1

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.