All notable changes to opam-switch-mode will be documented in this file, in reverse chronological order.
The format is based on Keep a Changelog.
1.7 - 2023-07-26
- README.md: Mention Tuareg and Merlin, regarding opam-switch-mode support
- release.sh: Remove noise (empty headings) in NEWS.md at release time
- (opam-switch--get-switches): Use command
opam switch -s
, so we avoid regexp filtering code, closes #15
1.6 - 2023-07-14
- Use command
opam env --switch=$it --set-switch
, so the env var$OPAMSWITCH
is also set
1.5 - 2023-07-12
- README.md: Use vanilla (not GitHub-flavored) Markdown syntax for snippets
- Replace (redraw-display) with (force-mode-line-update t)
- Memoize (opam-switch-mode-lighter) to speed-up mode-line updates
1.4 - 2023-07-11
- (opam-switch-mode-lighter): Indicate the switch name in the minibuffer, closes #11
- README.md: Document the feature from 1.3
1.3 - 2023-07-11
- New hook: opam-switch-before-change-opam-switch-hook
- (opam-switch-set-switch): Call (run-hooks 'opam-switch-before-change-opam-switch-hook) before changing the env
1.2 - 2023-07-11
- NEWS.md: Changelog
- README.md: Markdown badges
- (opam-switch--reset-env) unexpectedly cleared exec-path, closes #13
- (opam-switch--get-current-switch) returned "_opam" for local switches
- (opam-switch--set-env) raised "No opam-root directory in PATH" for local switches, closes #12
- Replace menu-bar's name (s/Opam-switch/OPSW/) so it matches mode-bar's name
- Change mode-bar's first element, so it expands to "OPSW - Opam Switch Mode"
- release.sh: auto-update NEWS.md
1.1 - 2023-06-20
- release.sh: new script
- tweaks and cleanups by @monnier
1.0 - 2022-11-15
- Initial release, distributed on MELPA.