Skip to content

Releases: traefik/yaegi

v0.11.3

07 Apr 13:19
f07f25f
Compare
Choose a tag to compare

Changelog

  • c93b836 Prevent variadic arguments from being wrapped as function
  • 8bd7afb interp: fix handling of redeclaration in multi-assign expression (#1367)
  • 8ea3a49 interp: fix interface conversion from binary call (#1366)
  • f2abd34 interp: fix passing binary function as parameter
  • 371103f interp: fix switch expression (#1370)
  • f07f25f interp: handle struct with multiple recursive fields (#1372)
  • 14acf61 interp: improve type switch on binary interfaces
  • c784713 interp: make methods passed as value preserve receiver

v0.11.2

21 Dec 17:03
fbee2ba
Compare
Choose a tag to compare

Changelog

  • 2819b41 interp: fix derivation of type of slice expression of binary object
  • 8323068 interp: fix nested calls with variadic interfaces
  • fbee2ba interp: fix wrapping of returned closure passed to runtime
  • 2af660c interp: improve method resolution on embedded fields

v0.11.1

30 Nov 15:16
5b62f9f
Compare
Choose a tag to compare

Changelog

  • dd7197f interp: fix assign of multiple return function call
  • 5b62f9f interp: fix setting of interface value from nested function calls
  • 4f66e3f interp: fix type switch when the case type is an interpreted interface
  • da03c92 interp: get rid of deprecated stdlib package ioutil
  • 9620116 interp: replace value.Type().Kind() by value.Kind()
  • 1335b4c stdlib: add wrappers for go/build/constraint package

v0.11.0

09 Nov 10:44
9214806
Compare
Choose a tag to compare

Changelog

b1a758d extract: add an option to be able to set build tag to the created file
808f0bd interp: add a function to directly compile Go AST
7617b8a interp: add args option to let each interpreter have seperate args
836060c interp: allow GTA revisit for unresolved define statements
348e713 interp: avoid collision between type and variable names in assign
afa46da interp: fix assignment to a dereferenced struct pointer
c847481 interp: fix comparison operators in if statement
f46ef67 interp: fix computation of ellipsis array length
aa7f084 interp: fix goto to a label with no statement
98c2dcd interp: fix interface wrapper for struct types
9214806 interp: fix populating array of interfaces
5bf4dae interp: fix type check of methods with a receiver of interface kind
cb81fe4 interp: fix type processing to support multiple recursive fields
4e06abe interp: fix unsafe2 to work on 32 bits architectures
229ddfd interp: fix use of builtins in type definitions
84424b5 interp: handle alias of an alias
286d6c6 interp: handle recursive and incomplete seen types in nodeType
e56db3b interp: improve interface wrappers when used by reflect
d3bbe01 interp: improve support of composed interfaces
c5c6012 interp: support type spec assign
a876bb3 interp: virtualize environment in restricted mode
3c00da2 stdlib: add wrappers for standard lib runtime/metrics package

v0.10.0

15 Sep 15:29
b591ba0
Compare
Choose a tag to compare

Changelog

91a55cc interp: add debug interface
b5bf4ef interp: allow for reading source files from diverse filesystems
da922ce interp: build type strings on the fly
05f08d7 interp: complete type constructors
4af992b interp: create real recursive types with unsafe type swapping
b591ba0 interp: do not export RealFS, used internally only
e7c0f68 interp: fix Clone documentation
d2b25a7 interp: fix append with 1 argument
d2569a8 interp: fix default types for runes
3eb2c79 interp: fix nil funcs in composite literals
45d569c interp: fix parsing of late binding consts
b7f9a39 interp: fix support of 32 bits and big-endian arch
5af51ae interp: fix type selector precedence
c33caeb interp: improve handling of wrapped interface values
bd9a6a4 interp: improve processing of recursive types
772cd68 interp: make use of type constructors
4653d87 interp: types should not recover data for aliases
a69b9bc stdlib: support go1.17 unsafe functions

v0.9.23

17 Aug 14:48
b84278d
Compare
Choose a tag to compare

Changelog

b84278d stdlib: remove wrapper of runtime/cgo

v0.9.21

20 Jul 08:15
c7fcfa8
Compare
Choose a tag to compare

Changelog

c7fcfa8 interp: fix interface wrapper generation

v0.9.20

15 Jul 11:31
538182e
Compare
Choose a tag to compare

Changelog

bd2cb06 Update README.md
fc97079 interp: add support of interface wrappers to type assertions
538182e interp: fix append of values to an array of interface objects
f6d0cf9 interp: fix array declaration with a typed constant size
c503855 interp: fix handling of interface value in forwarding return calls
78d7e85 interp: fix method resolution on pointer to binary values
13d554a interp: fix receiver for exported method objects
4fcf90e interp: fix swap assign with extra operation
25b570d interp: fix the detection of builtin calls during parsing
77acfb4 interp: fix type checking of address of multi dimension array
297b40d interp: improve field and method resolution in presence of collisions.

v0.9.19

24 Jun 14:40
e32b2ab
Compare
Choose a tag to compare

Changelog

2a0d29a Add a newline after src in wrapInMain
3d1a210 Avoid unnecessary calls to FieldByIndex
25c2a43 Correctly resolve type aliases when building array literals
3659401 Fix handling of ImportUsed packages
1df5dc2 Update Interpreter.Use API
b19afbf interp: avoid panic in output value generation for recursive types
93e2db7 interp: fix a wrong control flow in switch
db955e6 interp: fix append a slice on binary slice
8f9eccd interp: fix assign of function values with binary methods
b1ef925 interp: fix detection of binary types implementing interfaces
dd03989 interp: fix handing nil when appending to a slice
a6762d5 interp: fix use of unrestricted symbols
ab44c38 interp: handle binary array literals
e32b2ab interp: improve handling of interface values
b2a11ea interp: preserve concrete type when converting type to interface

v0.9.18

27 May 11:53
c4174a7
Compare
Choose a tag to compare

Changelog

cdc6b77 interp: add ImportUsed method to pre-import compiled packages
0ba64fc interp: add example to show use of Self
33a532e interp: fix a bug when assigning to an empty interface
c4174a7 interp: fix assign of function call with implicit type assert.
847cd7e interp: fix calling of variadic binary methods
e29de04 interp: fix constant types from imported packages
bcb8546 interp: fix goto label by not overwriting destination
c86436a interp: fix litteral map containing binary functions
29e912e interp: fix method lookup on pointers to binary types
d16bd4b interp: fix package name extraction from import path
2f9fe70 interp: fix relative import path detection on MS-Windows
befa5a2 interp: fix return of function call involving a type conversion
45c7b80 interp: fix special range on string
17d5f18 interp: fix support of interpreted functions in map values
5f8be70 interp: fix type string extraction for wrapped constants
5530eca interp: give a self to the interpreter
fbf897b interp: improve type check of binary methods
4788775 interp: improve type checking for "+" operator
c694551 interp: sandbox to preserve type of os.Stdin os.Stdout and os.Stderr
c8d9e25 stdlib: add wrapper for testing/fstest package in go1.16