Skip to main content

Building changelogs from fragments.

Project description

Image

changelogging

License Version PyPI Version Downloads PyPI Downloads Discord Test

Building changelogs from fragments.

Installation

The binaries can be downloaded from releases.

pipx

Note: because changelogging was originally written in python, releases on PyPI have different versions: for instance, the 0.6.0 release is on PyPI with version 2.6.0, meaning the major part of the version is always incremented twice to get the PyPI one.

Installing changelogging with pipx is quite simple:

$ pipx install changelogging

Alternatively, the package can be installed from source:

$ pipx install git+https://github.com/nekitdev/changelogging.git

Or via cloning the repository:

$ git clone https://github.com/nekitdev/changelogging.git
$ cd changelogging
$ pipx install .

cargo

Installing the crate with cargo is as simple as with pipx:

$ cargo install changelogging

Alternatively, the crate can be installed from source:

$ cargo install --git https://github.com/nekitdev/changelogging.git

Or via cloning the repository:

$ git clone https://github.com/nekitdev/changelogging.git
$ cd changelogging
$ cargo install --path .

Example

Once changelogging is installed, we can start building changelogs!

First things first, we need to configure the context of the project.

Create changelogging.toml and add the name, version and URL of the project:

[context]
name = "changelogging"
version = "0.6.0"
url = "https://github.com/nekitdev/changelogging"

Then we need to create the changes directory.

$ mkdir changes

Now we can add fragments:

$ changelogging create --content "Added cool features!" 13.feature.md
$ changelogging create --content "Fixed annoying bugs!" 64.fix.md

There are also unlinked fragments, which have non-integer IDs:

$ changelogging create --content "Fixed security issues!" ~issue.security.md

And finally, preview the changelog entry!

$ changelogging preview
## 0.6.0 (YYYY-MM-DD)

### Security

- Fixed security issues!

### Features

- Added cool features! (#13)

### Fixes

- Fixed annoying bugs! (#64)

Then let us add our CHANGELOG.md file with the following content:

# Changelog

<!-- changelogging: start -->

Note that the start is essential if we want to add some content before the changelog entries.

Assuming the preview is what we expected it to be, writing it to the changelog is as simple as:

$ changelogging build

Finally, let's see the changelog:

$ cat CHANGELOG.md
# Changelog

<!-- changelogging: start -->

## 0.6.0 (YYYY-MM-DD)

### Security

- Fixed security issues!

### Features

- Added cool features! (#13)

### Fixes

- Fixed annoying bugs! (#64)

Documentation

You can find the documentation here.

Support

If you need support with the library, you can send an email or refer to the official Discord server.

Changelog

You can find the changelog here.

Security Policy

You can find the Security Policy of changelogging here.

Contributing

If you are interested in contributing to changelogging, make sure to take a look at the Contributing Guide, as well as the Code of Conduct.

License

changelogging is licensed under the MIT License terms. See License for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

changelogging-2.6.0.tar.gz (40.6 kB view details)

Uploaded Source

Built Distributions

changelogging-2.6.0-py3-none-win_arm64.whl (902.9 kB view details)

Uploaded Python 3 Windows ARM64

changelogging-2.6.0-py3-none-win_amd64.whl (965.3 kB view details)

Uploaded Python 3 Windows x86-64

changelogging-2.6.0-py3-none-win32.whl (889.6 kB view details)

Uploaded Python 3 Windows x86

changelogging-2.6.0-py3-none-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

changelogging-2.6.0-py3-none-musllinux_1_2_i686.whl (1.2 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ i686

changelogging-2.6.0-py3-none-musllinux_1_2_armv7l.whl (1.1 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARMv7l

changelogging-2.6.0-py3-none-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARM64

changelogging-2.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

changelogging-2.6.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ s390x

changelogging-2.6.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

changelogging-2.6.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64

changelogging-2.6.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ i686

changelogging-2.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

changelogging-2.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

changelogging-2.6.0-py3-none-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

changelogging-2.6.0-py3-none-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded Python 3 macOS 10.12+ x86-64

File details

Details for the file changelogging-2.6.0.tar.gz.

File metadata

  • Download URL: changelogging-2.6.0.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for changelogging-2.6.0.tar.gz
Algorithm Hash digest
SHA256 c9dd8979e53d095fcd6da2e448f6112f4477efe5ef828d5153f7e3b557ae7821
MD5 ef46aac6251cb0f353277ad289932476
BLAKE2b-256 8584c5ef10b61d9160a33460cea4d7f203b5046e31b6a12495bf0a57def658bb

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 31bcc1612813c51ac137c8c6732c6be1d245b1776bfdb99b951c0c947c45acc7
MD5 2a700931eb093c44d235143eb80fe0de
BLAKE2b-256 697bc340de53bbca1f5702ab1f4c7e3346251ccfb36c785daf1ed73b3db12774

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c3be8d7a721aba7807883db60020b54e3bf87f2d96cf84dfb0ac190d274006f1
MD5 1a8dfb50ac6835517b8844318098422b
BLAKE2b-256 3b8a9879dda47a6b9924b2b8c0c952d1f9d35129ab25c5eb2e60765cff352df4

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-win32.whl.

File metadata

  • Download URL: changelogging-2.6.0-py3-none-win32.whl
  • Upload date:
  • Size: 889.6 kB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for changelogging-2.6.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 92ba0f8e665cdeaf2bf5982227bfce9aa054de71280d8cad6fb41c97810b7d18
MD5 01c224f9290c931d3ee696daf1ae35ba
BLAKE2b-256 ccff23845e91286b39c60c8f7fd4b992f3ba364e0e76a3afa71fe87e541bfc73

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a6135eb1911238075a008bf36aeb9589d2a46ec7e50e651e4482e4d37e75d7b
MD5 9e0b08e83d3aefadec3b1a90c3e6fddf
BLAKE2b-256 d1a2374290021b90176a40b87c3c6f160944c8d3ba4bc0d6a84f2272b13b1d29

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 df5a46187b6fc9da5fde201560df0fb137f6fe83a3b42e0aad2e7fb9672ac95c
MD5 4f95ff6abaf0d66b7ae6db017a837eb4
BLAKE2b-256 beeab648471bae60e541b757c4a474b619f2604322d81e9df7c8af15c595fc69

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 b742ddf6002d0bc9c1aa00ef05dc611af347599c474212b150ea3dedb8375054
MD5 cbafca9f6cadb2dc8b3ee3b5034e610d
BLAKE2b-256 9cd3cae533f2288b9efbe55e25bb5a76c5ad2872d6fa74b0303657e76464ce0d

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ac9a2e3d0abd2b04246a93d34115698df0200a1338ddb5ca3eec49c34f46fe40
MD5 ed7568b12e01b919c6410ad5f28e29aa
BLAKE2b-256 a98d9688fe16c0a4c6ddbb1ce840b6cdbc95dcd39527af7b2929d6d5a6e8c1a0

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68294ad691d004d646770287817e3b1d0ff77aee8e2f0bc1b71562d43dc147cd
MD5 ca6d4a1f504402ad760a9df9dd6b0bf3
BLAKE2b-256 002cb289eb420898f74da8ef8428afe6d4bd28eb7952998b9007ce1edef933e7

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 898e54e83426f5c617f901baf8453f8430272c7115578450a620bed939ced4d6
MD5 9e234a69624922e8fc2f01ef2ec2c558
BLAKE2b-256 43d7f9f964aa3cda6b981a9cbc5dbf40719986ca4b8d594d422c38ffb55f06c4

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 e36387583d6882e4533096d6425104adb7188f5b8afb656ae82228b0812ef54e
MD5 5138413bb08172f6ce8bd56c4b4b8314
BLAKE2b-256 2fbc3e6b65dbb7ae518c6510b4bd7124f7f601ca0c90235d8cece7562db7670a

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 6e4d85f786f652db03c478cb9ab3c9de6f8fe6267dec9aee0c167c90307abde5
MD5 ee6d1ac87850d0f69bbbe678b0aed66d
BLAKE2b-256 f3e55b2abc354dfadb25a9fa43c6a893f4ca3f652567050a386636242f149bd2

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6d0fd8423be100028e39d26d3d560780939cc0435a9d3c3088618f86b440686b
MD5 0bb61698a4f78d9d255401a804185484
BLAKE2b-256 fae1246aebb17da9b5ee9968562231d969e0c9e048adff6ccf5c112fa20f8a9e

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 387bf4c6ee4619010651a4a3d99d10c1737467192e820311dd76d9b4c9c4cc15
MD5 2ddf882a57792ac0c67d5878a0b7402a
BLAKE2b-256 f5704d5212872c2ebad4efc6a9ecc1fedbb13f4455740a465ca8de0e882df4f0

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 17fb8a17973019da47f2668b08b18cb0503ca5b9b618e437ce43c410db6ae641
MD5 69cd9b3664d884338a463f1fa7b7b799
BLAKE2b-256 cdc686c01c08e5674f1a33d60d206098454befd043b837a340cc826cbed4ec69

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6b6cbd324a8b7d8edf1788bbc342b22e4aa4ec3312d4339f1b363e52648d070
MD5 b920e72e418730623f2e9520d7c2eca5
BLAKE2b-256 e9b684d3b72d61aa7ab949dc8de9e3b338a2098481886e76bffdc99838ee2e48

See more details on using hashes here.

File details

Details for the file changelogging-2.6.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for changelogging-2.6.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ccd31c4af0a636f80e708e51102b18a3ff3ae73a5a746dbe8e982a90779bb7b2
MD5 4821748326e614e8dc1d65d02ce73867
BLAKE2b-256 aeecc0fadf054a8f586c1872e1c52c3bdeaec3033105a1dfa33b7b551bdd9763

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page