v0.36.0 #8217
Replies: 3 comments 1 reply
-
|
Ah yeah, |
Beta Was this translation helpful? Give feedback.
-
|
All the links to docs seem to be broken, they point inside Github discussions. This is likely an artifact of repurposing the markdown from CHANGELOG.md to here. |
Beta Was this translation helpful? Give feedback.
-
|
Hello! I have a question about
Why could this be? I even tried doing I also added this to my config but no luck Key thing to note is that I didn't make the repo, and am not the repo owner. I am just a user working on it. Is this a possible reason why? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
About
jj is a Git-compatible version control system that is both simple and powerful. See
the installation instructions to get started.
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
jjcommands in colocated repositories. It is now safe tocontinuously run e.g.
jj logwithout--ignore-working-copyin oneterminal while you're running other commands in another terminal.
#6830
jjnow ignores$PAGERset in the environment and usesless -FRXon mostplatforms (
:builtinon Windows). See the docs formore information, and #3502 for
motivation.
Breaking changes
In filesets or path patterns, glob matching
is enabled by default. You can use
cwd:"path"to match literal paths.In the following commands, string pattern
arguments are now parsed the same way they
are in revsets and can be combined with logical operators:
jj bookmark delete/forget/list/move,jj tag delete/list,jj git clone/fetch/pushIn the following commands, unmatched bookmark/tag names is no longer an
error. A warning will be printed instead:
jj bookmark delete/forget/move/track/untrack,jj tag delete,jj git clone/pushThe default string pattern syntax in revsets will be changed to
glob:in afuture release. You can opt in to the new default by setting
ui.revsets-use-glob-by-default=true.Upgraded
scm-recordfrom v0.8.0 to v0.9.0. See release notes athttps://github.com/arxanas/scm-record/releases/tag/v0.9.0.
The minimum supported Rust version (MSRV) is now 1.89.
On macOS, the deprecated config directory
~/Library/Application Support/jjis not read anymore. Use
$XDG_CONFIG_HOME/jjinstead (defaults to~/.config/jj).Sub-repos are no longer tracked. Any directory containing
.jjor.gitis ignored. Note that Git submodules are unaffected by this.
Deprecations
The
--destination/-darguments forjj rebase,jj split,jj revert,etc. were renamed to
--onto/-o. The reasoning is that--onto,--insert-before, and--insert-afterare all destination arguments, socalling one of them
--destinationwas confusing and unclear. The old nameswill 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 --editis deprecated in favor of--editor.The config options
git.auto-local-bookmarkandgit.push-new-bookmarksaredeprecated in favor of
remotes.<name>.auto-track-bookmarks. For example:For more details, refer to
the docs.
The flag
--allow-newonjj git pushis deprecated. In order to push newbookmarks, please track them with
jj bookmark track. Alternatively, considersetting up an auto-tracking configuration to avoid the chore of tracking
bookmarks manually. For example:
For more details, refer to
the docs.
New features
jj commit,jj describe,jj squash, andjj splitnow accept--editor, which ensures an editor will be opened with the commitdescription even if one was provided via
--message/-m.All
jjcommands show a warning when the providedfilesetexpressiondoesn't match any files.
Added
files()template function toDiffStats. This supports per-file statslike
lines_added()andlines_removed()Added
join()template function. This is different fromseparate()in thatit adds a separator between all arguments, even if empty.
RepoPathtemplate type now has aabsolute() -> Stringmethod that returnsthe absolute path as a string.
Added
format_path(path)template that controls how file paths are printedwith
jj file list.New built-in revset aliases
visible()andhidden().Unquoted
*is now allowed in revsets.bookmarks(glob:foo*)no longerneeds quoting.
jj prev/next --no-editnow generates an error if the working-copy has somechildren.
A new config option
remotes.<name>.auto-track-bookmarkscan be set to astring pattern. New bookmarks matching it will be automatically tracked for
the specified remote. See
the docs.
jj lognow supports a--countflag to print the number of commits insteadof displaying them.
Fixed bugs
jj fixnow prints a warning if a tool failed to run on a file.#7971
Shell completion now works with non‑normalized paths, fixing the previous
panic and allowing prefixes containing
.or..to be completed correctly.#6861
Shell completion now always uses forward slashes to complete paths, even on
Windows. This renders completion results viable when using jj in Git Bash.
#7024
Unexpected keyword arguments now return a parse failure for the
coalesce()and
concat()templating functions.Nushell completion script documentation add
-foption, to keep it up todate.
#8007
Ensured that with Git submodules, remnants of your submodules do not show up
in the working copy after running
jj new.#4349
Contributors
Thanks to the people who made this release happen!
This discussion was created from the release v0.36.0.
Beta Was this translation helpful? Give feedback.
All reactions