Skip to content

v0.22.1-fork.1

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Apr 15:48

Changelog

  • a0d14d8 chore: bump version to v0.22.1-fork.1 for fork releases
  • 719f63f test: add tests for --preserve-field-order flag
  • 4272316 feat: make declaration-order field output opt-in via --preserve-field-order
  • 768534c feat: preserve field declaration order in JSON output
  • 567b61a release: v0.22.0
  • 456331f refactor: use MaxStack as depth limit instead of fixed constant
  • 502106b fix: add missing linter golden files for cyclic tests
  • 033195b fix: add stack frame accounting to manifest builtins
  • 86c6dc1 Extend "Build and Publish Python Package" workflow to build Linux aarch64 wheels
  • b5ef4cd release: prepare to release v0.22.0-rc1
  • 160987f deps: update referenced github actions to latest
  • 7b3fbdd update cpp-jsonnet to (unreleased) 3a7b2a565827635615f8a9432d94941e2a827c70
  • 154626d print names of reformatted files when using jsonnetfmt --test or --in-place
  • 509404f update cpp-jsonnet to (unreleased) 833f18402b6b6a2da0b2fae75446a1e14b9116dd
  • 4e09527 improve handling of YAML document streams in std.parseYaml
  • 80e9deb restrict bitwise operations argument range to the safe-integer range
  • 2b6894d chore: update stdlib_smoke_test.jsonnet with with float closing test
  • 5400c70 add test cases for add_plus_object formatter pass
  • 1ef3750 simplify and clean up formatter_test
  • 209e9f0 add parens where necessary when converting implicit-plus to explicit-plus
  • 22fb64f extract precedence info from internal/parser to a new internal/ast package
  • 7792b06 update cpp-jsonnet to (unreleased) e4981ff1199f24fc6d3110311196aebfeca76eca
  • e56516d chore(deps): bump the go_modules group across 2 directories with 1 update
  • acd4ea2 restrict file writes for --multi to the specified output directory
  • 6d35a88 chore: update to Go 1.24.5 to get support for os.Root
  • 71c8de2 chore: regenerate Bazel files, use go.mod to specify Go SDK version
  • 8dc9acb chore: update Bazel, remove WORKSPACE etc, update Bazel lockfile
  • fb23cdf fix: desugar the index expression of a super[e]
  • 783198b chore: remove Go Releaser archive naming overrides
  • 1dd6e89 update cpp-jsonnet to unreleased commit 3560b6d317b127dc901ad4674312bfd12d95a301
  • 6c08b44 import golang golden overrides from cpp-jsonnet
  • 0d99c17 feat: add flag --no-trailing-newline to prevent adding the trailing newline on outputs
  • 2d72bc5 chore: extract repeated interpreter-construction code from eval functions
  • 2946b6c fix: Missing trailing newline when using both --multi and --string options
  • 264982b Change FindDependencies to use functional options
  • 9fab5eb Change FindDependencies to optionally follow symlinks
  • f4a8f75 fix linter to add optional parameters to std.manifestJsonEx
  • 6890a93 make linter aware of clamp function
  • 9635d56 fix: return null if the provided string to parseYaml did not yield any result
  • 2629204 fix: handle negative range by returning an empty array
  • fb1ca81 chore: run go fmt (except on stdast.go)
  • a8b55c8 add some security notes about imports
  • 4384535 chore: update cpp-jsonnet submodule and stdast
  • 8d4b3b7 reimplement builtinObjectRemoveKey to support inheritance
  • c01b909 fix: do not mutate std.removeAt parameters
  • 23a013c linter: rely on ImportAST internal caching, isolate variables for each snippet
  • 8893d8e Optimize runtime complexity of linter when passing in multiple snippets.
  • a52ac8d inline processing of number text into lexNumber
  • a44ee94 add end to end tests for number literals with underscore digit separators
  • c9f1b48 fix underscore handling in numbers to avoid repeated fractions or exponents
  • 449c302 Simpler to not special-case consecutive _s.
  • f664e6d Add a test for _123 lexing as identifier.
  • 502cac2 Just use struct literals.
  • 1c972d0 Add exceptional test cases. Make case table less crazy.
  • 30ab4ea Fix the test.
  • c700c00 More tests. Some fail.
  • ac85b18 Initial separator lexing.
  • 6a5c085 doc: some cleanup in the README.md
  • 3d41737 fix(imports): Cache the error too in importAST().
  • 751aedf Use predefined types for pre-commit over file endings
  • 604f4d7 chore: bring all the number lex tests into one table driven test
  • 2752a44 add trailing newline in testdata/builtinIsNull{,2}.jsonnet
  • 381c130 feat: update parameter name
  • c948b61 feat: implement std.isNull
  • 693c3e3 update bazel deps and cpp-jsonnet to commit bd1f67e305
  • 9eb5fb6 chore: make CI build the bazel example with multiple Bazel versions
  • 440b309 Fix bazel run
  • 10aef6a chore: add test cases for std.manifestYamlDoc error reporting
  • 80c7c4a fix: Unchecked error in std.manifestYamlDoc().
  • bfa7272 doc: add an explanatory sentence in the REAMDE about WASM
  • 0ea744d chore: fix references to Go version in the README
  • 6796868 release: prepare to release v0.21.0
  • d670d5f chore: fix release action to avoid creating two releases
  • 2f73f61 Remove dependency on cpp-jsonnet submodule from C bindings
  • 1c79f57 fix: Fix error messages when a comprehension iterates over a non-array.
  • 1add1e1 ci: check that the example using a bazel module builds
  • fb07a24 feat: add an example bazel module + go binary using the library
  • 2a263bf fix: passing name= to go_sdk.download() breaks use of the bazel module
  • 9cd0cd0 ci: create a stable source archive attached to the release
  • 2a3f4af release: prepare to release v0.21.0-rc2
  • fe1d35d Fix compatibility with setuptools 72
  • 7a714b9 ci: build gojsonnet wheels on Mac OS
  • b9ae88d chore: bazelignore the cpp-jsonnet subdirectory
  • 1f986a6 ci: pin bazel version to 7.5.0, and require up-to-date lockfile for CI build
  • bc787d6 chore: Switch to Go 1.23.7 and update dependencies (google#794)
  • 52bb10f feat: add testdata coverage for minArray/maxArray onEmpty error
  • 9a89560 feat: support onEmpty optional parameter on std.minArray,std.maxArray
  • 6a15a2f fix: output original value from array in std.minArray and std.maxArray instead of result of keyF
  • 106c8f0 Use default options for formatter tests
  • 6d83c91 Fix an out-of-bounds array access when formatting some empty comment
  • 5b5bcd5 release: prepare to release v0.21.0-rc1
  • 7b5c938 ci: fix incorrect use of target_commitish in goreleaser release
  • 06e51ba ci: grant goreleaser write permission to create releases
  • d1cde74 inject proposed version when running goreleaser
  • 0558e35 chore: teach update_cpp_jsonnet.sh to pull a named release version
  • cb4d16f setup.py: be more verbose in the go build
  • 7c36700 reformat setup.py
  • 3c92d79 ci: python cibuildwheel updates for go-jsonnet
  • e9ee116 tests: fix python compat test to allow pre-release versions
  • 579361c ci: update versions of referenced github actions in ci.yml
  • e04e807 ci: run build-and-test on pushes to prepare-release branch
  • 6f82698 ci: copy the publish-python.yml workflow from C++ jsonnet
  • 63ffeb8 ci: configure goreleaser to create draft GitHub releases
  • 90261f3 ci: trigger release workflow manually
  • 40f0aa5 ci: update release workflow action references
  • 6fa97cc chore: update golang.org/x/crypto to v0.33.0
  • 923f51b switch to go mod based goveralls in CI
  • 9e1e952 port some Python wrapper code fixes from C++ jsonnet
  • e1304d1 update cppjsonnet and depend on a specific commit of jsonnet
  • 64c3804 update Bazel rules with gazelle and manually
  • 86cd73a remove unmaintained travis config
  • 156aa1d remove outdated .tool-versions config
  • e6f64e8 feat: add |||- chomped text block syntax (google#773)
  • a45dd8a chore: run GitHub CI action on more pull request activity
  • 74c8d09 feat: update cpp-jsonnet and stdlib to latest (unreleased)
  • b3fed3b feat: add builtin atan2 and hypot functions
  • 2b4d753 fix: use debugValueToString for debugger operations (google#759)
  • 214a617 Update Go versions in CI. (google#758)
  • e0c6a9e Fix linter: using a local in an assertion. (google#723)
  • 04f3751 chore: remove refs to deprecated io/ioutil (google#716)
  • 3d9a2bf Add optional parameters to manifestYamlStream in linter (google#732)
  • 94a40b2 Fix field visibility in objectHas for extended objects (google#737)
  • c159b34 chore(deps): bump golang.org/x/crypto from 0.9.0 to 0.17.0 (google#738)
  • 4863a88 chore: fix CI to follow the deprecation of goreleaser flags (google#755)
  • 4635098 chore: update rules_go and gazelle version to fix bazel build (google#756)
  • 02bcb68 chore: fix compilation error of valueToString in debugger.go (google#754)
  • dec1aa2 feat: Go implementation for manifestYamlDoc and escapeStringJson (google#742)
  • fa70aa4 feat: implement std.splitLimitR (google#745)
  • e544339 Remove dependency on gen to generate sets (google#746)
  • 5d760fb bump cpp_jsonnet dependency to align with v0.20.0 release (google#748)
  • 4324105 fix: fix conversion from int to float64 (google#753)
  • c8d95b9 Gracefully handle encountered regular expression when running jsonnetfmt (google#724)
  • 6838b0a feat: add debugger support (google#739)
  • fed90cd fix: add std.objectKeysValues to jsonnet-lint (google#706)
  • 7b9f5fd Expose "unparse", FormatNode and RawAST (google#710)
  • 9639773 Teach jsonnet-lint about optional parameters of std.manifestYamlDoc (google#705)
  • 16a10df chore: bump go to 1.20 (google#707)
  • b7d0941 Remove .DS_Store (google#703)
  • 5fb0b0b feat: add std reverse linter (google#709)
  • 2a7260d feat: Add more math functions (google#702)
  • 572c054 feat: implement std.avg (google#700)
  • aece6e9 feat: add more crypto functions (google#699)
  • 1096691 feat: Add support for bzlmod (google#698)
  • fae8411 Implement std.trim for string (google#684)
  • 44538a3 Adds std.any and std.all to jsonnet-lint (google#695)
  • 7edd5d3 feat: implement std.maxArray (google#696)
  • 4bb6e38 feat: implement std.equalsIgnoreCase (google#692)
  • 25d3372 feat: implement std.remove and std.removeAt (google#689)
  • 3c7c0cb feat: implement objectRemoveKey (google#686)
  • 868d9c6 Resolves a false-positive detection of multi-doc YAML streams (google#693)
  • 9c0b362 feat: implement std.minArray (google#685)
  • 76e4fc2 feat: implement std.contains (google#691)
  • 7903819 Bump version to 0.20.0 (google#688)
  • 0e07fcd Update cpp version (google#687)
  • c484aec increase go rules version to fix bazel build
  • 5afe130 fix newline issue breaking test
  • 18377e6 Add std.round function in standard library. (google#683)
  • b0ff20a fix tests
  • c63eb61 Implement std.isEmpty for string (google#678)
  • ff691b0 Fixing test cases
  • 91ebf4b Add std.xor for 2 booleans
  • 772ebba Add support to return int based value from native functions golang implementations
  • 4df8c17 Updated test cases
  • 4c83cff Fixed test cases
  • 67c8bf4 Implement std.xor for booleans
  • 83b9f83 feat: implement std.sum
  • b38dfbb adding jsonnet-deps to release (google#667)
  • a39e181 [661] Update stdlib to get std.escapeStringXml (google#662)
  • 506b373 fix: Make lstripChars and rStripChars work with multibyte characters (google#663)
  • 1233966 Adds jsonnet-lint to the releases (google#664)
  • 353caa1 docs: explicit addition for installing other tools (google#658)
  • 0504998 Fix std.member matching sub strings (google#657)
  • b4633b6 Update deps.bzl
  • f30e232 Bump go to 1.17
  • c298238 Bump version to v0.19.1
  • 1b99719 Update python to match cpp version
  • ec03960 Update version to v0.19.0
  • c1825dc Update to latest CPP version
  • 3f664d8 Add a CI test that exercises bazel builds
  • 0a32b8c Fix //c-bindings bazel build
  • e33730a Fix jsonnet-lint bazel build
  • aa9d35a Fix bazel builds on recent macOS
  • eaf78af Update cpp-jsonnet reference to match git submodule version
  • 69137c9 Update bazel cpp_jsonnet reference from update_cpp_jsonnet.sh
  • 3aab052 fix: use rune for length over string
  • 03df4dc Revert "Don't pass version to go_register_toolchains() by default"
  • 62dbb64 feat: add builtin implementation test coverage
  • c7dc1ba feat: add benchmark data for builtin implementations
  • 59e5a7b feat: add builtin stripChars go impl
  • dbe6fa5 feat: add builtin rStripChars go impl
  • bb0d8a9 feat: add builtin lStripChars go impl
  • c849229 feat: add builtin member go impl
  • b835910 fix FileImporter not work on windows
  • c17729a Don't pass version to go_register_toolchains() by default
  • eac7db4 c-bindings: Add jsonnet_realloc export
  • 635d04f feat: add support linter std get (google#627)
  • 2655afd memory align structs (google#635)
  • 8abb4aa feat: implementation of manifestTomlEx in Go
  • 6033db5 Bump golang.org/x/sys again
  • f346241 fix: remove go 1.13 → 1.16 as it's incompatible with sys
  • b82fd4c fix: calculate the number of elements after we convert to a slice
  • 02194a7 chore: update golden tests for fold
  • e9a5920 perf: use native builtin for foldl and foldr
  • 953327b feat(test): add foldl benchmark test
  • c450a16 perf: add size hint to map creation
  • cb3a759 feat: add linter testdata
  • 5440cc8 feat: add test data
  • 6e180a9 feat: add go implementation of std.parseInt
  • 4906958 Bump golang.org/x/sys
  • a5ddc1c feat: add support to the jsonnet linter for std.manifestJsonMinified
  • b42132a feat: Report native function panics as runtime errors.
  • 32b292c Bump dependency to fatih/color
  • 944900a Add maintainer info to a deb package of jsonnetfmt
  • 57d2b05 Remove Go 1.12 as it seems incompatible with new x/sys
  • 7032dd7 Upgrade x/sys
  • 44ec256 Fix wasm
  • 9e9321f add non-negative check in second parameter for subStr
  • f0a060e feat: Add missing linter metadata for std.manifestTomlEx function
  • 0d78479 Add go_sdk_version parameter
  • 361f083 Bump Go build version to 1.17
  • f699b0e Add numberArrayType linter type
  • 856bd58 Add 'importbin' statement
  • 880ac99 Fix incorrect file case
  • fb6c700 Prepare for v0.18.0
  • 6186bb7 Release
  • 5c4247b Equivalent change to google/jsonnet#898
  • bd9f761 default to python3
  • 6fdbe3d Rest of corresponding change to formatter, see google/jsonnet#937
  • f60b015 Corresponding change to formatter, see google/jsonnet#937
  • 68af6e0 Document installation for go >= 1.17
  • b10eae7 Fix gorelaser configs to properly build darwin packages (google#550)
  • 2f2f6d6 Add wasm build
  • e3c7dda Remove support for go 1.11
  • c187d5b fix bazel rules for formatter (google#563)
  • dde866f Add example usage as library in README (google#560)
  • b00b56c Avoid depending on stdlib variable for desugaring.
  • 51daeb3 Modify jsonnet-lint to accept multiple input files (google#545)
  • 46d1fce [Linter] Fix super index type and handle "object or string" indexing correctly.
  • 12bd29d linter: correct the return type for member
  • 7373f5b Add test output overrides for jsonnetfmt.
  • e6a9581 Adds std.parseYaml (google#339)
  • ece9c5d updated pre-commit config and readme
  • 1b7cbff Add github actions ci
  • ba5dc76 Stop depending on nil vs empty slice in a test.
  • 5899996 Make go linter happy again.
  • ce76155 Fix strip definition
  • bead95b Add linter support for std.strip and friends
  • 415d036 Put AddPlusObject behind an option, rename FixPlusObject
  • be7a92a jsonnetfmt: Add plus objects instead of removing them
  • 74b3a1b [Linter] Support std.member and std.repeat.
  • eeca44c Allocate resulting slice size instead of dynamically growing it
  • 067dc39 Add IdentifierSet.ToOrderedSlice and ToSlice benchmarks
  • 63a4522 Support different output streams than os.Stderr for std.trace (C API) (google#520)
  • 7d81091 Linter README – replace unicode asterisks
  • 9b6cbef testdata: std.manifestJsonEx text cases more types
  • 9bba8de testdata: add manifestJsonEx array test case
  • 5d0f3fb builtins.go: fix builtinManifestJSONEx regression
  • f742f24 Allow setting a different output stream than os.Stderr for std.trace (google#514)
  • 4a3144a pre-commit hook to format jsonnet files
  • 6d6c293 allow initialization of external and TLA code variables from an AST node.
  • 8a3fcc0 Allow reset of ext and TLA vars for VM reuse (google#509)
  • cd59751 Distinguish go-jsonnet from cpp-jsonnet in version message (google#497)
  • 31d71aa Add missing linter metadata for stdlib.
  • 6140a2f Better stacktrace for manifestation, +: and object assertions.
  • 7d3bda3 Add std. manifestJsonMinified (google#492)
  • 4beab66 Prevent keeping files open for too long.
  • fd65a61 Fix builds filter ro re-enable darwin builds
  • 35acb29 Add format APIs to C bindings
  • 57e6137 Support creating VMs from multiple threads in C-bindings
  • 0d1d4cb Release 0.17.0
  • 5c08e37 Fix missing stack trace entry for assertions.
  • 372c2ad Release GIL in Python bindings.
  • 4f527c6 Add support for missing functions in C-bindings.
  • 797bfd8 Better handling of stack traces.
  • e120148 Add a short script for updating cpp-jsonnet.
  • 2bc774a Update cpp-jsonnet. Stop changing cpp-jsonnet version in tests.sh.
  • fe28095 Support for array comparison
  • eced33e Using cpp_jsonnet as external repo
  • 570101d Desugar locals in object comprehension.
  • 6967a29 Add debian package build to goreleaser
  • 755ee1e Change CI settings to use the latest release, but not the tip.
  • b70cbd4 Anonymous Import Locations
  • 8fcbda5 Linter
  • 2e346e5 jsonnet-deps: Jsonnet static dependency parser
  • a631234 add action to build binaries with goreleaser
  • 6a41464 issue-433 Address review comments: avoid indexing the map twice
  • fc188d0 issue-433 avoid keeping all the allocated handles forever by using map and uintptr of the allocated object.
  • db2bf1e issue-433 increase the number of constructed Jsonnet handles.
  • a1f3af2 Support strings in the builtin std.flatMap.
  • 0856640 Fix std.manifestJsonEx parameter names
  • aaf50f5 Update project status in README.md
  • 0dd210d Sync cpp-jsonnet (for google#429)
  • 9e6b0d1 jsonnetfmt --help: Indent subsection and break long lines
  • 678df37 jsonnet --help: align consistently, break long lines
  • e71d28e jsonnet --help: separate sections more clearly
  • d767ab7 fix(stdlib): 🐛 manifestJsonEx was escaping HTML
  • 3563a21 perf(stdlib): ⚡️ implement manifestJsonEx as native Go
  • 3bd1fb8 Throw an error on negative shifts (google#421)
  • d1c1457 Release v0.16.0
  • 2824579 Update cpp-jsonnet
  • f3873a7 Fix duplicated fodder (google#411).
  • e57db6b Use the official installation method for golangci-lint.
  • e2cd716 Add necessary files to MANIFEST.in
  • 8a0084e Remove depreacted Bazel option for CI
  • bedbae2 Add Homebrew install instructions
  • b2dbc0c fix order-dependent test
  • 4f4aa80 feat(api): expose formatter
  • 6f135f7 Remove bindings debug msg
  • 3a245f7 Preparation for linter.
  • 724650d Add native golang formatter (google#388)
  • 234b97c Enforce no golangci-lint warnings in CI
  • 9ada769 Make golangci-lint happy
  • 803ad64 Refactor parseParameter to return ast.Parameter
  • 5476fef Add ParseParameter. Also fell down the rabbithole improving content and consistency of parse errors
  • ce07c7f Allow positional params after optionals
  • 0e67cc3 Refactor to allow interleaving optional and positional params
  • 7cad41e [Bindings] Fix compatibility issue with C import callback api
  • 8b2b1ba Avoid float overflow errors at parse time.
  • 413234c Replace setup.py test with pytest command (google#380)
  • e6572f5 Compile package in 32-bit mode
  • f577885 Prevent int overflow
  • 31b9ace Remove old release mechanism from Travis
  • 70a6b3d Release 0.15.0.
  • 425405d Update cpp-jsonnet.
  • a7af40a Remove files which are no longer relevant
  • 07fa4c0 Run tests on other CPU architectures (arm64, ppc64le).
  • 5976644 Introduce tolerance in tests of numeric functions.
  • 03f5ad2 Add explicit bounds checks for bitwise operators
  • 399a61c feat: improve std.base64Decode performance 97%+ (google#346)
  • e8bd3f4 feat: improve stdlib base64 performance by 98.58%+
  • 492503d Fix formatting
  • 3b58014 feat: improve std.reverse performance by 73.39%
  • 27b4c60 feat: Improve performance of substr by 84.44%
  • 9518d4c feat: Install extra dependencies
  • 599adda fix: Typos in travis.yml
  • 4573374 test: Add additional go versions to travis
  • 9ba4b2a test: Run Make Checks for all versions
  • d28d7d7 test: add Make Check to Travis
  • 99980ef feat: add asdf integration for bazel
  • 16dc50b feat: add Makefile
  • e90ff27 Fix git clone in build instructions
  • fe82a78 Adaptive string representation
  • b44e63e Bump officially supported Go version to 1.11
  • 4b0052a Python package now is called _gojsonnet for avoiding package collision
  • f3b46ad Code review: fixed comments
  • d8f0505 Implemented python gojsonnet get_version
  • 741eec0 Added python tests CI
  • 3be91c4 Changed python package name to gojsonnet
  • 441e4cc Use backed by go-jsonnet for python extension
  • 0959f85 break up parseObjectRemainder
  • 407c0f3 Fix google#331 missing comma error
  • acf0e5c Implemented jsonnet_import_callback c-binding (google#330)
  • 42cb19e feat(parser): export parser.Children (google#327)
  • 56da397 Code review fixes: Removed unnecessary vm handle checks
  • 4abec72 Code review fixes:
  • 3504d50 Removed ';' in compat_test
  • ba37440 * Added more tests on native callback * Fixed jsonnet_json_array_append, jsonnet_json_object_append bugs * jsonValue now stores the list of related struct_JsonnetJsonValue instead of handles ids
  • 6e9943c * Implemented jsonnet_native_callback * Moved handles workflow to handles.go * Replaced JsonnetJsonValue c++ implementation with go * Added jsonnet_json_* integration tests
  • dc5c94a Add fodder to AST nodes (google#319)
  • 21c00f1 Better importing (caching & public API)
  • 8f0e634 Disallow unary + on Object
  • f00242d Add runtime check for binary +-* operations for numbers
  • fbde25b Release v0.14.0
  • 0d5e73c Check Bazel in Travis
  • ab95594 Add missing cases in specialChildren
  • 85fd887 Unexport a bunch of symbols
  • 6490cb1 Builtin implementation for std.sort
  • e4e1d91 Fix Bazel config
  • 45f3912 Make parser package internal
  • c77f22c Eliminate the unnecessary ast.StdAst
  • e6c74ca Address review comments
  • 82f949e Extract AST processing to separate packages
  • 197b8c5 Prevent autogenerated header in BUILD.bazel
  • 13437c6 docs: fix typo
  • 71a3e16 Bump cpp-jsonnet (google#306)
  • 11e63b6 Make golint happy (google#296)
  • 3190aff Fix crash when using empty object comprehension (google#301)
  • e5e27c0 Object field caching
  • 4996d46 Allow use of Bazel repository externally
  • 8cd516f Eliminate Bazel repository for "cpp-jsonnet" (google#290)
  • 7081ee0 Fix double desugaring in array comps
  • 3ad064e Update x/sys to a newer version that supports Risc-V architecture (google#284)
  • 7614fd5 Correct a few complaints reported by "staticcheck"
  • b6bb47a Move escaped filename tests into separate function
  • 2e6c559 Don't automatically install the std AST into "ast"
  • 3e7d3b1 Commit astgen/stdast.go file for use with "go get"
  • 5b0d9c4 dumpstdlibast: Take source file path as parameter
  • 886fcac Allow building the "c-bindings" program with Bazel
  • e7f9dca Augment documentation with use of Bazel
  • 7084acc Accommodate testing with Bazel
  • 7a5297a Dump standard library into "astgen" package
  • 24fb8b9 Print package prefix for dumped int value types
  • ad72eb0 Allow building the Go program with Bazel
  • 1c89ed8 Don't assume Go is in a specific directory
  • e1e74db Change golden files back again;
  • 0d560af Update for version v0.13.0
  • d89367d golden files were out of date
  • ee8aee4 Fix unintentionally invalid filename escaping test
  • df7753e Bring up-to-date with cpp version
  • 6fa1db7 Update cpp submodule
  • 591b119 Perform lookups from obj locals with right sb
  • 83ed0b9 Proper env for obj locals in comprehensions
  • 33b6dcf Keep object locals only once in AST (google#263)
  • 181c86d Add builtin implementation of std.split
  • c195e57 Share std.jsonnet with cpp-jsonnet
  • 2188e2d Add go mod / cleanup (google#266)
  • aa47869 Add basic tests for Children and add missing cases
  • 686c77b Add missing error handling branch
  • eea884b Minimal C bindings (google#257)
  • ce90e53 Expose Evaluate functions, to be able to reuse the AST from SnippetToAST.
  • 530e796 Fix improper stack trimming with operators and tailstrict
  • 9348a5d Update cpp-jsonnet submodule and stdlib
  • c1743b9 Add std.encodeUTF8 and std.decodeUTF8
  • 7af3b84 Add missing error handling branch
  • 493c45a Update cpp-jsonnet and bump version to 0.12.0
  • ff0c19a Update cpp-jsonnet
  • 767f100 std.parseJson - a builtin for parsing json
  • 7012604 Update stdlib
  • d7fa222 Update cpp-jsonnet to fix tests
  • 08080da Make automatically creating output dirs an option
  • 4122e44 Automatically create output folders
  • 9a9954a Fix lexing of "!$".
  • 2999f7d Fix build instructions
  • f7fcba6 travis: Support building pushed branches
  • 6144c57 Update cpp-jsonnet & bump version
  • b4603b0 match change to cpp version re: unrecognized native returning null
  • c038cd3 update cpp
  • 43294ca Fix build during release
  • e01563f Adds TravisCI releaes process
  • 39887d9 pull Local.Binds[].Body out via specialChildren (google#232)
  • 95e1c17 Lex fodder in a manner compatible with C++ (google#231)
  • a1964b4 support for traversing AST tree with parens and objectcomps
  • 4625658 Travis fix as suggested by @jamesonjlee (google#230)
  • 2973e24 Internal refactor to improve performance (google#225)
  • 530cf7b Implement operators == and != as builtins (google#221)
  • d9b833b Bump C++ version, implement std.trace, fix parsing of -$, update std (google#224)
  • 643210d Add string output support for multifile output (google#220)
  • f4428e6 Better Importer interface
  • fde815f godoc.org-compatible ast package
  • dfddf2b Update version
  • 0b46b25 Update to cpp jsonnet
  • 6efde96 Handle base case of cloneForSpec
  • b0459e4 Add AppVeyor Windows builds and releases (google#206)
  • d67779e Refactor handling of --{ext,tla}-* flags (google#212)
  • 405726f Clone ASTs to avoid aliasing and double-unescaping (google#210)
  • 5cc426e Bring submodule and stdlib to cpp master
  • cf6933d Add C++-Jsonnet submodule for tests (google#202)
  • 88519c3 Apply more golint recommendations (google#201)
  • ed5f280 Apply golint recommendations (google#196)
  • 5ae4798 Clean up token strings
  • 44770e7 Add std.sign and fix division by zero in stdlib
  • bed2cd8 Do not assume that import path is always a filesystem path (do not clean it up)
  • 2ea01b2 Introduce a Parens AST (google#189)
  • f46dea2 Update std.jsonnet
  • 61b33d1 Fast, native implementation of strReplace
  • d1d9a7f Convert --tla/ext-*-file to imports
  • 4406074 Add support for memory profiling
  • eeecb7f Fix processing the same file many times
  • 741f9f0 Update stdlib and ||| fix
  • eedf676 Convert non-string errors to string
  • d6623a9 Oldest version known to work = Go 1.8, closes google#177
  • d135eff Add missing check for array out of bounds
  • 561a986 Remove unnecessary type alias in jsonnet/cmd.go
  • bc88189 Very basic, experimental linter
  • 5fc25a6 Remove unnecessary type alias
  • 7d821fd std.join silently steps over null (match std.jsonnet version)
  • 34a24d8 Basic support for running jsonnet command in tests (google#167)
  • 7c8f4d0 Call top level function even if there are no TLAs (match cpp semantics) (google#169)
  • c7a5b68 Add test case for native function returning error
  • de6b2b8 Make errors in native functions runtime errors
  • c3551f4 Basic refactoring - towards shared e2e tests
  • 8ade994 Efficient native implementation of std.join
  • 3481c9c Add JSONNET_PATH (go version)
  • 83abda5 jsonnet: fix docs, correct EvaluateSnippetMulti
  • 691e8d4 Remove unused dependencies
  • f7eea3b Native implementation of std.range
  • 219d970 jsonnet: Fix --output-file command line option
  • fe6a54a Justify / escape
  • dfc9428 refactor import callback to separate error from return value
  • c65317e Make fields of ImportedData public
  • ec5b07c Expose MemoryImporter data
  • 8f568c1 remove escLocalFS (google#150)
  • 3951023 fix go vet error (google#151)
  • 03e2a7f Fix bad format string (google#149)
  • ce84685 Sort FreeVariables slice (google#148)
  • b04e73e Fix unparsing of enums, avoid static type error
  • aeda613 experiment dump ast to source code (google#101)
  • c60056c Feature-complete commandline interface (google#138)
  • b6ee2c2 String token end location off-by-one error (google#139)
  • d753072 Stdlib go generate (google#144)
  • e72d930 update stdlib (google#143)
  • fd1eaa9 tell tests which implementation we are using (google#142)
  • dbc7fb3 search jpaths from right to left, compatibility with cpp (google#140)
  • 4356f42 max_trace==0 means no trace limit (google#141)
  • f965f9e For compatability, emit the \n within the library, not the cmd (google#137)
  • 3eaf189 Allow bitwise operations on floats, according to Spec (and Javascript behavior)
  • e8f6d25 Add Version()
  • 968ae23 Make NativeFunction members public (google#135)
  • 52d2fdc Rename jsonnet.nativeFunction -> jsonnet.NativeFunction
  • 10d377f [WIP] Disallow floating point indexing (waiting for google#116)
  • bb8d424 Add previously forgotten tests
  • 5ff7ee0 Update README.md
  • f3cb9eb Rename 'ast' variable that shadowed package name.
  • ed281bc Support for native callbacks
  • 96a2abc Some initial test metadata
  • 5c946df Eliminate duplication in builtin names
  • 0f049ea Basic tailstrict support
  • 2db3d1c TLA support
  • 171cdd6 Post-rebase fix
  • 4b07358 Rename valueSimpleObjectField -> simpleObjectField
  • 0c43340 Support for import callbacks
  • 5b17982 Represent types as Go objects, not strings (give them pointer identity) (google#119)
  • 4a4a7fe Check index types (google#116)
  • ba0f236 Optional eval (google#92)
  • f0f7041 Clean up some TODOs
  • a4058fc Support for stack trace size limit
  • 02a4eed Support $ in comprehesions, fixes google#68
  • 0ec5f40 Express at-most-once evaluation (thunk caching) in types
  • 9479769 Remove commented out code
  • 774715b Support for std.thisFile, fixes google#91.
  • 82f213a Fix tests (after rebase)
  • 8b84356 Support --ext-str and --ext-code options
  • 3337790 Allow all kinds of string literals as object field names
  • 80ce6ac Don't escape block strings (google#98)
  • c345915 Location, error formatting and stack trace improvements (google#59)
  • a1b8248 Fix comprehensions (google#90)
  • df1b805 More tests for builtins.
  • ec94dec Remove stale TODOs
  • e7249a1 Separate manifestation from serialization to string
  • 8628b9b Remove go:generate causing errors
  • c2229ed eliminate ununsed code
  • 0b52ea4 Support for various kinds of strings in imports
  • 121a77c Remove a few stale TODOs
  • b1a9c0b ExtVar support
  • 0c86c9e Support of +:, in, in super
  • 93bcf64 Add tests for std.primitiveEquals
  • 544fe25 Simplistic argument checking
  • a92b301 Some placeholders and experiments for C library
  • 78b4794 Object comprehensions
  • 850575c More tests for log and exp
  • 650825c Change test file extension
  • 97a80b9 Fix inheritance of hidden fields, closes google#70
  • 02f86ba Fix extenstions of test files (merging order issue)
  • fe62ec4 Improve imports (google#66)
  • 8638a21 Object invariants (google#62)
  • 9047718 Add std.filter
  • 2cf7443 Add support for % operator
  • cab0cc8 std.codepoint, std.char + a bunch of tests
  • 4c5938c travis: update go version
  • 8a80309 std.md5
  • 999ff26 Remove unused autogenerated code
  • a94b877 Add std.exponent and std.mantissa
  • ad4be04 Fix desugaring of assertions
  • 4d5365f Add a bunch of tests for fundamental builtins
  • 7ebcb06 Support for ifs in array comprehensions
  • 1e47970 Even more builtins
  • 6b040a9 Actually unparse field names
  • 860c3e6 Add more builtins
  • 3c94bde String indexing, change of string representation (google#34)
  • c26c50c Array comprehensions (google#35)
  • c9e23d4 Merge pull request google#36 from sbarzowski/toString
  • 77b8b9e Optional args parser/lexer/ast support (google#33)
  • 5cd467f More builtins
  • b1427d5 Parser & desugarer support for "in"
  • a4456d8 Add desugaring of standalone assertions
  • 0d716ae Move parser to its own package
  • 0cd1ad2 Make parser members public
  • ad56a07 Move AST to its own package
  • c610dec Make AST data structures public
  • 5da57ac Interpreter & runtime - minimal usable version (google#24)
  • 8c86686 Merge pull request google#26 from sevki/refactor-tests
  • 7b875bd change the diff function
  • f535776 refactor golden tests to look more like std library tests
  • 4582b1c remove errString from main_test.go
  • 640983c use t.Run for tests
  • 1826830 Merge pull request google#25 from sevki/extmap
  • a582c5c initialize the extMap
  • 899b931 Fix unicode escape sequences & some desugaring
  • 91e1162 Make it possible to evaluate stdlib (google#20)
  • 7588ed5 Merge pull request google#22 from sbarzowski/parser_comprehensions
  • 9743ad7 Fix parser - support for locals in comprehensions
  • ace9ab7 Merge pull request google#21 from sbarzowski/verbatim_strings
  • a94bfef Add verbatim string support
  • da7c66a Merge pull request google#19 from sbarzowski/lexer_newline_bug
  • dee39c1 Merge pull request google#18 from sbarzowski/cmd
  • 370534c Basic commandline (so we can start testing compatibility)
  • 660c09f Fix bug messing up newlines
  • 137523a Merge pull request google#17 from sbarzowski/bindbug
  • fd77883 Fix local bind body not being desugared
  • f81573c Merge pull request google#15 from sbarzowski/strings
  • badeb83 Tests + default + better panic message
  • 964c4bc Allow adding strings
  • 70da0b8 Merge pull request google#12 from sparkprime/json_pass_through
  • c5225a1 address jbeda's comments
  • 09c7c8c Pass through JSON
  • c3e4c80 Merge pull request google#10 from jbeda/fix-lint
  • 0eedf43 Fix up lint errors.
  • bf2c1df Merge pull request google#9 from sparkprime/skeleton
  • db9caa7 Change British English to American English
  • 563bbe1 First end-to-end test (addition of numbers)
  • c0060af Merge pull request google#8 from jbeda/parser
  • d8dc42a Finish unit tests for parser.
  • 964a6e8 Remove unneeded astKind type.
  • 566a2cf Happy case tests for parser.
  • 2b23986 Merge pull request google#7 from jbeda/parser
  • 142b77c Finish up blocking out the parser.
  • 3b5fc97 Merge pull request google#6 from jbeda/fix-lint
  • e70cc51 Fix lint issues and add package comment
  • 04c51f7 Merge pull request google#5 from sparkprime/lexer_changes
  • c3f136d Port lexer changes from google/jsonnet 0c96da7 to 27ddf2c Fix google#1
  • 2282fdf Merge pull request google#3 from jbeda/readme-fix
  • 1cbeb25 Merge pull request google#2 from jbeda/copyright-notice
  • a469f96 Fix up repo paths in the README.
  • 6a29151 Add copyright notice to all files.
  • 642ec89 Merge pull request google#1 from google/fix_build
  • 2f91602 Fix build errors, implement parseCommaList
  • 4a8db91 Add CONTRIBUTING, add newline to end of other files
  • 7b6ac5f Check in work in progress on parser. Doesn't build right now.
  • dc07929 First cut at AST definition
  • 96c648f Add travis widget
  • cdbee43 Improve test coverage, add README badges.
  • a04a6cf Initial commit with lexer