Version Packages#124
Merged
Merged
Conversation
Andarist
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@changesets/ghcommit@3.0.0
Major Changes
#91
9ac746dThanks @bluwy! - Removequeriesexport from index. You should not rely on these queries as stable APIs.#89
e34689eThanks @bluwy! - Add"engines"field for explicit node version support. The supported node versions are^22.11 || ^24 || >=26.#109
203f0b7Thanks @bluwy! - Removed thecommitFilesFromBuffersandcommitFilesFromDirectoryAPIs. These APIs were simple wrappers over the corecommitChangesFromBase64API, which should be used instead. Read the file and pass the base64-encoded content tocommitChangesFromBase64fileChangesdirectly. For example:Buffer.from("hello world").toString("base64")await fs.readFile("path/to/file", "base64")#118
e2b975dThanks @bluwy! - RemoverecursivelyFindRootand makecwdoptional forcommitChangesSinceBase. Files will also not be filtered bycwdby default. To only commit files from a directory, use thefilterFilesoption instead.#88
19ea73aThanks @bluwy! - Publish code as ESM only#109
203f0b7Thanks @bluwy! - Removed all subpath exports. All APIs should be imported from root, e.g.import { commitChangesFromRepo } from "@changesets/ghcommit".#117
165c6cbThanks @bluwy! - Rename public APIs and export types. Note that the existing changelog may still reference the old names, but the new names should be used instead.commitFilesFromBase64->commitChangescommitChangesFromRepo->commitChangesSinceBase#110
ead1e55Thanks @bluwy! - Removelogargument from APIs. If you need to debug the package, use breakpoints or manually add logs in the package code.Minor Changes
#116
67853bfThanks @bluwy! - Improve create, update, and force update handling incommitFilesFromBase64:baseis the same asbranchby comparing their SHAs instead of names.baseand branch HEAD SHAs match, instead of always a force update ifforceis true.refIdfromcommitFilesFromBase64(and consequentlycommitChangesFromRepo). If the commit fails, it'll throw an error instead, similar to existing parts of the implementation.#111
1cf711eThanks @bluwy! - Supportbranchandtagformat forcommitChangesFromRepobaseoption. This aligns with thecommitFilesFromBase64baseoption.#108
8b5585dThanks @bluwy! - Replaceisomorphic-gitwith directgitcommand calls to get the file changes since a given ref