Skip to content

Latest commit

 

History

History
161 lines (115 loc) · 5.03 KB

CHANGELOG.rst

File metadata and controls

161 lines (115 loc) · 5.03 KB

Change log

  • Add DefaultLanguageListFilter to limit choices to settings.LANGUAGE
  • Add default list_filter to SiteAdmin (is_active, host, default_language)

`0.13.1`_ (2021-10-12)

  • Fixed exception when using custom site models.

0.13 (2021-10-08)

  • The site model is now swappable. (#4, #5)

0.12 (2021-08-12)

  • Switched from Travis CI to GitHub actions.
  • Updated feincms3-sites for the latest version of feincms3.

0.11 (2020-09-23)

  • Raised the minimum supported feincms3 version to 0.38.1.
  • Verified compatibility with Django 3.1.
  • Dropped compatibility with Django<2.2.

0.10 (2020-01-09)

  • Verified compatibility with Django 3.0.
  • Replaced ugettext* with gettext*.

0.9 (2019-09-20)

  • Removed the requirement to anchor site regular expressions at the beginning (meaning that e.g. example\.com$ now works as it should).
  • Fixed a possible path uniqueness problem with descendants with static paths.

0.8 (2019-02-07)

  • Removed apps_urlconf_for_site and apps_middleware since feincms3's apps_middleware now automatically does the right thing when used after site_middleware.
  • Made the site argument to AbstractPage.objects.active() keyword-only.

0.7 (2019-02-06)

  • Added an is_active flag to sites.
  • Removed the check that only one site is the default, making it possible to change the default through the admin interface.
  • Made it possible to edit is_active and is_default through the changelist.
  • Updated the Travis CI configuration to cover a greater range of Python and Django version combinations.

0.6 (2019-01-17)

  • Added validation of the host_re so that invalid input is catched early.
  • Sort non-default sites by host in the administration interface.
  • Added ordering by position to the abstract page (necessary for newer versions of django-tree-queries).
  • Added support for using feincms3-sites without explicitly specifying the site everywhere by taking advantage of the upcoming contextvars module and its backports.

0.5 (2018-10-02)

  • Raised test coverage to 100% again.
  • Added the possibility to define a default language per site.
  • Switched the preferred quote to " and started using black to automatically format Python code.

0.4 (2018-04-18)

  • Fixed a bug where path uniqueness was erroneously checked across websites.
  • Replaced the default Page.objects.active() manager method with our own Page.objects.active(site) so that filtering by site is less easily forgotten.

0.3 (2018-04-18)

  • Converted middleware to function-based middleware and renamed them to conform to function naming.
  • Replaced CanonicalDomainMiddleware with a redirect_to_site_middleware (which does not inherit any functionality from SecurityMiddleware -- add the SecurityMiddleware yourself).

0.2 (2018-04-17)

  • Added documentation (README only for now).
  • Made AppsMiddleware raise a 404 error if no site matches the current requests' host.
  • Added a SiteMiddleware for using feincms3-sites without feincms3 apps.
  • Fixed a bug where creating a root page without a site would crash insteaf of showing the field required validation error.
  • Fixed the verbose_name of the site foreign key (it only points to a single site).
  • Added a CanonicalDomainMiddleware which works the same way as the middleware in django-canonical-domain, except that it takes the site from a previous AppsMiddleware or SiteMiddleware instead of from a CANONICAL_DOMAIN setting.

0.1 (2018-04-12)

  • Initial release!