Skip to content

Commit 16f735c

Browse files
Tag release 0.5.1 (#388)
1 parent 738ea61 commit 16f735c

File tree

2 files changed

+113
-120
lines changed

2 files changed

+113
-120
lines changed

CHANGELOG.md

Lines changed: 108 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,236 +1,247 @@
1-
## 0.5.0 (Latest)
2-
- Add support for Scala3
3-
- Fix std.min/maxArray
4-
- Add array compare
5-
- Fix formatter for Array and Obj and add ErrorTests to JS
6-
- Fix overly-eager evaluation of unmerged or removed target fields in std.mergePatch
7-
- [Full Release Note](https://github.com/databricks/sjsonnet/releases/tag/0.5.0)
1+
## 0.5.1 (Latest)
2+
* Fix multiple object comprehension bugs by @JoshRosen in https://github.com/databricks/sjsonnet/pull/358
3+
* Update Scala 3 to 3.3.6 by @He-Pin in https://github.com/databricks/sjsonnet/pull/365
4+
* feat: Allow negative start/end on std.slice by @He-Pin in https://github.com/databricks/sjsonnet/pull/367
5+
* Add std.object*Ex methods by @stephenamar-db in https://github.com/databricks/sjsonnet/pull/368
6+
* fix: Fix foldr for str by @He-Pin in https://github.com/databricks/sjsonnet/pull/373
7+
* chore: Remove unused `new` when create Val.Arr by @He-Pin in https://github.com/databricks/sjsonnet/pull/375
8+
* chore: bump dependencies versions by @He-Pin in https://github.com/databricks/sjsonnet/pull/376
9+
* Fix tailstrict implementation and add more tests by @stephenamar-db in https://github.com/databricks/sjsonnet/pull/379
10+
* correct safe integer range for bitwise ops by @stephenamar-db in https://github.com/databricks/sjsonnet/pull/381
11+
* Add --debug-importer flag to print out what the default importer is doing by @stephenamar-db in https://github.com/databricks/sjsonnet/pull/385
12+
13+
## 0.5.0
14+
* Add support for Scala3
15+
* Fix std.min/maxArray
16+
* Add array compare
17+
* Fix formatter for Array and Obj and add ErrorTests to JS
18+
* Fix overly-eager evaluation of unmerged or removed target fields in std.mergePatch
819

920
### 0.4.15.1
10-
- Various small bug fixes.
21+
* Various small bug fixes.
1122

1223
### 0.4.15
13-
- Add support for `tailstrict` [#189](https://github.com/databricks/sjsonnet/issues/189).
14-
- Bind the standard library to a `$std` variable and use it in desugared expressions [#249](https://github.com/databricks/sjsonnet/issues/249).
15-
- Update re2j dependency.
16-
- Add new Math functions to keep up with go-jsonnet.
17-
- Implement |||- syntax.
24+
* Add support for `tailstrict` [#189](https://github.com/databricks/sjsonnet/issues/189).
25+
* Bind the standard library to a `$std` variable and use it in desugared expressions [#249](https://github.com/databricks/sjsonnet/issues/249).
26+
* Update re2j dependency.
27+
* Add new Math functions to keep up with go-jsonnet.
28+
* Implement |||- syntax.
1829

1930
### 0.4.14
20-
- Fix a bug in new strict mode for set in `std.setUnion` [#242](https://github.com/databricks/sjsonnet/issues/242).
21-
- Add support for Java 21 and dropped support for Java 11.
22-
- Add `std.native` support, and move `std.xz/std.gzip` to native. Enable support for `std.gzip` in scala native.
23-
- Optimization: `std.sort` should only evaluate keyF once per array element.
24-
- Fix corner case for YAML parsing with primitive types [google/jsonnet/issues/1109](https://github.com/google/jsonnet/issues/1109).
25-
- Add optional regex methods in `std.native` based on [google/jsonnet/pull/1039](https://github.com/google/jsonnet/pull/1039) and jrsonnet.
26-
- Multiple bug fixes regarding handling of hidden fields in `std.mergePatch`.
27-
- Add `importbin` support.
28-
- Updated mill to 0.11.13 to fix publishing to Sonatype.
29-
- Several performance optimizations, primarily aimed at reducing garbage object creation in common cases.
31+
* Fix a bug in new strict mode for set in `std.setUnion` [#242](https://github.com/databricks/sjsonnet/issues/242).
32+
* Add support for Java 21 and dropped support for Java 11.
33+
* Add `std.native` support, and move `std.xz/std.gzip` to native. Enable support for `std.gzip` in scala native.
34+
* Optimization: `std.sort` should only evaluate keyF once per array element.
35+
* Fix corner case for YAML parsing with primitive types [google/jsonnet/issues/1109](https://github.com/google/jsonnet/issues/1109).
36+
* Add optional regex methods in `std.native` based on [google/jsonnet/pull/1039](https://github.com/google/jsonnet/pull/1039) and jrsonnet.
37+
* Multiple bug fixes regarding handling of hidden fields in `std.mergePatch`.
38+
* Add `importbin` support.
39+
* Updated mill to 0.11.13 to fix publishing to Sonatype.
40+
* Several performance optimizations, primarily aimed at reducing garbage object creation in common cases.
3041

3142

3243
### 0.4.13
33-
- Implemented every missing methods in `std`.
34-
- Improved readability of stack traces when `std` methods are involved.
35-
- Cleaned up default Main class to allow for repeated flags.
36-
- Updated mill to 0.11.9 and added JDK17 build.
37-
- Fixed sjsonnet handling of 64bits integers [#191](https://github.com/databricks/sjsonnet/issues/191)
38-
- Stopped manifesting functions with no arguments in objects by default [#168](https://github.com/databricks/sjsonnet/issues/168)
39-
- Fixed "Duplicate Local Variables in Object Scope" [#178](https://github.com/databricks/sjsonnet/issues/178)
44+
* Implemented every missing methods in `std`.
45+
* Improved readability of stack traces when `std` methods are involved.
46+
* Cleaned up default Main class to allow for repeated flags.
47+
* Updated mill to 0.11.9 and added JDK17 build.
48+
* Fixed sjsonnet handling of 64bits integers [#191](https://github.com/databricks/sjsonnet/issues/191)
49+
* Stopped manifesting functions with no arguments in objects by default [#168](https://github.com/databricks/sjsonnet/issues/168)
50+
* Fixed "Duplicate Local Variables in Object Scope" [#178](https://github.com/databricks/sjsonnet/issues/178)
4051

4152
### 0.4.12.1
42-
- Fix a bug leading to the truncation of the data returned by `std.gzip` and `std.xz` [#221](https://github.com/databricks/sjsonnet/pull/221).
53+
* Fix a bug leading to the truncation of the data returned by `std.gzip` and `std.xz` [#221](https://github.com/databricks/sjsonnet/pull/221).
4354

4455
### 0.4.12
45-
- Fix a bug introduced with 0.4.11 with synthetic paths [#215](https://github.com/databricks/sjsonnet/pull/215)
46-
- Fix thread-safety bug in Obj.getAllKeys [#217](https://github.com/databricks/sjsonnet/pull/217)
56+
* Fix a bug introduced with 0.4.11 with synthetic paths [#215](https://github.com/databricks/sjsonnet/pull/215)
57+
* Fix thread-safety bug in Obj.getAllKeys [#217](https://github.com/databricks/sjsonnet/pull/217)
4758

4859
### 0.4.11
49-
- Implement `std.isEmpty`, `std.xor`, `std.xnor`, `std.trim`,
60+
* Implement `std.isEmpty`, `std.xor`, `std.xnor`, `std.trim`,
5061
`std.equalsIgnoreCase`, `std.sha1`, `std.sha256`, `std.sha512`, `std.sha3` [#204](https://github.com/databricks/sjsonnet/pull/210)
51-
- fix: std.manifestJsonMinified and empty arrays/objects [#207](https://github.com/databricks/sjsonnet/pull/207)
52-
- fix: Use different chars for synthetic paths. [#208](https://github.com/databricks/sjsonnet/pull/208)
53-
- Fix sorting algorithm to work for all array types [#211](https://github.com/databricks/sjsonnet/pull/211)
54-
- Add better error handling for format [#212](https://github.com/databricks/sjsonnet/pull/212)
62+
* fix: std.manifestJsonMinified and empty arrays/objects [#207](https://github.com/databricks/sjsonnet/pull/207)
63+
* fix: Use different chars for synthetic paths. [#208](https://github.com/databricks/sjsonnet/pull/208)
64+
* Fix sorting algorithm to work for all array types [#211](https://github.com/databricks/sjsonnet/pull/211)
65+
* Add better error handling for format [#212](https://github.com/databricks/sjsonnet/pull/212)
5566

5667
### 0.4.10
5768

58-
- Implement `std.get` [#202](https://github.com/databricks/sjsonnet/pull/202),
69+
* Implement `std.get` [#202](https://github.com/databricks/sjsonnet/pull/202),
5970
`std.all` and `std.any` [#203](https://github.com/databricks/sjsonnet/pull/203)
6071

6172
### 0.4.9
6273

63-
- Switch from CRC32 to XXHash64 for import cache keys [#198](https://github.com/databricks/sjsonnet/pull/198)
74+
* Switch from CRC32 to XXHash64 for import cache keys [#198](https://github.com/databricks/sjsonnet/pull/198)
6475

6576
### 0.4.8
6677

67-
- Significant reduction in memory usage from importing and parsing large files [#194](https://github.com/databricks/sjsonnet/pull/194) [#197](https://github.com/databricks/sjsonnet/pull/197)
78+
* Significant reduction in memory usage from importing and parsing large files [#194](https://github.com/databricks/sjsonnet/pull/194) [#197](https://github.com/databricks/sjsonnet/pull/197)
6879

6980
### 0.4.7
7081

71-
- Ensure almost-octal-number-like strings are quoted when `--yaml-out` is passed,
82+
* Ensure almost-octal-number-like strings are quoted when `--yaml-out` is passed,
7283
to avoid issues with non-compliant YAML parsers [#183](https://github.com/databricks/sjsonnet/pull/183)
7384

7485
### 0.4.6
7586

76-
- Add `std.parseYaml`
87+
* Add `std.parseYaml`
7788

7889
### 0.4.5
7990

80-
- Make Jsonnet standard library configurable and non-global
91+
* Make Jsonnet standard library configurable and non-global
8192
[#166](https://github.com/databricks/sjsonnet/pull/166), fixing a race condition
8293
on library initialization in multithreaded environments and allowing custom `std.*`
8394
functions to be passed in by the user
8495

85-
- Added a flag `--no-duplicate-keys-in-comprehension` to follow upstream google/jsonnet
96+
* Added a flag `--no-duplicate-keys-in-comprehension` to follow upstream google/jsonnet
8697
behavior of failing if a dictionary comprehension
8798
[#156](https://github.com/databricks/sjsonnet/pull/156)
8899
[ea8720f](https://github.com/databricks/sjsonnet/commit/ea8720f218a4765b64e6313ac9f4a84d99c6e315).
89100
This is optional for migration purposes but will likely become the default in future
90101

91-
- Disallow Jsonnet identifiers that start with numbers [#161](https://github.com/databricks/sjsonnet/pull/161)
102+
* Disallow Jsonnet identifiers that start with numbers [#161](https://github.com/databricks/sjsonnet/pull/161)
92103

93-
- Fix parsing of `+:` in dictionary comprehensions [#155](https://github.com/databricks/sjsonnet/pull/155)
104+
* Fix parsing of `+:` in dictionary comprehensions [#155](https://github.com/databricks/sjsonnet/pull/155)
94105

95-
- Fix parse failure when passing `id == ...` to a function arguments
106+
* Fix parse failure when passing `id == ...` to a function arguments
96107
[#151](https://github.com/databricks/sjsonnet/pull/151)
97108

98-
- Add a flag `--strict-import-syntax` to disallow the syntax `import "foo".bar`,
109+
* Add a flag `--strict-import-syntax` to disallow the syntax `import "foo".bar`,
99110
when it should be `(import "foo").bar`, following upstream google/jsonnet.
100111
This is optional for migration purposes but will likely become the default in future
101112
[#153](https://github.com/databricks/sjsonnet/pull/153)
102113
[ccbe6e](https://github.com/databricks/sjsonnet/commit/ccbe6e3a3f8cfb661ab6fa733aff690a61e47022)
103114

104-
- Allow assertions to take non-string error messages [#170](https://github.com/databricks/sjsonnet/pull/170)
115+
* Allow assertions to take non-string error messages [#170](https://github.com/databricks/sjsonnet/pull/170)
105116

106-
- Fix parsing of object keys starting with the prefix `assert`
117+
* Fix parsing of object keys starting with the prefix `assert`
107118
[#169](https://github.com/databricks/sjsonnet/pull/169)
108119

109-
- Properly propagate assertions during inheritance [#172](https://github.com/databricks/sjsonnet/pull/172),
120+
* Properly propagate assertions during inheritance [#172](https://github.com/databricks/sjsonnet/pull/172),
110121
and add the flag `--strict-inherited-assertions` to fix a bug where assertions
111122
inherited from a shared object were only triggering once, rather than
112123
once-per-inheritor [95342](https://github.com/databricks/sjsonnet/commit/9534260fff4a50d29db379e307bce9a484790fa7).
113124
This is optional for migration purposes but will likely become the default in future
114125

115-
- Add `std.slice`, `std.manifestJsonMinified`, fix handling of numbers in
126+
* Add `std.slice`, `std.manifestJsonMinified`, fix handling of numbers in
116127
`manifestXmlJsonml`, handling of code in `extCode`
117128
[#171](https://github.com/databricks/sjsonnet/pull/171)
118129

119-
- Add the ability to include code in `--tla-code` and `--tla-code-file`
130+
* Add the ability to include code in `--tla-code` and `--tla-code-file`
120131
[#175](https://github.com/databricks/sjsonnet/pull/175)
121132

122-
- Add `std.reverse` [a425342](https://github.com/databricks/sjsonnet/commit/a42534244c6966d049f38167473339be899d11af)
133+
* Add `std.reverse` [a425342](https://github.com/databricks/sjsonnet/commit/a42534244c6966d049f38167473339be899d11af)
123134

124-
- Fixes to main method handling of various combinations of `--exec`, `--yaml-out`,
135+
* Fixes to main method handling of various combinations of `--exec`, `--yaml-out`,
125136
`-yaml-stream`, `--multi`, and `--output-file` [#174](https://github.com/databricks/sjsonnet/pull/174)
126137

127138
### 0.4.4
128139

129-
- Update Mill to 0.10.12
130-
- Fix parsing of k/v cli arguments with an "=" in the value
140+
* Update Mill to 0.10.12
141+
* Fix parsing of k/v cli arguments with an "=" in the value
131142

132143
### 0.4.2
133144

134-
- Make lazy initialization of static Val.Obj thread-safe [#136](https://github.com/databricks/sjsonnet/pull/136)
135-
- Deduplicate strings in the parser [#137](https://github.com/databricks/sjsonnet/pull/137)
136-
- Update the JS example [#141](https://github.com/databricks/sjsonnet/pull/141)
145+
* Make lazy initialization of static Val.Obj thread-safe [#136](https://github.com/databricks/sjsonnet/pull/136)
146+
* Deduplicate strings in the parser [#137](https://github.com/databricks/sjsonnet/pull/137)
147+
* Update the JS example [#141](https://github.com/databricks/sjsonnet/pull/141)
137148

138149
### 0.4.1
139150

140-
- Additional significant performance improvements [#119](https://github.com/databricks/sjsonnet/pull/119)
141-
- Error handling fixes and improvements [#125](https://github.com/databricks/sjsonnet/pull/125)
151+
* Additional significant performance improvements [#119](https://github.com/databricks/sjsonnet/pull/119)
152+
* Error handling fixes and improvements [#125](https://github.com/databricks/sjsonnet/pull/125)
142153

143154
### 0.4.0
144155

145-
- Performance improvements with lots of internal changes [#117](https://github.com/databricks/sjsonnet/pull/117)
156+
* Performance improvements with lots of internal changes [#117](https://github.com/databricks/sjsonnet/pull/117)
146157

147158
### 0.3.3
148159

149-
- Bump uJson version to 1.3.7
160+
* Bump uJson version to 1.3.7
150161

151162
### 0.3.2
152163

153-
- Bump uJson version to 1.3.0
164+
* Bump uJson version to 1.3.0
154165

155166
### 0.3.1
156167

157-
- Avoid catching fatal exceptions during evaluation
168+
* Avoid catching fatal exceptions during evaluation
158169

159170
### 0.3.0
160171

161-
- Add `--yaml-debug` flag to add source-line comments showing where each line of YAML came from [#105]()https://github.com/databricks/sjsonnet/pull/105
162-
- Add `objectValues` and `objectVlauesAll` to stdlib [#104](https://github.com/databricks/sjsonnet/pull/104)
172+
* Add `--yaml-debug` flag to add source-line comments showing where each line of YAML came from [#105]()https://github.com/databricks/sjsonnet/pull/105
173+
* Add `objectValues` and `objectVlauesAll` to stdlib [#104](https://github.com/databricks/sjsonnet/pull/104)
163174

164175
### 0.2.8
165176

166-
- Allow direct YAML output generation via `--yaml-out`
167-
- Do not allow duplicate field in object when evaluating list list comprehension [#100](https://github.com/databricks/sjsonnet/pull/100)
168-
- Fix compiler crash when '+' signal is true in a field declaration inside a list comprehension [#98](https://github.com/databricks/sjsonnet/pull/98)
169-
- Fix error message for too many arguments with at least one named arg [#97](https://github.com/databricks/sjsonnet/pull/97)
177+
* Allow direct YAML output generation via `--yaml-out`
178+
* Do not allow duplicate field in object when evaluating list list comprehension [#100](https://github.com/databricks/sjsonnet/pull/100)
179+
* Fix compiler crash when '+' signal is true in a field declaration inside a list comprehension [#98](https://github.com/databricks/sjsonnet/pull/98)
180+
* Fix error message for too many arguments with at least one named arg [#97](https://github.com/databricks/sjsonnet/pull/97)
170181

171182
### 0.2.7
172183

173-
- Streaming JSON output to disk for lower memory usage [#85](https://github.com/databricks/sjsonnet/pull/85)
174-
- Static detection of duplicate fields [#86](https://github.com/databricks/sjsonnet/pull/86)
175-
- Strict mode to disallow error-prone adjacent object literals [#88](https://github.com/databricks/sjsonnet/pull/88)
184+
* Streaming JSON output to disk for lower memory usage [#85](https://github.com/databricks/sjsonnet/pull/85)
185+
* Static detection of duplicate fields [#86](https://github.com/databricks/sjsonnet/pull/86)
186+
* Strict mode to disallow error-prone adjacent object literals [#88](https://github.com/databricks/sjsonnet/pull/88)
176187

177188
### 0.2.6
178189

179-
- Add `std.flatMap`, `std.repeat`, `std.clamp`, `std.member`, `std.stripChars`, `std.rstripChars`, `std.lstripChars`
190+
* Add `std.flatMap`, `std.repeat`, `std.clamp`, `std.member`, `std.stripChars`, `std.rstripChars`, `std.lstripChars`
180191

181192
### 0.2.4
182193

183-
- Add support for syntactical key ordering [#53](https://github.com/databricks/sjsonnet/pull/53)
184-
- Bump dependency versions
194+
* Add support for syntactical key ordering [#53](https://github.com/databricks/sjsonnet/pull/53)
195+
* Bump dependency versions
185196

186197
### 0.2.2
187198

188-
- Bump verion of Scalatags, uPickle
199+
* Bump verion of Scalatags, uPickle
189200

190201
### 0.1.9
191202

192-
- Bump version of FastParse
203+
* Bump version of FastParse
193204

194205
### 0.1.8
195206

196-
- Bump versions of OS-Lib, uJson, Scalatags
207+
* Bump versions of OS-Lib, uJson, Scalatags
197208

198209
### 0.1.7
199210

200-
- Support std lib methods that take a key lambda [#40](https://github.com/databricks/sjsonnet/pull/40)
201-
- Handle hex in unicode escaoes [#41](https://github.com/databricks/sjsonnet/pull/41)
202-
- Add encodeUTF8, decodeUTF8 std lib methdos [#42](https://github.com/databricks/sjsonnet/pull/42)
203-
- Properly fail on non-boolean conditionals [#44](https://github.com/databricks/sjsonnet/pull/44)
204-
- Support YAML-steam output [#45](https://github.com/databricks/sjsonnet/pull/45)
211+
* Support std lib methods that take a key lambda [#40](https://github.com/databricks/sjsonnet/pull/40)
212+
* Handle hex in unicode escaoes [#41](https://github.com/databricks/sjsonnet/pull/41)
213+
* Add encodeUTF8, decodeUTF8 std lib methdos [#42](https://github.com/databricks/sjsonnet/pull/42)
214+
* Properly fail on non-boolean conditionals [#44](https://github.com/databricks/sjsonnet/pull/44)
215+
* Support YAML-steam output [#45](https://github.com/databricks/sjsonnet/pull/45)
205216

206217
### 0.1.6
207218

208-
- ~2x performance increase
219+
* ~2x performance increase
209220

210221
### 0.1.5
211222

212-
- Javascript support, allowing Sjsonnet to be used in the browser or on
223+
* Javascript support, allowing Sjsonnet to be used in the browser or on
213224
Node.js
214-
- Performance improvements
225+
* Performance improvements
215226

216227
### 0.1.4
217228

218-
- Scala 2.13 support
219-
- Performance improvements
229+
* Scala 2.13 support
230+
* Performance improvements
220231

221232
### 0.1.3
222233

223-
- Add `std.mod`, `std.min` and `std.max`
224-
- Performance improvements
234+
* Add `std.mod`, `std.min` and `std.max`
235+
* Performance improvements
225236

226237
### 0.1.2
227238

228-
- Improvements to error reporting when types do not match
239+
* Improvements to error reporting when types do not match
229240

230241
### 0.1.1
231242

232-
- Performance improvements to the parser via upgrading to Fastparse 2.x
243+
* Performance improvements to the parser via upgrading to Fastparse 2.x
233244

234245
### 0.1.0
235246

236-
- First release
247+
* First release

0 commit comments

Comments
 (0)