Skip to content

Latest commit

 

History

History
150 lines (100 loc) · 5.14 KB

CHANGELOG.rst

File metadata and controls

150 lines (100 loc) · 5.14 KB

Changelog

2.2.1 (16-09-2020)

  • Make the dependency on wagtail.core.middleware.SiteMiddleware optional as it already can be removed in Wagtail 2.9

2.2 (25-08-2020)

  • Added official support for Wagtail 2.9 and 2.10
  • Make the permission can_delete compatible with Wagtail 2.10
  • Make the page method move compatible with Wagtail 2.10
  • Dropped support for Wagtail versions earlier than 2.7 (LTS)
  • Replace deprecated ugettext, ugettext_lazy with gettext and gettext_lazy
  • Replace deprecated force_text with force_str
  • Fix: Languages in a Draft state result in failed routing from browser language

2.1 (03-02-2020)

  • Dropped support for Wagtail versions earlier than 2.3
  • Added support for Wagtail 2.8 and therefore Django 3.0

2.0.6 (11-03-2019)

  • Added missing migration
  • Removed Python 2 syntax

2.0.5 (04-02-2019)

  • Add mention of wagtail.contrib.settings in the documentation
  • Show languages in their local names.
  • Add W504 to flake8 ignore, it's changed in a newer version of flake8
  • Add env var WAGTAILTRANS_DISABLE_SIGNALS to disable many to many signal
  • Add a disable_for_loaddata decorator on signals
  • Add Simplified Chinese translation
  • Validate default_language to not exist in other_languages

2.0.4 (11-10-2018)

  • Fix: Add "?next=" to edit url to redirect back to the right tree after edit when HIDE_TRANSLATION_TREES is enabled.

2.0.3 (09-10-2018)

  • Add a HIDE_TRANSLATION_TREES setting with an edit in [language] button

2.0.2 (20-06-2018)

  • Set cookie with language preference
  • Check language cookie as fallback in the TranslationMiddleware

2.0.1 (29-03-2018)

  • Added missing database migration

2.0.0 (16-03-2018)

  • Dropped support for Python 2
  • Dropped support for Wagtail versions earlier than 2.0
  • Dropped support for Django versions earlier than 1.11
  • Refactor .py files to line length 119
  • Changed the version number to be inline with Wagtail

0.2.0 (25-10-2017)

  • Dropped support for Wagtail versions earlier than 1.12
  • Custom get_admin_display_title method now uses Wagtails draft_title
  • Fix: Get default language when languages_per_site is enabled now returns the correct default language for the site.

0.1.5 (27-08-2017)

  • Added appveyor to the CI to ensure MSSQL compatibility
  • Added a settings example file to the sandbox environment to ease the contribution setup
  • Added documentation on Contributing to Wagtailtrans
  • Fix: language admin view throwing an exception with WAGTAILTRANS_LANGUAGES_PER_SITE set to True

0.1.4 (03-07-2017)

  • Add support for Wagtail 1.11
  • Update language selector templatetag to work with pages without language as well
  • Update language selector to order language selector based on language positions

0.1.3 (21-04-2017)

  • Add include_self=False kwarg to TranslatablePage.get_translations() to have the page return itself as well
  • Add language selector template tags
  • Update Language management to make use of wagtail.contrib.modeladmin
  • Update Tox and Travis test matrix to include Wagtail 1.10 support

0.1.2 (15-03-2017)

This release drops support for wagtail 1.6 and adds support for wagtail 1.8 and 1.9

  • Add new wagtailtrans logo.
  • Add admin view for translating with WAGTAILTRANS_SYNC_TREE = False, prevents issues with not having a _meta on the TranslationForm.
  • Update TranslationMiddleware to also use the Accept-Language HTTP header
  • Fix: Update middleware to prevent errors on empty database
  • Fix: backwards compatibility with Django 1.8 for wagtailtrans.templatetags

0.1.1 (25-12-2016)

  • Add TranslationMiddleware for earlier language activation (replaces django LocaleMiddleware)
  • Add language_id filter to wagtailtrans.models.TranslatablePage so search results can be filtered by language
  • Update documentation

0.1.0 Initial release (14-12-2016)

  • Implement models following Wagtail RFC9 by Tim Heap
  • Force language of child pages to language of parent
  • Support storing of translated pages
  • Support copying content of canonical pages when creating translations
  • Add translation information to the TranslatablePage.settings_panels
  • Add dropdown page menu for adding translations
  • Add Language admin-UI in settings-menu
  • Add WAGTAILTRANS_SYNC_TREE setting to control which way trees behave
  • Add WAGTAILTRANS_TEMPLATE_DIR to override the admin template dir (pre Wagtail 1.8)
  • Add WAGTAILTRANS_LANGUAGES_PER_SITE setting to allow different page languages per site
  • Add SiteLanguages as SiteSetting in settings-menu (WAGTAILTRANS_LANGUAGES_PER_SITE)
  • Add wagtailtrans.models.TranslatablePage.get_admin_display_title to display the page language in the admin explorer (Wagtail 1.8+)