Skip to content

chore: version packages (beta) - #29

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 9, 2025 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm 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

@gud/cli@1.0.0-beta.8

Patch Changes

  • a7d101e: Added setData() to the command state to set the data without continuing to the next command, and an optional result type parameter to fork(). Fixed beforeCommand hooks' setData() not reaching the command handler, and afterCommand hooks receiving the command's input instead of its output; afterCommand hooks' setData() now also overrides the data when the command calls next() or end(). Documented that passing undefined to next() or end() keeps the current data and null clears it.
  • e5b36fe: Fixed option values of commands with isMiddleware: false being resolved as subcommands, e.g., hello --name Bob failing with Command "Bob" not found. Leading options are now removed using the command's options config regardless of isMiddleware.
  • f0e7af4: Fixed the help usage line showing a partial path to the executed script instead of the CLI name. The name defaults to the matching bin entry in the CLI's package.json, so it's correct when package managers install a shim instead of a symlink (pnpm, and npm or yarn on Windows), and falls back to the script's file name. It can also be set with the new name option on run() and Context, and the lookup is exported as getBinName. Also made getHelp, plugin, and PluginError runtime exports; they were previously exported as types only.
  • 7a13c3f: Fixed arguments containing spaces being split apart when run() is given a command array (including the default process.argv), e.g., --name "Bob Smith" failing with Command "Smith" not found. joinTokens() now quotes tokens with spaces whenever there's more than one token, not only when it's given more than one argument.
  • 1658940: Fixed subcommands being resolved from the wrong position when a leading option or option value matched the subcommand's name, e.g., deploy --target run run resolving run twice. removeLeadingOptions() now stops at the first argument that isn't an option or an option's value instead of searching for the next command.
  • b860d92: Fixed quotes, escapes, and repeated spaces in arguments being lost (e.g., --msg 'say "hi"' becoming say) by passing arguments through resolution and parsing as an array instead of a command string. Context has a new argv property and accepts argv instead of commandString, resolved commands have remainingArgv, the beforeResolve, beforeResolveNext, and beforeParse hooks receive argv, and resolveCommand(), context.resolveCommand(), context.parseCommand(), and removeLeadingOptions() accept arrays. ParseCommandFn now receives string | string[], and the CLI passes it arrays, so custom parse functions need to handle arrays; support for command strings will be removed in the next major version. splitTokens() now ignores repeated delimiters.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 5c65449 to c8d4647 Compare May 23, 2025 01:53
@github-actions github-actions Bot changed the title chore: version packages (next) chore: version packages (beta) Jul 30, 2025
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 14 times, most recently from 02ba53d to 2a6e13e Compare August 1, 2025 23:15
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2a6e13e to 002a82e Compare October 22, 2026 14:05
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 002a82e to febad86 Compare October 22, 2026 14:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants