Overview of Changes
Here is an overview of the main changes brought by this release:
-
Build the documentation when running checks locally (thanks @staticdev)
The new
docs-build
Nox session checks that the documentation can be built withsphinx-build
. It is run by default during local testing and in CI. Thedocs
session was changed to always invokesphinx-autobuild
, regardless of whether Nox is run interactively or not. -
Cache exported requirements in Nox sessions
Nox sessions keep a hash for Poetry's lock file and only export requirements when the hash changes. The requirements files are stored in a per-session temporary directory.
-
Support prereleases of the main package in Nox sessions
A bug was fixed which prevented the wheel for the package from being installed into a Nox environment if the package version was not a final release.
Changes
This section lists changes affecting generated projects.
🚀 Features
- Add docs-build session (#498) @staticdev
- Cache exported requirements in Nox sessions (#491) @cjolowicz
🪲 Fixes
- Fix package installation in Nox sessions with non-final release versions (#487) @cjolowicz
📚 Documentation
- Remove obsolete Nox session for Black from Contributor Guide (#489) @oncleben31
- Fix reversal of "kebab case" and "snake case" in User Guide (#475) @cjolowicz
🔨 Refactoring
- Reorder sections in mypy.ini (#459) @cjolowicz
📦 Dependencies
- Bump actions/checkout from v2.3.1 to v2.3.2 (#505) @cjolowicz
- Bump actions/setup-python from v2 to v2.1.1 (#477) @cjolowicz
- Bump actions/setup-python from v2.1.1 to v2.1.2 (#511) @cjolowicz
- Bump codecov/codecov-action from v1.0.10 to v1.0.12 (#478) @cjolowicz
- Bump coverage from 5.2 to 5.2.1 (#481) @cjolowicz
- Bump darglint from 1.5.1 to 1.5.2 (#482) @cjolowicz
- Bump pip from 20.1.1 to 20.2 in /.github/workflows (#480) @cjolowicz
- Bump pip from 20.2 to 20.2.1 in /.github/workflows (#503) @cjolowicz
- Bump pip from 20.2 to 20.2.2 in /.github/workflows (#508) @cjolowicz
- Bump poetry from 1.0.9 to 1.0.10 in /.github/workflows (#467) @cjolowicz
- Bump pre-commit-hooks from 3.1.0 to 3.2.0 (#484) @cjolowicz
- Bump pytest from 5.4.3 to 6.0.1 (#485) @cjolowicz
- Bump reorder-python-imports from 2.3.1 to 2.3.2 (#466) @cjolowicz
- Bump reorder-python-imports from 2.3.1 to 2.3.5 (#483) @cjolowicz
- Bump sphinx from 3.1.2 to 3.2.0 (#506) @cjolowicz
- Bump sphinx from 3.1.2 to 3.2.0 in /docs (#504) @cjolowicz
- Bump virtualenv from 20.0.26 to 20.0.27 in /.github/workflows (#457) @cjolowicz
- Bump virtualenv from 20.0.27 to 20.0.28 in /.github/workflows (#479) @cjolowicz
- Bump virtualenv from 20.0.28 to 20.0.29 in /.github/workflows (#486) @cjolowicz
- Bump virtualenv from 20.0.29 to 20.0.30 in /.github/workflows (#502) @cjolowicz
Changes to the Cookiecutter
This section lists changes to the Cookiecutter that don't affect generated projects.
📚 Documentation
- Advertise a monthly release cadence (#458) @cjolowicz
- Remove obsolete Nox session for Black from Contributor Guide (#489) @oncleben31
- Move badges below heading in README.rst (#494) @cjolowicz
- Update documentation for Python 3.8.5 (#507) @cjolowicz
- Update CONTRIBUTORS.rst (#490) @cjolowicz
📦 Dependencies
- Bump actions/cache from v2.0.0 to v2.1.0 (#465) @dependabot
- Bump actions/checkout from v2.3.1 to v2.3.2 (#501) @dependabot
- Bump actions/setup-python from v2 to v2.1.1 (#464) @dependabot
- Bump actions/setup-python from v2.1.1 to v2.1.2 (#509) @dependabot
- Bump pip from 20.1.1 to 20.2 in /.github/workflows (#472) @dependabot
- Bump pip from 20.2 to 20.2.1 in /.github/workflows (#495) @dependabot
- Bump pip from 20.2.1 to 20.2.2 in /.github/workflows (#510) @dependabot
- Bump poetry from 1.0.9 to 1.0.10 in /.github/workflows (#463) @dependabot
- Bump sphinx from 3.1.2 to 3.2.0 in /docs (#500) @dependabot
- Bump virtualenv from 20.0.26 to 20.0.27 in /.github/workflows (#456) @dependabot
- Bump virtualenv from 20.0.27 to 20.0.28 in /.github/workflows (#469) @dependabot
- Bump virtualenv from 20.0.28 to 20.0.29 in /.github/workflows (#493) @dependabot
- Bump virtualenv from 20.0.29 to 20.0.30 in /.github/workflows (#496) @dependabot