Changelog#
django-docutils 0.26.0 (unreleased)#
Add your latest changes from PRs here
Documentation#
Automatically linkify links that were previously only text.
Development#
poetry: 1.8.1 -> 1.8.2
See also: https://github.com/python-poetry/poetry/blob/1.8.2/CHANGELOG.md
django-docutils 0.25.0 (2024-03-24)#
Maintenance release only, no bug fixes or new features
Development#
Aggressive automated lint fixes via
ruff
(#419)via ruff v0.3.4, all automated lint fixes, including unsafe and previews were applied:
ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .
Branches were treated with:
git rebase \ --strategy-option=theirs \ --exec 'poetry run ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; poetry run ruff format .; git add src tests; git commit --amend --no-edit' \ origin/master
django-docutils 0.24.0 (2024-03-09)#
Bug fixes#
django-docutils 0.23.0 (2024-02-06)#
Maintenance release only, no bug fixes or new features
Development#
poetry: 1.7.1 -> 1.8.1
See also: https://github.com/python-poetry/poetry/blob/1.8.1/CHANGELOG.md
-
Related formattings. Update CI to use
ruff check .
instead ofruff .
.See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
-
Add flake8-commas (COM)
Add flake8-builtins (A)
Add flake8-errmsg (EM)
django-docutils 0.22.1 (2023-12-24)#
Fixes#
django-docutils 0.22.0 (2023-12-24)#
Breaking changes#
Moved functions: Move docutils role and directive registration from package root to dedicated module (#409):
register_django_docutils_roles()
fromdjango_docutils.lib.roles
todjango_docutils.lib.roles.registry
register_django_docutils_directives()
fromdjango_docutils.lib.directives
todjango_docutils.lib.directives.registry
Improvements#
Tests#
django-docutils 0.21.0 (2023-12-09)#
Maintenance release only, no bug fixes or new features
Packaging#
CI#
django-docutils 0.20.1 (2023-11-18)#
Development#
Packaging (poetry): Fix development dependencies
Per Poetry’s docs on managing dependencies and
poetry check
, we had it wrong: Instead of using extras, we should create these:[tool.poetry.group.group-name.dependencies] dev-dependency = "1.0.0"
Which we now do.
CI: Update action packages to fix warnings
dorny/paths-filter: 2.7.0 -> 2.11.1
codecov/codecov-action: 2 -> 3
django-docutils 0.20.0 (2023-11-18)#
Maintenance release only, no bug fixes or new features
Development#
Poetry: 1.6.1 -> 1.7.0
See also: https://github.com/python-poetry/poetry/blob/1.7.0/CHANGELOG.md
Move formatting from
black
toruff format
(#406)This retains the same formatting style of
black
while eliminating a dev dependency by using our existing rust-basedruff
linter.Tests: Additional test coverage, including for some roles (#404)
mypy,sphinx: Point settings to
django_docutils.lib.settings
(#404)
django-docutils 0.19.0 (2023-10-08)#
Breaking changes#
django-docutils 0.18.0 (2023-10-08)#
Bug fix#
Development#
Documentation#
django-docutils 0.17.0 (2023-10-08)#
Breaking changes#
Development#
Documentation#
django-docutils 0.16.0 (2023-10-07)#
Breaking changes#
Documentation#
django-docutils 0.15.0 (2023-10-01)#
Breaking changes#
What’s new#
rst
template tags can now accept blocks (#392):{% load django_docutils %} {% rst %} Hello world =========== Thank you for visiting the site! - List item 1 - List item 2 {% endrst %}
restructuredtext
filter revitalized (#388)Now powered the same
docutils
code as the template tagdjango-docutils settings will now apply to the filter
Tweaks#
Fixes#
Development#
Packaging#
django-docutils 0.14.1 (2023-10-01)#
Maintenance only, no bug fixes or features
Packaging#
Add
Typing :: Typed
to trove classifiers
Documentation#
django-docutils 0.14.0 (2023-09-30)#
What’s new#
Now
mypy --strict
compliant (#378)
Breaking changes#
django-docutils 0.13.5 (2023-09-30)#
Bug fixes#
django-docutils 0.13.4 (2023-09-24)#
Compatibility#
Documentation#
django-docutils 0.13.3 (2023-09-24)#
Bug fixes#
django-docutils 0.13.2 (2023-09-10)#
Bug fixes#
RSTMixin
: Fix.content
missing params
django-docutils 0.13.1 (2023-09-10)#
Internal improvements#
Tests#
django-docutils 0.13.0 (2023-09-10)#
Breaking changes: Debloating, Part 2#
Remove unused requirements (#376)#
Remove dependencies on (now unused via #373):
django_slug_processor
django-randomslugfield
django-dirtyfields
django-extensions
django-dirtyfields
bitly-api-py3
lxml
Remove dev dependencies (now unused via #373):
types-tqdm
types-six
types-requests
factory-boy
pytest-factory-boy
pytest-mock
Make
pytz
optional dependency
Remove :amzn:
(amazon) role (#376)#
This required bitly-api-py3
, a dependency not related to core functionality.
It also distracted away from the project’s goals: Just having solid docutils
rendering for django.
django-docutils 0.12.0 (2023-09-10)#
Breaking changes: Debloating, Part 1#
django-docutils is a hastily-extracted hunk of specialized django code - and only now is getting dedicated attention.
To begin, django-docutils just got leaner downstream, beginning with removal of non-essential dependencies and experimental code.
Remove favicon
, references
and rst_post
(#374)#
These are ORM based parts and too specialized for a docutils package for django.
This also includes references to ads, e.g. inject_ads
, add_keywords
, and
BASED_ADS
(fixes #372).
If you want to use these, please file an issue on the tracker.
Remove old references to based
prefixes to django_docutils
(#374)#
Settings:
BASED
->DJANGO_DOCUTILS
, e.g.BASED_LIB
->DJANGO_DOCUTILS_LIB
.
Remove dependency on tqdm
and tldextract
(#374)#
These packages aren’t required by the core reStructuredText functionality.
django-docutils 0.11.0 (2023-09-10)#
Internal improvements#
Post releases#
django-docutils 0.11.0post0 (2023-09-10)#
Run black formatter on codebase.
django-docutils 0.10.0 (2023-09-02)#
Maintenance only, no bug fixes or features
Internal improvements#
Move formatting, import sorting, and linting to ruff.
This rust-based checker has dramatically improved performance. Linting and formatting can be done almost instantly.
This change replaces isort, flake8 and flake8 plugins.
Tests: Remove reliance on
py.local.path
(#369)It has has been deprecated by pytest in favor of
pathlib.Path
parts.Remove some partial typings, in lieu of full typings in the future (#369)
This typings were unused and in some cases incorrect.
Packaging#
Add
pytz
required dependencyRequired, implicitly removed in newer django versions.
Remove
MANIFEST.in
poetry handles this via
include
in pyproject.tomlRemove
.readthedocs.yml
, unused as we self-hostpoetry: 1.4.0 -> 1.5.1
See also:
Add Django 4.2 to CI coverage and classifiers
Add Python 3.11 to classifiers
django-docutils 0.9.0 (2022-09-24)#
Breaking changes#
Infrastructure#
Packaging#
Remove
.tmuxp-before-script.sh
(was used by.tmuxp.yaml
’sbefore_script
)
django-docutils 0.8.0 (2022-09-11)#
Development#
Documentation#
Render changelog in
linkify_issues
(#350, #355)Fix Table of contents rendering with sphinx autodoc with
sphinx_toctree_autodoc_fix
(#355)
django-docutils 0.7.0 (2022-08-16)#
Development#
Infrastructure updates for static type checking and doctest examples.
Update development packages (black, isort)
Add .tool-versions, .python-version
Run code through black w/o
--skip-string-normalization
CI (tests, docs): Improve caching of python dependencies via
action/setup-python
’s v3/4’s new poetry caching, via #342CI: Remove
.pre-commit-config.yaml
, users should know enough to handle these things themselves, via #342CI: Add codeql analysis step
django-docutils 0.6.0 (2022-03-27)#
Compatibility#
Drop python 3.5 to 3.7 (minimum version python 3.8)
Minimum django version 3.0
Development#
CI:
Fix CI variables
Rename Publish Docs -> docs
Fix poetry installation and caching
Documentation#
Move theme to furo
Move to markdown
django-docutils 0.5.1 (2020-08-09)#
django-docutils 0.5.0 (2020-08-08)#
Use our new bitly api fork at https://pypi.org/project/bitly-api-py3/ / https://github.com/develtech/bitly-api-python
pipenv -> poetry
readthedocs -> self-hosted docs
travis -> github actions
Add black + isort and format code with it
Remove vulture
Remove python 2.x support, python 3.3 and 3.4 (reached end of life)
Update to new django versions (2.2 and 2.3)
Remove unsupported django versions (1.8, 1.9, 1.10, 2.0, 2.1)
Cleanup CI, add caching
Add
InjectFontAwesome
transformer to inject icon<em>
tags for font awesome based on regex patternsAdditional support for detecting font-awesome patterns and injecting the icon in other transformers (e.g.
XRefTransform
)
django-docutils 0.4.0 (2017-02-21)#
Django template tag
Some README documentation
django-docutils 0.3.4 (2017-02-12)#
Add requirements/test.txt to manifest
django-docutils 0.3.3 (2017-02-12)#
Add requirements/base.txt to manifest
django-docutils 0.3.2 (2017-02-12)#
Another tweak to get pypi readme up
django-docutils 0.3.1 (2017-02-12)#
Some changes to attempt to fix pypi README
django-docutils 0.3.0 (2017-02-12)#
Package updates and fixes
django-docutils 0.2.0 (2017-01-01)#
Support for Django 1.10.0
django-docutils 0.1.0 (2015-06-20)#
First release on PyPI.