{"name":"@semantic-release/changelog","description":"semantic-release plugin to create or update a changelog file","version":"7.0.0","type":"module","author":{"name":"Pierre Vanduynslager","url":"https://github.com/pvdlg"},"ava":{"files":["test/**/*.test.js","!test/integration.test.js"]},"bugs":{"url":"https://github.com/semantic-release/changelog/issues"},"contributors":[{"name":"Stephan Bönnemann","email":"stephan@boennemann.me","url":"http://boennemann.me"},{"name":"Gregor Martynus","url":"https://twitter.com/gr2m"}],"dependencies":{"@semantic-release/error":"^4.0.0","aggregate-error":"^5.0.0","lodash-es":"^4.17.21"},"devDependencies":{"ava":"6.2.0","c8":"10.1.3","lockfile-lint":"^5.0.0","ls-engines":"^0.9.4","npm-run-all":"^4.1.5","prettier":"3.5.3","publint":"^0.3.18","semantic-release":"25.0.3","sinon":"19.0.2","tempy":"3.1.0"},"engines":{"node":"^22.22.2 || >=24.15"},"exports":"./index.js","homepage":"https://github.com/semantic-release/changelog#readme","keywords":["changelog","conventional-changelog","release","semantic-release","version"],"license":"MIT","peerDependencies":{"semantic-release":">=20.1.0"},"prettier":{"printWidth":120,"trailingComma":"es5"},"publishConfig":{"access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/semantic-release/changelog.git"},"scripts":{"lint":"prettier --check \"{lib,test}/**/*.{js,json,ts}\" \"*.{md,json,js}\" \".github/**/*.yml\"","lint:prettier":"prettier --check \"{lib,test}/**/*.{js,json,ts}\" \"*.{md,json,js}\" \".github/**/*.yml\"","lint:prettier:fix":"prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"{bin,lib,test}/**/*.js\"","lint:lockfile":"lockfile-lint","lint:engines":"ls-engines","lint:publish":"publint --strict","semantic-release":"semantic-release","test":"npm-run-all --print-label --parallel lint:* --parallel test:*","test:unit":"c8 ava --verbose","test:integration":"ava --verbose test/integration.test.js"},"c8":{"include":["lib/**/*.js","index.js"],"reporter":["json","text","html"],"all":true},"lockfile-lint":{"path":"package-lock.json","type":"npm","validate-https":true,"allowed-hosts":["npm"]},"renovate":{"extends":["github>semantic-release/.github:renovate-config"]},"gitHead":"b1044e17de7be4f0bf28c82b881b501e138a1b87","_id":"@semantic-release/changelog@7.0.0","_nodeVersion":"24.18.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-TNPyag5db24o7jWjre7UwKB4EcL8oJxbRhnDQ7hmZRAYqzreAc6PgdxQuU3pppp5xQinYtiumL0iG8SSKvnlzg==","shasum":"dbc9b5f1d521c3134e9b12189fdfa36ebc8fefdf","tarball":"http://registry-npm.ywwl.com/@semantic-release/changelog/download/@semantic-release/changelog-7.0.0.tgz","fileCount":9,"unpackedSize":11645,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@semantic-release%2fchangelog@7.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAty59u5trgpjuyDMSqNFh/sFPVpD9Fs7MylOXk+gHYmAiEA93RtYRoZx3kT6/0vYuwIP0ze06JS+c/dRkf/lo5dCFE="}],"size":4228,"noattachment":false,"key":"/@semantic-release/changelog/-/@semantic-release/changelog-7.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:838943ef-2c73-42c2-afdb-072ba58511a3"}},"directories":{},"maintainers":[{"name":"semantic-release-bot","email":"semantic-release@martynus.net"},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"travi","email":"npm@travi.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/changelog_7.0.0_1784623080083_0.5264124822194243"},"_hasShrinkwrap":false,"readme":"# @semantic-release/changelog\n\n[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to create or update a changelog file.\n\n> [!WARNING]\n> Please consider whether committing release notes to a file is worth the [added complexity](https://semantic-release.gitbook.io/semantic-release/support/faq#should-release-notes-be-committed-to-a-changelog.md-in-my-repository-during-a-release) compared to other available options for capturing release notes.\n\n[![Build Status](https://github.com/semantic-release/changelog/workflows/Test/badge.svg)](https://github.com/semantic-release/changelog/actions?query=workflow%3ATest+branch%3Amaster) [![npm latest version](https://img.shields.io/npm/v/@semantic-release/changelog/latest.svg)](https://www.npmjs.com/package/@semantic-release/changelog)\n[![npm next version](https://img.shields.io/npm/v/@semantic-release/changelog/next.svg)](https://www.npmjs.com/package/@semantic-release/changelog)\n\n| Step               | Description                                                                                                                                                                                           |\n| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `verifyConditions` | Verify the `changelogFile` and `changelogTitle` options configuration.                                                                                                                                |\n| `prepare`          | Create or update a changelog file in the local project directory with the changelog content created in the [generate notes step](https://github.com/semantic-release/semantic-release#release-steps). |\n\n## Install\n\n```bash\n$ npm install @semantic-release/changelog -D\n```\n\n## Usage\n\nThe plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/commit-analyzer\",\n    \"@semantic-release/release-notes-generator\",\n    [\n      \"@semantic-release/changelog\",\n      {\n        \"changelogFile\": \"docs/CHANGELOG.md\"\n      }\n    ],\n    [\n      \"@semantic-release/git\",\n      {\n        \"assets\": [\"docs/CHANGELOG.md\"]\n      }\n    ]\n  ]\n}\n```\n\nWith this example, for each release, a `docs/CHANGELOG.md` will be created or updated.\n\n## Configuration\n\n### Options\n\n| Options          | Description                                           | Default        |\n| ---------------- | ----------------------------------------------------- | -------------- |\n| `changelogFile`  | File path of the changelog.                           | `CHANGELOG.md` |\n| `changelogTitle` | Title of the changelog file (first line of the file). | -              |\n\n### Examples\n\nWhen used with the [@semantic-release/git](https://github.com/semantic-release/git) or [@semantic-release/npm](https://github.com/semantic-release/npm) plugins the `@semantic-release/changelog` plugin must be called before those plugins in order to update the changelog file so the [@semantic-release/git](https://github.com/semantic-release/git) and [@semantic-release/npm](https://github.com/semantic-release/npm) plugins can include it in the release.\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/commit-analyzer\",\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/changelog\",\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\"\n  ]\n}\n```\n","publish_time":1784623080232,"_cnpm_publish_time":1784623080232,"dist-tags":{"beta":"7.0.0-beta.1","latest":"7.0.0","next":"5.0.0"}}