Skip to content

Commit

Permalink
Update CHANGELOG and version.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed May 29, 2023
1 parent 21aee92 commit c7af8b1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 29 deletions.
72 changes: 44 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,55 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.20.0](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.20.0) - 2023-05-29
- Add `pyupgrade` (`Python >= 3.8`) to `pre-commit` config.
- Add `Django 4.2` support and drop `Django 2.2` support.
- Add `django-upgrade` (`Django >= 3.2`) to `pre-commit` hooks.
- Add `metadata` module.
- Add locales support.
- Add string primary key support. #81
- Fix XSS vulnerability in `get_display_text` method.
- Replace `str.format` with `f-string`.
- Replace `flake8` with `Ruff`.
- Replace `setup.py` in favor of `pyproject.toml`.
- Run `pre-commit` also with `tox`.
- Pin test requirements.
- Bump requirements and `pre-commit` hooks.
- Rename default branch from `master` to `main`.

## [0.19.0](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.19.0) - 2022-12-14
- Add `Python 3.11` and `django 4.1` support.
- Drop `Python < 3.8` and `Django < 2.2` support. #67
- Add `pre-commit`.
- Bump requirements and actions.
- Replace `str.format` with `f-strings`.
- Replace `setup.py test` in favor of `runtests.py`.
- Add `Python 3.11` and `django 4.1` support.
- Drop `Python < 3.8` and `Django < 2.2` support. #67
- Add `pre-commit`.
- Bump requirements and actions.
- Replace `str.format` with `f-strings`.
- Replace `setup.py test` in favor of `runtests.py`.

## [0.18.2](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.18.2) - 2022-07-19
- Improved `get_breadcrumbs` performance.
- Improved `get_breadcrumbs` performance.

## [0.18.1](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.18.1) - 2021-12-22
- Fixed positive integer fields for big trees. #51
- Fixed positive integer fields for big trees. #51

## [0.18.0](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.18.0) - 2021-12-08
- Added django 4.0 compatibility.
- Added `cascade` option to `delete` method. #40
- Added documentation for bulk operations. #41 #42 #45
- Removed console verbose logging. #36
- Removed display fallback to str method due to recursion error.
- Fixed order field too small for big trees. #44
- Fixed tests auto-field warning.
- Added django 4.0 compatibility.
- Added `cascade` option to `delete` method. #40
- Added documentation for bulk operations. #41 #42 #45
- Removed console verbose logging. #36
- Removed display fallback to str method due to recursion error.
- Fixed order field too small for big trees. #44
- Fixed tests auto-field warning.

## [0.17.1](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.17.1) - 2021-12-07
- Replaced travis CI with GitHub workflow.
- Added python 3.10 support.
- Added feature: use `__str__` as default fallback for `treenode_display_field`.
- Fixed backward compatibility.
- Replaced travis CI with GitHub workflow.
- Added python 3.10 support.
- Added feature: use `__str__` as default fallback for `treenode_display_field`.
- Fixed backward compatibility.

## [0.17.0](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.17.0) - 2021-06-11
- Added handling for `UUID` primary keys (thanks to @cperrin88). #31
- Reduced admin changelist queries.
- Added `TreeNodeModel` utility methods and properties to retrieve only pk(s):
- Added handling for `UUID` primary keys (thanks to @cperrin88). #31
- Reduced admin changelist queries.
- Added `TreeNodeModel` utility methods and properties to retrieve only pk(s):
- method `get_ancestors_pks()` / property `ancestors_pks`
- method `get_children_pks()` / property `children_pks`
- method `get_descendants_pks()` / property `descendants_pks`
Expand All @@ -45,14 +61,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- method `get_siblings_pks()` / property `siblings_pks`

## [0.16.0](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.16.0) - 2021-04-21
- Added `python 3.9` and `django 3.2` to `tox` and `travis`.
- Added `get_display_text` method. #27
- Fixed `TreeNodeModelAdmin` duplicated query.
- Updated `debug_performance` decorator to work only if `settings.DEBUG = True`.
- Added `python 3.9` and `django 3.2` to `tox` and `travis`.
- Added `get_display_text` method. #27
- Fixed `TreeNodeModelAdmin` duplicated query.
- Updated `debug_performance` decorator to work only if `settings.DEBUG = True`.

## [0.15.0](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.15.0) - 2020-09-16
- Added custom `cache` back-end support. #19 #24
- Fixed tests warning (admin.W411).
- Added custom `cache` back-end support. #19 #24
- Fixed tests warning (admin.W411).

## [0.14.2](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.14.2) - 2020-03-07
## [0.14.1](https://github.com/fabiocaccamo/django-treenode/releases/tag/0.14.1) - 2020-03-04
Expand Down
2 changes: 1 addition & 1 deletion treenode/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
__email__ = "fabio.caccamo@gmail.com"
__license__ = "MIT"
__title__ = "django-treenode"
__version__ = "0.19.0"
__version__ = "0.20.0"

0 comments on commit c7af8b1

Please sign in to comment.