14 Commits

Author SHA1 Message Date
John Bartholomew
567b61ac4a release: v0.22.0 2026-03-24 15:55:53 +00:00
John Bartholomew
b5ef4cd9c4 release: prepare to release v0.22.0-rc1 2026-03-12 12:26:51 +00:00
John Bartholomew
7792b06ec6 update cpp-jsonnet to (unreleased) e4981ff1199f24fc6d3110311196aebfeca76eca
Also fix update_cpp_jsonnet.sh because the bazel/ directory was removed.

Update test goldens (due to line shifts caused by standard library changes)
2026-02-19 21:42:13 +00:00
John Bartholomew
6c08b4414a import golang golden overrides from cpp-jsonnet
All the go-jsonnet golden output overrides should be kept here in
the go-jsonnet repo. The older override mechanism (in which the
cpp-jsonnet repo has golden files for Golang ending in .golang)
will be removed.
2026-02-09 01:46:36 +00:00
John Bartholomew
0d99c17d4b feat: add flag --no-trailing-newline to prevent adding the trailing newline on outputs
For https://github.com/google/go-jsonnet/issues/518 to allow users to
keep current behaviour for --string --multi, which on go-jsonnet emitted
output without adding an extra newline.

--no-trailing-newline works with all modes except --yaml-stream.
To avoid confusion, the CLI explicitly rejects the combination of both
flags used together.
2026-02-02 23:55:26 +00:00
John Bartholomew
67968688d9 release: prepare to release v0.21.0 2025-05-07 16:12:02 +01:00
John Bartholomew
2a3f4afd6a release: prepare to release v0.21.0-rc2 2025-03-12 23:42:07 +00:00
John Bartholomew
5b5bcd566a release: prepare to release v0.21.0-rc1
This updates embedded version numbers, and also updates the
C++ jsonnet dependency to the published v0.21.0-rc1 (source release).
2025-02-22 23:18:43 +00:00
Dave Cunningham
7903819abf
Bump version to 0.20.0 (#688) 2023-04-17 20:44:57 +01:00
Dave Cunningham
c298238534 Bump version to v0.19.1 2022-10-27 20:58:41 +01:00
Dave Cunningham
ec039600bc Update version to v0.19.0 2022-10-26 20:56:31 +01:00
Dave Cunningham
fb6c700f29 Prepare for v0.18.0 2021-12-21 18:34:50 +00:00
Stanisław Barzowski
7373f5b606 Add test output overrides for jsonnetfmt. 2021-05-20 14:23:06 +02:00
Stanisław Barzowski
797bfd89ed Better handling of stack traces.
Fixes multiple issues with stack traces leading to missing
stack trace lines. Also, we no longer put builtin context
on the line which *calls* the builtin as if it was a part
of the builtin itself.

Code for stack trace handling was centralized. We no longer
need traceElement argument in ~every function. Now the stack
trace state is kept solely in the interpreter.
2020-11-21 15:36:05 +01:00