GeezerVison is showing github.com — Version Packages (next) by changesets-org-version-bot[bot] · Pull Request #113 · changesets/ghcommit
Conversation
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.
⚠️⚠️⚠️⚠️⚠️⚠️
main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.
⚠️⚠️⚠️⚠️⚠️⚠️
Releases
Major Changes
-
#118 e2b975d Thanks @bluwy! - Remove recursivelyFindRoot and make cwd optional for commitChangesSinceBase. Files will also not be filtered by cwd by default. To only commit files from a directory, use the filterFiles option instead.
-
#117 165c6cb Thanks @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 -> commitChanges
commitChangesFromRepo -> commitChangesSinceBase
Minor Changes
-
#116 67853bf Thanks @bluwy! - Improve create, update, and force update handling in commitFilesFromBase64:
- Correctly detect if the
base is the same as branch by comparing their SHAs instead of names.
- Perform a normal update if the branch exists and the
base and branch HEAD SHAs match, instead of always a force update if force is true.
- Always clean up created or existing temporary branches during force updates, even if it fails.
- Always return a non-nullable
refId from commitFilesFromBase64 (and consequently commitChangesFromRepo). If the commit fails, it'll throw an error instead, similar to existing parts of the implementation.
-
#111 1cf711e Thanks @bluwy! - Support branch and tag format for commitChangesFromRepo base option. This aligns with the commitFilesFromBase64 base option.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
bluwy
bluwy approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.