- Add `jj run` command to run a command over a set of changes, each with their own private working copy, with commands updating the working copy and changes/conflicts propagated accordingly
- Add `--reversed` flag to `jj show` command
- Add support for looking for config files in `/etc/jj`
- Add `jj config gc` to delete configuration of deleted or moved repos from `~/.config/jj/repos` folder
- Add `-o` (`--option`) flag to `jj gerrit upload` command, working like `git push -o` (`--push-option`)
- Add `forks()` revset function that yields all commits with more than 1 child
- Add support for crossed-out text styling with `{ crossed-out = true }` in `colors` config
- `jj git fetch` now rebases the descendants of revisions that were rewritten based on their change IDs
- Fix Windows behavior where querying a path's file identity no longer follows symbolic links, matching Unix behavior
- Fix `jj` to create a new working-copy revision during snapshotting if the working copy was immutable
- Add warning in `jj git remote add` if the new remote exactly matches an existing remote's fetch URL or effective push URL
- Fix corrupt loose Git objects on Intel Raptor Lake CPU and aarch64
- Remove deprecated `git_head()` and `git_refs()` functions from revsets and templates
- Remove Git-like symbol resolution (e.g. `refs/heads/main`) from revisions; use bookmark/tag `<name>` or `<name>@<remote>` syntax instead
- Remove deprecated `ui.revsets-use-glob-by-default` option
- Remove `<kind>:<bookmark>@<remote>` pattern support from `jj bookmark track`/`untrack` commands
About
jj is a Git-compatible version control system that is both simple and powerful. See the installation instructions to get started.
Release highlights
jj runallows you to run a command over a set of changes, each with their own private working copy; the commands may update the working copy and changes/conflicts are propagated accordingly, e.g.,jj run -- cargo check --all-featuresorjj run -- cargo fixbehaves as one might expect.
Breaking changes
-
The deprecated
git_head()andgit_refs()functions have been removed from revsets and templates. -
Git-like symbols (e.g.
refs/heads/main) are no longer resolved to revisions. Use the bookmark/tag<name>or<name>@<remote>syntax instead. -
The deprecated
ui.revsets-use-glob-by-defaultoption has been removed. -
jj bookmark track/untrackno longer supports<kind>:<bookmark>@<remote>patterns. However, the<bookmark>@<remote>symbol syntax is still supported. #9226
Deprecations
New features
-
jj shownow supports--reversedflag. -
jjnow looks for config files in/etc/jj. -
jj config gcwill delete configuration of deleted/moved repos from~/.config/jj/reposfolder. #9362 -
jj runallows you to run a command over a set of changes, each with their own private working copy; the commands may update the working copy and changes/conflicts are propagated accordingly, e.g.,jj run -- cargo check --all-featuresorjj run -- cargo fixbehaves as one might expect. -
jj gerrit uploadnow supports the-o(--option) flag, which works likegit push -o(--push-option). -
jj git fetchnow rebases the descendants of revisions that were rewritten based on their change IDs. Previously, when multiple bookmarked revisions existed in a stack, those rewritten revisions and their descendants wouldn't always be rebased. Note that immutable descendants will not be rebased. -
Add a
forks()revset function that yields all commits with more than 1 child. -
colorsconfig now supports crossed-out text styling with{ crossed-out = true }.
Fixed bugs
-
On Windows, querying a path's file identity no longer follows symbolic links, matching the behavior on Unix. Previously a symlink shared the identity of its target, so two symlinks pointing at the same target were treated as the same file. This identity check is used when writing the working copy to detect aliases of the reserved
.gitand.jjdirectories. #8924 -
jjnow creates a new working-copy revision during snapshotting if the working copy was immutable. Previously, the new revision was created immediately after the working copy became immutable. #7751 #9338 -
jj git remote addnow warns if the new remote exactly matches an existing remote's fetch URL or effective push URL. #413 -
Fixed corrupt loose Git objects on Intel Raptor Lake CPU and aarch64. Previously, jj could report a successful commit even though
git fsckwould later fail withincorrect data check,corrupt loose object, ormissing blob, and later jj operations could fail withcorrupt deflate stream.
Contributors
Thanks to the people who made this release happen!
- adlerd (@adlerd)
- ase (@adamse)
- Atakan Yenel (@atakanyenel)
- Austin Seipp (@thoughtpolice)
- Benjamin Tan (@bnjmnt4n)
- David Rieber (@drieber)
- figsoda (@figsoda)
- Gaëtan Lehmann (@glehmann)
- hexbinoct (@hexbinoct)
- Jakub Stasiak (@jstasiak)
- Jonas Carpay (@jonascarpay)
- Joseph Lou (@josephlou5)
- Josh McKinney (@joshka)
- Josh Steadmon (@steadmon)
- Martin von Zweigbergk (@martinvonz)
- Matt Stark (@matts1)
- Philip Metzger (@PhilipMetzger)
- shoce (@shoce)
- Stephen Jennings (@jennings)
- Thomas Axelsson (@thomas-2nd)
- Vincent Ging Ho Yim (@cenviity)
- Yuya Nishihara (@yuja)