- Fix readme to publish and allow for server/client to be pushed to maven by @stephenamar-db in databricks#389
- chore: Update readme for std library by @He-Pin in databricks#390
- Add client/server to the build workflow by @stephenamar-db in databricks#393
- chore: Turn off the multi threading support in scala native by @He-Pin in databricks#396
- chore: bump mill 0.12.14 by @He-Pin in databricks#397
- Allow empty labels for fmtstrings. by @Danstahrm in databricks#401
- chore: Change Scala native's release mode to ReleaseFull by @He-Pin in databricks#395
- Allow
std.mapto operate on string args as well. by @Danstahrm in databricks#404 - fix(publish): fix publishing for js and native projects by @ngbinh in databricks#403
- Fix formatting for g/G and f when rounding the value by @stephenamar-db in databricks#407
- Implement * in FormatSpec to dynamically insert width/precision by @stephenamar-db in databricks#408
- chore: Uncomment missing
gformatting test. by @He-Pin in databricks#409 - Fix various small issues found when I imported all recent error tests by @stephenamar-db in databricks#410
- Fix multiple object comprehension bugs by @JoshRosen in databricks#358
- Update Scala 3 to 3.3.6 by @He-Pin in databricks#365
- feat: Allow negative start/end on std.slice by @He-Pin in databricks#367
- Add std.object*Ex methods by @stephenamar-db in databricks#368
- fix: Fix foldr for str by @He-Pin in databricks#373
- chore: Remove unused
newwhen create Val.Arr by @He-Pin in databricks#375 - chore: bump dependencies versions by @He-Pin in databricks#376
- Fix tailstrict implementation and add more tests by @stephenamar-db in databricks#379
- correct safe integer range for bitwise ops by @stephenamar-db in databricks#381
- Add --debug-importer flag to print out what the default importer is doing by @stephenamar-db in databricks#385
- Add support for Scala3
- Fix std.min/maxArray
- Add array compare
- Fix formatter for Array and Obj and add ErrorTests to JS
- Fix overly-eager evaluation of unmerged or removed target fields in std.mergePatch
- Various small bug fixes.
- Add support for
tailstrict#189. - Bind the standard library to a
$stdvariable and use it in desugared expressions #249. - Update re2j dependency.
- Add new Math functions to keep up with go-jsonnet.
- Implement |||- syntax.
- Fix a bug in new strict mode for set in
std.setUnion#242. - Add support for Java 21 and dropped support for Java 11.
- Add
std.nativesupport, and movestd.xz/std.gzipto native. Enable support forstd.gzipin scala native. - Optimization:
std.sortshould only evaluate keyF once per array element. - Fix corner case for YAML parsing with primitive types google/jsonnet/issues/1109.
- Add optional regex methods in
std.nativebased on google/jsonnet/pull/1039 and jrsonnet. - Multiple bug fixes regarding handling of hidden fields in
std.mergePatch. - Add
importbinsupport. - Updated mill to 0.11.13 to fix publishing to Sonatype.
- Several performance optimizations, primarily aimed at reducing garbage object creation in common cases.
- Implemented every missing methods in
std. - Improved readability of stack traces when
stdmethods are involved. - Cleaned up default Main class to allow for repeated flags.
- Updated mill to 0.11.9 and added JDK17 build.
- Fixed sjsonnet handling of 64bits integers #191
- Stopped manifesting functions with no arguments in objects by default #168
- Fixed "Duplicate Local Variables in Object Scope" #178
- Fix a bug leading to the truncation of the data returned by
std.gzipandstd.xz#221.
- Fix a bug introduced with 0.4.11 with synthetic paths #215
- Fix thread-safety bug in Obj.getAllKeys #217
- Implement
std.isEmpty,std.xor,std.xnor,std.trim,std.equalsIgnoreCase,std.sha1,std.sha256,std.sha512,std.sha3#204 - fix: std.manifestJsonMinified and empty arrays/objects #207
- fix: Use different chars for synthetic paths. #208
- Fix sorting algorithm to work for all array types #211
- Add better error handling for format #212
- Switch from CRC32 to XXHash64 for import cache keys #198
- Ensure almost-octal-number-like strings are quoted when
--yaml-outis passed, to avoid issues with non-compliant YAML parsers #183
- Add
std.parseYaml
-
Make Jsonnet standard library configurable and non-global #166, fixing a race condition on library initialization in multithreaded environments and allowing custom
std.*functions to be passed in by the user -
Added a flag
--no-duplicate-keys-in-comprehensionto follow upstream google/jsonnet behavior of failing if a dictionary comprehension #156 ea8720f. This is optional for migration purposes but will likely become the default in future -
Disallow Jsonnet identifiers that start with numbers #161
-
Fix parsing of
+:in dictionary comprehensions #155 -
Fix parse failure when passing
id == ...to a function arguments #151 -
Add a flag
--strict-import-syntaxto disallow the syntaximport "foo".bar, when it should be(import "foo").bar, following upstream google/jsonnet. This is optional for migration purposes but will likely become the default in future #153 ccbe6e -
Allow assertions to take non-string error messages #170
-
Fix parsing of object keys starting with the prefix
assert#169 -
Properly propagate assertions during inheritance #172, and add the flag
--strict-inherited-assertionsto fix a bug where assertions inherited from a shared object were only triggering once, rather than once-per-inheritor 95342. This is optional for migration purposes but will likely become the default in future -
Add
std.slice,std.manifestJsonMinified, fix handling of numbers inmanifestXmlJsonml, handling of code inextCode#171 -
Add the ability to include code in
--tla-codeand--tla-code-file#175 -
Add
std.reversea425342 -
Fixes to main method handling of various combinations of
--exec,--yaml-out,-yaml-stream,--multi, and--output-file#174
- Update Mill to 0.10.12
- Fix parsing of k/v cli arguments with an "=" in the value
- Make lazy initialization of static Val.Obj thread-safe #136
- Deduplicate strings in the parser #137
- Update the JS example #141
- Performance improvements with lots of internal changes #117
- Bump uJson version to 1.3.7
- Bump uJson version to 1.3.0
- Avoid catching fatal exceptions during evaluation
- Add
--yaml-debugflag to add source-line comments showing where each line of YAML came from #105databricks#105 - Add
objectValuesandobjectVlauesAllto stdlib #104
- Allow direct YAML output generation via
--yaml-out - Do not allow duplicate field in object when evaluating list list comprehension #100
- Fix compiler crash when '+' signal is true in a field declaration inside a list comprehension #98
- Fix error message for too many arguments with at least one named arg #97
- Streaming JSON output to disk for lower memory usage #85
- Static detection of duplicate fields #86
- Strict mode to disallow error-prone adjacent object literals #88
- Add
std.flatMap,std.repeat,std.clamp,std.member,std.stripChars,std.rstripChars,std.lstripChars
- Add support for syntactical key ordering #53
- Bump dependency versions
- Bump verion of Scalatags, uPickle
- Bump version of FastParse
- Bump versions of OS-Lib, uJson, Scalatags
- Support std lib methods that take a key lambda #40
- Handle hex in unicode escaoes #41
- Add encodeUTF8, decodeUTF8 std lib methdos #42
- Properly fail on non-boolean conditionals #44
- Support YAML-steam output #45
- ~2x performance increase
- Javascript support, allowing Sjsonnet to be used in the browser or on Node.js
- Performance improvements
- Scala 2.13 support
- Performance improvements
- Add
std.mod,std.minandstd.max - Performance improvements
- Improvements to error reporting when types do not match
- Performance improvements to the parser via upgrading to Fastparse 2.x
- First release