Skip to content

Releases: d5/tengo

v1.17.0

18 Mar 15:18
@d5 d5
61890b1
Compare
Choose a tag to compare

Changes

  • add objects.Importable interface with 2 implementations
    • objects.BuiltinModule: importable module written in Go
    • objects.SourceModule: importable module written in Tengo
  • remove print, println, printf, sprintf, to_json, from_json builtin functions
  • add "fmt" and "json" standard library
  • remove Script.SetBuiltinFunctions, Script.SetBuiltinModules, Script.SetUserModuleLoader functions
  • add Script.SetImports function
  • builtin functions cannot be disabled

Changelog

61890b1 module refactor (#148)

1.16.1

16 Mar 21:01
@d5 d5
Compare
Choose a tag to compare

Changelog

052ae59 Refactored duplicate REPL code (#145)

v1.16.0

16 Mar 07:17
@d5 d5
Compare
Choose a tag to compare

Changelog

ebddfd1 Added println (#144)
17329aa update benchmark result with v1.15.0 (#141)

v1.15.0

14 Mar 08:10
@d5 d5
Compare
Choose a tag to compare

Changelog

5d8457a Removed double indirection for massive performance gains (#140)

v1.14.2

13 Mar 10:10
@d5 d5
1921d90
Compare
Choose a tag to compare

Changelog

1921d90 fix scipt.Variable.Value() bug (#139)

v1.14.1

13 Mar 09:28
@d5 d5
8707fd6
Compare
Choose a tag to compare

Changelog

8707fd6 fix to_json builtin function bug (#138)

v1.14.0

08 Mar 09:14
@d5 d5
b7977a4
Compare
Choose a tag to compare

Changelog

b7977a4 add Compiled.Clone to make them safe for concurrent execution (#134)

v1.13.0

07 Mar 01:23
@d5 d5
e93f6f6
Compare
Choose a tag to compare

Changes

  • add object allocation limit in VM
  • delete objects.Break, objects.Continue, objects.ReturnValue
  • add Script.SetMaxAllocs()
  • add Script.SetMaxConstObjects()
  • add Bytecode.RemoveDuplicates()
  • add Bytecode.CountObjects()

Changelog

e93f6f6 limit max object allocations (#129)

v1.12.1

05 Mar 21:56
@d5 d5
Compare
Choose a tag to compare

Changelog

46884c7 Removed redundant code in the VM with no performance loss. (#132)
a373584 Updated docs for SetBuiltinFunctions and SetBuiltinModules (#131)

v1.12.0

04 Mar 18:25
@d5 d5
Compare
Choose a tag to compare

Changelog

c437def Decoupled stdlib from vm, script and compiler (#126)
68cd38e minor doc update