Releases: Lazarus-org/dj-notification-api
v1.2.1
v1.2.0
🛠️ Refactoring
-
refactor(docs): Improve settings and API guide structure. (3f90aa3)
- Enhanced the structure of the settings and API guide documentation for better clarity and usability.
-
refactor(README): Improve settings section structure. (583d733)
- Reorganized the README settings section for a more intuitive flow and easier configuration understanding.
🔧 Chores
-
chore: Update CI configuration for Python 3.13 support. (c6d2bca)
- Updated CI pipeline configuration to add support for Python 3.13 and ensure compatibility.
-
chore: Add support for Python 3.13 and drop support for Python 3.8. (1516559)
- Officially added support for Python 3.13 while discontinuing support for Python 3.8.
-
chore: Update project details and required Python version. (6904a08)
- Updated project documentation with the latest required Python version details.
📚 Documentation
- docs(contributing): Fix typo in contributing.md. (3efec98)
- Corrected minor typos in the contributing guide to enhance readability and accuracy.
🐛 Bug Fixes
- fix: Fix missing throttle rate for user scope in API throttling. (43f0639)
- Resolved an issue where throttle rates were incorrectly applied or missing for the 'user' scope.
v1.1.0
✨ Features
-
feat(migrations): Add
db_comment
migration file. (f6acab9)- Added a migration file to include database comments for improved documentation of database schema fields.
-
feat(conf): Add
exclude_serializer_null_fields
config. (cd0e648)- Introduced a new configuration option to exclude null fields in serializer responses dynamically.
-
feat(models): Add
db_comment
for various models. (ce29509, 52e236b, fd96159, 268bcff)- Added
db_comment
to fields in theNotification
,NotificationRecipient
,NotificationSeen
, andDeletedNotification
models for better database schema clarity and maintenance.
- Added
-
feat(queryset): Add
NotificationDataAccessLayer
custom manager. (88a6f92)- Implemented a custom manager providing data access methods for notifications, including creating, updating, and filtering notifications.
-
feat(admin): Add dynamic admin site support for Admin. (114ff1c)
- Integrated dynamic support for custom admin sites in the
dj-notification-api
package through configurable admin site settings.
- Integrated dynamic support for custom admin sites in the
🛠️ Refactoring
-
refactor(serializers): Update serializers to apply
exclude null fields
config. (842aed0)- Refactored
to_representation
method of serializers to accommodate the new configuration for excluding null fields.
- Refactored
-
refactor(models): Update model
Manager
class and apply ModelManager toNotificationViewSet
. (84d460d, b790f57, a420ca5)- Refined the
Notification
model’s manager for better data handling and incorporated the new manager into API viewsets.
- Refined the
🐛 Bug Fixes
- fix(throttlings): Fix missing rate for 'user' scope error. (43f0639)
- Fixed an issue where the throttle rates for different user roles were missing or incorrectly applied.
📚 Documentation
- docs(contributing): Update contributing documentation to add migration-linter hints. (4c863e0)
- Expanded the contributing guide to include information and usage hints for the new migration-linter tool.
🔧 Chores
-
chore(pyproject): Add
django-migration-linter
config. (2a29525)- Added
django-migration-linter
as a development dependency and pre-commit hook for migration linting.
- Added
-
chore(dependency): Update
rest_framework
minimum version & pytest marker. (69d7906)- Updated the minimum required version of
django-rest-framework
and configured pytest markers for testing compatibility.
- Updated the minimum required version of
✅ Tests
v1.0.0
- 🎉initial Release