Skip to content

Releases: torchbox/wagtail-grapple

Newer versions, site query and more!

07 Oct 13:14
Compare
Choose a tag to compare

This release brings support for Django >= 2.2, < 3.2, provides a site query, a GraphQLTag field type, better output for nested StructBlocks, rendered embed markup and raw data for EmbedBlocks, documentation updates and more

New features

  • Multi-site support - add SitesQuery and resolve pages based on site (#115) Thanks @leewesleyv
  • Add GraphQLTag model (#124) Thanks @ruisaraiva19
  • Add embed data for StreamField Embed blocks (#122)
  • Add register_singular_query_field decorator (#112)
  • Add token/slug support to register_query_field/register_paginated_query_field (#108)

Fixes

  • Fix parent attribute (#127)
  • Fix nested StructBlock not resolving (#118)
  • Fix pageType returns null
  • Fix: use url instead of urlPath in redirections (#109) Thanks @fabienheureux

Other

  • Make wagtailmedia an optional dependency (#106)
  • Add GraphQLPage to model types docs (#119) @zerolab
  • Remove unused imports and cleanup repeat queries (#113)
  • Update supported versions (#105)

Django Pagination

02 Sep 12:13
Compare
Choose a tag to compare

This release adds Django-like pagination via a register_paginated_query_field decorator.

Changelog

Wagtail 2.10, Django 3.0 and more

21 Aug 09:10
Compare
Choose a tag to compare

This release adds support for Wagtail 2.10 and Django 3.0, adds a number of fixes and new features.

Upgrade considerations

  • Channels-related functionality is now optional in order to unblock Django 3.0.x compatibility. If you are using Grapple with Channels, you need to change your requirements to wagtail_grapple[channels]. Unfortunately, Channels currently works only with Django 2.x. We welcome all help with #86
  • All media (core Image, Document and wagtailmedia Media) have a url attribute that returns the full URL to the file.
    • The file attribute on MediaObjectType now returns the relative path. Use url for the full URL
    • The src attribute on BaseImageObjectType is now deprecated in favour of url

Changelog

  • Add non-nullable support to register_query_field decorator (#62). Thanks to @ruisaraiva19
  • Add url to DocumentObjectType (#95). Thanks to @tbrlpld
  • Fix StructValue' object has no attribute 'value' (#92). Thanks to @timmysmalls and @zerolab
  • Use consistent media url attributes (#97). @zerolab
    • Custom Media classes are now supported too
      Fix typos, update links, and lint files with pre-commit (#91) Thanks to @ruisaraiva19
  • Wheel packages are now created as well. @zerolab

Wagtail 2.7, proper

14 Dec 12:42
Compare
Choose a tag to compare

Fixes packaging issue that prevented installation with Wagtail 2.7

The "forgotten migrations" release

14 Dec 12:52
Compare
Choose a tag to compare
  • Includes a missed migration
  • Includes the base url for the embed block when needed cb17c95

The nicer, more robust field definition release

14 Dec 12:50
Compare
Choose a tag to compare
  • Minimum python version bumped to 3.6
  • Improved field definition and under-the-hood implementation #28
  • Added conditional checks when resolving streamfield type #29