mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
drewcassidy
66bc8509e3
### Changed - API changes: - `header` attribute renamed to `preamble` to avoid confusion. - improved version header parsing to be more robust and handle multi-word version names. - improved version number incrementing in `release`. - can now handle other text surrounding a pep440-compliant version number, which will not be modified - can now handle pre-releases correctly. The version to increment is the most recent version in the log with a valid pep440 version number in it. - Release increment and prerelease increments can be mixed, allowing e.g: `yaclog release -mr` to create a release candidate with in incremented minor version number. - `release` base version is now an argument instead of an option, for consistency with other commands. ### Removed - `entry` with multiple `-b` options no longer add sub bullet points, instead adding each bullet as its own line. ### Added - Terminal output has color to distinguish version names/headers, sections, and git information. - Extra newlines are added between versions to improve readability of the raw markdown file.
2.7 KiB
2.7 KiB
Changelog
All notable changes to this project will be documented in this file
1.0.0 - 2021-05-07
Changed
- API changes:
header
attribute renamed topreamble
to avoid confusion.
- improved version header parsing to be more robust and handle multi-word version names.
- improved version number incrementing in
release
.- can now handle other text surrounding a pep440-compliant version number, which will not be modified
- can now handle pre-releases correctly. The version to increment is the most recent version in the log with a valid pep440 version number in it.
- Release increment and prerelease increments can be mixed, allowing e.g:
yaclog release -mr
to create a release candidate with in incremented minor version number.
release
base version is now an argument instead of an option, for consistency with other commands.
Removed
entry
with multiple-b
options no longer add sub bullet points, instead adding each bullet as its own line.
Added
- Terminal output has color to distinguish version names/headers, sections, and git information.
- Extra newlines are added between versions to improve readability of the raw markdown file.
0.3.3 - 2021-04-27
Added
- Unit tests in the
tests
folder
Fixed
- Default links and dates in VersionEntry are now consistently
None
- Changelog links dict now contains version links. Modified version links will overwrite those in the table when writing to a file
- Changelog object no longer errors when creating without a path.
release
now resets lesser version values when incrementingrelease
now works with logs that have only unreleased changes
0.3.2 - 2021-04-24
Added
- Readme file now has installation and usage instructions.
- yaclog command entry point added to setup.cfg.
Changed
release -c
will no longer create empty commits, and will use the current commit instead.
Fixed
release
andentry
commands now work using empty changelogs.
0.3.1 - 2021-04-24
Added
yaclog
tool for manipulating changelogs from the command lineinit
command to make a new changelogformat
command to reformat the changelogshow
command to show changes from the changelogentry
command for manipulating entries in the changelogtag
command for manipulating tags in the changelogrelease
command for creating releases
0.2.0 - 2021-04-19
Added
- New yak log logo drawn by my sister
Changed
- Updated package metadata
- Rewrote parser to use a 2-step method that is more flexible.
- Parser can now handle code blocks.
- Parser can now handle setext-style headers and H2s not conforming to the schema.
0.1.0 - 2021-04-16
First release
Added
yaclog.read()
method to parse changelog files