github d5/tengo v1.3.0

latest releases: v2.17.0, v2.16.1, v2.16.0...
5 years ago

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

Don't miss a new tengo release

NewReleases is sending notifications on new releases.