Releases: ubolonton/emacs-module-rs
Releases · ubolonton/emacs-module-rs
0.18.0
0.17.0
- Added
OnceGlobalRef
, which eases the initialization of static references to long-lived Lisp values.- Added
use_symbols!
, which enables module code to use Lisp symbols without repeatedly interning them. - Added
define_errors!
andEnv::signal
to simplify the process of defining and signaling custom Lisp errors.
- Added
- Raised the minimum supported Rust version to 1.45.
- Added
ResultExt::or_signal
to make it more convenient to convert a Rust error into a Lisp error. - Remove
ResultExt::unwrap_or_propagate
.
0.16.2
0.16.1
0.16.0
0.15.1
0.15.0
- Disabled the workaround for Emacs's GC bug #31238 if possible (i.e. in Emacs 27+, where the bug was fixed). This should speed up module code in newer Emacs versions.
0.14.1
- Fixed proc macro's hygiene issues, for compatibility with Rust 1.47. Example:
emacs-tree-sitter
fails to compile.
For details, see Rust's release note and PR that introduced this change.
0.14.0
0.13.0
- Added
GlobalRef
, which allows keeping Lisp values around without anEnv
. - Reduced indirection when calling common built-in subroutines through
Env
. - Removed
module_init!
,export_functions!
, and their aliases. - Replaced
lazy_static
dependency withonce_cell
. - Fixed memory leaks caused by the memory safety fix for #2.