release: 0.36.0

This commit is contained in:
Martin von Zweigbergk 2025-12-03 21:00:44 -08:00 committed by Austin Seipp
parent 3a3834d4b2
commit 70fd8f7697
4 changed files with 94 additions and 35 deletions

View file

@ -8,11 +8,34 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
The documentation has moved from <https://jj-vcs.github.io/jj/> to
<https://docs.jj-vcs.dev/>.
### Breaking changes
301 redirects are being issued towards the new domain, so any existing links
should not be broken.
### Deprecations
### New features
### Fixed bugs
## [0.36.0] - 2025-12-03
### Release highlights
* The documentation has moved from <https://jj-vcs.github.io/jj/> to
<https://docs.jj-vcs.dev/>.
301 redirects are being issued towards the new domain, so any existing links
should not be broken.
* Fixed race condition that could cause divergent operations when running
concurrent `jj` commands in colocated repositories. It is now safe to
continuously run e.g. `jj log` without `--ignore-working-copy` in one
terminal while you're running other commands in another terminal.
[#6830](https://github.com/jj-vcs/jj/issues/6830)
* `jj` now ignores `$PAGER` set in the environment and uses `less -FRX` on most
platforms (`:builtin` on Windows). See [the docs](docs/config.md#pager) for
more information, and [#3502](https://github.com/jj-vcs/jj/issues/3502) for
motivation.
### Breaking changes
@ -37,11 +60,6 @@ should not be broken.
* Upgraded `scm-record` from v0.8.0 to v0.9.0. See release notes at
<https://github.com/arxanas/scm-record/releases/tag/v0.9.0>.
* `jj` now ignores `$PAGER` set in the environment and uses `less -FRX` on most
platforms (`:builtin` on Windows). See [the docs](docs/config.md#pager) for
more information, and [#3502](https://github.com/jj-vcs/jj/issues/3502) for
motivation.
* The minimum supported Rust version (MSRV) is now 1.89.
* On macOS, the deprecated config directory `~/Library/Application Support/jj`
@ -49,14 +67,16 @@ should not be broken.
`~/.config/jj`).
* Sub-repos are no longer tracked. Any directory containing `.jj` or `.git`
is ignored. Note that git submodules are unaffected by this.
is ignored. Note that Git submodules are unaffected by this.
### Deprecations
* The `--destination`/`-d` arguments for `jj rebase`, `jj split`, `jj revert`,
etc. were renamed to `--onto`/`-o`. The old names will be removed at some
point in the future, but we realize that they are deep in muscle memory, so
you can expect an unusually long deprecation period.
etc. were renamed to `--onto`/`-o`. The reasoning is that `--onto`,
`--insert-before`, and `--insert-after` are all destination arguments, so
calling one of them `--destination` was confusing and unclear. The old names
will be removed at some point in the future, but we realize that they are
deep in muscle memory, so you can expect an unusually long deprecation period.
* `jj describe --edit` is deprecated in favor of `--editor`.
@ -89,6 +109,12 @@ should not be broken.
* All `jj` commands show a warning when the provided `fileset` expression
doesn't match any files.
* Added `files()` template function to `DiffStats`. This supports per-file stats
like `lines_added()` and `lines_removed()`
* Added `join()` template function. This is different from `separate()` in that
it adds a separator between all arguments, even if empty.
* `RepoPath` template type now has a `absolute() -> String` method that returns
the absolute path as a string.
@ -108,15 +134,9 @@ should not be broken.
the specified remote. See
[the docs](docs/config.md#automatic-tracking-of-bookmarks).
* Added `join()` template function. This is different from `separate()` in that
it adds a separator between all arguments, even if empty.
* `jj log` now supports a `--count` flag to print the number of commits instead
of displaying them.
* Added `files()` template function to `DiffStats`. This supports per-file stats
like `lines_added()` and `lines_removed()`
### Fixed bugs
* `jj fix` now prints a warning if a tool failed to run on a file.
@ -133,16 +153,54 @@ should not be broken.
* Unexpected keyword arguments now return a parse failure for the `coalesce()`
and `concat()` templating functions.
* Fixed race condition that could cause divergent operations when multiple jj
processes concurrently import/export Git HEAD in colocated repositories.
[#6830](https://github.com/jj-vcs/jj/issues/6830)
* Nushell completion script documentation add `-f` option, to keep it up to
date.
[#8007](https://github.com/jj-vcs/jj/issues/8007)
* Ensured that with git submodules, remnants of your submodules do not show up
in the working copy after running `jj new`
* Ensured that with Git submodules, remnants of your submodules do not show up
in the working copy after running `jj new`.
[#4349](https://github.com/jj-vcs/jj/issues/4349)
### Contributors
Thanks to the people who made this release happen!
* abgox (@abgox)
* ase (@adamse)
* Björn Kautler (@Vampire)
* Bryce Berger (@bryceberger)
* Chase Naples (@cnaples79)
* David Higgs (@higgsd)
* edef (@edef1c)
* Evan Mesterhazy (@emesterhazy)
* Fedor (@sheremetyev)
* Gaëtan Lehmann (@glehmann)
* George Christou (@gechr)
* Hubert Lefevre (@Paluche)
* Ilya Grigoriev (@ilyagr)
* Jonas Greitemann (@jgreitemann)
* Joseph Lou (@josephlou5)
* Julia DeMille (@judemille)
* Kaiyi Li (@06393993)
* Kyle Lippincott (@spectral54)
* Lander Brandt (@landaire)
* Lucio Franco (@LucioFranco)
* Luke Randall (@lukerandall)
* Martin von Zweigbergk (@martinvonz)
* Matt Stark (@matts1)
* Mitchell Skaggs (@magneticflux-)
* Peter Schilling (@schpet)
* Philip Metzger (@PhilipMetzger)
* QingyaoLin (@QingyaoLin)
* Remo Senekowitsch (@senekor)
* Scott Taylor (@scott2000)
* Stephen Jennings (@jennings)
* Steve Klabnik (@steveklabnik)
* Tejas Sanap (@whereistejas)
* Tommi Virtanen (@tv42)
* Velociraptor115 (@Velociraptor115)
* Vincent Ging Ho Yim (@cenviity)
* Yuya Nishihara (@yuja)
## [0.35.0] - 2025-11-05
@ -4314,7 +4372,8 @@ No changes, only trying to get the automated build to work.
Last release before this changelog started.
[unreleased]: https://github.com/jj-vcs/jj/compare/v0.35.0...HEAD
[unreleased]: https://github.com/jj-vcs/jj/compare/v0.36.0...HEAD
[0.36.0]: https://github.com/jj-vcs/jj/compare/v0.35.0...v0.36.0
[0.35.0]: https://github.com/jj-vcs/jj/compare/v0.34.0...v0.35.0
[0.34.0]: https://github.com/jj-vcs/jj/compare/v0.33.0...v0.34.0
[0.33.0]: https://github.com/jj-vcs/jj/compare/v0.32.0...v0.33.0

10
Cargo.lock generated
View file

@ -1157,7 +1157,7 @@ dependencies = [
[[package]]
name = "gen-protos"
version = "0.35.0"
version = "0.36.0"
dependencies = [
"prost-build",
]
@ -2346,7 +2346,7 @@ dependencies = [
[[package]]
name = "jj-cli"
version = "0.35.0"
version = "0.36.0"
dependencies = [
"assert_cmd",
"assert_matches",
@ -2410,7 +2410,7 @@ dependencies = [
[[package]]
name = "jj-lib"
version = "0.35.0"
version = "0.36.0"
dependencies = [
"assert_matches",
"async-trait",
@ -2469,7 +2469,7 @@ dependencies = [
[[package]]
name = "jj-lib-proc-macros"
version = "0.35.0"
version = "0.36.0"
dependencies = [
"proc-macro2",
"quote",
@ -4096,7 +4096,7 @@ dependencies = [
[[package]]
name = "testutils"
version = "0.35.0"
version = "0.36.0"
dependencies = [
"async-trait",
"bstr",

View file

@ -5,7 +5,7 @@ resolver = "3"
members = ["cli", "lib", "lib/gen-protos", "lib/proc-macros", "lib/testutils"]
[workspace.package]
version = "0.35.0"
version = "0.36.0"
license = "Apache-2.0"
rust-version = "1.89" # NOTE: remember to update CI, mise.toml, contributing.md, changelog.md, and install-and-setup.md
edition = "2024"
@ -129,8 +129,8 @@ winreg = "0.55"
# put all inter-workspace libraries, i.e. those that use 'path = ...' here in
# their own (alphabetically sorted) block
jj-lib = { path = "lib", version = "0.35.0", default-features = false }
jj-lib-proc-macros = { path = "lib/proc-macros", version = "0.35.0" }
jj-lib = { path = "lib", version = "0.36.0", default-features = false }
jj-lib-proc-macros = { path = "lib/proc-macros", version = "0.36.0" }
testutils = { path = "lib/testutils" }
[workspace.lints.clippy]

View file

@ -2,7 +2,7 @@
## Update changelog and Cargo versions
Send a PR similar to <https://github.com/jj-vcs/jj/pull/5215>. Feel free to
Send a PR similar to <https://github.com/jj-vcs/jj/pull/7954>. Feel free to
copy-edit the changelog in order to:
* Populate "Release highlights" if relevant