Skip to content

Releases: fredrikaverpil/creosote

v4.0.0

05 Jan 20:46
220b154
Compare
Choose a tag to compare

4.0.0 (2025-01-05)

⚠ BREAKING CHANGES

  • python: drop python 3.8 support (#260)

Features

v3.2.1

05 Jan 20:25
94e33f2
Compare
Choose a tag to compare

3.2.1 (2025-01-05)

Announcement

This is the last release before dropping Python 3.8 support.

Preparations (#262)

  • test: fix broken test (f6dac81)
  • internal: move to uv (71aa48e)
  • internal: move version to pyproject.toml, read version string from package metadata (8bc4600)
  • internal: remove hatchling (855a240)
  • typing: add type hinting, adds typing-extensions dependency (970014b)

v3.2.0

18 Nov 19:07
856b08d
Compare
Choose a tag to compare

3.2.0 (2024-11-18)

Features

  • parser: add PEP-735 support for dependency-groups (#231) (55d638e)

v3.1.2

16 Nov 11:41
846c647
Compare
Choose a tag to compare

3.1.2 (2024-11-16)

Bug Fixes

  • parser: catch prefix "project." (not "project") (#233) (b15d8df)

Documentation

v3.1.1

15 Nov 23:43
c29e1c8
Compare
Choose a tag to compare

3.1.1 (2024-11-15)

Bug Fixes

v3.1.0

01 Oct 20:01
247c969
Compare
Choose a tag to compare

Features

  • Support for Jupyter notebook (*.ipynb) files (#217) - thank you @pmason314 ❤️

v3.0.2

28 Jun 20:59
Compare
Choose a tag to compare

Fixes

  • Support non-UTF8 files and show warnings when parsing Python 2.x code. #209
  • Fail fast when dependencies file (e.g. pyproject.toml) is not found. #212

v3.0.1

01 Jun 14:33
8394a00
Compare
Choose a tag to compare

Fixes

  • ruamel.yaml not properly detected due to lack of support of period signs in dependency name #206

v3.0.0

05 Oct 14:15
Compare
Choose a tag to compare

㊗️ Major (backwards-compat breaking changes)

  • Dropped Python 3.7 support.
  • Some CLI arguments have been renamed.
  • Certain CLI arguments must now be repeated rather than having multiple values supplied to one and the same argument.

For exact details on the CLI argument changes, see the migration guide (attached at the bottom of these release notes and in the README).

🐸 Minor (new features)

  • The ability to configure creosote using pyproject.toml (❤️🙏 @BrianPugh #183 hacktoberfest-accepted). See the README for more details.
  • Python 3.12 support.

🐞 Patch (bug fixes)

  • When excluding dependencies, there could be a falsy warning shown because the dependency name entered on the command line was not "canonicalized" (dashes and periods in package names are made into underscores internally).

🫁 Internal (test suite)

  • Overhauled test suite with better integration tests and better pytest fixtures. Hopefully the whole setup is a lot more approachable now.

🌀 Migration guide: creosote 2.x to 3.x

Creosote was updated to 3.0.0 because the way arguments were supplied has now changed. This also brings pyproject.toml configuration support.

Argument name change

The argument naming has changed:

2.x argument name 3.x argument name
--exclude-deps --exclude-dep
--paths --path
--sections --section

Multiple argument values

With creosote 2.x, you were able to provide multiple values following some arguments, example:

creosote -p file1.py file2.py

With creosote 3.x, you must now provide multiple arguments as a key/value pair:

creosote -p file1.py -p file2.py

This new creosote 3.x behavior applies to the following 3.x CLI arguments:

  • --venv
  • --exclude-dep
  • -p or --path
  • -s or --section

v2.6.3

11 Jul 09:24
1cf5550
Compare
Choose a tag to compare

Fixes

  • Bugfix for when using Pipfile #174
  • Bugfix for when using PEP621 optional dependencies #175