Skip to main content

Building changelogs from fragments.

Project description

Image

changelogging

License Version Downloads Discord Test

Building changelogs from fragments.

Installing

Installing the crate with cargo is quite simple:

$ 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 .

The binaries can be downloaded from releases.

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.2.2"
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

And finally, preview the changelog entry!

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

### 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.2.2 (YYYY-MM-DD)

### 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.2.2.tar.gz (39.2 kB view hashes)

Uploaded Source

Built Distributions

changelogging-2.2.2-py3-none-win_arm64.whl (933.7 kB view hashes)

Uploaded Python 3 Windows ARM64

changelogging-2.2.2-py3-none-win_amd64.whl (1.0 MB view hashes)

Uploaded Python 3 Windows x86-64

changelogging-2.2.2-py3-none-win32.whl (922.5 kB view hashes)

Uploaded Python 3 Windows x86

changelogging-2.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

changelogging-2.2.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ s390x

changelogging-2.2.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

changelogging-2.2.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64

changelogging-2.2.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

changelogging-2.2.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

changelogging-2.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

changelogging-2.2.2-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

changelogging-2.2.2-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (2.2 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.5+ i686

changelogging-2.2.2-py3-none-macosx_11_0_arm64.whl (1.1 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

changelogging-2.2.2-py3-none-macosx_10_12_x86_64.whl (1.2 MB view hashes)

Uploaded Python 3 macOS 10.12+ x86-64

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