Skip to content

Releases: robbyt/go-polyscript

v0.8.0

14 Jun 17:39
70c3a2e

Choose a tag to compare

What's Changed

  • add Risor/Starlark/Extism + Source/Option API; deprecate FromXxx constructors by @robbyt in #103
  • make slog.Handler optional in engine subpackages; drop dead engines.NewEvaluator dispatcher by @robbyt in #105
  • fix: stop mutating caller's *http.Request in RequestToMap by @robbyt in #106
  • fix: cap HTTP-loaded script body size to prevent unbounded read DoS by @robbyt in #107
  • fix: unify nil-handler handling on slog.Default(); drop stale TODOs by @robbyt in #110
  • fix: relax WithLogHandler(nil)/WithLogger(nil) to no-op across engines by @robbyt in #113
  • cleanup: drop redundant nil-handler guards; tighten WithLogHandler doc by @robbyt in #114
  • docs: add LOGGING.md describing the logging philosophy by @robbyt in #115
  • fix(extism): convert bare top-level json.Number in FixJSONNumberTypes by @robbyt in #117
  • Update actions/dependency-review-action action to v5 by @renovate[bot] in #116
  • fix(risor,starlark): make WithGlobals additive; drop dead URL check by @robbyt in #118
  • test(extism): cover Eval loadInputData and ConvertToExtismFormat errors by @robbyt in #119
  • docs: add CHANGELOG.md by @robbyt in #120
  • fix(extism): include WASM output in non-zero-exit-code error by @robbyt in #121
  • feat(extism): WithExitOutputMaxBytes option to configure non-zero-exit error cap by @robbyt in #123
  • cleanup: delete orphan *Executable structs from adapter packages by @robbyt in #124
  • test(risor,starlark): regression test for Eval cancellation timing by @robbyt in #127
  • fix(data): deep-copy nested maps in ContextProvider.AddDataToContext by @robbyt in #128
  • fix(loader): cache SHA in FromHTTP so String() no longer makes HTTP calls by @robbyt in #131
  • test(httpauth): drop time.Sleep+1ns timeout dance in cancellation tests by @robbyt in #132
  • test(starlark): use testing/synctest for TestEval_NoGoroutineLeak by @robbyt in #133
  • feat(starlark): expose *starlark.EvalError via rich Error type by @robbyt in #134
  • feat(risor): rich Error type; drop (result, err) three-state shape by @robbyt in #135
  • Add error path testing for Compiler.Compile() by @robbyt in #136
  • rename machine -> engine for all internal terminology by @robbyt in #137
  • inline mocks; remove public testify exports by @robbyt in #138
  • refactor(script): unexport ExecutableUnit fields by @robbyt in #139
  • docs: explain Risor vs Starlark callable-return divergence by @robbyt in #140
  • fix(deps): update go.starlark.net digest to ec58d4b by @renovate[bot] in #142
  • refactor(platform): tighten EvaluatorResponse — ExecTime, ScriptExeID, AsMap by @robbyt in #141
  • drop variadic on AddDataToContext by @robbyt in #143
  • refactor: thread ctx through Compile and GetReader by @robbyt in #144
  • refactor: propagate ctx into the four public constructors by @robbyt in #146
  • fix(deps): update module github.com/tetratelabs/wazero to v1.12.0 by @renovate[bot] in #147
  • fix(deps): update go.starlark.net digest to 8ba36cc by @renovate[bot] in #148

Full Changelog: v0.7.0...v0.8.0

v0.7.0

04 May 06:15
281f8a5

Choose a tag to compare

What's Changed

This contains a Major Breaking change to the Risor Engine, for the v2 language.

  • Update go.starlark.net digest to b62fd89 by @renovate[bot] in #75
  • Update go.starlark.net digest to fadfc96 by @renovate[bot] in #76
  • bump minimum go version to v1.26.2 by @robbyt in #77
  • upgrade risor engine to v2 by @robbyt in #74
  • Update SonarSource/sonarqube-scan-action action to v8 by @renovate[bot] in #79
  • go mod update by @robbyt in #80
  • fix starlark goroutine leak in exec() with context.AfterFunc by @robbyt in #81
  • extract loadInputData and AddDataToContext helpers to platform/data by @robbyt in #82
  • simplify FixJSONNumberTypes; drop fragile field-name heuristic by @robbyt in #83

Full Changelog: v0.6.0...v0.7.0

v0.6.0

10 Feb 05:06
944ad9c

Choose a tag to compare

Note

This is the last version of go-polyscript that will support the v1 Risor syntax. Open an issue, or use an external script engine if you still require Risor v1.

https://github.com/deepnoodle-ai/risor/releases/tag/v2.0.0

What's Changed

  • Update go.starlark.net digest to 6d2315c by @renovate[bot] in #60
  • Update go.starlark.net digest to 7849196 by @renovate[bot] in #61
  • Update golangci/golangci-lint-action action to v9 by @renovate[bot] in #62
  • update go minimum ver to 1.25.4 by @robbyt in #63
  • adjust lint config, and fix several lint warnings in tests by @robbyt in #64
  • Update module github.com/tetratelabs/wazero to v1.10.1 by @renovate[bot] in #66
  • Update go.starlark.net digest to be02852 by @renovate[bot] in #65
  • Update actions/checkout action to v6 by @renovate[bot] in #67
  • Update module github.com/tetratelabs/wazero to v1.11.0 by @renovate[bot] in #69
  • Update SonarSource/sonarqube-scan-action action to v7 by @renovate[bot] in #68
  • update minimum go ver to 1.25.5 by @robbyt in #71
  • Update go.starlark.net digest to 15019ee by @renovate[bot] in #70
  • Update go.starlark.net digest to 3fee463 by @renovate[bot] in #72

Full Changelog: v0.5.0...v0.6.0

v0.5.0

19 Oct 03:53
be42427

Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

19 Sep 22:01
fc5633f

Choose a tag to compare

What's Changed

  • Update actions/setup-go action to v6 by @renovate[bot] in #55
  • Update SonarSource/sonarqube-scan-action action to v6 by @renovate[bot] in #56
  • combine go workflows into one by @robbyt in #57
  • Update go.starlark.net digest to bf296ed by @renovate[bot] in #54
  • update go modules by @robbyt in #58

Full Changelog: v0.3.0...v0.4.0

v0.3.0

01 Sep 13:45
5687e28

Choose a tag to compare

What's Changed

  • add a 'firelynx' compatible namespace prefix to the example wasm by @robbyt in #52
  • always use t.Context() instead of context.Background() in tests by @robbyt in #53

Full Changelog: v0.2.0...v0.3.0

v0.2.0

31 Aug 21:19
e56183d

Choose a tag to compare

What's Changed

  • Update go.starlark.net digest to 336a4b3 by @renovate[bot] in #42
  • improve examples by @robbyt in #43
  • cleanup and fix the example tests by @robbyt in #44
  • update docs - VM to Engine by @robbyt in #45
  • Update go.starlark.net digest to 3c9dc17 by @renovate[bot] in #46
  • Update go.starlark.net digest to 2a4f369 by @renovate[bot] in #49
  • Update actions/checkout action to v5 by @renovate[bot] in #47
  • Update module github.com/stretchr/testify to v1.11.1 by @renovate[bot] in #48
  • require go 1.25.0 by @robbyt in #50
  • update proto/otlp x/sys google.golang.org/protobuf by @robbyt in #51

Full Changelog: v0.1.0...v0.2.0

v0.1.0

17 Jul 18:46
2388ba4

Choose a tag to compare

First "stable" release. Although there are no plans for API changes, there could be changes at some point in the future. And some of the engine implementations may be extracted to external repos in the future as well.

What's Changed since tag v0.0.4

Full Changelog: v0.0.4...v0.1.0

v0.0.4

16 Jul 19:37
6cbee20

Choose a tag to compare

v0.0.4 Pre-release
Pre-release

What's Changed

  • add docs, and more integration tests by @robbyt in #39
  • add base64 support to loader inference and string loaders by @robbyt in #40

Full Changelog: v0.0.3...v0.0.4

v0.0.3

02 Jul 05:24
107d98d

Choose a tag to compare

v0.0.3 Pre-release
Pre-release

What's Changed

  • make the test wasm file into an importable package by @robbyt in #38
  • Update go.starlark.net digest to d457b45 by @renovate in #37

Full Changelog: v0.0.2...v0.0.3