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.5.0 release is on PyPI with version 2.5.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.5.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.5.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.5.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.5.0.tar.gz (40.7 kB view details)

Uploaded Source

Built Distributions

changelogging-2.5.0-py3-none-win_arm64.whl (893.9 kB view details)

Uploaded Python 3 Windows ARM64

changelogging-2.5.0-py3-none-win_amd64.whl (958.4 kB view details)

Uploaded Python 3 Windows x86-64

changelogging-2.5.0-py3-none-win32.whl (877.4 kB view details)

Uploaded Python 3 Windows x86

changelogging-2.5.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.5.0-py3-none-musllinux_1_2_i686.whl (1.2 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ i686

changelogging-2.5.0-py3-none-musllinux_1_2_armv7l.whl (1.2 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARMv7l

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

Uploaded Python 3 musllinux: musl 1.2+ ARM64

changelogging-2.5.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.5.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.5.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

changelogging-2.5.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.5.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ i686

changelogging-2.5.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.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3 macOS 11.0+ ARM64

changelogging-2.5.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.5.0.tar.gz.

File metadata

  • Download URL: changelogging-2.5.0.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for changelogging-2.5.0.tar.gz
Algorithm Hash digest
SHA256 fbccb4c4f6caeeb4ae047dcad56b6581e2fd211f10df030cad1e198571f71966
MD5 49a68082448b23a9b89a067beb3477fa
BLAKE2b-256 7fea7a276cc4a6c01b6985bc48d96427a453993b71f517bead31aba6dd7d2c76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c5de6d17106b08ed35e56fa5c4d623d1f82d41a1b42cc9cd864eb7f091e32209
MD5 8b50cc458bf4176009913103e28b7723
BLAKE2b-256 f1bcd39c520328eada2bbae8a5c0bad93412b0fc7fa397f2701c9f1bf3af6245

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d7f2ab7484e86d39232ac4f30e18aa0b310cb0ad83381aab67fa0863b73499bf
MD5 ed0bc8c506c18f772da72f2d944eb16f
BLAKE2b-256 5d2ec388d6f565387798f3a8d8cd5b85e2155d64f37421342cc4d0a58a793e70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: changelogging-2.5.0-py3-none-win32.whl
  • Upload date:
  • Size: 877.4 kB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for changelogging-2.5.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 be9db2cfa181dd3b8385ba017f6ee5c710c6e0a3ba25a686b2f17db0c5787e61
MD5 6e09fa8dfa98f35b17663448a1bfeecb
BLAKE2b-256 36846811693e735ab33caa6903447564dc8630e11d759c9bbccf63638f32af22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 15c3da45fd290f18d7ae01756befa6c241611be9084be85fd26290aa7620b7e1
MD5 1c8dfe5371fb7e4259fd93d47f6ef2fa
BLAKE2b-256 a0c6a84ad3aa854e4eed34c8891823775e8b1574465090dd97298ee6ff8bc025

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 03f670732126832671695eba9c5ddbee82242c33c492aeff40e6a1b7396145ec
MD5 8220fd13c98093d064caa4b71585a2ff
BLAKE2b-256 0d1475d68282702c683f7f23f6569aa00da21bbb7474ed32f13e712bf45a009a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 e0f86a24ac3eeb083cf5d94388af6d5a0cacbd2da10f0d907bb961cd880b5b55
MD5 38f886b617fe8797ae3f5c3c7bcb6067
BLAKE2b-256 123fcacdae495c1ee2cfb4426862a86d73070c7376ab677919cbe171b4bfc43f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f054a713195cb4bf46f30421456116e60ca35927f103f66c2b2037d806accc1e
MD5 c1c0c03542de80be9a8c5c10766d23a9
BLAKE2b-256 5cd6672ccd783d42c9fb80d605f1ade8352240e85302d761f13307c300044e09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a4f1a83c2e33f94341824cb9f0eae2f7ab00d16f2982f1b4cd8d2da5eee299a
MD5 a23f49e736eea20568034070d85f4807
BLAKE2b-256 48a24d918eeaaaeabfd6aa1c8ce09312fe37f9988645dd02daaf4d139e2c8368

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 fc08ef2b217b415cffd718bb3ba29b1c1ddc28f1a96d7e989464a20d3a0e2d2d
MD5 abdb5c5a7cbcc7b90cc3e5ed2d78f70f
BLAKE2b-256 eaed5c166a70e1a363995ff89f2ec4d400956068ce845f72aa6e2a862c4dd913

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 3845d6abd196c359af5b0be4a12ee77ba2cf4ec1c8018716d7044d1eb35472cd
MD5 6024379758183a44cd41f519ed0c3c4d
BLAKE2b-256 e5fdab6d7944790960ba37905dc2e7826e2857a5bdd092712703dc0b23ebdc59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 08cdbca82047750197e6581be2a05799b5bfb7f2b8ba588c451078370a73cf2c
MD5 fc06f1b8aa408a2333322b6627a100a3
BLAKE2b-256 e20ee531269fd7407d730ecbb276849b32a61db6ed0f9617a203c1b82be2074d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e350bd7d88644a253a912803fd7154fce1ce91c0d861048d39245e3e01b948cd
MD5 4348c4eba981936677d23b52c4f2ab8d
BLAKE2b-256 2d780794e922d200b9edb8a7ba3ebb9dcb1b4c1ad75eb8ed59cd8994ccbe3b9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f87a109034f7572f8c6897c6fb4fd489f95698bbc7633c81e92b0d3d4baa0f6c
MD5 fb168966ce8799ca0a188bca1cb0b7f7
BLAKE2b-256 2c588b5fcd3a203e4ec55ca772827e16b5edc5eee5f5c6db98b7905fbaf5357f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 631a3fa95fb286a3d52e5afb863b118af033764ae6e3dc24c19ddb3e77abd4ca
MD5 71b0b2ed5fef9a56e1a4343fa5abfea9
BLAKE2b-256 b86a46fb11441958bf3ffe6d158769f1d0ea32508de1086fbc7e65440feaec66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2684d26b1115219ef7cfed91c11b2b649bf206cf5d15b447e6d5b2567f3127c
MD5 3c9c0fe4bc220f10016f295100cf9a56
BLAKE2b-256 eadab2cb68bc9b07c61e446781071e4c80d9901b718ecb3fca5cd6249543a8f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for changelogging-2.5.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b11c8bd2d212035c42e6fc21bfad9ed6783c49f04763b442b87abd06bd0df4af
MD5 e8a8703ecd85364959f93cfd1f29b632
BLAKE2b-256 65a3873c614a50a4161ca65db60c886d46f415fa3fac3a9530873bd28fcee989

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