You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31-22Lines changed: 31 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,77 +18,86 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
18
18
19
19
## [Unreleased]
20
20
21
+
### Added
22
+
23
+
- Support for Python 3.13.
24
+
25
+
### Changed
26
+
27
+
- Bumped `django-twc-package` template version to 2024.24.
28
+
- Refactored how app settings are accessed within library to use a frozen `dataclass`.
29
+
21
30
## [0.3.2]
22
31
23
32
### Added
24
33
25
-
-Added a `py.typed` file for static type checkers.
34
+
- Added a `py.typed` file for static type checkers.
26
35
27
36
## [0.3.1]
28
37
29
38
### Fixed
30
39
31
-
-Correctly JSON serialize `Task` kwargs when going from the in-memory representation contained in the task registry to actual model instances in the database. First reported by [@joshuadavidthomas](https://github.com/joshuadavidthomas) in [#30](https://github.com/westerveltco/django-q-registry/issues/30).
40
+
- Correctly JSON serialize `Task` kwargs when going from the in-memory representation contained in the task registry to actual model instances in the database. First reported by [@joshuadavidthomas](https://github.com/joshuadavidthomas) in [#30](https://github.com/westerveltco/django-q-registry/issues/30).
32
41
33
42
## [0.3.0]
34
43
35
44
### Changed
36
45
37
-
-Now using v2024.18 of `django-twc-package`.
46
+
- Now using v2024.18 of `django-twc-package`.
38
47
39
48
### Removed
40
49
41
-
-Dropped support for Django 3.2.
50
+
- Dropped support for Django 3.2.
42
51
43
52
## [0.2.1]
44
53
45
54
### Added
46
55
47
-
-Added a `TaskRegistry.created_tasks` attribute to store the `Task` instances created by the `TaskRegistry`.
56
+
- Added a `TaskRegistry.created_tasks` attribute to store the `Task` instances created by the `TaskRegistry`.
48
57
49
58
### Changed
50
59
51
-
-Now using v2024.12 of `django-twc-package`.
60
+
- Now using v2024.12 of `django-twc-package`.
52
61
53
62
### Fixed
54
63
55
-
-Fixed a bug in the `setup_periodic_tasks` management command where newly created tasks via `Task.objects.create_from_registry` were immediately deleted via `Task.objects.delete_dangling_objects`. Newly created tasks are now added to the `TaskRegistry.created_tasks` attribute and are only deleted if they are not in the `TaskRegistry.created_tasks` attribute.
64
+
- Fixed a bug in the `setup_periodic_tasks` management command where newly created tasks via `Task.objects.create_from_registry` were immediately deleted via `Task.objects.delete_dangling_objects`. Newly created tasks are now added to the `TaskRegistry.created_tasks` attribute and are only deleted if they are not in the `TaskRegistry.created_tasks` attribute.
56
65
57
66
## [0.2.0]
58
67
59
68
### Added
60
69
61
-
-Refactored the `django_q_registry.registry.Task` dataclass into a `django_q_registry.models.Task` Django model. This should make it more flexible and robust for registering tasks and the associated `django_q.models.Schedule` instances.
70
+
- Refactored the `django_q_registry.registry.Task` dataclass into a `django_q_registry.models.Task` Django model. This should make it more flexible and robust for registering tasks and the associated `django_q.models.Schedule` instances.
62
71
63
72
### Changed
64
73
65
-
-Now using [`django-twc-package`](https://github.com/westerveltco/django-twc-package) template for repository and package structure.
66
-
-The default for the `Q_REGISTRY["PERIOIDIC_TASK_SUFFIX"]` app setting has been changed from `"- CRON"` to `"- QREGISTRY"`.
67
-
-All database logic has been moved from the `TaskRegistry` to the `setup_periodic_tasks` management command.
68
-
-GitHub Actions `test` workflow now uses the output of `nox -l --json` to dynamically generate the test matrix.
74
+
- Now using [`django-twc-package`](https://github.com/westerveltco/django-twc-package) template for repository and package structure.
75
+
- The default for the `Q_REGISTRY["PERIOIDIC_TASK_SUFFIX"]` app setting has been changed from `"- CRON"` to `"- QREGISTRY"`.
76
+
- All database logic has been moved from the `TaskRegistry` to the `setup_periodic_tasks` management command.
77
+
- GitHub Actions `test` workflow now uses the output of `nox -l --json` to dynamically generate the test matrix.
69
78
70
79
### Fixed
71
80
72
-
-Fixed a bug in the hashing of a `Task` where the `hash` function was passed unhashable values (e.g. a `dict`). Thanks to [@Tobi-De](https://github.com/Tobi-De) for the bug report ([#6](https://github.com/westerveltco/django-q-registry/issues/6)).
81
+
- Fixed a bug in the hashing of a `Task` where the `hash` function was passed unhashable values (e.g. a `dict`). Thanks to [@Tobi-De](https://github.com/Tobi-De) for the bug report ([#6](https://github.com/westerveltco/django-q-registry/issues/6)).
73
82
74
83
## [0.1.0]
75
84
76
85
Initial release!
77
86
78
87
### Added
79
88
80
-
-Initial documentation.
81
-
-Initial tests.
82
-
-Initial CI/CD (GitHub Actions).
83
-
-A registry for Django Q2 periodic tasks.
84
-
-`registry.register` function for registering periodic tasks with a convenience decorator `register_task`.
85
-
- A `TASKS` setting for registering periodic tasks from Django settings.
86
-
-Autodiscovery of periodic tasks from a Django project's `tasks.py` files.
87
-
-A `setup_periodic_tasks` management command for setting up periodic tasks in the Django Q2 broker.
89
+
- Initial documentation.
90
+
- Initial tests.
91
+
- Initial CI/CD (GitHub Actions).
92
+
- A registry for Django Q2 periodic tasks.
93
+
-`registry.register` function for registering periodic tasks with a convenience decorator `register_task`.
94
+
- A `TASKS` setting for registering periodic tasks from Django settings.
95
+
- Autodiscovery of periodic tasks from a Django project's `tasks.py` files.
96
+
- A `setup_periodic_tasks` management command for setting up periodic tasks in the Django Q2 broker.
0 commit comments