Skip to content

Commit

Permalink
Release v0.8.0 (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav authored Nov 9, 2024
1 parent eac431f commit 76be723
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 43 deletions.
4 changes: 0 additions & 4 deletions .changes/unreleased/Added-20241019-110354.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Added-20241019-110430.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/Added-20241026-102334.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Added-20241109-095515.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Changed-20241004-210541.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Changed-20241102-095155.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Changed-20241106-052308.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/Changed-20241108-054719.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Changed-20241108-055122.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/Changed-20241109-105306.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Fixed-20241102-094426.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions .changes/v0.8.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## <a name="v0.8.0">v0.8.0</a> - 2024-11-09
### Added
- {trunk, branch checkout}: Add -n/--dry-run flag to print the target branch.
- {up, down, top, bottom, branch checkout}: Add --detach flag to detach HEAD after checking out the target branch.
- submit: Add -w/--web flag to open a browser with the submitted CR, and a `spice.submit.web` configuration option to allow making this the default.
- submit: Add `spice.submit.listTemplatesTimeout` configuration option to change the timeout for template lookup operations.
### Changed
- GitHub: API errors will now include error codes to more easily root-cause issues.
- branch split: If the branch being split has been submitted, prompt to associate the CR with one of the branches.
- submit: If a branch has already been pushed to the remote repository with `git push -u`, use that branch name when creating a CR.
- submit: If a branch name is already taken in the remote, generate a unique name for the remote branch that is used to submit the CR.
- submit: When matching externally submitted CRs to a branch, reject matches where the names are equal but their HEADs are not.
- submit: If CR template lookup from the forge times out, present the outdated templates to the user instead of presenting none.
### Fixed
- submit: Fix incorrect branch name used when a base branch of a submitted branch is renamed.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).

## <a name="v0.8.0">v0.8.0</a> - 2024-11-09
### Added
- {trunk, branch checkout}: Add -n/--dry-run flag to print the target branch.
- {up, down, top, bottom, branch checkout}: Add --detach flag to detach HEAD after checking out the target branch.
- submit: Add -w/--web flag to open a browser with the submitted CR, and a `spice.submit.web` configuration option to allow making this the default.
- submit: Add `spice.submit.listTemplatesTimeout` configuration option to change the timeout for template lookup operations.
### Changed
- GitHub: API errors will now include error codes to more easily root-cause issues.
- branch split: If the branch being split has been submitted, prompt to associate the CR with one of the branches.
- submit: If a branch has already been pushed to the remote repository with `git push -u`, use that branch name when creating a CR.
- submit: If a branch name is already taken in the remote, generate a unique name for the remote branch that is used to submit the CR.
- submit: When matching externally submitted CRs to a branch, reject matches where the names are equal but their HEADs are not.
- submit: If CR template lookup from the forge times out, present the outdated templates to the user instead of presenting none.
### Fixed
- submit: Fix incorrect branch name used when a base branch of a submitted branch is renamed.

## <a name="v0.7.1">v0.7.1</a> - 2024-10-26
### Fixed
- branch submit: Fix bad log statement in --dry-run mode.
Expand Down
4 changes: 2 additions & 2 deletions doc/src/cli/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ instead of showing just the current stack.

### spice.submit.listTemplatesTimeout

<!-- gs:version unreleased -->
<!-- gs:version v0.8.0 -->

Maximum duration that $$gs branch submit$$ will wait
to receive a list of available CR templates from the forge.
Expand Down Expand Up @@ -130,7 +130,7 @@ on a case-by-case basis.

### spice.submit.web

<!-- gs:version unreleased -->
<!-- gs:version v0.8.0 -->

Whether submission commands ($$gs branch submit$$ and friends)
should open a web browser with submitted CRs.
Expand Down
2 changes: 1 addition & 1 deletion doc/src/guide/branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ it will prompt you for a name for each new branch.
to safely and easily manipulate the commits in the branch
before splitting it into multiple branches.

<!-- gs:version unreleased -->
<!-- gs:version v0.8.0 -->
If you split a branch after submitting it for review,
git-spice will prompt you to assign the submitted CR
to one of the branches.
Expand Down

0 comments on commit 76be723

Please sign in to comment.