jj (Jujutsu) v0.40.0 is released with several new features: new revset functions `diff_lines_added()` and `diff_lines_removed()` for matching diff content, an optional `end` parameter in `String.substr()`, a `.root()` method on `WorkspaceRef` templates, and improvements to the `jj arrange` TUI including showing immediate parents/children and smarter swap actions. The `jj op log` now shows the workspace name, `config()` template function accepts dynamic expressions, and diff colors can be configured per format. Bug fixes include correct parsing of UTF-8 BOM `.gitignore` files and a fix for gpgsm 2.5.x incompatibility.
Table of contents
AboutRelease highlightsBreaking changesDeprecationsNew featuresFixed bugsContributorsSort: