git-cliff
git-cliff configuration file
cliff.toml.cliff.toml**/.config/cliff.tomlcliff.yamlcliff.yml.cliff.yaml.cliff.yml**/.config/cliff.yaml**/.config/cliff.yml
Validate
Check your file against this schema
Opens the validator with this schema already loaded. Paste your
cliff.toml and it validates in your browser — nothing is uploaded.
Reference
Fields
Generated directly from the schema, following local
$refs, to two levels of nesting.
| Field | Type | Description |
|---|---|---|
$schema | string | Optional schema URL for editor integrations. |
changelog | object | Configuration options for changelog generation. |
changelog.header | string | null | — |
changelog.body | string | Body template rendered for each release. |
changelog.footer | string | null | — |
changelog.trim | boolean | Whether to remove leading and trailing whitespace from the changelog body. |
changelog.render_always | boolean | Whether to render the body template even if there are no releases to process. |
changelog.postprocessors | array | Regex-based processors applied after changelog rendering. |
changelog.output | string | null | — |
git | object | Git parsing and filtering options. |
git.processing_order | oneOf | Custom commit processing pipeline. |
git.conventional_commits | boolean | Whether to parse commits according to the Conventional Commits specification. |
git.require_conventional | boolean | Whether all included commits must be conventional. |
git.filter_unconventional | boolean | Whether to exclude commits that are not conventional. |
git.split_commits | boolean | Whether each line of a commit should be processed as an individual commit message. |
git.commit_preprocessors | array | Regex-based processors applied before commit parsing. |
git.commit_parsers | array | Commit parser rules that classify, scope, or skip commits. |
git.protect_breaking_commits | boolean | Whether breaking changes are protected from being skipped by commit parsers. |
git.link_parsers | array | Regex-based parsers that extract links from commit messages. |
git.filter_commits | boolean | Whether commits not matched by a commit parser are filtered out. |
git.fail_on_unmatched_commit | boolean | Whether git-cliff should fail when an included commit is not matched by any parser. |
git.tag_pattern | string | null | — |
git.skip_tags | string | null | — |
git.ignore_tags | string | null | — |
git.count_tags | string | null | — |
git.use_branch_tags | boolean | Whether to include only tags that belong to the current branch. |
git.topo_order | boolean | Whether releases are processed in topological order instead of chronological order. |
git.topo_order_commits | boolean | Whether commits are processed in topological order instead of chronological order. |
git.sort_commits | string | Ordering for commits inside each release section. one of: "oldest", "newest" |
git.limit_commits | integer | null | Maximum number of commits included in the generated changelog. |
git.recurse_submodules | boolean | null | — |
git.include_paths | array<string> | — |
git.exclude_paths | array<string> | — |
remote | object | Git remote integration options. |
remote.offline | boolean | Whether to disable external calls even when remotes are configured. |
remote.github | object | — |
remote.github.ownerrequired | string | Remote owner or organization. |
remote.github.reporequired | string | Remote repository name. |
remote.github.token | string | null | — |
remote.github.api_url | string | null | — |
remote.github.native_tls | boolean | null | — |
remote.gitlab | object | — |
remote.gitlab.ownerrequired | string | Remote owner or organization. |
remote.gitlab.reporequired | string | Remote repository name. |
remote.gitlab.token | string | null | — |
remote.gitlab.api_url | string | null | — |
remote.gitlab.native_tls | boolean | null | — |
remote.gitea | object | — |
remote.gitea.ownerrequired | string | Remote owner or organization. |
remote.gitea.reporequired | string | Remote repository name. |
remote.gitea.token | string | null | — |
remote.gitea.api_url | string | null | — |
remote.gitea.native_tls | boolean | null | — |
remote.bitbucket | object | — |
remote.bitbucket.ownerrequired | string | Remote owner or organization. |
remote.bitbucket.reporequired | string | Remote repository name. |
remote.bitbucket.token | string | null | — |
remote.bitbucket.api_url | string | null | — |
remote.bitbucket.native_tls | boolean | null | — |
remote.azure_devops | object | — |
remote.azure_devops.ownerrequired | string | Remote owner or organization. |
remote.azure_devops.reporequired | string | Remote repository name. |
remote.azure_devops.token | string | null | — |
remote.azure_devops.api_url | string | null | — |
remote.azure_devops.native_tls | boolean | null | — |
bump | object | Version bumping options. |
bump.features_always_bump_minor | boolean | null | — |
bump.breaking_always_bump_major | boolean | null | — |
bump.initial_tag | string | null | — |
bump.custom_major_increment_regex | string | null | — |
bump.custom_minor_increment_regex | string | null | — |
bump.no_increment_regex | string | null | — |
bump.bump_type | oneOf | Forced version bump type. |
Audit
What we found in this schema
- Declared draft: draft-07
- Validates cleanly against its own meta-schema.
- 69 properties, 87% carrying a description, max nesting depth 8.
Standards
Specification sections for the keywords in this schema
| Keyword | Document | Section |
|---|---|---|
$id | JSON Schema Core, draft 2020-12 | §8.2.1 — The "$id" Keyword |
$ref | JSON Schema Core, draft 2020-12 | §8.2.3.1 — Direct References with "$ref" |
$schema | JSON Schema Core, draft 2020-12 | §8.1.1 — "$schema" |
additionalProperties | JSON Schema Core, draft 2020-12 | §10.3.2.3 — "additionalProperties" |
description | JSON Schema Validation, draft 2020-12 | §9.1 — "title" and "description" |
enum | JSON Schema Validation, draft 2020-12 | §6.1.2 — "enum" |
items | JSON Schema Core, draft 2020-12 | §10.3.1.2 — "items" |
oneOf | JSON Schema Core, draft 2020-12 | §10.2.1.3 — "oneOf" |
pattern | JSON Schema Validation, draft 2020-12 | §6.3.3 — "pattern" |
properties | JSON Schema Core, draft 2020-12 | §10.3.2.1 — "properties" |
required | JSON Schema Validation, draft 2020-12 | §6.5.3 — "required" |
type | JSON Schema Validation, draft 2020-12 | §6.1.1 — "type" |
Documents
- JSON Schema Core, draft 2020-12 — JSON Schema: A Media Type for Describing JSON Documents, A. Wright, H. Andrews, B. Hutton, G. Dennis, Eds., 2022. draft-bhutton-json-schema-01. An expired Internet-Draft with no formal standing in the IETF standards process; it is nonetheless the specification of record for JSON Schema 2020-12, published by json-schema.org.
- JSON Schema Validation, draft 2020-12 — JSON Schema Validation: A Vocabulary for Structural Validation of JSON, A. Wright, H. Andrews, B. Hutton, Eds., 2022.
- RFC 8259 (STD 90) — The JavaScript Object Notation (JSON) Data Interchange Format, T. Bray, Ed., 2017. The format a schema describes.
- RFC 6901 — JavaScript Object Notation (JSON) Pointer. Defines the pointer syntax used by $ref fragments and the ~0 / ~1 escapes.
Source
Attribution
This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.