Skip to content

Commit 1263513

Browse files
authored
Release v0.5.0 (#360)
1 parent c138535 commit 1263513

File tree

11 files changed

+26
-35
lines changed

11 files changed

+26
-35
lines changed

.changes/unreleased/Added-20240810-100319.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.changes/unreleased/Added-20240815-053353.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Added-20240821-213515.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/Added-20240824-115459.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changes/unreleased/Changed-20240816-054428.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changes/unreleased/Fixed-20240821-082941.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.changes/v0.5.0.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## <a name="v0.5.0">v0.5.0</a> - 2024-08-25
2+
3+
### Added
4+
- submit: Add `spice.submit.publish` configuration to allow making `--no-publish` the default. Use this to work with unsupported Git hosting services.
5+
- branch checkout: Add `spice.branchCheckout.showUntracked` configuration to always show untracked branches in checkout prompt.
6+
- branch create: Add `--[no-]commit` flag and accompanying `spice.branchCreate.commit` configuration to create stacked branches without committing changes.
7+
- submit: When importing existing CRs, also detect existing stack navigation comments and update them instead of posting duplicates. This will only work for comments posted git-spice v0.5 or newer.
8+
### Fixed
9+
- submit: When submitting with `--no-publish`, don't fail if the repository is hosted in an unsupported Git hosting services.
10+
- {branch, upstack} onto: Always rebase commits after the operation--even if the branch's base already matches the target. This better matches user expectations when the branch and base diverge.

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
66
and is generated by [Changie](https://github.com/miniscruff/changie).
77

8+
## <a name="v0.5.0">v0.5.0</a> - 2024-08-25
9+
10+
### Added
11+
- submit: Add `spice.submit.publish` configuration to allow making `--no-publish` the default. Use this to work with unsupported Git hosting services.
12+
- branch checkout: Add `spice.branchCheckout.showUntracked` configuration to always show untracked branches in checkout prompt.
13+
- branch create: Add `--[no-]commit` flag and accompanying `spice.branchCreate.commit` configuration to create stacked branches without committing changes.
14+
- submit: When importing existing CRs, also detect existing stack navigation comments and update them instead of posting duplicates. This will only work for comments posted git-spice v0.5 or newer.
15+
### Fixed
16+
- submit: When submitting with `--no-publish`, don't fail if the repository is hosted in an unsupported Git hosting services.
17+
- {branch, upstack} onto: Always rebase commits after the operation--even if the branch's base already matches the target. This better matches user expectations when the branch and base diverge.
18+
819
## <a name="v0.4.0">v0.4.0</a> - 2024-08-09
920

1021
This release adds support for configuring the behavior of git-spice

doc/src/cli/config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ or at the repository level with the `--local` flag.
3232

3333
### spice.branchCheckout.showUntracked
3434

35-
<!-- gs:version unreleased -->
35+
<!-- gs:version v0.5.0 -->
3636

3737
When running $$gs branch checkout$$ without any arguments,
3838
git-spice presents a prompt to select a branch to checkout.
@@ -45,7 +45,7 @@ This option controls whether untracked branches are shown in the prompt.
4545

4646
### spice.branchCreate.commit
4747

48-
<!-- gs:version unreleased -->
48+
<!-- gs:version v0.5.0 -->
4949

5050
Whether $$gs branch create$$ should commit staged changes to the new branch.
5151
Set this to `false` to default to creating new branches without committing,
@@ -93,7 +93,7 @@ should post or update a navigation comment to the CR.
9393

9494
### spice.submit.publish
9595

96-
<!-- gs:version unreleased -->
96+
<!-- gs:version v0.5.0 -->
9797

9898
Whether submission commands ($$gs branch submit$$ and friends)
9999
should publish a CR to the forge.

doc/src/guide/pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ For example, if you have the GitHub CLI installed:
143143
This will work even for PRs that were not created by git-spice,
144144
or authored by someone else, as long as the above conditions are met.
145145

146-
In <!-- gs:version unreleased --> or newer,
146+
In <!-- gs:version v0.5.0 --> or newer,
147147
this will also auto-detect [navigation comments](#navigation-comments)
148148
posted to the PR by git-spice, and update them if necessary.
149149

0 commit comments

Comments
 (0)