CHANGELOG.txt 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. Changelog
  2. =========
  3. 1.0 (xx.xx.xxxx)
  4. ~~~~~~~~~~~~~~~~
  5. * Added StreamField, a model field for freeform page content
  6. * Added Wagtail API, a module for creating a RESTful API for your content
  7. * MySQL support
  8. * Django 1.8 support
  9. * Removed dependency on libsass (Tim Heap)
  10. * Added update notifications
  11. * Javascript includes in the admin backend have been moved to the HTML header, to accommodate form widgets that render inline scripts that depend on libraries such as jQuery
  12. * Improvements to the layout of the admin menu footer.
  13. * Menu items of custom apps are now highlighted when being used (Josh Barr)
  14. * Added thousands separator for counters on dashboard
  15. * Added contextual links to admin notification messages
  16. * When copying pages, it is now possible to specify a place to copy to (Timo Rieber)
  17. * FieldPanel now accepts an optional 'widget' parameter to override the field's default form widget (Alejandro Giacometti)
  18. * Dropped Django 1.6 support
  19. * Dropped Python 2.6 and 3.2 support
  20. * Dropped Elasticsearch 0.90.x support
  21. * Serving documents will now use django-sendfile if it's configured (Jordi Joan)
  22. * Documents are now served with correct mime-type (Jordi Joan, Damian Moore)
  23. * Support for If-Modified-Since HTTP header (Jordi Joan)
  24. * Search view accepts "page" GET parameter in line with pagination
  25. * Reversing `django.contrib.auth.admin.login` will no longer lead to Wagtails login view (making it easier to have front end views)
  26. * Removed dependency on `LOGIN_URL` and `LOGIN_REDIRECT_URL` settings
  27. * Password reset view names namespaced to wagtailadmin
  28. * Removed the need to add permission check on admin views (now automated)
  29. * Added cache-control headers to all admin views
  30. * Page model fields without a FieldPanel are no longer displayed in the form
  31. * No longer need to specify the base model on InlinePanel definitions
  32. * The project template Vagrantfile now listens on port 8000
  33. * The external link chooser in rich text areas now accepts URLs of the form '/some/local/path', to allow linking to non-Wagtail-controlled URLs within the local site (Eric Drechsel)
  34. * SCSS files in wagtailadmin now use absolute imports, to permit overriding by user stylesheets (Martin Sanders)
  35. * Bare text entered in rich text areas is now automatically wrapped in a paragraph element
  36. * Added pagination to the snippets listing and chooser (Martin Sanders)
  37. * Page / document / image / snippet choosers now include a link to edit the chosen item
  38. * The `document_served` signal now correctly passes the Document class as `sender` and the document as `instance`
  39. * Image/Document edit page no longer throws OSError when the original image is missing
  40. * Page classes can specify an edit_handler property to override the default Content / Promote / Settings tabbed interface
  41. * The Page model now records the date/time that a page was first published, as the field `first_published_at`
  42. * Increased the maximum length of a page slug from 50 to 255 characters
  43. * Plain text fields in the page editor now use auto-expanding text areas
  44. * Date / time pickers now consistently use times without seconds, to prevent Javascript behaviour glitches when focusing / unfocusing fields
  45. * Added hooks `register_rich_text_embed_handler` and `register_rich_text_link_handler` for customising link / embed handling within rich text fields
  46. * Added hook `construct_homepage_summary_items` for customising the site summary panel on the admin homepage
  47. * No longer automatically tries to use Celery for sending notification emails
  48. * Added "Add child page" button to admin userbar (Eric Drechsel)
  49. * Renamed the `construct_wagtail_edit_bird` hook to `construct_wagtail_userbar`
  50. * 'static' template tags are now used throughout the admin templates, in place of STATIC_URL
  51. * Added a new decorator-based syntax for RoutablePage, compatible with Django 1.8
  52. * Collapsible blocks stay open on any form error (Salvador Faria)
  53. * Document upload modal no longer switches tabs on form errors (Salvador Faria)
  54. * Added `AUTO_UPDATE` flag to search backend settings to enable/disable automatically updating the search index on model changes
  55. * Made the built-in project template follow the Django one, with several Wagtail-specific additions. The template comes with two apps (home and search)
  56. 0.8.8 (xx.xx.2015)
  57. ~~~~~~~~~~~~~~~~~~
  58. * Fix: Formbuilder no longer raises TypeError when submitting unchecked boolean field (Arne Schauf)
  59. * Fix: Image upload form no longer breaks when using i10n thousand separators (@signalkraft)
  60. * Fix: Multiple image uploader now escapes HTML in filenames (Mac Chapman)
  61. 0.8.7 (29.04.2015)
  62. ~~~~~~~~~~~~~~~~~~
  63. * Fix: wagtailfrontendcache no longer tries to purge pages that are not in a site
  64. * Fix: The contents of <div> elements in the rich text editor were not being whitelisted
  65. * Fix: Due to the above issue, embeds/images in a rich text field would sometimes be saved into the database in their editor representation
  66. * Fix: RoutablePage now prevents subpage_urls from being defined as a property, which would cause a memory leak
  67. * Fix: Added validation to prevent pages being created with only whitespace characters in their title fields (Frank Wiles)
  68. * Fix: Prevent logout on changing password when SessionAuthenticationMiddleware is in use
  69. * Fix: Work around a Python / Django issue that prevented documents with certain non-ASCII filenames from being served
  70. 0.8.6 (10.03.2015)
  71. ~~~~~~~~~~~~~~~~~~
  72. * Translations updated, including new translations for Czech, Italian and Japanese
  73. * The "fixtree" command can now delete orphaned pages
  74. * Fix: django-taggit library updated to 0.12.3, to fix a bug with migrations on SQLite on Django 1.7.2 and above (https://github.com/alex/django-taggit/issues/285)
  75. * Fix: Fixed a bug that caused children of a deleted page to not be deleted if they had a different type
  76. 0.8.5 (17.02.2015)
  77. ~~~~~~~~~~~~~~~~~~
  78. * Fix: On adding a new page, the available page types are ordered by the displayed verbose name
  79. * Fix: Active admin submenus were not properly closed when activating another
  80. * Fix: get_sitemap_urls is now called on the specific page class so it can now be overridden (Jerel Unruh)
  81. * Fix: (Firefox and IE) Fixed preview window hanging and not refocusing when "Preview" button is clicked again
  82. * Fix: Storage backends that return raw ContentFile objects are now handled correctly when resizing images (@georgewhewell)
  83. * Fix: Punctuation characters are no longer stripped when performing search queries
  84. * Fix: When adding tags where there were none before, it is now possible to save a single tag with multiple words in it
  85. * Fix: richtext template tag no longer raises TypeError if None is passed into it (Alejandro Varas)
  86. * Fix: Serving documents now uses a streaming HTTP response and will no longer break Django's cache middleware
  87. * Fix: User admin area no longer fails in the presence of negative user IDs (as used by django-guardian's default settings)
  88. * Fix: Password reset emails now use the ``BASE_URL`` setting for the reset URL
  89. * Fix: BASE_URL is now included in the project template's default settings file
  90. 0.8.4 (04.12.2014)
  91. ~~~~~~~~~~~~~~~~~~
  92. * Fix: It is no longer possible to have the explorer and settings menu open at the same time
  93. * Fix: Page IDs in page revisions were not updated on page copy, causing subsequent edits to be committed to the original page instead
  94. * Fix: Copying a page now creates a new page revision, ensuring that changes to the title/slug are correctly reflected in the editor (and also ensuring that the user performing the copy is logged)
  95. * Fix: Prevent a race condition when creating Filter objects
  96. 0.8.3 (18.11.2014)
  97. ~~~~~~~~~~~~~~~~~~
  98. * Fix: Added missing jQuery UI sprite files, causing collectstatic to throw errors (most reported on Heroku)
  99. * Fix: Page system check for on_delete actions of ForeignKeys was throwing false positives when page class decends from an abstract class (Alejandro Giacometti)
  100. * Fix: Page system check for on_delete actions of ForeignKeys now only raises warnings, not errors
  101. * Fixed a regression where form builder submissions containing a number field would fail with a JSON serialisation error
  102. * Fix: Resizing an image with a focal point equal to the image size would result in a divide-by-zero error
  103. * Fix: Focal point indicator would sometimes be positioned incorrectly for small or thin images
  104. * Fix: Focal point chooser background colour changed to grey to make working with transparent images easier
  105. * Fix: Elasticsearch configuration now supports specifying HTTP authentication parameters as part of the URL, and defaults to ports 80 (HTTP) and 443 (HTTPS) if port number not specified
  106. * Fixed a TypeError when previewing pages that use RoutablePageMixin
  107. * Fix: Rendering image with missing file in rich text no longer crashes the entire page
  108. * Fix: IOErrors thrown by underlying image libraries that are not reporting a missing image file are no longer caught
  109. * Fix: Minimum Pillow version bumped to 2.6.1 to work around a crash when using images with transparency
  110. * Fix: Images with transparency are now handled better when being used in feature detection
  111. 0.8.2 (18.11.2014)
  112. ~~~~~~~~~~~~~~~~~~
  113. [release withdrawn due to packaging issues]
  114. 0.8.1 (05.11.2014)
  115. ~~~~~~~~~~~~~~~~~~
  116. * Fixed a regression where images would fail to save when feature detection is active
  117. 0.8 (05.11.2014)
  118. ~~~~~~~~~~~~~~~~
  119. * Added logging for page operations
  120. * The save button on the page edit page now redirects the user back to the edit page instead of the explorer
  121. * Signal handlers for ``wagtail.wagtailsearch`` and ``wagtail.contrib.wagtailfrontendcache`` are now automatically registered when using Django 1.7 or above. (Tim Heap)
  122. * Added a Django 1.7 system check to ensure that foreign keys from Page models are set to on_delete=SET_NULL, to prevent inadvertent (and tree-breaking) page deletions
  123. * Improved error reporting on image upload, including ability to set a maximum file size via a new setting WAGTAILIMAGES_MAX_UPLOAD_SIZE
  124. * The external image URL generator now keeps persistent image renditions, rather than regenerating them on each request, so it no longer requires a front-end cache
  125. * Added Dutch translation
  126. * Fix: Replaced references of .username with .get_username() on users for better custom user model support (John-Scott Atlakson)
  127. * Fix: Unpinned dependency versions for six and requests to help prevent dependency conflicts
  128. * Fix: Fixed TypeError when getting embed HTML with oembed on Python 3 (John-Scott Atlakson)
  129. * Fix: Made HTML whitelisting in rich text fields more robust at catching disallowed URL schemes such as "jav\tascript:" (Tim Heap)
  130. * Fix: created_at timestamps on page revisions were not being preserved on page copy, causing revisions to get out of sequence
  131. * Fix: When copying pages recursively, revisions of sub-pages were being copied regardless of the copy_revisions flag
  132. * Fix: Updated the migration dependencies within the project template to ensure that Wagtail's own migrations consistently apply first.
  133. * Fix: The cache of site root paths is now cleared when a site is deleted.
  134. * Fix: Search indexing now prevents pages from being indexed multiple times, as both the base Page model and the specific subclass
  135. * Fix: Search indexing now avoids trying to index abstract models
  136. * Fix: Fixed references to "username" in login form help text for better custom user model support (John-Scott Atlakson)
  137. * Fix: Later items in a model's search_field list now consistently override earlier items, allowing subclasses to redefine rules from the parent
  138. * Fix: Image uploader now accepts JPEG images that PIL reports as being in MPO format
  139. * Fix: Multiple checkbox fields on form-builder forms did not correctly save multiple values
  140. * Fix: Editing a page's slug and saving it without publishing could sometimes cause the URL paths of child pages to be corrupted
  141. * Fix: 'latest_revision_created_at' was being cleared on page publish, causing the page to drop to the bottom of explorer listings
  142. * Fix: Searches on partial_match fields were wrongly applying prefix analysis to the search query as well as the document (causing e.g. a query for "water" to match against "wagtail")
  143. 0.7 (09.10.2014)
  144. ~~~~~~~~~~~~~~~~
  145. * Added interface for choosing focal point on images
  146. * Redesigned and reorganised navigation menu to include a 'Settings' submenu
  147. * Added Groups administration area
  148. * Added Sites administration area
  149. * Added the ability to lock a page to (temporarily) prevent edits to that page
  150. * Removed 'content_type' template filter from the project template, as the same thing can be accomplished with self.get_verbose_name|slugify
  151. * Page copy operations now also copy the page revision history
  152. * Page models now support a 'parent_page_types' property in addition to 'subpage types', to restrict the types of page they can be created under
  153. * 'register_snippet' can now be invoked as a decorator
  154. * Project template updated to Django 1.7
  155. * 'boost' applied to the title field on searches reduced from 100 to 2
  156. * The 'type' method of PageQuerySet (used to filter the queryset to a specific page type) now includes subclasses of the given page type.
  157. * The 'update_index' management command now updates all backends listed in WAGTAILSEARCH_BACKENDS, or a specific one passed on the command line, rather than just the default backend
  158. * The 'fill' image resize method now supports an additional parameter defining the closeness of the crop
  159. * Added support for invalidating Cloudflare caches
  160. * Pages in the explorer can now be ordered by last updated time
  161. * Fix: 'wagtail start' command now works on Windows
  162. * Fix: The external image URL generator no longer stores generated images in Django's cache
  163. * Fix: Elasticsearch backend can now search querysets that have been filtered with an 'in' clause of a non-list type (such as a ValuesListQuerySet)
  164. * Fix: Logic around the has_unpublished_changes flag has been fixed, to prevent issues with the 'View draft' button failing to show in some cases
  165. * Fix: It is now easier to move pages to the beginning and end of their section
  166. * Fix: Image rendering no longer creates erroneous duplicate Rendition records when the focal point is blank.
  167. 0.6 (11.09.2014)
  168. ~~~~~~~~~~~~~~~~
  169. * Added 'wagtail start' command and project template
  170. * Added Django 1.7 support
  171. * Added {% routablepageurl %} template tag (Tim Heap)
  172. * Added RoutablePageMixin (Tim Heap)
  173. * MenuItems can now have bundled JavaScript
  174. * Added the register_admin_menu_item hook for registering menu items at startup
  175. * Added version indicator to the admin interface
  176. * Renamed wagtailsearch.indexed to wagtailsearch.index
  177. * Added Russian translation
  178. * Fix: Page URL generation now returns correct URLs for sites that have the main 'serve' view rooted somewhere other than '/' (Nathan Brizendine)
  179. * Fix: Search results in the page chooser now respect the page_type parameter on PageChooserPanel
  180. * Fix: Rendition filenames are now prevented from going over 60 chars, even with a large focal_point_key
  181. * Fix: Child relations that are defined on a model's superclass (such as the base Page model) are now picked up correctly by the page editing form, page copy operations and the replace_text management command
  182. * Fix: (For Django 1.7 support) Do not import South when using Django 1.7 (thenewguy)
  183. * Fix: Tags on images and documents are now committed to the search index immediately on saving
  184. 0.5 (01.08.2014)
  185. ~~~~~~~~~~~~~~~~
  186. * Added multiple image uploader
  187. * Added support for face and feature detection on images using the OpenCV library
  188. * Added RoutablePage model to allow embedding Django-style URL routing within a page
  189. * Added image/document/snippet usage stats
  190. * Explorer nav now rendered separately and fetched with AJAX when needed
  191. * Added decorator syntax for hooks
  192. * Replaced lxml dependency with html5lib, to simplify installation
  193. * Added page_unpublished signal
  194. * Added mechanism to obtain external URLs to images, at any size
  195. * Added Copy Page action to the explorer
  196. * Fix: Updates to tag fields are now properly committed to the database when publishing directly from the page edit interface
  197. 0.4.1 (14.07.2014)
  198. ~~~~~~~~~~~~~~~~~~
  199. * ElasticSearch backend now respects the backward-compatible URLS configuration setting, in addition to HOSTS
  200. * Documentation fixes
  201. 0.4 (10.07.2014)
  202. ~~~~~~~~~~~~~~~~
  203. * ElasticUtils/pyelasticsearch swapped for elasticsearch-py
  204. * Python 3.2, 3.3 and 3.4 support
  205. * Added scheduled publishing
  206. * Added support for private (password-protected) pages
  207. * Added frontend cache invalidator
  208. * Added sitemap generator
  209. * Added notification preferences
  210. * Added a new way to configure searchable/filterable fields on models
  211. * Added 'original' as a resizing rule supported by the 'image' tag
  212. * Hallo.js updated to version 1.0.4
  213. * Snippets are now ordered alphabetically
  214. * Removed the "More" section from the admin menu
  215. * Added pagination to page listings in admin
  216. * Support for setting a subpage_types property on page models, to define which page types are allowed as subpages
  217. * Added a new datetime picker widget
  218. * Added styleguide (mainly for wagtail developers)
  219. * Aesthetic improvements to preview experience
  220. * 'image' tag now accepts extra keyword arguments to be output as attributes on the img tag
  221. * Login screen redirects to dashboard if user is already logged in
  222. * Renamed some template tag libraries
  223. * Any extra arguments given to serve are now passed through to get_context and get_template
  224. * Added an 'attrs' property to image rendition objects to output src, width, height and alt attributes all in one go
  225. * Added 'construct_whitelister_element_rules' hook for customising the HTML whitelist used when saving rich text fields
  226. * Added 'in_menu' and 'not_in_menu' methods to PageQuerySet
  227. * Added 'get_next_siblings' and 'get_prev_siblings' to Page
  228. * Added init_new_page signal
  229. * Added page_published signal
  230. * Added copy method to Page to allow copying of pages
  231. * Added ``search`` method to ``PageQuerySet``
  232. * Added ``get_indexed_objects`` allowing developers to customise which objects get added to the search index
  233. * Major refactor of Elasticsearch backend
  234. * Use ``match`` instead of ``query_string`` queries
  235. * Fields are now indexed in Elasticsearch with their correct type
  236. * Filter fields are no longer included in '_all' (in Elasticsearch)
  237. * Fields with partial matching are now indexed together into '_partials'
  238. * Fix: Animated GIFs are now coalesced before resizing
  239. * Fix: Wand backend clones images before modifying them
  240. * Fix: Admin breadcrumb now positioned correctly on mobile
  241. * Fix: Page chooser breadcrumb now updates the chooser modal instead of linking to Explorer
  242. * Fix: Embeds - Fixed crash when no HTML field is sent back from the embed provider
  243. * Fix: Multiple sites with same hostname but different ports are now allowed
  244. * Fix: No longer possible to create multiple sites with is_default_site = True
  245. 0.3.1 (03.06.2014)
  246. ~~~~~~~~~~~~~~~~~~
  247. * Fix: When constructing dummy requests for pages with no routable URL, fall back on a hostname from ALLOWED_HOSTS and finally 'localhost', to avoid 'Invalid HTTP_HOST header' errors on preview when DEBUG=False.
  248. * Fix: Ensure that url_path is populated when previewing a newly created page, to avoid unnecessarily taking the above fallback.
  249. * Fix: Deleting an item from an InlinePanel, then generating a validation error on saving, no longer causes the deleted item to confusingly reappear with an error of its own.
  250. 0.3 (28.05.2014)
  251. ~~~~~~~~~~~~~~~~
  252. * Added toolbar to allow logged-in users to add and edit pages from the site front-end
  253. * Support for alternative image processing backends such as Wand, via the WAGTAILIMAGES_BACKENDS setting
  254. * Added support for generating static sites using django-medusa
  255. * Added custom Query set for Pages with some handy methods for querying pages
  256. * Added 'wagtailforms' module for creating form pages on a site, and handling form submissions
  257. * Editor's guide documentation
  258. * Expanded developer documentation
  259. * Editor interface now outputs form media CSS / JS, to support custom widgets with assets
  260. * Migrations and user management now correctly handle custom AUTH_USER_MODEL settings
  261. * Added 'slugurl' template tag to output the URL of a page with a given slug
  262. * MultiFieldPanel definitions now accept a 'classname' attribute, including a special classname of 'collapsible' to allow showing / hiding them on click
  263. * Added 'insert_editor_css' and 'insert_editor_js' hooks for passing in custom CSS / JS to the editor interface
  264. * Made JPEG compression level configurable through the IMAGE_COMPRESSION_QUALITY setting, and increased default to 85
  265. * Added document_served signal which gets fired when a document is downloaded
  266. * Added translations for Portuguese Brazil and Traditional Chinese (Taiwan).
  267. * Made compatible with Python 2.6
  268. * 'richtext' template filter now wraps output in <div class="rich-text"></div>, to assist in styling
  269. * Embeds now save author_name and provider_name if set by oEmbed provider
  270. * Fix: non-ASCII characters in image filenames are now converted into ASCII equivalents rather than becoming all underscores
  271. * Fix: paths to fonts and images within CSS are no longer hard-coded to /static/
  272. * Fix: Localization files for the JQuery UI datepicker are stored locally and only imported when a localization is known to be available
  273. * Fix: Page slugs are now validated on page edit
  274. * Fix: Filter objects are cached to avoid a database hit every time an {% image %} tag is compiled
  275. * Fix: Moving or changing a site root page no longer causes URLs for subpages to change to 'None'
  276. * Fix: Eliminated raw SQL queries from wagtailcore / wagtailadmin, to ensure cross-database compatibility
  277. * Fix: Snippets menu item is hidden for administrators if no snippet types are defined
  278. * Fix: 'Upload' tab in image chooser now retains focus if submit action returns a form error.
  279. * Fix: Search input now appears on image chooser after form validation error.
  280. 0.2 (11.03.2014)
  281. ~~~~~~~~~~~~~~~~
  282. * SQLite support added
  283. * Internationalisation of the admin backend
  284. * Translations for Bulgarian, Catalan, Chinese, Galician, German, Greek, Polish, Romanian and Spanish. Partial translations for Basque and Mongolian.
  285. * Stylesheets ported from Less to Sass, to eliminate dependency on an external CSS compiler
  286. * Coffeescript replaced by vanilla Javascript
  287. * OEmbed supported as an alternative backend for wagtailembeds, eliminating dependency on Embedly
  288. * Database supported as an alternative search backend, eliminating dependency on ElasticSearch
  289. * Background tasks now fall back on in-process handling if Celery is not available (also eliminating Redis as a dependency)
  290. * Users decoupled from Django default user model, to allow custom user models
  291. * Added explicit 'Can access Wagtail admin' permission, rather than treating all logged-in users as Wagtail users
  292. * Date fields now work with USE_L10N=True
  293. * "Your most recent edits" only shows the latest edit per page
  294. * Unified search view configurable in urls.py
  295. * Support for searching within a subtree
  296. * Added initial documentation
  297. * Added Ubuntu / Debian installation scripts
  298. * Extensive tests and test runner infrastructure
  299. * Numerous bugfixes
  300. 0.1 (07.02.2014)
  301. ~~~~~~~~~~~~~~~~
  302. * Initial release.