Détail du package

@changesets/changelog-github

changesets1.5mMIT0.5.1

A changelog entry generator for GitHub that links to commits, PRs and users

readme

A tool to manage versioning and changelogs
with a focus on multi-package repositories


npm package View changelog

The changesets workflow is designed to help when people are making changes, all the way through to publishing. It lets contributors declare how their changes should be released, then we automate updating package versions, and changelogs, and publishing new versions of packages based on the provided information.

Changesets has a focus on solving these problems for multi-package repositories, and keeps packages that rely on each other within the multi-package repository up-to-date, as well as making it easy to make changes to groups of packages.

How do we do that?

A changeset is an intent to release a set of packages at particular semver bump types with a summary of the changes made.

The @changesets/cli package allows you to write changeset files as you make changes, then combine any number of changesets into a release, that flattens the bump-types into a single release per package, handles internal dependencies in a multi-package-repository, and updates changelogs, as well as release all updated packages from a mono-repository with one command.

How do I get started?

If you just want to jump in to using changesets, the Intro to using changesets and @changesets/cli docs are where you should head.

If you want a detailed explanation of the concepts behind changesets, or to understand how you would build on top of changesets, check out our detailed-explanation.

We also have a dictionary.

Integrating with CI

While changesets can be an entirely manual process, we recommend integrating it with how your CI works.

To check that PRs contain a changeset, we recommend using the changeset bot, or if you want to fail builds on a changesets failure, run yarn changeset status in CI.

To make releasing easier, you can use this changesets github action to automate creating versioning pull requests, and optionally publishing packages.

Documentation

Cool Projects already using Changesets for versioning and changelogs

Thanks/Inspiration

  • bolt - Brought us a strong concept of how packages in a mono-repo should be able to interconnect, and provided the initial infrastructure to get inter-package information.
  • Atlassian - The original idea/sponsor of the changesets code, and where many of the ideas and processes were fermented. It was originally implemented by the team behind atlaskit.
  • lerna-semantic-release - put down many of the initial patterns around updating packages within a multi-package-repository, and started us thinking about how to manage dependent packages.
  • Thinkmill - For sponsoring the focused open sourcing of this project, and the version two rearchitecture.

changelog

@changesets/changelog-github

0.5.1

Patch Changes

  • Updated dependencies [84a4a1b]:
    • @changesets/types@6.1.0

0.5.0

Minor Changes

  • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

Patch Changes

  • Updated dependencies [a971652]:
    • @changesets/get-github-info@0.6.0
    • @changesets/types@6.0.0

0.4.8

Patch Changes

  • Updated dependencies [521205d, b360d50]:
    • @changesets/types@5.2.1
    • @changesets/get-github-info@0.5.2

0.4.7

Patch Changes

  • Updated dependencies [8c08469]:
    • @changesets/types@5.2.0

0.4.6

Patch Changes

  • Updated dependencies [dd9b76f]:
    • @changesets/types@5.1.0

0.4.5

Patch Changes

  • #820 a22eb8c Thanks @Andarist! - Errors resulting from the GitHub API calls should now be properly raised.

  • Updated dependencies [a22eb8c]:

    • @changesets/get-github-info@0.5.1

0.4.4

Patch Changes

  • Updated dependencies [c87eba6]:
    • @changesets/types@5.0.0

0.4.3

Patch Changes

  • Updated dependencies [27a5a82]:
    • @changesets/types@4.1.0

0.4.2

Patch Changes

  • Updated dependencies [9a993ba]:
    • @changesets/types@4.0.2

0.4.1

Patch Changes

  • Updated dependencies [e89e28a]:
    • @changesets/types@4.0.1

0.4.0

Minor Changes

  • #564 707002d Thanks @Andarist! - It's now possible to specify multiple authors of a change by using multiple author: @someuser lines.

Patch Changes

  • Updated dependencies [de2b4a5]:
    • @changesets/types@4.0.0

0.3.0

Minor Changes

  • #535 91d1ef2 Thanks @mitchellhamilton! - Allow replacing the PR/commit/author shown in the changelog line by writing pr: some-pr-number and similarly for commit and author in the changelog summary(not the frontmatter).

Patch Changes

  • Updated dependencies [91d1ef2]:
    • @changesets/get-github-info@0.5.0

0.2.8

Patch Changes

  • 3436c53 #510 Thanks @tuanddd! - Added validation rule for invalid repo arguments.

  • Updated dependencies [3436c53]:

    • @changesets/get-github-info@0.4.5

0.2.7

Patch Changes

  • f24f722 #444 Thanks @Andarist! - Changed the way how requests to the GitHub API were authenticated - from a query parameter to the Authorization header. The previously used method has been deprecated by the GitHub and will stop working in 2021.

  • Updated dependencies [f24f722]:

    • @changesets/get-github-info@0.4.4

0.2.6

Patch Changes

  • Updated dependencies [2b49d66]:
    • @changesets/types@3.0.0

0.2.5

Patch Changes

0.2.4

Patch Changes

  • Updated dependencies [011d57f]:
    • @changesets/types@2.0.0

0.2.3

Patch Changes

  • e56928b #298 Thanks @eps1lon! - In changelog-github, throw more descriptive error when no options are provided.

  • Updated dependencies [04ddfd7, e56928b]:

    • @changesets/get-github-info@0.4.2
    • @changesets/types@1.0.1

0.2.2

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

  • 938823f #224 - Show the PR author of a change rather than the author of the commit that added a changeset to account for cases when maintainers add a changeset to a PR and merge the PR with a merge commit

Patch Changes

  • 938823f #224 - Fix cases where the wrong PR is returned when a commit is associated with multiple PRs
  • Updated dependencies [938823f, 938823f]:
    • @changesets/get-github-info@0.4.0

0.1.1

Patch Changes

  • Updated dependencies [8f0a1ef]:
    • @changesets/types@0.4.0

0.1.0

Minor Changes

Patch Changes

  • Updated dependencies [bb855a8, bb855a8]:
    • @changesets/get-github-info@0.3.0