Skip to content

v0.4.8

Choose a tag to compare

@github-actions github-actions released this 15 Jun 09:09
· 5430 commits to main since this release
4cc3945

v0.4.8

This release expands the workflow-oriented gs CLI, adds shell completions for grit, improves smart-HTTP behavior, and tightens path handling around checkout/clone.

Highlights

  • Added grit completions <shell> for Bash, Zsh, Fish, Elvish, and PowerShell.
  • Added gs auth, a GitHub device-flow sign-in command for HTTPS fetch/push.
  • Added gs config and the Windows gs manager credential helper, including automatic Windows credential-helper wiring.
  • Updated gs commit so normal developer workflows stage all changes automatically: gs commit "message" and gs commit -am "message" both stage and commit.
  • Added a grit-simple README section and workflow coverage for init, status, add, commit, branch, switch, merge, remote, clone, fetch, pull, and push.

Git Compatibility And Fixes

  • Fixed ls-files --full-name pathspec handling from subdirectories.
  • Fixed ls-tree --full-name so display naming is separate from --full-tree scope.
  • Added Rust regression tests for the --full-name behavior.
  • Added checkout/clone validation for confusing or unsafe path components.
  • Improved smart-HTTP redirect handling by re-basing follow-up requests after info/refs redirects.
  • Silenced current cargo build warnings.

Infrastructure

  • Added nightly install scripts and changed nightly builds to publish to a rolling prerelease without requiring gh.
  • Added a workspace-only grit-test-support crate for shared integration-test runners, assertions, temp helpers, and fixture caching.
  • Formatted workspace Rust files and bumped the workspace version to 0.4.8.
  • Simplified the agent instructions in AGENTS.md.

What's Changed

  • Add nightly install scripts for manual CI builds by @schacon in #862
  • fix(ls-files): drop !args.full_name clause from cwd-pathspec restriction by @eouzoe in #857
  • fix(ls-tree): separate --full-name display from --full-tree scope by @eouzoe in #858
  • Add gs auth: GitHub device-flow sign-in for HTTPS push/fetch by @schacon in #863
  • Publish nightly builds to a rolling prerelease (drop gh requirement) by @schacon in #864
  • http-smart-redirect-rebasing by @schacon in #866
  • gs: add config and manager commands, auto-wire Windows credential helper by @schacon in #867
  • config: resolve home dir via USERPROFILE on Windows by @schacon in #868
  • test: port --full-name regression test from shell to Rust by @eouzoe in #870
  • feat: add grit completions <shell> for shell completion scripts by @chanmaoganda in #873
  • test: add shared grit test support crate by @schacon in #872
  • fix-cargo-build-warnings by @schacon in #874

New Contributors

Full Changelog: v0.4.7...v0.4.8