Skip to content

Releases: nedbat/scriv

1.6.2

30 Mar 14:14
1.6.2
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.6.2.
➡️  To install: python3 -m pip install scriv==1.6.2

Fixed

  • Replaced the invalid GitHub config key scriv.user_nick with scriv.user-nick. Fixes issue 130. Thanks, Mark Dickinson.

1.6.1

24 Mar 20:44
1.6.1
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.6.1.
➡️  To install: python3 -m pip install scriv==1.6.1

Fixed

  • Corrected two minor packaging errors: the Mastodon badge and a typo in the short description.

1.6.0

24 Mar 11:28
1.6.0
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.6.0.
➡️  To install: python3 -m pip install scriv==1.6.0

Added

  • Add a print command that can write changelog entries to standard out or to a file, closing issue 115. Thanks, Kurt McKee

Changed

  • Dropped support for Python 3.7 and 3.8, and added 3.13.

Fixed

  • A final newline is no longer stripped when rendering the new fragment template, fixing issue 108.
  • Configuration setting md_header_level is allowed to be an integer in TOML files, closing issue 90. Thanks, Michael Makukha.

1.5.1

14 Dec 14:46
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.5.1.
➡️  To install: python3 -m pip install scriv==1.5.1

Fixed

  • Fixed the documentation build on ReadTheDocs. Fixes issue 118.

1.5.0

19 Oct 08:32
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.5.0.
➡️  To install: python3 -m pip install scriv==1.5.0

Added

  • RST to Markdown conversion can now be stricter. Using the --fail-if-warn option on the scriv github-releases command will fail the command if your RST conversion generates warnings, for example due to malformed link references.
  • The scriv github-release command now has a --check-links option to check URLs. Each is fetched, and if an error occurs, warnings will show the URLs that didn't succeed.

Fixed

  • Commands no longer display full tracebacks for exceptions raised by scriv code.

1.4.0

24 Mar 11:28
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.4.0.
➡️  To install: python3 -m pip install scriv==1.4.0

Added

  • Literals can be extracted from .cabal files. Thanks Javier Sagredo.
  • Use the git config scriv.user_nick for the user nick part of the fragment file. Thanks to Ronny Pfannschmidt, fixing issue 103.
  • Settings can now be prefixed with command: to execute the rest of the setting as a shell command. The output of the command will be used as the value of the setting.

Fixed

  • If there are no changelog fragments, scriv collect now exits with status code of 2, fixing issue 110.
  • Changelogs with non-version headings now produce an understandable error message from scriv collect, thanks to James Gerity, fixing issue 100.

1.3.1

16 Apr 13:18
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.3.1.
➡️  To install: python3 -m pip install scriv==1.3.1

Fixed

  • The Version class introduced in 1.3.0 broke the scriv github-release command. This is now fixed.

1.3.0

16 Apr 13:12
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.3.0.
➡️  To install: python3 -m pip install scriv==1.3.0

Added

  • .cfg files can now be read with literal: settings, thanks to Matias Guijarro.

Fixed

  • In compliance with PEP 440, comparing version numbers now ignores a leading "v" character. This makes scriv more flexible about how you present version numbers in various places (code literals, changelog entries, git tags, and so on). Fixes issue 89.

1.2.1

19 Feb 00:15
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.2.1.
➡️  To install: python3 -m pip install scriv==1.2.1

Fixed

  • Scriv would fail trying to import tomllib on Python <3.11 if installed without the [toml] extra. This is now fixed, closing issue 80.
  • Settings specified as file: will now search in the changelog directory and then the current directory for the file. The only exception is if the first component is . or .., then only the current directory is considered. Fixes issue 82.
  • Python variables with type annotations can now be read with literal: settings, fixing issue 85.
  • Error messages for mis-formed literal: configuration values are more precise, as requested in issue 84.
  • Error messages from settings validation are ScrivExceptions now, and report configuration problems more clearly and earlier in some cases.

1.2.0

18 Jan 12:57
Compare
Choose a tag to compare

➡️  PyPI page: scriv 1.2.0.
➡️  To install: python3 -m pip install scriv==1.2.0

Added

  • scriv github-release now has a --repo= option to specify which GitHub repo to use when you have multiple remotes.

Changed

  • Improved the error messages from scriv github-release when a GitHub repo can't be identified among the git remotes.