release: prepare to release v0.22.0-rc1

This commit is contained in:
John Bartholomew 2026-03-12 11:23:41 +00:00
parent 160987fd26
commit b5ef4cd9c4
10 changed files with 13 additions and 16 deletions

View File

@ -1,16 +1,13 @@
module(
name = "jsonnet_go",
version = "0.21.0",
)
module(name = "jsonnet_go")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# NB: update_cpp_jsonnet.sh looks for these.
CPP_JSONNET_SHA256 = "11f93ddebd2255d6dcddfe73142ed6ce85715290d2b2f500effab7dfbdf4dd51"
CPP_JSONNET_SHA256 = "0bbba601b86357eb75ea88145d69e95f1fe3738573b7bec782c52b0672b97ec0"
CPP_JSONNET_GITHASH = "3a7b2a565827635615f8a9432d94941e2a827c70"
CPP_JSONNET_GITHASH = "1b19a3578c268d3967a5f5b16925970c72fbc528"
CPP_JSONNET_RELEASE_VERSION = ""
CPP_JSONNET_RELEASE_VERSION = "v0.22.0-rc1"
CPP_JSONNET_STRIP_PREFIX = (
"jsonnet-" + (

@ -1 +1 @@
Subproject commit 3a7b2a565827635615f8a9432d94941e2a827c70
Subproject commit 1b19a3578c268d3967a5f5b16925970c72fbc528

View File

@ -2,7 +2,7 @@ module example/go-jsonnet-using-bazel
go 1.24.5
require github.com/google/go-jsonnet v0.21.0
require github.com/google/go-jsonnet v0.22.0-rc1
require (
golang.org/x/crypto v0.45.0 // indirect

View File

@ -1,4 +1,4 @@
Jsonnet reformatter v0.21.0
Jsonnet reformatter v0.22.0-rc1
jsonnetfmt {<option>} { <filename> }

View File

@ -1,6 +1,6 @@
ERROR: must give filename
Jsonnet reformatter v0.21.0
Jsonnet reformatter v0.22.0-rc1
jsonnetfmt {<option>} { <filename> }

View File

@ -1,4 +1,4 @@
Jsonnet commandline interpreter (Go implementation) v0.21.0
Jsonnet commandline interpreter (Go implementation) v0.22.0-rc1
jsonnet {<option>} <filename>

View File

@ -1,6 +1,6 @@
ERROR: must give filename
Jsonnet commandline interpreter (Go implementation) v0.21.0
Jsonnet commandline interpreter (Go implementation) v0.22.0-rc1
jsonnet {<option>} <filename>

View File

@ -1 +1 @@
Jsonnet commandline interpreter (Go implementation) v0.21.0
Jsonnet commandline interpreter (Go implementation) v0.22.0-rc1

View File

@ -1 +1 @@
Jsonnet commandline interpreter (Go implementation) v0.21.0
Jsonnet commandline interpreter (Go implementation) v0.22.0-rc1

2
vm.go
View File

@ -178,7 +178,7 @@ const (
)
// version is the current gojsonnet's version
const version = "v0.21.0"
const version = "v0.22.0-rc1"
func (vm *VM) buildConfiguredInterpreter() (*interpreter, error) {
return buildInterpreter(vm.ext, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut, vm.EvalHook)