Changelog
=========

0.9.4 (29.02.2024)
~~~~~~~~~~~~~~~~~~

 * Fix transfer of linktypes with no relevant model (Josh Munn)
 * Apply Wagtail 6.0 upgrade considerations (Katherine Domingo)
 * Apply Django 5.0 upgrade considerations (Katherine Domingo)

0.9.3 (15.11.2023)
~~~~~~~~~~~~~~~~~~

 * Apply Wagtail 5.2 upgrade considerations (Katherine Domingo)
 * Fix deprecated UserPagePermissionsProxy / get_explorable_root_page imports in advance of Wagtail 6.0 (Matt Westcott)


0.9.2 (02.11.2023)
~~~~~~~~~~~~~~~~~~

 * Dropped support for Python 3.7 (Nick Moreton, Katherine Domingo)
 * Wagtail 5.1 update (https://github.com/wagtail/wagtail-transfer/pull/150) (Nick Moreton)
 * Wagtail 5.0 update (https://github.com/wagtail/wagtail-transfer/pull/148) (Katherine Domingo)
 * Added debug logging (Eric Sherman)
 * Clear existing image renditions if an import updates an image's file (Joshua Munn)


0.9.1 (01.03.2023)
~~~~~~~~~~~~~~~~~~

 * Fix inability to import DocumentChooserBlocks (Joshua Munn, Jacob Topp-Mugglestone)
 * More Wagtail 4.2 support tweaks (Nick Moreton)


0.9.0 (17.02.2023)
~~~~~~~~~~~~~~~~~~

 * Dropped support for Python 3.6, and Wagtail 4.0 and below
 * Added provisional support for Wagtail 5.0 (Matt Westcott)
 * Added UI fixes for Wagtail 4.2
 * Added default settings for ContentType model (Joshua Munn)


0.8.6 (13.02.2023)
~~~~~~~~~~~~~~~~~~

 * Add support for Wagtail 4.0 (Katherine Domingo)


0.8.5 (18.07.2022)
~~~~~~~~~~~~~~~~~~

 * Add support for Wagtail 3.0 (William Blackie)


0.8.4 (09.06.2022)
~~~~~~~~~~~~~~~~~~

 * Correctly handle new-format ListBlock elements as of Wagtail 2.15 (Jacob Topp-Mugglestone)


0.8.3 (11.05.2022)
~~~~~~~~~~~~~~~~~~

 * Dropped support for Python 3.5
 * Django 4.0 and (provisional) Wagtail 3.0 compatibility (Matthew Westcott)
 * Prevent FileFieldAdapter adding BASE_URL to absolute URLs (Haydn Greatnews)


0.8.2 (29.07.2021)
~~~~~~~~~~~~~~~~~~

 * Fix failing migrations on Wagtail <2.12 (Matthew Westcott)


0.8.1 (9.07.2021)
~~~~~~~~~~~~~~~~~~

 * Ensure all chooser API requests are authenticated (Jacob Topp-Mugglestone)
 * Add default_auto_field to prevent warnings under Django 3.2 (Matthew Westcott)
 * Only break circular dependencies at soft dependencies (Matthew Westcott)

0.8 (17.05.2021)
~~~~~~~~~~~~~~~~~~

 * Add a permission required to import content (Nick Smith)

0.7.1 (04.03.2021)
~~~~~~~~~~~~~~~~~~

 * Fix accidental deletion of blocks from transferred data when the block is set as required, but has a 'falsy' value (Jacob Topp-Mugglestone)

0.7 (20.01.2021)
~~~~~~~~~~~~~~~~~~

 * Remove links and streamfield blocks when the linked objects are not imported (Jacob Topp-Mugglestone)
 * Add Locale to default LOOKUP_FIELDS setting for 2.11 compatibility (Jacob Topp-Mugglestone)
 * Add support for registering custom serializers (Steve Jalim)
 * Convert field data to correct python types before saving (Daniel Kirkham)
 * Add Tag to default LOOKUP_FIELDS setting (Steve Jalim)

0.6 (6.11.2020)
~~~~~~~~~~~~~~~~~~

 * Automatically import child models when models use multi table inheritance (Jacob Topp-Mugglestone)
 * Fix import of page tags and other child models (Jacob Topp-Mugglestone)
 * Add setting for optionally following reverse relations when importing models (Jacob Topp-Mugglestone)
 * Add support for GenericForeignKey (Jacob Topp-Mugglestone)
 * Support a configurable timeout for the API chooser proxy (Steve Jalim)

0.5.1 (24.09.2020)
~~~~~~~~~~~~~~~~~~

 * Fix handling of nullable FileFields (Jacob Topp-Mugglestone)


0.5 (10.09.2020)
~~~~~~~~~~~~~~~~

 * Add support for registering custom field adapters (Jacob Topp-Mugglestone)


0.4 (03.08.2020)
~~~~~~~~~~~~~~~~

 * Add recursive option to pages_for_export view (Jacob Topp-Mugglestone)


0.3.1 (08.06.2020)
~~~~~~~~~~~~~~~~~~

 * Fix missing source when importing objects (Kalob Taulien)
 * Fix updated request.site to use Site.find_for_request() (Kalob Taulien)


0.3 (02.06.2020)
~~~~~~~~~~~~~~~~

 * Add support for transferring snippet models (Kalob Taulien)


0.2.2 (30.03.2020)
~~~~~~~~~~~~~~~~~~

 * Fix missing mappings to parent IDs in the export API for tree-based models
 * Fix handling of null RichTextFields (Kalob Taulien)


0.2.1 (26.03.2020)
~~~~~~~~~~~~~~~~~~

 * Fix error when exporting empty non-required ChooserBlocks (Kalob Taulien, Jacob Topp-Mugglestone)
 * Fix handling of embeds in rich text (Kalob Taulien, Jacob Topp-Mugglestone)
 * Ensure that file URLs are always absolute by falling back on BASE_URL when MEDIA_URL is local (Kalob Taulinen)


0.2 (17.03.2020)
~~~~~~~~~~~~~~~~

 * Add preseed_transfer_table management command
 * Django 3.0 compatibility (Kalob Taulien)
 * Fix handling of FileFields with non-callable upload_to parameters
 * Pre-select source site if there is only one option


0.1 (13.01.2020)
~~~~~~~~~~~~~~~~

 * Initial release
