Releases: dolmen-go/goeval
Releases · dolmen-go/goeval
v1.3.0 2025-07-24
New features
- Imports can now be packed with comma:
-i=fmt,os - Internal implementation of "go run" for execution. This allows to drop workarounds for "go run" quirks:
- exit codes are properly returned (
goeval "os.Exit(2)") - non-zero exit code is NOT printed anymore
- workaround for preserving arguments is removed ("go run" looks for flags anywhere on the command line, so we had to inject "--", but to remove it in the program code), so the program code is simplified (-E and -Eplay are now almost the same).
- exit codes are properly returned (
- Binary is built with
-buildvcs=falsefor more build speed - Binary is built with
-trimpathto avoid revealing build details - Document
GOEXPERIMENTwith-Eplayin README
Other changes
- Now requires Go 1.24.x (eases writing tests; feedback welcome if lowering is wanted)
- Stricter checks of
-E,-play,-share,-Eplayflags to disallow invalid values - Started to add regression tests
v1.2.0 2025-06-24
Add go.dev/play as a compilation and execution backend:
- add flag
-playto run the code remotely on the play.golang.org platform (the backend ofgo.dev/play). See examples. - add flag
-Eplayto show the transformed code (transformation forgo.dev/playis different from a local run) - add flag
-shareto store the transformed code ongo.dev/play
v1.1.0
New features
- Add
-go=cmdflag to select an alternate go command - Add the Go modules mode which is enabled by mentionning an explicit module version when importing a package:
-i package@version - In Go modules mode, use the module cache if canonical versions are given for every module, and the code is found in the cache (#5)
- Add
-xflag (similar to-xingo build) to help debugging execution of external commands - ...