Skip to content

Releases: d5/tengo

v1.3.0

03 Feb 07:23
@d5 d5
d90f286
Compare
Choose a tag to compare

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.
  • 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

02 Feb 01:06
@d5 d5
4f222b1
Compare
Choose a tag to compare

Changelog

9e73f40 1. Added documentation on operators. 2. Add (char)-(int) operators
4f222b1 Merge pull request #73 from d5/charop

v1.2.0

01 Feb 19:37
@d5 d5
0d99cca
Compare
Choose a tag to compare

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

31 Jan 20:46
@d5 d5
6420628
Compare
Choose a tag to compare

Changelog

6420628 Merge pull request #70 from d5/fix69
061d800 removed 'case', 'default', 'switch', 'var' keywords

v1.1.0

31 Jan 17:01
@d5 d5
61e534e
Compare
Choose a tag to compare

Changes

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)

v1.0.0

30 Jan 10:08
@d5 d5
f7b0cd8
Compare
Choose a tag to compare

Changes

  • This is the first major release.

v0.9.3

30 Jan 09:34
@d5 d5
Compare
Choose a tag to compare

Changelog

806ddeb fix CLI version command
b19d9de update CLI documentation

v0.9.2

30 Jan 09:24
@d5 d5
Compare
Choose a tag to compare

Changelog

0e9c523 1. fix bytecode compile bug 2. update CLI
a9aa8dc update documentation

v0.9.1

30 Jan 09:00
@d5 d5
Compare
Choose a tag to compare