Releases: wagtail/wagtail
Releases · wagtail/wagtail
0.8.5
- Fix: On adding a new page, the available page types are ordered by the displayed verbose name
- Fix: Active admin submenus were not properly closed when activating another
- Fix: get_sitemap_urls is now called on the specific page class so it can now be overridden (Jerel Unruh)
- Fix: (Firefox and IE) Fixed preview window hanging and not refocusing when "Preview" button is clicked again
- Fix: Storage backends that return raw ContentFile objects are now handled correctly when resizing images (@georgewhewell)
- Fix: Punctuation characters are no longer stripped when performing search queries
- Fix: When adding tags where there were none before, it is now possible to save a single tag with multiple words in it
- Fix: richtext template tag no longer raises TypeError if None is passed into it (Alejandro Varas)
- Fix: Serving documents now uses a streaming HTTP response and will no longer break Django's cache middleware
- Fix: User admin area no longer fails in the presence of negative user IDs (as used by django-guardian's default settings)
- Fix: Password reset emails now use the
BASE_URL
setting for the reset URL - Fix: BASE_URL is now included in the project template's default settings file
0.8.4
- Fix: It is no longer possible to have the explorer and settings menu open at the same time
- Fix: Page IDs in page revisions were not updated on page copy, causing subsequent edits to be committed to the original page instead
- 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)
- Fix: Prevent a race condition when creating Filter objects
v0.8.3
v0.8.2
- Added missing jQuery UI sprite files, causing collectstatic to throw errors (most reported on Heroku)
- Page system check for on_delete actions of ForeignKeys was throwing false positives when page class decends from an abstract class (Alejandro Giacometti)
- Page system check for on_delete actions of ForeignKeys now only raises warnings, not errors
- Fixed a regression where form builder submissions containing a number field would fail with a JSON serialisation error
- Resizing an image with a focal point equal to the image size would result in a divide-by-zero error
- Focal point indicator would sometimes be positioned incorrectly for small or thin images
- Fix: Focal point chooser background colour changed to grey to make working with transparent images easier
- 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
- Fixed a TypeError when previewing pages that use RoutablePageMixin
- Rendering image with missing file in rich text no longer crashes the entire page
- IOErrors thrown by underlying image libraries that are not reporting a missing image file are no longer caught
- Fix: Minimum Pillow version bumped to 2.6.1 to work around a crash when using images with transparency
- Fix: Images with transparency are now handled better when being used in feature detection
0.8.1
0.8
- Added logging for page operations
- The save button on the page edit page now redirects the user back to the edit page instead of the explorer
- Signal handlers for
wagtail.wagtailsearch
andwagtail.contrib.wagtailfrontendcache
are now automatically registered when using Django 1.7 or above. (Tim Heap) - 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
- Improved error reporting on image upload, including ability to set a maximum file size via a new setting WAGTAILIMAGES_MAX_UPLOAD_SIZE
- 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
- Added Dutch translation
- Fix: Replaced references of .username with .get_username() on users for better custom user model support (John-Scott Atlakson)
- Fix: Unpinned dependency versions for six and requests to help prevent dependency conflicts
- Fix: Fixed TypeError when getting embed HTML with oembed on Python 3 (John-Scott Atlakson)
- Fix: Made HTML whitelisting in rich text fields more robust at catching disallowed URL schemes such as "jav\tascript:" (Tim Heap)
- Fix: created_at timestamps on page revisions were not being preserved on page copy, causing revisions to get out of sequence
- Fix: When copying pages recursively, revisions of sub-pages were being copied regardless of the copy_revisions flag
- Fix: Updated the migration dependencies within the project template to ensure that Wagtail's own migrations consistently apply first.
- Fix: The cache of site root paths is now cleared when a site is deleted.
- Fix: Search indexing now prevents pages from being indexed multiple times, as both the base Page model and the specific subclass
- Fix: Search indexing now avoids trying to index abstract models
- Fix: Fixed references to "username" in login form help text for better custom user model support (John-Scott Atlakson)
- Fix: Later items in a model's search_field list now consistently override earlier items, allowing subclasses to redefine rules from the parent
- Fix: Image uploader now accepts JPEG images that PIL reports as being in MPO format
- Fix: Multiple checkbox fields on form-builder forms did not correctly save multiple values
- Fix: Editing a page's slug and saving it without publishing could sometimes cause the URL paths of child pages to be corrupted
- Fix: 'latest_revision_created_at' was being cleared on page publish, causing the page to drop to the bottom of explorer listings
- 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")
0.7
- Added interface for choosing focal point on images
- Redesigned and reorganised navigation menu to include a 'Settings' submenu
- Added Groups administration area
- Added Sites administration area
- Added the ability to lock a page to (temporarily) prevent edits to that page
- Removed 'content_type' template filter from the project template, as the same thing can be accomplished with self.get_verbose_name|slugify
- Page copy operations now also copy the page revision history
- 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
- 'register_snippet' can now be invoked as a decorator
- Project template updated to Django 1.7
- 'boost' applied to the title field on searches reduced from 100 to 2
- The 'type' method of PageQuerySet (used to filter the queryset to a specific page type) now includes subclasses of the given page type.
- 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
- The 'fill' image resize method now supports an additional parameter defining the closeness of the crop
- Added support for invalidating Cloudflare caches
- Pages in the explorer can now be ordered by last updated time
- Fix: 'wagtail start' command now works on Windows
- Fix: The external image URL generator no longer stores generated images in Django's cache
- Fix: Elasticsearch backend can now search querysets that have been filtered with an 'in' clause of a non-list type (such as a ValuesListQuerySet)
- 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
- Fix: It is now easier to move pages to the beginning and end of their section
- Fix: Image rendering no longer creates erroneous duplicate Rendition records when the focal point is blank.
0.6
- Added 'wagtail start' command and project template
- Added Django 1.7 support
- Added {% routablepageurl %} template tag (Tim Heap)
- Added RoutablePageMixin (Tim Heap)
- MenuItems can now have bundled JavaScript
- Added the register_admin_menu_item hook for registering menu items at startup
- Added version indicator to the admin interface
- Renamed wagtailsearch.indexed to wagtailsearch.index
- Added Russian translation
- Fix: Page URL generation now returns correct URLs for sites that have the main 'serve' view rooted somewhere other than '/' (Nathan Brizendine)
- Fix: Search results in the page chooser now respect the page_type parameter on PageChooserPanel
- Fix: Rendition filenames are now prevented from going over 60 chars, even with a large focal_point_key
- 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
- Fix: (For Django 1.7 support) Do not import South when using Django 1.7 (thenewguy)
0.5
- Added multiple image uploader
- Added support for face and feature detection on images using the OpenCV library
- Added RoutablePage model to allow embedding Django-style URL routing within a page
- Added image/document/snippet usage stats
- Explorer nav now rendered separately and fetched with AJAX when needed
- Added decorator syntax for hooks
- Replaced lxml dependency with html5lib, to simplify installation
- Added page_unpublished signal
- Added mechanism to obtain external URLs to images, at any size
- Added Copy Page action to the explorer
- Fix: Updates to tag fields are now properly committed to the database when publishing directly from the page edit interface