Releases: d5/tengo
Releases · d5/tengo
v1.3.0
Changes
- Major changes in modules
- Modules need to
export
values explicitly. - Fixed a bug where module-global variables were not accessible from other module functions.
- Improvements in module loading speed (no separate VM spawned)
- Removed
Script.AddModule
. Use Script.SetUserModuleLoader instead. - These are breaking changes, but, I decided to keep
v1
. I apologize if you are affected.
- Modules need to
- Fixed an issue with recursive local-scope functions (#56)
- Fixed
len()
builtin function bug - Fixed array/string slicing expression bug
Changelog
c57a7f8 Fix a bug where len() builtin does not take immutable array
9c21c8a Fix a bug where user modules couldn't resolve builtin functions
5713eb6 Fix a slicing expression bug: allow low-index == len(a)
eda0495 Fix several module-related issues
d90f286 Merge pull request #74 from d5/iarrlen
v1.2.1
v1.2.0
Changes
- Added Compiled.Set function so the value of global variables can be replaced after the script is compiled. The compiled script can be re-run using the replaced values.
Changelog
0d99cca Merge pull request #72 from d5/compiledset
4f46460 Update documentation for compiled scripts
6a663c6 add script.Compiled.Set
function so compiled script can replace value of global variables
v1.1.1
v1.1.0
Changes
- Added Script.AddModule to add other scripts as import modules
Changelog
61e534e Merge pull request #64 from d5/scriptmodule
46c7190 Script.AddModule() to take *Script not *Compiled
44248b8 Update interoperability.md
85d90f6 Update objects.md
950cb79 update documentation
edc23cf working on script modules (WIP)