From d006af62f1efad2e8faede4abef498bb6601b880 Mon Sep 17 00:00:00 2001 From: Radi85 Date: Tue, 17 Aug 2021 14:05:07 +0200 Subject: [PATCH] chore: release 2.7.0 --- VERSION | 2 +- comment/__init__.py | 2 +- docs/source/Changelog.rst | 13 ++++++ docs/source/release-notes/index.rst | 1 + docs/source/release-notes/version-2.7.rst | 50 +++++++++++++++++++++++ 5 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 docs/source/release-notes/version-2.7.rst diff --git a/VERSION b/VERSION index b8d12d7..9aa3464 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.6.1 \ No newline at end of file +2.7.0 \ No newline at end of file diff --git a/comment/__init__.py b/comment/__init__.py index f5378f3..81c2e41 100644 --- a/comment/__init__.py +++ b/comment/__init__.py @@ -1,6 +1,6 @@ import os -__version__ = '2.6.1' +__version__ = '2.7.0' def _get_version(): diff --git a/docs/source/Changelog.rst b/docs/source/Changelog.rst index 33731d8..0125694 100644 --- a/docs/source/Changelog.rst +++ b/docs/source/Changelog.rst @@ -1,6 +1,19 @@ Changelog ========= +2.7.0 +------ + +- Add support for django ``3.2``. +- Allow blocking users/emails from adding/reacting with comments. +- Improve commenting anonymously UI. +- Enhance API docs by adding openapi_ and swagger page to RTD. +- Reduce number of queries by prefetching foreign key objects on comment. +- Reduce chances of XSS injections. +- Fix response for state change on unflagged comments. + +.. _openapi: https://django-comment-dab.readthedocs.io/en/latest/openapi.html + 2.6.1 ------ diff --git a/docs/source/release-notes/index.rst b/docs/source/release-notes/index.rst index 7f5723f..f1d7898 100644 --- a/docs/source/release-notes/index.rst +++ b/docs/source/release-notes/index.rst @@ -6,3 +6,4 @@ Release Notes :maxdepth: 0 version-2.6 + version-2.7 diff --git a/docs/source/release-notes/version-2.7.rst b/docs/source/release-notes/version-2.7.rst new file mode 100644 index 0000000..4e270db --- /dev/null +++ b/docs/source/release-notes/version-2.7.rst @@ -0,0 +1,50 @@ +========================= +Django-comments-dab v2.7 +========================= + +v2.7.0 +------- + +Features +^^^^^^^^^ + +- `#143`_ - Allow blocking users and emails. +- `#156`_ - Improve UI for commenting anonymously. +- `#203`_ - Enhance API docs by adding openapi and swagger page to RTD. +- `#215`_ - Reduce number of queries by prefetching foreign key objects on comment. +- `#218`_ - Add support for django ``3.2``. + +.. _#143: https://github.com/Radi85/Comment/issues/143 +.. _#156:: https://github.com/Radi85/Comment/issues/156 +.. _#203:: https://github.com/Radi85/Comment/issues/203 +.. _#215: https://github.com/Radi85/Comment/pull/215 +.. _#218: https://github.com/Radi85/Comment/issues/218 + +Bug fixes +^^^^^^^^^ + +- `#202`_ - Fix response for state change on unflagged comments. +- `#210`_ - Reduce chances of XSS injections. +- `#213`_ - Fix namespace pollution caused by star imports. +- `#216`_ - Give warnings when deprecated template tag include_static is used. + +.. _#202: https://github.com/Radi85/Comment/pull/202 +.. _#210: https://github.com/Radi85/Comment/issues/210 +.. _#213: https://github.com/Radi85/Comment/pull/213 +.. _#216: https://github.com/Radi85/Comment/issues/216 + +Codebase enhancement +^^^^^^^^^^^^^^^^^^^^^ + +- `#205`_ - Enhance Coverage - Add tests for permissions. +- `#206`_ - Move metadata from setup.py to setup.cfg. +- `#200`_ and `#209`_ - Tests enhancement and refactoring. +- `#223`_ - Migrate to github actions for CI. +- `#225`_ - Run tests for all supported python and django versions. + +.. _#205: https://github.com/Radi85/Comment/pull/205 +.. _#206: https://github.com/Radi85/Comment/issues/206 +.. _#200: https://github.com/Radi85/Comment/pull/200 +.. _#209: https://github.com/Radi85/Comment/pull/209 +.. _#223: https://github.com/Radi85/Comment/issues/223 +.. _#225: https://github.com/Radi85/Comment/issues/225