Commit graph

74 commits

Author SHA1 Message Date
Jack Linke
27eaaa57cc
Correct problems with tests (#234) 2023-05-24 21:35:03 -04:00
Andrew-Chen-Wang
1d0a06a9ab Remove Python 2 and Django 2.2 code 2023-04-04 15:28:15 -04:00
Andrew Chen Wang
0bda00bd2c
Merge branch 'master' into andrew-wang/dj4.2 2023-04-04 15:18:08 -04:00
Andrew-Chen-Wang
d192bae22c Add Django 4.1-4.2 and Python 3.11 support (Fixes #228)
* Increment version to 4.5.0
2023-04-04 15:14:29 -04:00
Andrew Chen Wang
c955d1bbee
Update CHANGELOG.rst 2023-03-13 05:01:47 -04:00
Dan Koch
52406ec111
Add Django 4.1 support (#219) 2022-08-26 22:06:52 -04:00
Andrew-Chen-Wang
8ab33ad40d Bump version to 2.5.1 2022-02-24 18:41:59 -05:00
Andrew Chen Wang
9ba75c2eec
Change CHANGELOG latest version to 2.5.0 from 2.5.6 2022-01-14 18:32:10 -05:00
Dominik Bartenstein
434a5759de
Add final SQL check when looking up involved tables (#199) 2021-12-27 12:30:44 -05:00
Andrew Chen Wang
f1087da6f9
Add Django 4.0 support, drop Python 3.6 and Django 3.1 (#208)
* Fix tox.ini and use exclude for ci.yml
* runtests_urls.py had an issue from using pre-Django 2.2 import of urls
* tox.ini forgot to remove 3.7 from Django 4.0 env
* Use re_path
* Avoid system error in Django test
* Fix read/test_union.py
* Test assertion error for read/test_union
* Fix remaining read/test_intersection test
* Bump version
2021-12-07 18:44:25 -05:00
Andrew Chen Wang
a9c5d4d01c
Add Python 3.10 Support (fixes #205) (#206) 2021-11-03 15:05:44 -04:00
Andrew-Chen-Wang
8ef611a1cb Bump vesrion to 2.4.4 2021-11-03 13:04:38 -04:00
Andrew Chen Wang
f7753ae104
Update CHANGELOG [ci skip] 2021-08-23 10:54:26 -04:00
Andrew Chen Wang
4fb23ab029
Check for Uncachables (i.e. Now) in annotations (#195)
* Check for Uncachables for annotations

* Add test case

* Update CHANGELOG.rst
2021-08-19 15:00:47 -04:00
Andrew Chen Wang
9d528656d5
Remove duplicate code _find_rhs_lhs_subquery (#190) 2021-06-06 14:17:49 -04:00
Andrew-Chen-Wang
18dd8a7ad9 Updated CHANGELOG 2021-05-26 22:31:05 -04:00
Andrew Chen Wang
0937680be0
Add CACHALOT_ONLY_CACHABLE_APPS & CACHALOT_UNCACHABLE_APPS (Fixes #186) (#187) 2021-05-24 22:46:00 -04:00
Andrew-Chen-Wang
986431143e Bump correct requirements (Fixes #185) 2021-05-13 12:53:50 -04:00
Andrew Chen Wang
5eaffb4958
Add CACHALOT_ADDITIONAL_TABLES for unmanaged models (#183)
* Add CACHALOT_ADDITIONAL_TABLES for unmanaged models
- Fixes #182
- For doc purposes, we do not want to use table_names and want to continue using django_table_names from connection.introspection to avoid a query to the db every request.
2021-05-13 00:44:41 -04:00
Andrew Chen Wang
165cdb6a00
Add Django 3.2 Support and drop error dependency check (#181)
* Remove system check for Django version
* Closes #175
* Bump version and amend CHANGELOG
* Update with GitHub action CI
* Update README with Python and Django versions
* Limit Django version to 3.2, inclusively.
* Add note on Django constraints to README
* Bump minor version
* Justified by dropping support for dependency versions
* Drop support for Django 2.0-2.1, Python 3.5
* Change CI badge in README to GitHub actions
* Add support for Pymemcache for Django 3.2+
* Add Django 3.2 to test matrix
* Fix MySQL test_explain
* Allow filebased delta leniency in tests
* Allow Subquery in finding more Subqueries (Fixes #156)
* Reverts #157 with proper fix. The initial problem was due to `django.db.models.expressions.Subquery` allowing both QuerySet and sql.Query to be used.
* Fixes Django 3.2 test_subquery and test_invalidate_subquery testing by also checking the lhs
* Fix Django 2.2 Subquery having no query attr
* Fix filebased test time delta
* Fix test_invalidate_having due to new inner_query
* The new inner_query replaces subquery for Django 3.2 where subquery is now a boolean. That's why I initially used that TypeError in _get_tables_from_sql. inner_query looks to be a sql.Query
* Add PyMemcacheCache to supported cache backends

Co-authored-by: Dominik George <nik@naturalnet.de>
2021-05-13 00:27:14 -04:00
Andrew-Chen-Wang
76cb929cf5 v2.3.5 2021-04-01 13:52:44 -04:00
Andrew-Chen-Wang
f02b7f57a2 v2.3.4 2021-03-22 23:12:35 -04:00
Dominik George
ac814e5cd4
Do not throw exception on externally invalidated cache keys (#169)
Closes #120
2021-03-21 19:27:16 -04:00
Andrew-Chen-Wang
d0b5213014 v2.3.3
* Fix a comment block disabling incorrectly RST form for cachalot_disabled
* Update CHANGELOG.rst
* Several points did I incorrectly say that 50 modifications per second was too much. It was supposed to say minute. You'd have to have a LARGE website to really get to that point since inserts from an external DB would typically take a 250-1000ms/1s per INSERT/UPDATE
* Add Python 3.9 support in the docs and setup.py
* Move chat to Discord and reflect in the docs
2020-11-08 21:01:14 -05:00
Andrew Chen Wang
72be2c07b3 v2.3.2 2020-09-16 13:54:07 +00:00
Andrew-Chen-Wang
689f679ad3 v2.3.1 2020-08-10 17:15:13 -04:00
Andrew-Chen-Wang
6781b9b98a Added changes to CHANGELOG.rst 2020-07-29 16:10:14 -04:00
Andrew-Chen-Wang
6e22dc7f58 Drop Python 2.7 and Dj 1.11 2020-06-18 09:28:00 -04:00
Andrew-Chen-Wang
8c35a6f931 Updated Docs
* CHANGELOG, README updated
* Added bare bone CONTRIBUTING
2020-02-12 01:09:42 -05:00
Bertrand Bordage
f3f8773f85 Version 2.1.0. 2018-08-09 23:55:35 +02:00
Bertrand Bordage
2b8f001a21 Version 2.0.2. 2018-07-27 20:27:56 +02:00
Bertrand Bordage
522cf930a4 Updates CHANGELOG.rst. 2018-06-15 03:47:35 +02:00
Bertrand Bordage
2e6196d173 Version 2.0.0. 2018-05-05 02:17:40 +02:00
Bertrand Bordage
259b76291a Minor amends to #102. 2018-05-04 14:57:23 +02:00
Kosei Kitahara
49cf92767c
Drop 1.8 and 1.10 from docs and setup.py 2018-04-17 14:51:43 +09:00
Bertrand Bordage
099e988b3b Version 1.5.0. 2017-06-04 22:00:40 +02:00
Bertrand Bordage
c9ac4080d2 Partially reverts 2cf0d65 from #68. 2017-06-02 23:03:45 +02:00
Bertrand Bordage
83cee881d2 Merge pull request #68 from eriktelepovsky/master
Fixes cache in CachalotPanel, Version 1.4.2
2017-06-02 23:01:41 +02:00
Bertrand Bordage
60c29e888f Typos in docs. 2017-06-02 22:57:31 +02:00
Erik Telepovský
2cf0d65994 Fixes cache in CachalotPanel, Version 1.4.2 2016-11-22 15:09:39 +01:00
Bertrand Bordage
a302f6b77a Version 1.4.1. 2016-10-24 20:44:32 +02:00
Bertrand Bordage
5965319688 Version 1.4.0. 2016-09-29 20:28:47 +02:00
Bertrand Bordage
cffed48026 Version 1.3.0. 2016-09-13 21:59:10 +02:00
Bertrand Bordage
8124bf3f86 Version 1.2.1. 2016-02-17 19:49:22 +01:00
Bertrand Bordage
f61d4910a2 Version 1.2.0. 2016-01-13 16:00:41 +01:00
Bertrand Bordage
cdbfb34c88 Version 1.1.0. 2015-10-28 19:17:39 +01:00
Bertrand Bordage
839b84edcf Version 1.0.3. 2015-06-19 21:27:45 +02:00
Bertrand Bordage
dbfdf3f916 Version 1.0.2. 2015-05-24 20:39:56 +02:00
Bertrand Bordage
9d2aba8680 Version 1.0.1. 2015-04-17 20:44:39 +02:00
Bertrand Bordage
d447418e63 Version 1.0.0. 2015-03-15 18:15:43 +01:00