Skip to content

Release: v2.4.0 - #183

Merged
kkew3 merged 82 commits into
releasefrom
main
Nov 28, 2026
Merged

kkew3 merged 82 commits into
releasefrom
main

Conversation

@kkew3

@kkew3 kkew3 commented Nov 28, 2026

Copy link
Copy Markdown
Owner

This release features a new API jieba_vim#model#cword() and a bunch of functions built around it. It also includes bug fixes on 'iskeyword' and the yank register, and improvement in documentation. Furthermore, by upgrading the core dependency jieba-rs, the warmup wall time is halved to 0.04 seconds.

kkew3 and others added 30 commits October 26, 2026 10:54
Clarify how to extend jieba default dictionary.
Bumps the rust-deps group in /rust_backend with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [proptest](https://github.com/proptest-rs/proptest) | `1.11.0` | `1.12.0` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.151` | `1.0.154` |
| [jieba-rs](https://github.com/messense/jieba-rs) | `0.10.4` | `0.11.0` |
| [pyo3-build-config](https://github.com/pyo3/pyo3) | `0.29.2` | `0.30.1` |
| [mlua](https://github.com/mlua-rs/mlua) | `0.12.1` | `0.12.2` |


Updates `proptest` from 1.11.0 to 1.12.0
- [Release notes](https://github.com/proptest-rs/proptest/releases)
- [Changelog](https://github.com/proptest-rs/proptest/blob/main/CHANGELOG.md)
- [Commits](proptest-rs/proptest@v1.11.0...v1.12.0)

Updates `serde_json` from 1.0.151 to 1.0.154
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.151...v1.0.154)

Updates `jieba-rs` from 0.10.4 to 0.11.0
- [Release notes](https://github.com/messense/jieba-rs/releases)
- [Commits](messense/jieba-rs@v0.10.4...v0.11.0)

Updates `pyo3-build-config` from 0.29.2 to 0.30.1
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.30.1/CHANGELOG.md)
- [Commits](PyO3/pyo3@v0.29.2...v0.30.1)

Updates `mlua` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/mlua-rs/mlua/releases)
- [Changelog](https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md)
- [Commits](mlua-rs/mlua@v0.12.1...v0.12.2)

---
updated-dependencies:
- dependency-name: proptest
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-deps
- dependency-name: serde_json
  dependency-version: 1.0.154
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-deps
- dependency-name: jieba-rs
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-deps
- dependency-name: pyo3-build-config
  dependency-version: 0.30.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-deps
- dependency-name: mlua
  dependency-version: 0.12.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Because otherwise there will be a version divergence from `pyo3`, whose
implication is unclear. Importantly, `pyo3` v0.29 supports python 3.8
whereas v0.30 onwards does not.
…-deps-0b3f1660fe

Bump the rust-deps group in /rust_backend with 4 updates.
Migrate from deprecated macos-14 runner to macos-15 in CI/CD.
The goal is to make running the benchmark as simple as

```bash
uv run run_bench.py
```

which also generates json data and a markdown report.
Particularly, don't use plugin manager.
In order to stop inflating the repository.
Make numpy an optional dependency.
kkew3 and others added 27 commits November 11, 2026 14:32
Support cmdline editing ctrl r ctrl w.
We establish the expected behaviors in the test file. Quoted below:

> Expected behaviors:
> (CAVEAT: different from builtin behaviors, register "1 is always written)
>
> - Unnamed yank goes to "0 and "".
> - Named yank goes to the named register and "".
> - Unnamed inline delete goes to "1, "- and "".
> - Unnamed multiline delete goes to "1 and "".
> - Named inline delete goes to "1, the named register and "".
> - Named multiline delete goes to "1, the named register and "".
fix(omap): do not clobber register 0 on playback without an explicit register

We establish the expected behaviors in the test file. Quoted below:

> Expected behaviors:
> (CAVEAT: different from builtin behaviors, register "1 is always written)
>
> - Unnamed yank goes to "0 and "".
> - Named yank goes to the named register and "".
> - Unnamed inline delete goes to "1, "- and "".
> - Unnamed multiline delete goes to "1 and "".
> - Named inline delete goes to "1, the named register and "".
> - Named multiline delete goes to "1, the named register and "".
Add model APIs to Vim help text.
Prepare for release 2.4.0.
@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.76636% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust_backend/jieba_vim_rs_core/src/motion/api.rs 0.00% 16 Missing ⚠️
...backend/jieba_vim_rs_core/src/motion/core/cword.rs 63.15% 7 Missing ⚠️
...ackend/jieba_vim_rs_core/src/motion/core/buffer.rs 87.50% 1 Missing ⚠️
...eba_vim_rs_core/src/motion/policy/adjust_cursor.rs 88.88% 1 Missing ⚠️
...vim_rs_core/src/motion/policy/exclusive_special.rs 88.88% 1 Missing ⚠️
...st_backend/jieba_vim_rs_core/src/token/tokenize.rs 80.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
...ust_backend/jieba_vim_rs_core/src/motion/nmap_e.rs 100.00% <100.00%> (ø)
...ust_backend/jieba_vim_rs_core/src/motion/nmap_w.rs 100.00% <100.00%> (ø)
...st_backend/jieba_vim_rs_core/src/motion/omap_aw.rs 76.92% <100.00%> (-15.39%) ⬇️
...ust_backend/jieba_vim_rs_core/src/motion/omap_b.rs 76.00% <100.00%> (-16.00%) ⬇️
...ust_backend/jieba_vim_rs_core/src/motion/omap_e.rs 73.91% <100.00%> (-17.40%) ⬇️
...st_backend/jieba_vim_rs_core/src/motion/omap_ge.rs 75.00% <100.00%> (-16.67%) ⬇️
...st_backend/jieba_vim_rs_core/src/motion/omap_iw.rs 76.92% <100.00%> (-15.39%) ⬇️
...ust_backend/jieba_vim_rs_core/src/motion/omap_w.rs 84.61% <100.00%> (-10.26%) ⬇️
...d/jieba_vim_rs_core/src/motion/policy/d_special.rs 100.00% <100.00%> (ø)
...a_vim_rs_core/src/motion/policy/position_cursor.rs 100.00% <100.00%> (ø)
... and 9 more

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kkew3
kkew3 marked this pull request as ready for review November 28, 2026 04:36
@kkew3
kkew3 merged commit ece63bb into release Nov 28, 2026
71 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants