initial-content-jinja option in tool.poetry-dynamic-versioning.files section.
Fixed:
Line ending style was not preserved in some cases because of the default behavior of pathlib.Path.read_text. To avoid this, pathlib.Path.read_bytes is used instead now. (Contributed by nardi)
v1.1.1 (2023-10-27)
Fixed:
Custom substitutions in pyproject.toml weren't cleaned up correctly. This was because the plugin would record the "original" content of the file after the version and enable fields had already been changed. Now, substitutions are reverted first before reverting version and enable.
v1.1.0 (2023-10-01)
Added:
tool.poetry-dynamic-versioning.files config section. This allows you to create a file in a default state before applying substitutions to it. You can also leave the substitutions in place when the plugin deactivates.
initial-content-jinja option in tool.poetry-dynamic-versioning.files section.
Fixed:
Line ending style was not preserved in some cases because of the default behavior of pathlib.Path.read_text.
To avoid this, pathlib.Path.read_bytes is used instead now.
(Contributed by nardi)
v1.1.1 (2023-10-27)
Fixed:
Custom substitutions in pyproject.toml weren't cleaned up correctly.
This was because the plugin would record the "original" content of the file
after the version and enable fields had already been changed.
Now, substitutions are reverted first before reverting version and enable.
v1.1.0 (2023-10-01)
Added:
tool.poetry-dynamic-versioning.files config section.
This allows you to create a file in a default state before applying substitutions to it.
You can also leave the substitutions in place when the plugin deactivates.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps poetry-dynamic-versioning from 1.0.1 to 1.2.0.
Release notes
Sourced from poetry-dynamic-versioning's releases.
Changelog
Sourced from poetry-dynamic-versioning's changelog.
Commits
dd9952f
Release v1.2.0e1d8fe2
Update test matrix5c3c54a
#155: Add initial-content-jinja optionf0db558
Merge pull request #157 from nardi/fix_newlinesd145dc4
#157: Use read_bytes() instead of read_text() to preserve line ending style5d5444b
Revert "Change write_bytes to write_text to preserve newlines"3baf11b
Change write_bytes to write_text to preserve newlinesbe0ddf2
Use strong typing for config57463f4
Normalize import locationsc9aa740
Release v1.1.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show