Skip to content

Commit 98250c5

Browse files
authored
Merge pull request #144 from benjaoming/bump-1.4
Bump to 1.4
2 parents 014b7d5 + b5a2a75 commit 98250c5

File tree

3 files changed

+29
-18
lines changed

3 files changed

+29
-18
lines changed

README.rst

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ django-nyt
88
:alt: Documentation Status
99
.. image:: https://badge.fury.io/py/django-nyt.svg
1010
:target: https://pypi.org/project/django-nyt/
11-
.. image:: https://codecov.io/github/django-wiki/django-nyt/coverage.svg?branch=master
12-
:target: https://app.codecov.io/github/django-wiki/django-nyt?branch=master
11+
.. image:: https://codecov.io/github/django-wiki/django-nyt/coverage.svg?branch=main
12+
:target: https://app.codecov.io/github/django-wiki/django-nyt?branch=main
1313

1414
Concept
1515
-------
@@ -23,14 +23,12 @@ django-nyt is a notification framework for Django. It does this:
2323
EVENT_KEY = "my_key"
2424
notify(_("OMG! Something happened"), EVENT_KEY)
2525
26-
All users subscribing to ``"my_key"`` will have a notification created
27-
in their stack when ``notify()`` is called.
26+
All users subscribing to ``"my_key"`` will have a notification created when ``notify()`` is called.
27+
How the notification is handled depends on the user's settings.
2828

29-
If you have emails enabled, subscribers receive a summary of notifications at
30-
an interval of their choice.
29+
If you have emails enabled, subscribers receive a summary of notifications immediately or at an interval of their choice.
3130

32-
Data can be accessed easily from Django models or from the included JSON
33-
views.
31+
Data can be accessed easily from Django models or from the included JSON views.
3432

3533
By using generic object relations, custom URLs, and custom email templates,
3634
you can expand your notification logic to create email messages that both marks the notification as read when clicking a link and at the same time redirects users to a final destination:
@@ -49,11 +47,16 @@ you can expand your notification logic to create email messages that both marks
4947
)
5048
5149
52-
Channels (django-channels)
53-
--------------------------
50+
Roadmap
51+
-------
52+
53+
This project makes sense if people start using it and maturing it to their use-cases.
54+
55+
Here are some aspects that aren't covered but are most welcome:
5456

55-
Starting from django-nyt 1.0, support for
56-
`channels <https://channels.readthedocs.io/en/stable/>`_ 1.0 has been added.
57+
* Support for async
58+
* Support for notifications through django-channels 4+
59+
* Support for HTML emails (and user setting)
5760

5861
Docs
5962
----

django_nyt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
_disable_notifications = False
22

3-
__version__ = "1.4rc5"
3+
__version__ = "1.4"
44

55
default_app_config = "django_nyt.apps.DjangoNytConfig"

docs/release_notes.rst

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
Release Notes
22
=============
33

4-
1.4 (unreleased)
4+
1.4 (2024-02-16)
55
----------------
66

7+
Hello 👋️ We're alive and maintaining this!
8+
9+
This release puts django-nyt a step forwards toward being a mature framework, especially by adding Django 5 support, fixing issues and adding more tests.
10+
However, there are still some async capabilities remaining to be solved for it to be both mature and modern.
11+
12+
If you can get behind :doc:`the concept </index>`, please consider the great potential of contributing to this project!
13+
14+
715
**Added**
816

917
* Custom email templates per notification type:
@@ -44,16 +52,16 @@ Release Notes
4452
* Python 3.7 support removed #129 (Benjamin Balder Bach)
4553
* Unused (!) setting ``NYT_ENABLED`` was removed #134 (Benjamin Balder Bach)
4654

47-
1.3
48-
---
55+
1.3 (2023-05-03)
56+
----------------
4957

5058
* Hatch build system, environment management and more #116 (Oscar Cortez)
5159
* pre-commit configuration updated #116 (Oscar Cortez)
5260
* Code-base black'ned #116 (Oscar Cortez)
5361

5462

55-
1.2.4
56-
-----
63+
1.2.4 (2022-11-11)
64+
------------------
5765

5866
* Adds Django 4.1 support #113 (Oscar Cortez)
5967

0 commit comments

Comments
 (0)