Skip to content

Latest commit

 

History

History
262 lines (182 loc) · 12.3 KB

File metadata and controls

262 lines (182 loc) · 12.3 KB

0.5.2 (Latest)

  • 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.map to 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 g formatting 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

0.5.1

  • 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 new when 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

0.5.0

  • 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

0.4.15.1

  • Various small bug fixes.

0.4.15

  • Add support for tailstrict #189.
  • Bind the standard library to a $std variable and use it in desugared expressions #249.
  • Update re2j dependency.
  • Add new Math functions to keep up with go-jsonnet.
  • Implement |||- syntax.

0.4.14

  • 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.native support, and move std.xz/std.gzip to native. Enable support for std.gzip in scala native.
  • Optimization: std.sort should 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.native based on google/jsonnet/pull/1039 and jrsonnet.
  • Multiple bug fixes regarding handling of hidden fields in std.mergePatch.
  • Add importbin support.
  • Updated mill to 0.11.13 to fix publishing to Sonatype.
  • Several performance optimizations, primarily aimed at reducing garbage object creation in common cases.

0.4.13

  • Implemented every missing methods in std.
  • Improved readability of stack traces when std methods 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

0.4.12.1

  • Fix a bug leading to the truncation of the data returned by std.gzip and std.xz #221.

0.4.12

  • Fix a bug introduced with 0.4.11 with synthetic paths #215
  • Fix thread-safety bug in Obj.getAllKeys #217

0.4.11

  • 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

0.4.10

  • Implement std.get #202, std.all and std.any #203

0.4.9

  • Switch from CRC32 to XXHash64 for import cache keys #198

0.4.8

  • Significant reduction in memory usage from importing and parsing large files #194 #197

0.4.7

  • Ensure almost-octal-number-like strings are quoted when --yaml-out is passed, to avoid issues with non-compliant YAML parsers #183

0.4.6

  • Add std.parseYaml

0.4.5

  • 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-comprehension to 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-syntax to disallow the syntax import "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-assertions to 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 in manifestXmlJsonml, handling of code in extCode #171

  • Add the ability to include code in --tla-code and --tla-code-file #175

  • Add std.reverse a425342

  • Fixes to main method handling of various combinations of --exec, --yaml-out, -yaml-stream, --multi, and --output-file #174

0.4.4

  • Update Mill to 0.10.12
  • Fix parsing of k/v cli arguments with an "=" in the value

0.4.2

  • Make lazy initialization of static Val.Obj thread-safe #136
  • Deduplicate strings in the parser #137
  • Update the JS example #141

0.4.1

  • Additional significant performance improvements #119
  • Error handling fixes and improvements #125

0.4.0

  • Performance improvements with lots of internal changes #117

0.3.3

  • Bump uJson version to 1.3.7

0.3.2

  • Bump uJson version to 1.3.0

0.3.1

  • Avoid catching fatal exceptions during evaluation

0.3.0

  • Add --yaml-debug flag to add source-line comments showing where each line of YAML came from #105databricks#105
  • Add objectValues and objectVlauesAll to stdlib #104

0.2.8

  • 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

0.2.7

  • 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

0.2.6

  • Add std.flatMap, std.repeat, std.clamp, std.member, std.stripChars, std.rstripChars, std.lstripChars

0.2.4

  • Add support for syntactical key ordering #53
  • Bump dependency versions

0.2.2

  • Bump verion of Scalatags, uPickle

0.1.9

  • Bump version of FastParse

0.1.8

  • Bump versions of OS-Lib, uJson, Scalatags

0.1.7

  • 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

0.1.6

  • ~2x performance increase

0.1.5

  • Javascript support, allowing Sjsonnet to be used in the browser or on Node.js
  • Performance improvements

0.1.4

  • Scala 2.13 support
  • Performance improvements

0.1.3

  • Add std.mod, std.min and std.max
  • Performance improvements

0.1.2

  • Improvements to error reporting when types do not match

0.1.1

  • Performance improvements to the parser via upgrading to Fastparse 2.x

0.1.0

  • First release