Skip to content

Latest commit

 

History

History
275 lines (143 loc) · 20.6 KB

File metadata and controls

275 lines (143 loc) · 20.6 KB

@changesets/action

2.0.0-next.3

Major Changes

  • #680 ca57073 Thanks @bluwy! - Add a new push-git-tags option that complements create-github-releases to control specifically if git tags should be created but not GitHub releases.

    If create-github-releases was previously set to false, which also indirectly disabled git tag creation, git tags will now be created instead by default. If this is not desired, set push-git-tags to false explicitly.

  • #681 7359107 Thanks @bluwy! - Rename the root action inputs and outputs to better match the sub-actions' conventions.

    Inputs:

    • version -> version-script
    • publish -> publish-script
    • commit -> commit-message
    • title -> pr-title
    • branch -> pr-base-branch

    Outputs:

    • pull-request-number -> pr-number
  • #674 164652b Thanks @bluwy! - Remove support for passing custom GitHub token through the GITHUB_TOKEN environment variable. It should be passed to the github-token input instead.

  • #673 823cf74 Thanks @bluwy! - Update to Changesets v3 packages

  • #668 0eae789 Thanks @bluwy! - Rename the input and output names to kebab-case instead of camelCase to match the official GitHub actions pattern

Minor Changes

  • #678 f71ae04 Thanks @Andarist! - Published packages detection done through stdout parsing was replaced with one based on the shared output file using CHANGESETS_OUTPUT environment variable. When using custom scripts this environment variable should always be passed down to the Changesets CLI invocations.

2.0.0-next.2

Patch Changes

  • #670 5a8b9b7 Thanks @Andarist! - Authenticate git CLI pushes with the configured GitHub token using Git extra headers instead of writing to a global .netrc file.

  • #670 5a8b9b7 Thanks @Andarist! - Derive the Git server URL from the GitHub Actions context when configuring git CLI authentication to support GitHub Enterprise Server setups.

2.0.0-next.1

Patch Changes

  • #663 ccb3811 Thanks @Andarist! - Fix the computed publish plan path passed internally to changeset pack by the /pack subaction.

  • #662 5c88881 Thanks @Andarist! - Fixed usage of --from-publish-plan flag used by the /pack subaction

  • #666 dc29b73 Thanks @Andarist! - Fix the /version subaction to not crash on missing pr-base-branch input. This input is meant to be optional.

2.0.0-next.0

Major Changes

  • #657 4f718b5 Thanks @Andarist! - Removed compatibility support for old Changesets v1.

  • #659 5649ff4 Thanks @bluwy! - Remove cwd option for changesets/action. Use the step working-directory option instead to change the directory.

Minor Changes

  • #656 a12d90d Thanks @bluwy! - Add new /select-mode, /version, and /publish sub-actions to better control version and publish steps

1.9.0

Minor Changes

  • #636 b072bcc Thanks @bluwy! - Add a new @changesets/action/pr-comment sub-action to comment on PRs

  • #625 8795eee Thanks @bluwy! - Add a new @changesets/action/pr-status sub-action to generate the changeset status comment for PRs as an alternative to the Changesets Bot.

Patch Changes

  • #535 34f64f6 Thanks @Andarist! - Fixed an issue with GitHub releases not being created for successfully published packages when some packages failed to be published to the registry.

  • #632 1d54b9e Thanks @bluwy! - Simplify internal implementation to get changelog entries for a package version

  • #629 e0c90aa Thanks @bluwy! - Fix custom version and publish command argument parsing

  • #645 f9585d9 Thanks @Andarist! - Improved force-push handling when using commitMode: "github-api" so updating an existing branch no longer temporarily resets the target branch to the base commit, avoiding cases where GitHub closes open pull requests during the update. This should remove a possibility of a GitHub state race that caused the force-pushed PRs not being reopened.

1.8.0

Minor Changes

  • #258 f5dbf72 Thanks @tom-sherman! - Support draft version PR modes with a new prDraft input. Use create to create new version PRs as drafts, or always to also convert existing version PRs back to draft when updating them.

Patch Changes

  • #502 6002dbd Thanks @oshytiko! - Fixed initial .changeset state being picked up, when cwd parameter is provided

  • #536 81b3f61 Thanks @radnan! - Fixed .changeset state being picked for the version command when cwd parameter is provided

1.7.0

Minor Changes

  • #564 935fe87 Thanks @Andarist! - Automatically use the GitHub-provided token to allow most users to avoid explicit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} configuration.

Patch Changes

  • #545 54220dd Thanks @ryanbas21! - The .npmrc generation now intelligently handles both traditional NPM token authentication and trusted publishing scenarios by only appending the auth token when NPM_TOKEN is defined. This prevents 'undefined' from being written to the registry configuration when using OIDC tokens from GitHub Actions trusted publishing.

  • #563 6af4a7e Thanks @Andarist! - Don't error on already committed symlinks and executables that stay untouched

1.6.0

Minor Changes

1.5.3

Patch Changes

  • #477 9d933dc Thanks @Andarist! - Updated @actions/* and @octokit/* dependencies.

  • #479 cf373e4 Thanks @Andarist! - Switched to esbuild for bundling the dist file. This led to 45% file size reduction.

  • #488 022692b Thanks @s0! - Fix PRs sometimes not getting reopened with commitMode: github-api

    There was a race-condition that means sometimes existing PRs would not be found, and new PRs would be opened. This has now been fixed by fetching existing PRs before making any changes.

  • #486 7ed1955 Thanks @s0! - Fixed situations in which cwd was specified as a relative path and used with (default) commitMode: git-cli

  • #461 e9c36b6 Thanks @nayounsang! - Avoid hitting a deprecation warning when encountering errors from @octokit/request-error

1.5.2

Patch Changes

  • #473 3c24abe Thanks @s0! - Make git add work consistently with subdirectories

    Ensure that when running the action from a subdirectory of a repository, only the files from that directory are added, regardless of commitMode.

1.5.1

Patch Changes

  • #471 15ab130 Thanks @h3rmanj! - Bump @changesets/ghcommit to v1.4.0, which fixes an issue running this action in monorepos with commitMode: github-api

  • #467 6e57550 Thanks @Vx-V! - Avoid searching for an existing pull request early.

1.5.0

Minor Changes

  • #391 207dc3d Thanks @s0! - Introduce a new input commitMode that allows using the GitHub API for pushing tags and commits instead of the Git CLI.

    When used with "github-api" value all tags and commits will be attributed to the user whose GITHUB_TOKEN is used, and also signed using GitHub's internal GPG key.

1.4.10

Patch Changes

  • #448 8b16070 Thanks @bluwy! - Use full git email (41898282+github-actions[bot]@users.noreply.github.com) for github-actions bot when making commits

1.4.9

Patch Changes

  • #415 57ab80c Thanks @benmccann! - Improve error message when attempting to publish without publish script defined

1.4.8

Patch Changes

  • #393 48ab0d2 Thanks @s0! - Ensure the PR remains open when updated

  • #393 48ab0d2 Thanks @s0! - Switch to cheaper API for querying existing PRs

1.4.7

Patch Changes

1.4.6

Patch Changes

1.4.5

Patch Changes

  • #282 eb19e25 Thanks @mark-omarov! - Updated a few dependencies to patch the security vulnerabilities that were reported for their older versions.

1.4.4

Patch Changes

1.4.3

Patch Changes

1.4.2

Patch Changes

1.4.1

Patch Changes

  • #123 b78f480 Thanks @Andarist! - Updated @actions/* dependencies to avoid using deprecated features of the runner.

1.4.0

Minor Changes

Patch Changes

  • #228 bff53cc Thanks @iansan5653! - Add is:pull-request to search query when looking for existing PR. This fixes an issue with user-owned PATs.

1.3.0

Minor Changes

Patch Changes

  • #157 521c27b Thanks @emmenko! - Automatically adjust GitHub PR message if it exceeds a size limit of 60k characters by omitting some of the changelog information.

1.2.2

Patch Changes

  • #161 52c9ce7 Thanks @bicknellr! - Change directory to cwd before running git user setup. This fixes an issue when the action starts its execution not in a git repository.

1.2.1

Patch Changes

  • #144 898d125 Thanks @Andarist! - Updated all Changesets dependencies. This should fix parsing issues for completely empty summaries that has been fixed in @changesets/parse@0.3.11.

1.2.0

Minor Changes

  • #130 5c0997b Thanks @akphi! - Added createGithubReleases input option (defaults to true) to control whether to create Github releases during publish or not.
  • #134 1ed9bc2 Thanks @dmregister! - Added cwd input option that can be used in projects that are not in the root directory.

1.1.0

Minor Changes

1.0.0

Major Changes

  • #118 05c863d Thanks @Andarist! - From now on this action will be released using the Changesets-based workflow (using itself). Thanks to that we'll have a good release history. The users will be able to find specific versions of the action and will be able to track changes over time. It also improves the security as the build artifact will always get built in the CI environment, using a frozen lockfile.