v0.23.0 #4790
martinvonz
started this conversation in
General
v0.23.0
#4790
Replies: 1 comment
-
|
Sorry, we had some trouble with getting the GitHub actions to run so I had to delete the original 0.23.0 release and create a new one (still same Git tag). Thanks again to @joernchen for finding the security bug and reporting it responsibly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Security fixes
..,.jj,.gitpaths.(GHSA-88h5-6w7m-5w56;CVE-2024-51990)
Breaking changes
Revset function names can no longer start with a number.
Evaluation error of
revsets.short-prefixesconfiguration is now reported.The
HEAD@gitsymbol no longer resolves to the Git HEAD revision. Usegit_head()or@-revset expression instead. Thegit_headtemplatekeyword now returns a boolean.
Help command doesn't work recursively anymore, i.e.
jj workspace help rootdoesn't work anymore.
The color label
op_logfrom the[colors]config section now onlyapplies to the op log and not to the other places operations are displayed. In
almost all cases, if you configured
op_logbefore, you should use the newoperationlabel instead.Default operation log template now shows end times of operations instead of
start times.
Deprecations
git.auto-local-bookmarkreplacesgit.auto-local-branch. The latter remainssupported for now (at lower precedence than the former).
New features
Added diff options to ignore whitespace when comparing lines. Whitespace
changes are still highlighted.
New command
jj simplify-parentswill remove redundant parent edges.jj squashnow supports-f/-tshorthands for--from/--[in]to.Initial support for shallow Git repositories has been implemented. However,
deepening the history of a shallow repository is not yet supported.
jj git clonenow accepts a--depth <DEPTH>option, whichallows to clone the repository with a given depth.
New command
jj file annotatethat annotates files line by line. This is similarin functionality to
git blame. Invoke the command withjj file annotate <file_path>.The output can be customized via the
templates.annotate_commit_summaryconfig variable.
jj bookmark listgained a--remote REMOTEoption to display bookmarksbelonging to a remote. This option can be combined with
--trackedor--conflicted.New command
jj config unsetthat unsets config values. For example,jj config unset --user user.name.jj helpnow has the flag--keyword(shorthand-k), which can give helpfor some keywords (e.g.
jj help -k revsets). To see a list of the availablekeywords you can do
jj help --help.New
at_operation(op, expr)revset can be used in order to query revisionsbased on historical state.
String literals in filesets, revsets and templates now support hex bytes
(with
\eas escape / shorthand for\x1b).New
coalesce(revsets...)revset which returns commits in the first revsetin the
revsetslist that does not evaluate tonone().New template function
raw_escape_sequence(...)preserves escape sequences.Timestamp objects in templates now have
after(date) -> Booleanandbefore(date) -> Booleanmethods for comparing timestamps to other dates.New template functions
pad_start(),pad_end(),truncate_start(), andtruncate_end()are added.Add a new template alias
bultin_log_compact_full_description().Added the config settings
diff.color-words.contextanddiff.git.contexttocontrol the default number of lines of context shown.
Fixed bugs
Error on
trunk()revset resolution is now handled gracefully.#4616
Updated the built-in diff editor
scm-recordto version0.4.0, which
includes multiple fixes.
Contributors
Thanks to the people who made this release happen!
This discussion was created from the release v0.23.0.
Beta Was this translation helpful? Give feedback.
All reactions