diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b413e0767..91190daab 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -3,7 +3,7 @@ "python/dotpromptz": "0.1.5", "python/handlebarrz": "0.1.8", "go": "0.2.0", - "java": "0.1.0", + "java": "0.1.1", "dart/dotprompt": "0.0.1", "bazel/rules_dart": "0.1.0", "bazel/rules_flutter": "0.1.0", diff --git a/Cargo.lock b/Cargo.lock index 8b370eee5..5d07b14fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -122,15 +122,15 @@ dependencies = [ [[package]] name = "bytes" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" [[package]] name = "cc" -version = "1.2.53" +version = "1.2.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "755d2fce177175ffca841e9a06afdb2c4ab0f593d53b4dee48147dfaade85932" +checksum = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29" dependencies = [ "find-msvc-tools", "shlex", @@ -144,9 +144,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "clap" -version = "4.5.54" +version = "4.5.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e6ff9dcd79cff5cd969a17a545d79e84ab086e444102a591e288a8aa3ce394" +checksum = "6899ea499e3fb9305a65d5ebf6e3d2248c5fab291f300ad0a704fbe142eae31a" dependencies = [ "clap_builder", "clap_derive", @@ -154,9 +154,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.54" +version = "4.5.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa42cf4d2b7a41bc8f663a7cab4031ebafa1bf3875705bfaf8466dc60ab52c00" +checksum = "7b12c8b680195a62a8364d16b8447b01b6c2c8f9aaf68bee653be34d4245e238" dependencies = [ "anstream", "anstyle", @@ -175,9 +175,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.49" +version = "4.5.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" +checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5" dependencies = [ "heck", "proc-macro2", @@ -378,9 +378,9 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "find-msvc-tools" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8591b0bcc8a98a64310a2fae1bb3e9b8564dd10e381e6e28010fde8e8e8568db" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" [[package]] name = "fnv" @@ -929,9 +929,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "portable-atomic" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" [[package]] name = "potential_utf" @@ -1048,9 +1048,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.43" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc74d9a594b72ae6656596548f56f667211f8a97b3d4c3d467150794690dc40a" +checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" dependencies = [ "proc-macro2", ] @@ -1083,9 +1083,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.12.2" +version = "1.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" dependencies = [ "aho-corasick", "memchr", @@ -1095,9 +1095,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" dependencies = [ "aho-corasick", "memchr", @@ -1106,9 +1106,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" +checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" [[package]] name = "rustix" @@ -1266,9 +1266,9 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "smallvec" @@ -1872,6 +1872,6 @@ dependencies = [ [[package]] name = "zmij" -version = "1.0.16" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfcd145825aace48cff44a8844de64bf75feec3080e0aa5cdbde72961ae51a65" +checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445" diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 6120081f0..607f06427 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -574,7 +574,7 @@ }, "@@rules_apple+//apple:apple.bzl%provisioning_profile_repository_extension": { "general": { - "bzlTransitiveDigest": "EGiMNop0zkFmJjeyGsg8hfIezYBxM9h1yHmaKdnqoNY=", + "bzlTransitiveDigest": "pdRt+Wm+XQmS427nAIg9z7qfm56CnZChO+HJ4zu3Xa8=", "usagesDigest": "vsJl8Rw5NL+5Ag2wdUDoTeRF/5klkXO8545Iy7U1Q08=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -5193,7 +5193,7 @@ }, "@@rules_rust+//crate_universe/private:internal_extensions.bzl%cu_nr": { "general": { - "bzlTransitiveDigest": "Ewd2+Mu5RbxQEgj1R2lVdn4kVKofz9Utgs8kUADcn2I=", + "bzlTransitiveDigest": "4RPjd7znLY5NDSAlX1AC3RiQyGSkIMjLvUYBdOmDrMc=", "usagesDigest": "v4We18mWSPeKV4GPp9Gne78W+jZOgP2pC1i4UN9br1g=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, diff --git a/java/CHANGELOG.md b/java/CHANGELOG.md new file mode 100644 index 000000000..1d6103827 --- /dev/null +++ b/java/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +## [0.1.1](https://github.com/google/dotprompt/compare/dotprompt-java-0.1.0...dotprompt-java-0.1.1) (2026-02-04) + + +### Features + +* cargo workspace configuration and bazel build files for hermetic environment ([#257](https://github.com/google/dotprompt/issues/257)) ([aef822e](https://github.com/google/dotprompt/commit/aef822ed484d256ba95a3544e132a9b33e0dc02d)) +* **java:** add basic types used elsewhere ([#381](https://github.com/google/dotprompt/issues/381)) ([1e51a69](https://github.com/google/dotprompt/commit/1e51a690a839ac84d50f627c88784617c08e1ebc)) +* **java:** add bazel defs to run spec tests ([#386](https://github.com/google/dotprompt/issues/386)) ([32bf3bf](https://github.com/google/dotprompt/commit/32bf3bf0fb399d89e95e6d3d22580211f99acc5c)) +* **java:** add dotprompt implementation ([#389](https://github.com/google/dotprompt/issues/389)) ([4464332](https://github.com/google/dotprompt/commit/4464332b5249530bdcfa1198847c677a9c388d74)) +* **java:** add handlebars helpers implementation ([#380](https://github.com/google/dotprompt/issues/380)) ([56579b7](https://github.com/google/dotprompt/commit/56579b794e0053b8c00780cd3e2680a7f102844f)) +* **java:** add java formatter ([#270](https://github.com/google/dotprompt/issues/270)) ([00add2e](https://github.com/google/dotprompt/commit/00add2edf72babfbae3f391a84b521f142fc947d)) +* **java:** add store implementation ([#387](https://github.com/google/dotprompt/issues/387)) ([16a241a](https://github.com/google/dotprompt/commit/16a241aba6fa7e132bc03e0f313081f5aafd5716)) +* **java:** parsers ([#383](https://github.com/google/dotprompt/issues/383)) ([a5fdd61](https://github.com/google/dotprompt/commit/a5fdd612d248637f791c6108cae2eb59c76c659e)) +* **java:** resolver and store types ([#382](https://github.com/google/dotprompt/issues/382)) ([27931e1](https://github.com/google/dotprompt/commit/27931e14c6bb3199ff0fbd7afc8a732c0150a6b9)) +* **promptly:** add lsp, fmt, and check implementations ([#438](https://github.com/google/dotprompt/issues/438)) ([27fd3d4](https://github.com/google/dotprompt/commit/27fd3d4c7aa96e09c46cb54546da1783be2f6a6e)) +* **rs:** store implementation for rust and go ([#430](https://github.com/google/dotprompt/issues/430)) ([ea798c2](https://github.com/google/dotprompt/commit/ea798c216c55cedfa052e528f0e36c5ad01a9273)) +* **rules_dart,rules_flutter:** enhance Bazel rules with workers and linting fixes ([#513](https://github.com/google/dotprompt/issues/513)) ([5369b40](https://github.com/google/dotprompt/commit/5369b4046eea9805f7dbcf026434035d55e2b095)) +* use the HEAD version of addlicense ([#280](https://github.com/google/dotprompt/issues/280)) ([bdf0d36](https://github.com/google/dotprompt/commit/bdf0d36a430a363de4163f48394546cba884eaaf)) + + +### Bug Fixes + +* add cycle detection to partial resolution across all runtimes ([#431](https://github.com/google/dotprompt/issues/431)) ([4e23d44](https://github.com/google/dotprompt/commit/4e23d44865415c13ab1a5b52c2930e32d26eac5d)) +* compile render issue ([#404](https://github.com/google/dotprompt/issues/404)) ([7152799](https://github.com/google/dotprompt/commit/71527994142de94f7897ce296d31581519e97fe8)) +* Ensure helper behavior parity across all runtimes ([#395](https://github.com/google/dotprompt/issues/395)) ([76de7ba](https://github.com/google/dotprompt/commit/76de7ba6065e07667dda5d3acb8b57ce36b48662)) +* **java:** consistent synchronization in resolveTools ([#429](https://github.com/google/dotprompt/issues/429)) ([ad4f33d](https://github.com/google/dotprompt/commit/ad4f33d5e7e48d4d67c316a9a2d9134526a78cbd)) +* **java:** pin version for handlebars v4.4.0 ([#309](https://github.com/google/dotprompt/issues/309)) ([17a510f](https://github.com/google/dotprompt/commit/17a510ff51fdc49c8e696fa3798b55243830e558)) +* path traversal security hardening (CWE-22) ([#413](https://github.com/google/dotprompt/issues/413)) ([5be598e](https://github.com/google/dotprompt/commit/5be598e9dcd617924150500974173fb0dbbc7acf)) +* update lock file ([#258](https://github.com/google/dotprompt/issues/258)) ([13a4b25](https://github.com/google/dotprompt/commit/13a4b2592a71aa0585af6ce6f42d92e0da9a8f3c))