Skip to main content

logchange - Changelog manager

View, update and format your changelog anywhere!

Features

  • Keeps your changelog in Keep a Changelog style
  • Supports version bumping from semver
  • Comes with a CLI tool logchange
  • Respects MarkDown
  • Created for CI and scripts

Installation

python -m pip install logchange

Usage

CLI

See examples/cli.sh folder.

# create CHANGELOG.md if it does not exist
# or reformat existing (please check changes manually)
logchange init -f

# add new release
cat NOTES_0.1.0.md | logchange add 0.1.0
# or
logchange add 0.2.0 -i `cat NOTES_0.2.0.md`

# update existing or create a new section in latest release
logchange add latest added -i 'New feature'
# or
logchange add latest -i 'Added: New feature'

# set unreleased section
logchange set unreleased fixed -i 'Unreleased fix'

# list released versions
logchange list
< 0.1.0
< 0.2.0

# check release notes sections
logchange get 0.1.0 added
< - New awesome feature
< - Another feature

GitHub Actions

See workflows folder.

Versioning

logchange version follows PEP 440.

Latest changes

Full changelog can be found in Releases.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to PEP 440 -- Version Identification and Dependency Specification.

[Unreleased]

[0.2.0] - 2021-03-14

[0.2.0rc9] - 2021-03-14

[0.2.0rc8] - 2021-03-14

[0.2.0rc7] - 2021-03-14

[0.1.2] - 2021-02-26

[0.1.2rc2] - 2021-02-26

[0.1.2rc1] - 2021-02-26

Added

  • added <text> CLI command to update Unreleased section
  • changed <text> CLI command to update Unreleased section
  • deprecated <text> CLI command to update Unreleased section
  • removed <text> CLI command to update Unreleased section
  • fixed <text> CLI command to update Unreleased section
  • security <text> CLI command to update Unreleased section
  • release <version> CLI command to move Unreleased section to release notes

Changed

  • Release notes can now have text other than keep-a-changelog entries
  • get command no longer raises an error on non-existing CHANGELOG.md
  • Added support for Python 3.6.10+

Fixed

  • Empty releases were not added to changelog
  • Codeblocks are no longer removed from release notes
  • Indented sections were not parsed properly

[0.1.1] - 2021-02-26

Initial release

Metadata

Release files for logchange 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logchange 0.2.0
File Size Uploaded
logchange-0.2.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for logchange 0.2.0
File Interpreter ABI Platform
logchange-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.5 kB

Release files / logchange-0.2.0.tar.gz

Download URL logchange-0.2.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
770a128265a50aba0ccd7c4065b5322bfc0fa0267807e66f8c8523c715f7bba0
BLAKE2b-256 checksum
How to use checksums
78b4446b73e7b310e060b4ef9347a0713350387a605e5a3f29d4d2f6635d2a73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / logchange-0.2.0-py3-none-any.whl

Download URL logchange-0.2.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d3c6cc74b3558c8ca311e0790cd61976d154151adbdbafeb31b6de25d8c1de0
BLAKE2b-256 checksum
How to use checksums
e76fe79094f1159dc9f59ec54a7d5e143f110d16ed3f61e5811cfe237c15bed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page