Releases: torchbox/wagtail-grapple
v0.19.2 - searching for order and relevance
What's Changed
Full Changelog: v0.19.1...v0.19.2
v0.19.1 - draft previews and deprecated settings
What's Changed
- Fix DEPRECATED_SETTINGS breaks apps by @zerolab in #298
- fix: previews for unpublished pages by @dopry in #277
Full Changelog: v0.19.0...v0.19.1
v0.19 - graphene v3 and Django 4.1
🚧 This release uses graphene-django v3. Please test your sites accordingly
What's Changed
- feat: django-graphene3 by @dopry in #285
- building on #285 by @fabienheureux
- Middleware tidy up by @zerolab in #288
- fix: blog embed test by @dopry in #293
- Fix/search ordering by @dopry in #292
- Update upper bound for Django by @zerolab in #294
Full Changelog: v0.18.1...v0.19.0
v0.18.1 - shiny new graphiql
What's Changed
- chore: upgrade graphiql to 2.0.13, react to 18.2.0 by @dopry in #273
- Chore/tox targets and pip cache by @zerolab in #278
New Contributors
- @pre-commit-ci made their first contribution in #272
Full Changelog: v0.18.0...v0.18.1
v0.18 - GraphQLRichText and prefetched image renditions
This release brings in a specialized GraphQLRichText
field type, for all your rich text needs.
It also adds preliminary Wagtail 4.1+ support (provided you are using Django < 4.0), and prefetches image renditions when used with Wagtail 3.0+ 🚀
What's Changed
- Fix returned ID for nested StructBlock in StreamBlock by @Tijani-Dia in #269
- Add GraphQLRichText and RichText(Scalar) types by @jams2 in #266
- Allow Wagtail 4.1+ by @zerolab in #270
- Prefetch renditions by @zerolab and @Tijani-Dia in #271
Full Changelog: v0.17.1...v0.18.0
v0.17.1 - fewer errors than v0.17.0
Builds on v.017.0
What's Changed
- Capture FieldDoesNotExist errors when getting the type of a model instance's field by @Tijani-Dia in #261
Full Changelog: v0.17.0...v0.17.1
v0.17.0 - Rich text format setting, image format and tidy ups
RichTextField
and RichTextBlock
. Previously RichTextField
returned the raw, database representation while RichTextBlock
returned the rendered version. Now, both return the rendered, browser-ready format by default.
To change the setting, set
# settings.py
GRAPPLE = {
# ...
"RICHTEXT_FORMAT": "html" # set "raw" for the raw value
}
Additionally, the RichTextBlock
's rawValue
changed to return the raw representation.
📷 You can now pass the output format to image rendition srcSet
. Note that if you limited the allowed image filters via the ALLOWED_IMAGE_FILTERS
setting, ensure you add the format filter to the list. e.g.
{
image(id: 1) {
srcSet(sizes: [200], format: "webp")
}
}
# settings.py
GRAPPLE = {
# ...
ALLOWED_IMAGE_FILTERS = [
"width-200",
"width-200|format-webp"
]
}
What's Changed
- feat: ancestor, parent arguments for pages query by @dopry #240
- fix: WAGTAIL_ADMIN_BASEURL warning in tests by @dopry in #242
- fix: Unlink of example/db.sqlite3 failed by @dopry in #247
- fix: cannot access the file because it is being used by @dopry in #245
- fix: Unlink of example/db.sqlite3 failed by @dopry #247
- fix: graphiql xss vulnerability by @dopry #248
- feat: comma separated list of content_type by @dopry in #250
- Various tidy ups by @zerolab in #251
- fix: do not alter embed urls by @dopry in #252
- Make SnippetChooserBlock return proper snippet values by @jams2 #256
- Support specifying format in image srcSet query by @jams2 in #257
- Multi site support by @kaedroho #258
- Allow controlling the rich text field format by @zerolab, @Tijani-Dia in #259
New Contributors
Full Changelog: v0.16.1...v0.17.0
v0.16.1 - Wagtail 4.0, Generic Settings
This release adds preliminary Wagtail 4.0 support, especially Generic Settings
What's Changed
- Don't import wagtailmedia models if it's not in INSTALLED_APPS by @kaedroho in #235
- Remove all blind "except:" clauses by @kaedroho in #236
New Contributors
Full Changelog: v0.15.1...v0.16.0
v0.15.1 - missing functionality
This is a small (but long standing) bugfix.
What's Changed
- Add urlPath to page field under SiteObjectType by @Morsey187 in #230
New Contributors
- @Morsey187 made their first contribution in #230
Full Changelog: v0.15.0...v0.15.1
v0.15 - Wagtail 3.0 support
This is a maintenance release which mainly adds Wagtail 3.0 support, and drop Wagtail < 2.15
What's Changed
- Feature/wagtail 3 support by @fabienheureux in #229
- Check callable field sources before execution by @danbentley in #228
New Contributors
- @danbentley made their first contribution in #228
Full Changelog: v0.14.1...v0.15.0