Python-semantic-release

Latest version: v9.15.2

Safety actively analyzes 689579 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 23 of 40

7.11.0

Not secure
Bug Fixes

- Add dot to --define option help
([`eb4107d`](https://github.com/python-semantic-release/python-semantic-release/commit/eb4107d2efdf8c885c8ae35f48f1b908d1fced32))

- Avoid Unknown bump level 0 message
([`8ab624c`](https://github.com/python-semantic-release/python-semantic-release/commit/8ab624cf3508b57a9656a0a212bfee59379d6f8b))

This issue occurs when some commits are available but are all to level 0.

- **actions**: Fix github actions with new main location
([`6666672`](https://github.com/python-semantic-release/python-semantic-release/commit/6666672d3d97ab7cdf47badfa3663f1a69c2dbdf))

Build System

- Add __main__.py magic file
([`e93f36a`](https://github.com/python-semantic-release/python-semantic-release/commit/e93f36a7a10e48afb42c1dc3d860a5e2a07cf353))

This file allow to run the package from sources properly with `python -m semantic_release`.

Features

- **print-version**: Add print-version command to output version
([`512e3d9`](https://github.com/python-semantic-release/python-semantic-release/commit/512e3d92706055bdf8d08b7c82927d3530183079))

This new command can be integrated in the build process before the effective release, ie. to rename
some files with the version number.

Users may invoke `VERSION=$(semantic-release print-version)` to retrieve the version that will be
generated during the release before it really occurs.

7.10.0

Not secure
Documentation

- Fix incorrect reference syntax
([`42027f0`](https://github.com/python-semantic-release/python-semantic-release/commit/42027f0d2bb64f4c9eaec65112bf7b6f67568e60))

- Rewrite getting started page
([`97a9046`](https://github.com/python-semantic-release/python-semantic-release/commit/97a90463872502d1207890ae1d9dd008b1834385))

Features

- **build**: Allow falsy values for build_command to disable build step
([`c07a440`](https://github.com/python-semantic-release/python-semantic-release/commit/c07a440f2dfc45a2ad8f7c454aaac180c4651f70))

7.9.0

Not secure
Bug Fixes

- **history**: Coerce version to string
([298](https://github.com/python-semantic-release/python-semantic-release/pull/298),
[`d4cdc3d`](https://github.com/python-semantic-release/python-semantic-release/commit/d4cdc3d3cd2d93f2a78f485e3ea107ac816c7d00))

The changes in 297 mistakenly omitted coercing the return value to a string. This resulted in
errors like: "can only concatenate str (not "VersionInfo") to str"

Add test case asserting it's type str

- **history**: Require semver >= 2.10
([`5087e54`](https://github.com/python-semantic-release/python-semantic-release/commit/5087e549399648cf2e23339a037b33ca8b62d954))

This resolves deprecation warnings, and updates this to a more 3.x compatible syntax

Features

- **hvcs**: Add hvcs_domain config option
([`ab3061a`](https://github.com/python-semantic-release/python-semantic-release/commit/ab3061ae93c49d71afca043b67b361e2eb2919e6))

While Gitlab already has an env var that should provide the vanity URL, this supports a generic
'hvcs_domain' parameter that makes the hostname configurable for both GHE and Gitlab.

This will also use the configured hostname (from either source) in the changelog links

Fixes: 277

7.8.2

Not secure
Bug Fixes

- **cli**: Skip remove_dist where not needed
([`04817d4`](https://github.com/python-semantic-release/python-semantic-release/commit/04817d4ecfc693195e28c80455bfbb127485f36b))

Skip removing dist files when upload_pypi or upload_release are not set

Features

- **repository**: Add to settings artifact repository
([`f4ef373`](https://github.com/python-semantic-release/python-semantic-release/commit/f4ef3733b948282fba5a832c5c0af134609b26d2))

- Add new config var to set repository (repository_url) - Remove 'Pypi' word when it refers
generically to an artifact repository system - Depreciate 'PYPI_USERNAME' and 'PYPI_PASSWORD' and
prefer 'REPOSITORY_USERNAME' and 'REPOSITORY_PASSWORD' env vars - Depreciate every config key with
'pypi' and prefer repository - Update doc in accordance with those changes

7.8.1

Not secure
Bug Fixes

- Filenames with unknown mimetype are now properly uploaded to github release
([`f3ece78`](https://github.com/python-semantic-release/python-semantic-release/commit/f3ece78b2913e70f6b99907b192a1e92bbfd6b77))

When mimetype can't be guessed, content-type header is set to None. But it's mandatory for the file
upload to work properly. In this case, application/octect-stream is now used as a fallback.

- **logs**: Fix TypeError when enabling debug logs
([`2591a94`](https://github.com/python-semantic-release/python-semantic-release/commit/2591a94115114c4a91a48f5b10b3954f6ac932a1))

Some logger invocation were raising the following error: TypeError: not all arguments converted
during string formatting.

This also refactor some other parts to use f-strings as much as possible.

7.8.0

Not secure
Bug Fixes

- **changelog**: Use "issues" link vs "pull"
([`93e48c9`](https://github.com/python-semantic-release/python-semantic-release/commit/93e48c992cb8b763f430ecbb0b7f9c3ca00036e4))

While, e.g., https://github.com/owner/repos/pull/123 will work,
https://github.com/owner/repos/issues/123 should be safer / more consistent, and should avoid a
failure if someone adds an issue link at the end of a PR that is merged via rebase merge or merge
commit.

- **netrc**: Prefer using token defined in GH_TOKEN instead of .netrc file
([`3af32a7`](https://github.com/python-semantic-release/python-semantic-release/commit/3af32a738f2f2841fd75ec961a8f49a0b1c387cf))

.netrc file will only be used when available and no GH_TOKEN environment variable is defined.

This also add a test to make sure .netrc is used properly when no GH_TOKEN is defined.

Features

- Add `upload_to_pypi_glob_patterns` option
([`42305ed`](https://github.com/python-semantic-release/python-semantic-release/commit/42305ed499ca08c819c4e7e65fcfbae913b8e6e1))

Page 23 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.