![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@changesets/changelog-github
Advanced tools
A changelog entry generator for GitHub that links to commits, PRs and users
@changesets/changelog-github is an npm package designed to generate changelogs for your GitHub repository. It integrates with the Changesets workflow to automatically create detailed and formatted changelogs based on your commit history and pull requests.
Generate Changelog Entries
This feature allows you to generate a changelog entry for a specific changeset and version. The `getChangelogEntry` function takes a changeset object and a version string, and returns a formatted changelog entry.
const { getChangelogEntry } = require('@changesets/changelog-github');
async function generateChangelogEntry(changeset, version) {
const entry = await getChangelogEntry(changeset, version);
console.log(entry);
}
generateChangelogEntry({
summary: 'Added new feature',
releases: [{ name: 'my-package', type: 'minor' }]
}, '1.1.0');
Custom Changelog Templates
This feature allows you to use custom templates for generating changelog entries. By providing a template function, you can customize the format of the changelog entries to fit your project's needs.
const { getChangelogEntry } = require('@changesets/changelog-github');
async function generateCustomChangelogEntry(changeset, version) {
const entry = await getChangelogEntry(changeset, version, {
template: ({ changeset, version }) => `## ${version}\n- ${changeset.summary}`
});
console.log(entry);
}
generateCustomChangelogEntry({
summary: 'Fixed a bug',
releases: [{ name: 'my-package', type: 'patch' }]
}, '1.0.1');
conventional-changelog is a package that generates changelogs based on conventional commit messages. It is highly configurable and supports various preset configurations. Unlike @changesets/changelog-github, it focuses on conventional commit messages and offers a wide range of customization options.
standard-version is a tool that automates versioning and changelog generation based on conventional commit messages. It is similar to @changesets/changelog-github in that it helps automate the release process, but it is more focused on the entire release workflow, including version bumping and tagging.
release-it is a versatile release automation tool that can handle versioning, changelog generation, and publishing to npm and GitHub. It offers more comprehensive release management compared to @changesets/changelog-github, which is more focused on changelog generation.
FAQs
A changelog entry generator for GitHub that links to commits, PRs and users
The npm package @changesets/changelog-github receives a total of 2,512 weekly downloads. As such, @changesets/changelog-github popularity was classified as popular.
We found that @changesets/changelog-github demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.