Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Bump com.github.spullara.mustache.java:compiler from 0.9.10 to 0.9.11 (#13329) #13353

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Bump bouncycastle from 1.77 to 1.78 ([#13243](https://github.com/opensearch-project/OpenSearch/pull/13243))
- Update google dependencies in repository-gcs and discovery-gce ([#13213](https://github.com/opensearch-project/OpenSearch/pull/13213))
- Bump `com.google.apis:google-api-services-compute` from v1-rev235-1.25.0 to v1-rev20240407-2.0.0 ([#13333](https://github.com/opensearch-project/OpenSearch/pull/13333))
- Bump `com.github.spullara.mustache.java:compiler` from 0.9.10 to 0.9.11 ([#13329](https://github.com/opensearch-project/OpenSearch/pull/13329))

### Changed
- [BWC and API enforcement] Enforcing the presence of API annotations at build time ([#12872](https://github.com/opensearch-project/OpenSearch/pull/12872))
Expand Down
2 changes: 1 addition & 1 deletion modules/lang-mustache/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ opensearchplugin {
}

dependencies {
api "com.github.spullara.mustache.java:compiler:0.9.10"
api "com.github.spullara.mustache.java:compiler:0.9.11"
}

restResources {
Expand Down
1 change: 0 additions & 1 deletion modules/lang-mustache/licenses/compiler-0.9.10.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-mustache/licenses/compiler-0.9.11.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1bce858aca4f0ce93fdb939de8c8474431c06322
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
- match: { template_output.aggs.my_terms.terms.field: "my_other_field" }

- do:
catch: /Improperly.closed.variable.in.query-template/
catch: /Improperly.closed.variable:.my_value.in.query-template/
render_search_template:
body: { "source": { "query": { "match": { "text": "{{{my_value}}" } }, "aggs": { "my_terms": { "terms": { "field": "{{my_field}}" } } } }, "params": { "my_value": "bar", "my_field": "field1" } }
---
Expand Down Expand Up @@ -99,7 +99,7 @@
- match: { template_output.size: 100 }

- do:
catch: /Improperly.closed.variable.in.query-template/
catch: /Improperly.closed.variable:.my_value.in.query-template/
render_search_template:
body: { "source": "{ \"query\": { \"match\": { \"text\": \"{{{my_value}}\" } }, \"size\": {{my_size}} }", "params": { "my_value": "bar", "my_size": 100 } }

Expand Down
Loading