Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented May 17, 2025

This PR contains the following updates:

Package Change Age Confidence
org.opensearch.client:opensearch-java 2.4.03.5.0 age confidence

Release Notes

opensearch-project/opensearch-java (org.opensearch.client:opensearch-java)

v3.5.0

Compare Source

Added
  • Fix formatting of the main method to run for various samples (#​1749)
  • Fix NPE when null ObjectBuilder is accessed (#​1717)
  • Added BulkIngester helper for efficient bulk operations with buffering, retries, and backpressure. Ported from elasticsearch-java (commit e7120d4) (#​1809)
  • Added equals and hashCode implementation to JsonDataImpl (#​1803)
Dependencies
  • Bump com.github.jk1.dependency-license-report from 2.9 to 3.0.1 (#​1779, #​1781)
Changed
Deprecated
Removed
Fixed
Security

v3.4.0

Compare Source

Added
Dependencies
Changed
Deprecated
Removed
Fixed
  • Fixed an issue where AwsSdk2Transport would create a default JacksonJsonpMapper on every instantiation even if a mapper was already provided, which could cause issues with Jackson module resolution (#​1788)
  • Fixed the regression introduced in the OpenSearch OpenAPI spec (#​1794)
Security

v3.3.0

Compare Source

Added
  • Added decommission awareness & weighted routing operations (#​1632)
  • Added support for the ltr namespace (#​1689)
  • Added support for the geospatial namespace (#​1690)
  • Added support for the knn namespace (#​1693)
  • Added getter for retrieve all nodes along with their state (#​1698)
  • Added support for the search_relevance namespace (#​1748)
Dependencies
  • Bump io.github.classgraph:classgraph from 4.8.180 to 4.8.181 (#​1703)
  • Bump org.junit:junit-bom from 5.13.3 to 5.13.4 (#​1704)

v3.2.0

Compare Source

Added
  • Added support for Index Management plugin APIs (#​1604)
  • Added support for the security plugin APIs (#​1601)
  • Added Jackson ObjectMapper module auto-detection (#​1643)
  • Added support for the ingestion namespace (#​1663)
Dependencies
Changed
  • Changed the type of the properties in DocStatus from integer to Long to resolve the integer overflow issue (#​1644)
Fixed
  • Fixed building instances of Explanation by making details optional (#​1620)
  • Fixed ApacheHttpClient5Transport not honoring connect & socket timeouts configured on ConnectionConfig (#​1662)

v3.1.0

Compare Source

Added
  • Added support for the template query type (#​1586)
  • Added support for Search Shards request slice property (#​1586)
  • Added support for the score-ranker-processor phase results processor (#​1594)
Dependencies
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.4 to 5.5 (#​1578)
  • Bump org.junit:junit-bom from 5.12.2 to 5.13.0 (#​1587)

v3.0.0

Compare Source

⚠️ Breaking Changes ⚠️
  • As part of efforts to re-generate the client from our OpenAPI specification there have been numerous corrections and changes that resulted in breaking changes. Please refer to UPGRADING.md for a complete list of these breakages and any relevant guidance for upgrading to this version of the client.
Added
  • Document HTTP/2 support (#​330)
Dependencies
  • Bumps org.eclipse.parsson:parsson from 1.1.6 to 1.1.7
  • Bumps org.hamcrest:hamcrest from 2.2 to 3.0
  • Bumps com.github.jk1.dependency-license-report from 2.8 to 2.9
  • Bump com.carrotsearch.randomizedtesting:randomizedtesting-runner from 2.8.2 to 2.8.3 (#​1487)
  • Bump org.opensearch.gradle:build-tools from 3.0.0-alpha1-SNAPSHOT to 3.1.0-SNAPSHOT (#​1543)
Changed
  • Migrate client transports to Apache HttpClient / Core 5.x (#​246)
  • Changed SearchAfter of SearchRequest type to FieldValue instead of String (#​769)
  • Changed type of DanglingIndex's creationDateMillis field from String to long (#​1124)
  • Changed type of ShardStatistics's total, successful, failed & skipped fields from Number to int/Integer (#​1158)
  • Unified tasks.Info and tasks.State classes into tasks.TaskInfo (#​1187)
  • Changed type of Hit's sort field from List<String> to List<FieldValue> (#​1225)
  • Changed type of MultisearchBody's searchAfter field from List<String> to List<FieldValue> (#​1225)
Deprecated
  • Deprecate RestClientTransport (#​536)
Removed
  • Removed the features and shutdown namespaces as they're not supported by OpenSearch (#​1361)
  • Removed the indices.diskUsage operation as it's not supported by OpenSearch (#​1361)
  • Removed the ingest.geoIpStats operation as it's not supported by OpenSearch (#​1375)
  • Removed the indices.getUpgrade and indices.upgrade operations as they're not supported by OpenSearch (#​1377)
  • Removed the termsEnum operation as it's not supported by OpenSearch (#​1377)
Fixed
  • Fix version and build (#​254)
  • Fixed deserializing tasks.ListResponse when using GroupBy.None (#​1187)

v2.26.0

Compare Source

Added
  • Added Jackson ObjectMapper module auto-detection (#​1643)
Dependencies
Fixed
  • Fixed ApacheHttpClient5Transport not honoring connect & socket timeouts configured on ConnectionConfig (#​1662)

v2.25.0

Compare Source

Added
  • Added support for the template query type (#​1586)
  • Added support for Search Shards request slice property (#​1586)
  • Added support for ML tool attributes (#​1594)
  • Added support for the score-ranker-processor phase results processor (#​1594)
Dependencies
  • Bump org.junit:junit-bom from 5.12.2 to 5.13.0 (#​1587)
Fixed
  • Fixed ScoreCombination's parameters structure (#​1594)

v2.24.0

Compare Source

Dependencies
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.3 to 5.4.4 (#​1544)
Changed
  • Changed StopTokenFilter's stopwords field to no longer be required (#​1551)
Fixed
  • Fixed deserializing wrapper queries (#​1537)
  • Add is_hidden to AliasDefinition (#​1537)

v2.23.0

Compare Source

Added
  • Added normalizer to wildcard field (#​1489)
  • Added paginationDepth to HybridQuery (#​1490)
Dependencies
  • Bump org.owasp.dependencycheck from 12.0.2 to 12.1.1 (#​1440, #​1514)
  • Bump org.junit:junit-bom from 5.12.0 to 5.12.2 (#​1486, #​1525)
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.2 to 5.4.3 (#​1506)
  • Bump org.apache.httpcomponents.core5:httpcore5-h2 from 5.3.3 to 5.3.4 (#​1498)
  • Bump org.apache.httpcomponents.core5:httpcore5 from 5.3.3 to 5.3.4 (#​1497)
Fixed
  • Fixed ClassCastException in extractAndWrapCause when handling ExecutionException (#​1483)
  • Fixed getting cluster & node stats and node info against AOS due to missing properties (#​1520, #​1521)

v2.22.0

Compare Source

Added
  • Added toBuilder() and Builder.copy() methods to all generated classes (#​1300)
  • Added support for additional ML APIs (#​1443)
  • Added support for the Search Pipeline APIs (#​1442)
  • Added support for simple_pattern and simple_pattern_split tokenizers (#​1448, #​1451)
  • Added support for the Search response phase_took field (#​1449)
  • Added support for GeoDistanceSort's nested and validation_method fields (#​1470)
Dependencies
  • Bump org.junit:junit-bom from 5.11.4 to 5.12.0 (#​1456)
Changed
  • Changed abstract builders visibility to public (#​1464)

v2.21.0

Compare Source

Added
  • Added support for GeoDistanceQuery's ignore_unmapped property (#​1430)
  • Added support for docvalue_fields in msearch (#​1429)
Dependencies
  • Bump commons-logging:commons-logging from 1.3.4 to 1.3.5 (#​1418)
Fixed
  • Fixed serialization of KnnQuery's method_parameters property (#​1427)
  • Fixed deserializing GeoValidationMethod enum values when uppercase (#​1431)

v2.20.0

Compare Source

Added
  • Added support for KnnQuery's expand_nested_docs, method_parameters and rescore properties (#​1407)
Dependencies
  • Bump org.junit:junit-bom from 5.11.3 to 5.11.4 (#​1367)
  • Bumps org.apache.httpcomponents.client5:httpclient5 from 5.4 to 5.4.2 (#​1401)
  • Bumps org.apache.httpcomponents.core5:httpcore5 from 5.3 to 5.3.3 (#​1383, #​1402)
  • Bump org.owasp.dependencycheck from 11.1.1 to 12.0.2 (#​1381, #​1393, #​1399)
Fixed
  • Fixed serialization of time_zone field in CompositeDateHistogramAggregationSource (#​1362)

v2.19.0

Compare Source

Added
  • Added support for IcuCollationKeywordProperty's country, language and variant properties (#​1321)
Dependencies
  • Bumps org.junit:junit-bom from 5.10.2 to 5.11.3
  • Bump com.carrotsearch.randomizedtesting:randomizedtesting-runner from 2.8.1 to 2.8.2 (#​1343)
  • Bump org.owasp.dependencycheck from 11.1.0 to 11.1.1 (#​1344)
Fixed
  • Fixed IcuCollationDecomposition's variants to align with those supported by OpenSearch (#​1321)
  • Fixed don't invoke the mapper's serialize method for the RangeQuery JsonData raw value #​1309
  • Fixed an issue where FieldSort was not implementing SortOptionsVariant (#​1323)
  • Fixed GetSnapshotResponse deserialization (#​1299)
  • Fixed CreateSnapshotResponse deserialization when wait_for_completion is false (#​1332)
  • Fixed serialization of nested aggregates under SingleBucketAggregateBase (#​1350)

v2.18.0

Compare Source

Added
  • Added support for disabling typed keys serialization (#​1296)
  • Added support for the batch_size param on the text_embedding processor (#​1298)
Dependencies
  • Bump io.github.classgraph:classgraph from 4.8.177 to 4.8.179 (#​1302)
Changed
  • Changed AwsSdk2Transport to pre-emptively throw an exception when using AWS SDK's ApacheHttpClient to make an unsupported DELETE/GET request with a body (#​1256)

v2.17.0

Compare Source

Added
  • Added support for KnnVectorProperty's compression_level, data_type, mode & space_type properties (#​1255)
Dependencies
  • Bumps org.apache.httpcomponents.core5:httpcore5-h2 from 5.3 to 5.3.1
  • Bumps org.owasp.dependencycheck from 10.0.2 to 11.1.0
Fixed
  • Fixed UndeployModelResponse deserialization (#​1257)

v2.16.0

Compare Source

Added
  • Added minScore and maxDistance to KnnQuery (#​1166)
  • Added minScore and maxDistance to NeuralQuery (#​1235)
Dependencies
  • Bumps org.ajoberstar.grgit:grgit-gradle from 5.2.2 to 5.3.0
Fixed
  • Fixed deserializing GeoBoundsAggregate when bounds is not returned by OpenSearch (#​1238)

v2.15.0

Compare Source

Added
  • Added hashCode and equals implementations to generated code (#​312)
  • Added sortVals to Hit to allow retrieving non-string sort values (#​1224)
  • Added searchAfterVals to MultisearchBody to allow passing arbitrary FieldValues to search_after (#​1224)
Dependencies
  • Bumps org.junit:junit-bom from 5.10.3 to 5.11.1
  • Bumps org.apache.httpcomponents.core5:httpcore5-h2 from 5.2.5 to 5.3
  • Bumps org.apache.httpcomponents.core5:httpcore5 from 5.2.5 to 5.3
  • Bumps org.apache.httpcomponents.client5:httpclient5 from 5.3.1 to 5.4
  • Bumps io.github.classgraph:classgraph from 4.8.175 to 4.8.177
Fixed
  • Fix queries not preserving boost and name when converted to builders (#​1181)
  • Remove required check on ShardStats.shards (#​1177)
  • Fixed TextEmbeddingProcessor returning the wrong processor kind (#​1127)

v2.14.0

Compare Source

Added
  • Added queryImage (query_image) field to NeuralQuery, following definition in (Neural Query) (#​1137)
  • Added cancelAfterTimeInterval to SearchRequest and MsearchRequest (#​1147)
  • Added the ml namespace operations (#​1158)
  • Added IndexTemplateMapping.Builder#withJson, SourceField.Builder#withJson and IndexSettings.Builder#withJson for streamlining deserialization (#​1148)
Dependencies
  • Bumps commons-logging:commons-logging from 1.3.3 to 1.3.4
  • Bumps io.github.classgraph:classgraph from 4.8.174 to 4.8.175
Fixed
  • Fixed handling of NodeInfo fields that are not returned by Amazon OpenSearch Service (#​1132)

v2.13.0

Compare Source

Added
  • Added searchAfterVals to SearchRequest to allow passing arbitrary FieldValues to search_after (#​1105)
Changed
  • Changed URL path encoding to own implementation adapted from Apache HTTP Client 5's (#​1109)
Fixed
  • Fixed error when deserializing a normalizer without 'type' (#​1111)
  • Fixed deserialization of SearchRequest when _source is an array (#​1117)

v2.12.0

Compare Source

Added
  • Added support for the parent aggregation type (#​706)
  • Added support for phase_took & search_pipeline request params (#​1036)
  • Added an interface PlainJsonSerializable with a default method for serialization to Json (#​1064)
Dependencies
  • Bumps io.github.classgraph:classgraph from 4.8.173 to 4.8.174
  • Bumps org.owasp.dependencycheck from 9.1.0 to 10.0.2
  • Bumps com.github.jk1.dependency-license-report from 2.7 to 2.8
  • Bumps commons-logging:commons-logging from 1.3.2 to 1.3.3
  • Bumps org.apache.httpcomponents.core5:httpcore5-h2 from 5.2.4 to 5.2.5
  • Bumps org.apache.httpcomponents.core5:httpcore5 from 5.2.4 to 5.2.5
Fixed
  • Fixed deserializing of error responses when using AwsSdk2Transport (#​1068)

v2.11.1

Compare Source

Fixed
  • Fixed handling of an absent source in InlineGet (#​1042)

v2.11.0

Compare Source

Fixed
  • Fixed error when deserializing an analyzer without type specified (#​1033)

v2.10.4

Compare Source

Added
Fixed
  • ApacheHttpClient5Transport requires Apache Commons Logging dependency (#​1003)
  • Preserve caller information in stack traces when synchronous callers use asynchronous transports (#​656)
  • Fix java.lang.NoSuchMethodError: org.apache.http.client.utils.URLEncodedUtils.formatSegments w/o httpclient (#​999)

v2.10.3

Compare Source

Dependencies
  • Bumps io.github.classgraph:classgraph from 4.8.170 to 4.8.172
Fixed
  • Fix the deserialization of SortOptions (#​981)
  • Generic HTTP Actions in Java Client does not work with AwsSdk2Transport (#​978)

v2.10.2

Compare Source

Fixed
  • Fix integer overflow for variables in indices stats response (#​960)
  • Fix composite aggregations for search requests (#​967)

v2.10.1

Compare Source

Added
  • Add missed fields to PhraseSuggestOption: collapseMatch (#​940)
  • Add missed fields to bulk's UpdateOperation: source (#​947)
Dependencies
  • Bumps com.github.jk1.dependency-license-report from 2.6 to 2.7

v2.10.0

Compare Source

Added
  • Add xy_shape property (#​884)
  • Add missed fields to MultisearchBody: seqNoPrimaryTerm, storedFields, explain, fields, indicesBoost (#​914)
  • Add OpenSearchGenericClient with support for raw HTTP request/responses (#​910, #​929)
  • Add missed fields to MultisearchBody: collapse, version, timeout (#​916
  • Add missed fields to MultisearchBody: ext, rescore and to SearchRequest: ext (#​918
Dependencies
  • Bumps io.github.classgraph:classgraph from 4.8.161 to 4.8.165
  • Bumps org.owasp.dependencycheck from 9.0.8 to 9.1.0
  • Bumps org.apache.httpcomponents.client5:httpclient5 from 5.3.0 to 5.3.1
  • Bumps io.github.classgraph:classgraph from 4.8.165 to 4.8.170
  • Bumps jackson from 2.15.2 to 2.17.0
  • Bumps org.eclipse.parsson:parsson from 1.1.5 to 1.1.6
Removed
Fixed
  • Fix integer overflow for variables in indices stats response (#​877)
  • Support weight function in function score query (#​880)
  • Fix pattern replace by making flag and replacement optional as on api (#​895)
  • Client with Java 8 runtime and Apache HttpClient 5 Transport fails with java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer (#​920)
  • Add missed field "filter" to NeuralQuery model class

v2.9.1

Compare Source

What's Changed

Full Changelog: opensearch-project/opensearch-java@v2.9.0...v2.9.1

v2.9.0

Compare Source

Added
  • Add support for Hybrid query type (#​850)
Dependencies
  • Bumps org.ajoberstar.grgit:grgit-gradle from 5.2.0 to 5.2.2
Changed
  • Restore support for Java 8 (#​767)
  • Add an integration test that runs on JDK-8 (#​795)
Fixed
  • Fix missing properties on UpdateOperation (#​744)

v2.8.4

Compare Source

Added
  • Add search role type for nodes in cluster stats (#​848)
Fixed
  • Fix ClusterStatsResponse field deserialization (#​848)

v2.8.3

Compare Source

Fixed
  • Fix PutTemplateRequest field deserialization (#​723)
  • Fix InnerHits to no longer enforce the nullable Index field when converting to Hit. (#​838)

v2.8.2

Compare Source

Added
  • Added support for icu_collation_keyword type (#​725)
  • Added support for flat_object field property (#​735)
  • Expose HTTP status code through ResponseException#status (#​756)
  • Added toBuilder method to all request model in core package & _types.query_dsl package (#​766)
  • Added toQuery method in Query and QueryVariant (#​760)
  • Added missing WrapperQuery accessors and builder methods (#​806)
Dependencies
  • Bumps com.diffplug.spotless from 6.22.0 to 6.25.0
  • Bumps org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.3
  • Bumps org.owasp.dependencycheck from 8.4.2 to 9.0.8
Deprecated
  • Deprecated "_toQuery()" in Query and QueryVariant (#​760)
Removed
  • Removed unsupported prefix field from CompletionSuggester (#​812)
Fixed
  • Fix partial success results for msearch_template (#​709)
  • Fix deserialization of node stats response (#​745)
  • Fix PutIndexTemplateRequest field deserialization (#​765)
  • Fix InnerHits to no longer enforce the nullable Index field when converting to Hit. (#​825)

v2.8.1

Compare Source

Fixed
  • Fix partial success results for msearch_template (#​709)

v2.8.0

Compare Source

Added
  • Added support for indexing and search index settings (#​667)
  • Added support for neural query type (#​674)
Changed
  • Allow null values in arrays (#​687)
  • Add an example for bulk update operation in samples (#​690)
Fixed
  • Fixed Hit response when search request has storedFields as null (#​698)

v2.7.0

Compare Source

Added
  • Added support for "smartcn" analyzer (#​605)
  • Added support for "cjk" analyzer (#​604)
  • Added support for wrapper queries (#​630)
  • Added support for "script_fields" in multi search request (#​632)
  • Added size attribute to MultiTermsAggregation (#​627)
  • Added version increment workflow that executes after release (#​664)
Dependencies
  • Bumps org.ajoberstar.grgit:grgit-gradle from 5.0.0 to 5.2.0
  • Bumps com.github.jk1.dependency-license-report from 2.4 to 2.5
  • Bumps io.github.classgraph:classgraph from 4.8.160 to 4.8.161
Changed
  • Moved "software.amazon.awssdk" dependencies to the compileOnly scope. (#​628)
  • Migrated from checkstyle to spotless (#​648)
Removed
  • Remove generated code comments from all files (#​598)
Fixed
  • Fix PutMappingRequest by removing unsupported fields (#​597)
  • [BUG] JarHell caused by latest software.amazon.awssdk 2.20.141 (#​616)
  • Don't over-allocate in HeapBufferedAsyncEntityConsumer in order to consume the response (#​620)
  • Fixed CVE-2976 + added CVE checker (#​624)
  • Fix parsing of GetFieldMappingResponse (#​641)
  • Fix TermvectorsResponse for optional fields (#​642)
  • Fix deserialization of MsearchTemplateResponse (#​660)

v2.6.0

Compare Source

Added
  • Add support for knn_vector field type (#​524)
  • Add translog option object and missing translog sync interval option in index settings (#​518)
  • Adds the option to set slices=auto for UpdateByQueryRequest, DeleteByQueryRequest and ReindexRequest (#​538)
  • Add support for approximate k-NN queries (#​548)
Dependencies
  • Bumps com.github.jk1.dependency-license-report from 2.2 to 2.4
  • Bumps io.github.classgraph:classgraph from 4.8.157 to 4.8.160
  • Bumps jackson from 2.14.2 to 2.15.2 ((#​537)[#​537])
  • Update org.apache.httpcomponents.client5:httpclient5 from 5.1.4 to 5.2.1 and org.apache.httpcomponents.core5:httpcore5 from 5.1.5 to 5.2.2
Deprecated
  • Deprecate translogDurability and translogFlushThresholdSize in IndexSettings in favor of a separate translog object (#​518)
Fixed
  • Fixed Suggesters for Completion, Term, and Phrase and refactored the Suggestion class (#​477)
  • Fix highlight max_analyzer_offset field name to match with the one introduced in OpenSearch 2.2.0 (#​555)

v2.5.0

Compare Source

Added
  • Add workflow to publish snapshots via GHA (#​454)
  • Added Point-In-Time APIs (#​461)
Dependencies
  • Bumps com.github.jk1.dependency-license-report from 1.19 to 2.2
  • Bumps org.eclipse.parsson:parsson from 1.1.1 to 1.1.2
Changed
  • Improve time taken by Github actions by using cache (#​439)
  • Introduce intermediary SearchResult for SearchResponse and SearchTemplateResponse classes, enabling similar response handling for both (#​462)
Fixed
  • Fix missing Highlight and SourceConfig in the MultisearchBody (#​442)
  • Fix search failure with missing required property HitsMetadata.total when trackTotalHits is disabled (#​372)
  • Fix failure when deserialing response for tasks API (#​463)
  • Fix failure when deserializing boolean types for enums (#​463)
  • Fix missing minScore, postFilter, searchAfter, sort, trackScores in the MultisearchBody (#​516)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner May 17, 2025 11:43
@renovate renovate bot force-pushed the renovate/org.opensearch.client-opensearch-java-3.x branch from a8bd514 to 4114b34 Compare June 6, 2025 16:38
@renovate renovate bot force-pushed the renovate/org.opensearch.client-opensearch-java-3.x branch from 4114b34 to 9fff941 Compare July 13, 2025 00:12
@renovate renovate bot force-pushed the renovate/org.opensearch.client-opensearch-java-3.x branch from 9fff941 to b54325a Compare November 1, 2025 12:05
@renovate renovate bot force-pushed the renovate/org.opensearch.client-opensearch-java-3.x branch from b54325a to 9f1ef13 Compare December 17, 2025 07:57
@renovate renovate bot force-pushed the renovate/org.opensearch.client-opensearch-java-3.x branch from 9f1ef13 to 1cdec44 Compare January 16, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant