From 7f0d7f1bc7b3b4aaf9fca69ce3636e676abed192 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 22 Feb 2021 12:38:09 +0800 Subject: [PATCH] Add breaking changes. --- RELEASES.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index 2bc2a021..0e1c7177 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -9,6 +9,13 @@ Bug fixes * Bug in `Position::is_beginning_of_line` is fixed. +Breaking changes +---------------- + +* For plugin functions, constants passed to methods (i.e. `&mut` parameter) now raise an error unless the functions are marked with `#[rhai_fn(pure)]`. +* Visibility (i.e. `pub` or not) for generated _plugin_ modules now follow the visibility of the underlying module. +* Default stack-overflow and top-level expression nesting limits for release builds are lowered to 64 from 128. + New features ------------