2.6.rst 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ==========================================
  2. Wagtail 2.6 release notes - IN DEVELOPMENT
  3. ==========================================
  4. .. contents::
  5. :local:
  6. :depth: 1
  7. What's new
  8. ==========
  9. Other features
  10. ~~~~~~~~~~~~~~
  11. * Added support for ``short_description`` for field labels in modeladmin's ``InspectView`` (Wesley van Lee)
  12. * Rearranged SCSS folder structure to the client folder and split them approximately according to ITCSS. (Naomi Morduch Toubman, Jonny Scholes, Janneke Janssen, Hugo van den Berg)
  13. * Added support for specifying cell alignment on TableBlock (Samuel Mendes)
  14. * Added more informative error when a non-image object is passed to the ``image`` template tag (Deniz Dogan)
  15. * Added more ARIA landmarks across the admin interface and welcome page for screen reader users to navigate the CMS more easily (Beth Menzies)
  16. * Added ButtonHelper examples in the modelAdmin primer page within documentation (Kalob Taulien)
  17. * Multiple clarifications, grammar and typo fixes throughout documentation (Dan Swain)
  18. * Use correct URL in API example in documentation (Michael Bunsen)
  19. * Move datetime widget initialiser JS into the widget's form media instead of page editor media (Matt Westcott)
  20. * Add form field prefixes for input forms in chooser modals (Matt Westcott)
  21. * Increase font-size across the whole admin (Beth Menzies, Katie Locke)
  22. * Improved text color contrast across the whole admin (Beth Menzies, Katie Locke)
  23. * Added consistent focus outline styles across the whole admin (Thibaud Colas)
  24. * Removed version number from the logo link’s title. The version can now be found under the Settings menu (Thibaud Colas)
  25. * Added "don't delete" option to confirmation screen when deleting images, documents and modeladmin models (Kevin Howbrook)
  26. * Added ``branding_title`` template block for the admin title prefix (Dillen Meijboom)
  27. * Add image dimensions in image gallery and image choosers for screen reader users (Helen Chapman)
  28. * Added support for custom search handler classes to modeladmin's IndexView, and added a class that uses the default Wagtail search backend for searching (Seb Brown, Andy Babic)
  29. * Improved heading structure for screen reader users navigating the CMS admin (Beth Menzies, Helen Chapman)
  30. * Update group edit view to expose the ``Permission`` object for each checkbox (George Hickman)
  31. Bug fixes
  32. ~~~~~~~~~
  33. * ModelAdmin no longer fails when filtering over a foreign key relation (Jason Dilworth, Matt Westcott)
  34. * The Wagtail version number is now visible within the Settings menu (Kevin Howbrook)
  35. * Scaling images now rounds values to an integer so that images render without errors (Adrian Brunyate)
  36. * Revised test decorator to ensure TestPageEditHandlers test cases run correctly (Alex Tomkins)
  37. * Wagtail bird animation in admin now ends correctly on all browsers (Deniz Dogan)
  38. * Explorer menu no longer shows sibling pages for which the user does not have access (Mike Hearn)
  39. * Fixed occurences of invalid HTML across the CMS admin (Thibaud Colas)
  40. * Admin HTML now includes the correct ``dir`` attribute for the active language (Andreas Bernacca)
  41. * Fix type error when using ``--chunk_size`` argument on ``./manage.py update_index`` (Seb Brown)
  42. * Avoid rendering entire form in EditHandler's ``repr`` method (Alex Tomkins)
  43. * Add empty alt attributes to HTML output of Embedly and oEmbed embed finders (Andreas Bernacca)
  44. * Add empty alt attributes to all images in the CMS admin (Andreas Bernacca)
  45. * Make URL generator preview image alt translateable (Thibaud Colas)
  46. * Clear pending AJAX request if error occurs on page chooser (Matt Westcott)
  47. * Prevent text from overlapping in focal point editing UI (Beth Menzies)
  48. * Screen readers now announce "Dashboard" for the main nav’s logo link instead of Wagtail’s version number (Thibaud Colas)
  49. * Screen readers now treat page-level action dropdowns as navigation instead of menus (Helen Chapman)
  50. * Make icon font implementation more screen-reader-friendly (Thibaud Colas)
  51. * Remove duplicate labels in image gallery and image choosers for screen reader users (Helen Chapman)
  52. * Restore custom "Date" icon for scheduled publishing panel in Edit page’s Settings tab (Helen Chapman)
  53. * Added missing form media to user edit form template (Matt Westcott)
  54. * Added a label to the modals’ “close” button for screen reader users (Helen Chapman, Katie Locke)
  55. Upgrade considerations
  56. ======================
  57. Removed support for Python 3.4
  58. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  59. Python 3.4 is no longer supported as of this release; please upgrade to Python 3.5 or above before upgrading Wagtail.
  60. Icon font implementation changes
  61. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. The icon font implementation has been changed to be invisible, by switching to using `Private Use Areas <https://en.wikipedia.org/wiki/Private_Use_Areas>`_ Unicode code points. All of the icon classes (``icon-user``, ``icon-search``, etc) should still work the same, except for two which have been removed because they were duplicates:
  63. * ``icon-picture`` is removed. Use ``icon-image`` instead (same visual).
  64. * ``icon-file-text-alt`` is removed. Use ``icon-doc-full`` instead (same visual).
  65. For a list of all available icons, please see the :ref:`styleguide`.