2.2

@gasman gasman released this Aug 10, 2018 · 16 commits to stable/2.2.x since this release

Assets 2
  • Added faceted search using the .facet() method (Karl Hobley)
  • Added page type filtering and ordering to the Wagtail admin page search (Karl Hobley)
  • Added another valid AudioBoom oEmbed pattern (Bertrand Bordage)
  • Added annotate_score support to PostgreSQL search backend (Bertrand Bordage)
  • Pillow's image optimisation is now applied when saving PNG images (Dmitry Vasilev)
  • JS / CSS media files can now be associated with Draftail feature definitions (Matt Westcott)
  • The {% slugurl %} template tag is now site-aware (Samir Shah)
  • Added file_size field to documents (Karl Hobley)
  • Added file_hash field to images (Karl Hobley)
  • Update documentation (configuring Django for Wagtail) to contain all current settings options (Matt Westcott, LB (Ben Johnston))
  • Added defer flag to PageQuerySet.specific (Karl Hobley)
  • Snippets can now be deleted from the listing view (LB (Ben Johnston))
  • Increased max length of redirect URL field to 255 (Michael Harrison)
  • Added documentation for new JS/CSS media files association with Draftail feature definitions (Ed Henderson)
  • Added accessible colour contrast guidelines to the style guide (Catherine Farman)
  • Admin modal views no longer rely on Javascript eval(), for better CSP compliance (Matt Westcott)
  • Update editor guide for embeds and documents in rich text (Kevin Howbrook)
  • Improved performance of sitemap generation (Michael van Tellingen, Bertrand Bordage)
  • Added an internal API for autocomplete (Karl Hobley, Bertrand Bordage)
  • Fix: Handle all exceptions from Image.get_file_size (Andrew Plummer)
  • Fix: Fix display of breadcrumbs in ModelAdmin (LB (Ben Johnston))
  • Fix: Remove duplicate border radius of avatars (Benjamin Thurm)
  • Fix: Site.get_site_root_paths() preferring other sites over the default when some sites share the same root_page (Andy Babic)
  • Fix: Pages with missing model definitions no longer crash the API (Abdulmalik Abdulwahab)
  • Fix: Rich text image chooser no longer skips format selection after a validation error (Matt Westcott)
  • Fix: Null characters in URLs no longer crash the redirect middleware on PostgreSQL (Andrew Crewdson, Matt Westcott)
  • Fix: Permission checks no longer prevent a non-live page from being unscheduled (Abdulmalik Abdulwahab)
  • Fix: Copy-paste between Draftail editors now preserves all formatting/content (Thibaud Colas)
  • Fix: Fix alignment of checkboxes and radio buttons on Firefox (Matt Westcott)