Skip to content

Commit 0a3a739

Browse files
authored
Release v0.4.0 (#338)
1 parent b6ccc5f commit 0a3a739

File tree

10 files changed

+34
-20
lines changed

10 files changed

+34
-20
lines changed

.changes/unreleased/Added-20240806-200004.yaml

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

.changes/unreleased/Added-20240806-211807.yaml

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

.changes/unreleased/Added-20240807-053124.yaml

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

.changes/unreleased/Added-20240807-075520.yaml

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

.changes/unreleased/Changed-20240808-210829.yaml

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

.changes/v0.4.0.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## <a name="v0.4.0">v0.4.0</a> - 2024-08-09
2+
3+
This release adds support for configuring the behavior of git-spice
4+
with use of the `git config` command.
5+
See <https://abhinav.github.io/git-spice/cli/config/> for details.
6+
7+
### Added
8+
- cli: Support custom shorthands with the `spice.shorthand.*` configuration option.
9+
- submit: Support opting out or reducing navigation comment frequency with the --nav-comment flag.
10+
The accompanying `spice.submit.navigationComment` configuration option may also be used instead.
11+
- log: Add a `spice.log.all` configuration option to default to `--all` for `gs ls` and `gs ll`.
12+
- GitHub Enterprise: Allow setting the GitHub URL and API URL with the
13+
`spice.forge.github.url` and `spice.forge.github.apiUrl` configuration options.
14+
### Changed
15+
- GitHub Enterprise: `GITHUB_API_URL` is now optional. If not set, we'll guess it from the GitHub URL.

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ 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.4.0">v0.4.0</a> - 2024-08-09
9+
10+
This release adds support for configuring the behavior of git-spice
11+
with use of the `git config` command.
12+
See <https://abhinav.github.io/git-spice/cli/config/> for details.
13+
14+
### Added
15+
- cli: Support custom shorthands with the `spice.shorthand.*` configuration option.
16+
- submit: Support opting out or reducing navigation comment frequency with the --nav-comment flag.
17+
The accompanying `spice.submit.navigationComment` configuration option may also be used instead.
18+
- log: Add a `spice.log.all` configuration option to default to `--all` for `gs ls` and `gs ll`.
19+
- GitHub Enterprise: Allow setting the GitHub URL and API URL with the
20+
`spice.forge.github.url` and `spice.forge.github.apiUrl` configuration options.
21+
### Changed
22+
- GitHub Enterprise: `GITHUB_API_URL` is now optional. If not set, we'll guess it from the GitHub URL.
23+
824
## <a name="v0.3.1">v0.3.1</a> - 2024-07-30
925
### Fixed
1026
- branch submit: Fail if Git editor is explicitly unset and there's no fallback.

doc/src/cli/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: >-
77

88
# CLI configuration
99

10-
<!-- gs:version unreleased -->
10+
<!-- gs:version v0.4.0 -->
1111

1212
The behavior of git-spice can be customized with `git config`.
1313
Configuration options may be set at the user level with the `--global` flag,

doc/src/cli/shorthand.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Below is a complete list of shorthands built into git-spice.
5151

5252
## Custom shorthands
5353

54-
<!-- gs:version unreleased -->
54+
<!-- gs:version v0.4.0 -->
5555

5656
git-spice's [configuration system](config.md) supports defining
5757
custom shorthands for git-spice commands

doc/src/setup/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ It is intended only for CI/CD environments where you have no other choice.
192192
To use git-spice with a GitHub Enterprise instance,
193193
inform it of the instance URL, authenticate, and use git-spice as usual.
194194

195-
=== "<!-- gs:version unreleased -->"
195+
=== "<!-- gs:version v0.4.0 -->"
196196

197197
Set the $$spice.forge.github.url$$ configuration option
198198
to the address of your GitHub Enterprise instance.

0 commit comments

Comments
 (0)