Skip to content

v3.6.20

Choose a tag to compare

@github-actions github-actions released this 27 May 05:56
· 887 commits to main since this release

Fixed

  • Critical: OnceLock reentrancy deadlock on Linux (#301): All shell hook commands (ls, cat, etc.) and lean-ctx update hung after upgrading to v3.6.19. Caused by active_profile_name() calling Config::load(), which re-entered find_project_root()'s OnceLock via SessionState::load_latest()normalize_loaded_session()active_profile(). Fixed by reading the profile config key directly from disk (bypassing the full Config::load() pipeline) and removing the active_profile() call from session normalization.

Upgrade

lean-ctx update                 # recommended (auto-downloads + refreshes shell hooks)
cargo install lean-ctx          # or
npm update -g lean-ctx-bin      # or
brew upgrade lean-ctx

Note: After upgrading via cargo/npm/brew, run lean-ctx setup to refresh shell aliases. lean-ctx update does this automatically.

Full Changelog: v3.6.20...v3.6.20