=============
Release Notes
=============

2.0.1
-----
- change from ValueError to multisite specific exceptions
  when getting default SITE_ID in development mode.
- add typing hints

2.0.0
-----
 - major refactor, drop support for lower than py 3.11 and DJ4.2
 - drop pytest, use unitests / runtests.py 
 - replace rel.to with related_model (Django 4.2)
 - remove deprecated `process_requests`
 - add more specific exception handling
 - add MULTISITE_REGISTER_POST_MIGRATE_SYNC_ALIAS settings attr
   to allow user to connect signal outside of multisite
 - drop template loader code. Maybe add back later
 - remove unused ThreadLocalsMiddleware

1.9.0
-----

* Fix tldextract version 3.0.0 breaking changes (Issue #72 / PR #74)
* Fix test requirements missing Django
* Fix Pluggy dependency version conflict
* Remove support for Python 3.5 / Django < 1.11

1.8.0
----------

- Support for Django 3.0 (PR #68 - thanks @erikvw)
- Fix middleware usage post Django 2.0 (PR #69 thanks @mihalikv)

1.7.0
-----

* Support Django 2.1 and 2.2 (PR #59 - thanks @ribeiroti!)
* Replace queryset with get_queryset in admin (PR #61 - thanks @vit-ivanov!)

1.6.0
-----
* Fix KeyError from _get_site_by_id
* Drop support for Django 1.7
* Remove unnecessary cache type warnings
* Remove deprecated SiteIDHook

1.5.0
-----
* Support Django 2.0 (PR #47 and #60)
* Remove code for Django < 1.7
* Remove obsolete PathAssistedCurrentSiteManager
* Remove obsolete template.loaders.cached
* Update README to better describe local development setup

1.4.1
-----
* Specify Django <2.0 in setup.py
* Drop support for python 3.3

1.4.0
-----
* Support Django 1.10 (PR #38) and 1.11
* Support Python 3
* Remove support for Django <1.7
* Use setuptools over distutils, and integrate the tests with them
* Use pytest and tox for testing
* Set up CI with travis
* Set up coverage and coveralls.io
* Document MULTISITE_EXTRA_HOSTS in README

1.3.1
-----

* Add default for SiteID in the README (PR #31)
* Respect the CACHE_MULTISITE_ALIAS in SiteCache (PR #34)
* Replace deprecated ExtractResult().tld with .suffic (PR #32)

1.3.0
-----

* Fix tempfile issue with update_public_suffix_list command
* Support for tldextract version >= 2.0

1.2.6
----

* Pin the tldextract dependency to version < 2.0, which breaks API.

1.2.5
----

* Make template loading more resilient to changes in django (thanks to jbazik for the contribution)

1.2.4
-----

* Fix domain validation so it's called after the pre_save signal

1.2.3
-----

* Fix a broken test, due to a django uniqueness constraint in 1.9

1.2.2
-----

* Fix for 1.9: change the return type of filesystem template loader's get_template_sources()

1.2.1
-----

* Remove django.utils.unittest (deprecated in 1.9)
* Use post_migrate instead of post_syncdb in > 1.7

1.2.0
-----

* We now support Django 1.9
* Following deprecation in django, all get_cache methods have been replaced caches.

1.1.0
-----

* We now support post-South Django 1.7 native migrations.

1.0.0
-----

* 1.0 release. API stability promised from now on.
* Following the deprecation in Django itself, all get_query_set methods have been renamed to get_queryset. This means Django 1.6 is now the minimum required version.

0.5.1
-----

* Add key prefix tests

0.5.0
-----

* Allow use of cache key prefixes from the CACHES settings if CACHE_MULTISITE_KEY_PREFIX not set
