Releases: opensearch-project/opensearch-java
v2.7.0
What's Changed
- Bumping client version to 2.7.0 post 2.6.0 release by @VachaShah in #562
- [Backport 2.x] Bump org.ajoberstar.grgit:grgit-gradle from 5.0.0 to 5.2.0 by @opensearch-trigger-bot in #563
- [Backport 2.x] Update jenkins file to use updated docker image by @opensearch-trigger-bot in #572
- [Backport] [2.x] Update Gradle to 8.2.1 (#570) by @reta in #577
- [Backport 2.x] Upgrade dependency-license-report and classgraph by @VachaShah in #599
- [Backport 2.x] Bump org.eclipse.parsson:parsson from 1.1.2 to 1.1.4 by @VachaShah in #600
- [Backport 2.x] Remove code generated comments (#598) by @VachaShah in #601
- [Backport 2.x] Removing unsupported field runtime for PutMappingRequest (#597) by @VachaShah in #606
- [Backport 2.x] Added "smartcn" and "cjk" analyzers by @VachaShah in #607
- [Backport 2.x] Update to Gradle 8.3 by @opensearch-trigger-bot in #609
- [Backport] [2.x] JarHell caused by latest software.amazon.awssdk 2.20.141 (#616) by @reta in #622
- [Backport] [2.x] Don't over-allocate in HeapBufferedAsyncEntityConsumer in order to consume the response (#620) by @reta in #623
- [Backport] [2.x] Fix for CVE-2976 + add CVE checker (#624) by @reta in #625
- [Backport 2.x] Backporting samples and user guide to 2.x by @VachaShah in #626
- [Backport 2.x] Add support for wrapper queries by @opensearch-trigger-bot in #633
- [Backport 2.x] Moving "software.amazon.awssdk" dependencies to the compileOnly scope (#628) by @VachaShah in #634
- [Backport 2.x] Add newer versions of server to compatibility matrix by @opensearch-trigger-bot in #643
- [Backport 2.x] Add script fields support for multi search request (#632) by @VachaShah in #646
- [Backport 2.x] Fixed GetFieldMappingResponse. (#641) by @VachaShah in #647
- [Backport 2.x] Added size attribute to MultiTermsAggregation (#627) by @VachaShah in #652
- [Backport 2.x] TermvectorsResponse fix for optionals. (#642) by @VachaShah in #658
- [Backport 2.x] Migrating from checkstyle to spotless (#648 and #651) by @VachaShah in #661
- [Backport 2.x] Make
MultiSearchItem.status
optional (#660) by @Xtansia in #662 - Getting CHANGELOG ready for next release by @VachaShah in #663
- [Backport 2.x] Adding workflow to increment version after release by @opensearch-trigger-bot in #671
Full Changelog: v2.6.0...v2.7.0
v2.6.0
What's Changed
- Bump client to 2.6.0 by @VachaShah in #512
- Bump io.github.classgraph:classgraph from 4.8.158 to 4.8.160 in /java-client (#514) by @reta in #517
- [Backport] [2.x] fix: add several missing fields in MultisearchBody.Builder (#506) (#516) by @reta in #519
- Manual backport: Fix suggestion classes for Term, Phrase, and Completion. (#477) by @harshavamsi in #529
- Manual backport: Add support for knn_vector property type by @maltehedderich in #532
- [Backport] [2.x] Bumps 'jackson' from 2.14.2 to 2.15.2 (#537) by @reta in #542
- [Backport 2.x] fix: add missing translog sync interval option to index settings by @opensearch-trigger-bot in #544
- [Backport 2.x] Fixes #283 by @opensearch-trigger-bot in #552
- Fixes #553: fix highlight max_analyzer_offset field name to match wit… by @schmittjoaopedro in #557
- Update
httpcomponents
dependencies. (#554) by @reta in #560 - [Backport 2.x] Add support for approximate k-NN queries by @opensearch-trigger-bot in #559
Full Changelog: v2.5.0...v2.6.0
v2.5.0
What's Changed
- Backport/backport 442 to 2.x by @szczepanczykd in #445
- Fixing changelog for the 2.x branch by @VachaShah in #447
- [Backport 2.x] Fixing issue when tracktotalhits is disabled (#372) by @VachaShah in #449
- Add javadoc link for the client by @VachaShah in #448
- Backport workflow improvements and increment version by @VachaShah in #446
- [Backport 2.x] Publish snapshots from 2.x branch (#451) by @VachaShah in #454
- [Backport 2.x] Add workflow to publish snapshots via GHA (#325) by @VachaShah in #455
- [Backport 2.x] Fixing issues when deserializing response for tasks API by @opensearch-trigger-bot in #467
- [Backport 2.x] Include aggregations and suggest in SearchTemplateResponse by @eNorby1 in #468
- [Backport 2.x] Adds point in time APIs (#461) by @harshavamsi in #472
- fix: handle String error deserialization for ErrorCause object (#301)… by @szczepanczykd in #478
- [Backport 2.x] Upgrading gradle plugin dependency-license-report to 2.2 (#483) by @VachaShah in #485
- [Backport 2.x] Fixes deserialization of enums when using booleans instead of strings by @opensearch-trigger-bot in #488
- Backport/backport 489 to 2.x by @szczepanczykd in #496
- Upgrading to latest OpenSearch version by @VachaShah in #487
- [Backport] [2.x] Add RestClient initialization code snippets (#501) by @reta in #504
- [Backport] backport-495-to-2.x by @chenqi0805 in #508
- [Backport 2.x] refactor: deprecate totalDataSetSize and totalDataSetSizeInBytes in S… by @opensearch-trigger-bot in #502
- [Backport 2.x] FIX: extract reason from error in AWSSdk2Transport by @opensearch-trigger-bot in #509
- [Backport 2.x] Bump org.eclipse.parsson:parsson from 1.1.1 to 1.1.2 by @opensearch-trigger-bot in #507
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
- [Backport] [2.x] Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403) by @reta in #408
- [Backport 2.x] Add buffered lookahead for Jackson by @opensearch-trigger-bot in #410
- [Backport 2.x] Add option to set headers and sort options in cat requests by @opensearch-trigger-bot in #413
- [Backport 2.x] Support DataStream APIs by @opensearch-trigger-bot in #419
- [Backport 2.x] Fix compilation issues (after changes in main) by @opensearch-trigger-bot in #427
- refactor: create AbstractAggregationRequestIT class + fail with OpenS… by @szczepanczykd in #436
- Increment version to 2.4.0 by @VachaShah in #438
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
- [Backport 2.x] Fix issue with completion suggester being parsed as term suggester. by @opensearch-trigger-bot in #350
- ISSUE-292 Prevent SPI calls at runtime by @chibenwa in #351
- [Backport 2.x] Bulk UpdateOperation misses upsert options by @opensearch-trigger-bot in #358
- [Backport] [2.x] Bumps Jackson from 2.14.1 to 2.14.2 (#357) by @reta in #359
- [Backport 2.x] Upgrading compatibility to opensearch 2.5 by @opensearch-trigger-bot in #368
- [Backport 2.x] Feature/range aggregation fix 369 by @opensearch-trigger-bot in #381
- [Backport 2.x] Refactor two-client usage. by @opensearch-trigger-bot in #386
- [Backport 2.x] Adding bulk request example in user guide by @opensearch-trigger-bot in #384
- [Backport 2.x] Adding an example to use raw JSON class instead of target classes by @opensearch-trigger-bot in #393
- [Backport 2.x] Update Gradle to 8.0.2 by @opensearch-trigger-bot in #397
- [Backport 2.x] Bumping classgraph from 4.8.149 to 4.8.156 by @VachaShah in #395
- [Backport 2.x] Add 2PR approval to release workflow (#383) by @VachaShah in #394
- [Backport 2.x] Add "mappings" field to IndexSettings object by @opensearch-trigger-bot in #400
- Increment client version to 2.3.0 by @VachaShah in #396
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- Added Maven Central and Snapshot builds repo information. by @dblock in #196
- Increment version to next development iteration, v2.1.1. by @dblock in #200
- Adds integration tests status badge by @harshavamsi in #202
- Added RELEASING instructions. by @dblock in #199
- Removing ODFE references by @VachaShah in #203
- Upgrading junit version by @VachaShah in #204
- Update Gradle to 7.5.1 by @reta in #209
- Adding test support for multiple platforms by @VachaShah in #208
- Adding unit test support for multiple platforms by @VachaShah in #210
- Adding Dependabot configuration by @VachaShah in #211
- Bump parsson from 1.0.0 to 1.1.1 in /java-client by @dependabot in #213
- Bump classgraph from 4.8.116 to 4.8.149 by @dependabot in #224
- Upgrading to OpenSearch 2.3.0 by @VachaShah in #223
- Removing strong dependency for jakarta-json-api by @VachaShah in #221
- Upgrading to the latest dependency-license-report in its 1.x line by @VachaShah in #220
- Update dependency com.fasterxml.jackson.core:jackson-databind to v2.13.4 by @mend-for-github-com in #229
- Add changelog and changelog verifier by @harshavamsi in #239
- Set javadoc encoding to utf-8 by @meetesh in #241
- Update Jackson Databind to 2.13.4.2 (addressing CVE-2022-42003) by @reta in #240
- Updates changelog for dependabot PRs by @harshavamsi in #247
- Update tests to use JUnit's Assert by @reta in #244
- Update literature around changelog by @harshavamsi in #242
- Bump grgit-gradle from 4.0.1 to 5.0.0 by @dependabot in #243
- Add support to parse sub-aggregations from filter/nested aggregations by @abhinav-nath in #234
- Add timeout and throttle to the jenkins workflows by @peterzhuamazon in #231
- Update Maintainers by @VachaShah in #248
- [Backport] [2.x] Update Jackson to 2.14.0 (#258) by @reta in #259
- [Backport] [2.x] Update Gradle to 7.6 (#309) by @reta in #311
- [Backport] [2.x] Fix: Make ChildrenAggregate as a SingleBucketAggrega… by @sivaGH3 in #313
- [Backport] [2.x] [BUG] /_nodes/stats throwing serialization error (#315) by @reta in #320
- [Backport 2.x] Removing unsupported dynamic_templates option for bulk by @opensearch-trigger-bot in #319
- [Backport 2.x] Fix: ResponseCompression option. by @opensearch-trigger-bot in #327
- [Backport] [2.x] Introduce new OpenSearchTransport based on Apache HttpClient 5 (#281) by @reta in #328
- [Backport] #324 by @dblock in #335
- [Backport 2.x] Added support for skip-changelog. by @opensearch-trigger-bot in #341
- Increment to next minor version by @VachaShah in #340
- [Backport 2.x] Fix: do not double-wrap OpenSearchException. by @opensearch-trigger-bot in #332
- [Backport 2.x] Adding x-amz-content-sha256 header for signed requests (#339) by @VachaShah in #344
- [Backport 2.x] Adds release workflows to onboard to new release process (#321) by @gaiksaya in #345
- Set version as env variable for release by @gaiksaya in #346
New Contributors
- @harshavamsi made their first contribution in #202
- @meetesh made their first contribution in #241
- @abhinav-nath made their first contribution in #234
- @peterzhuamazon made their first contribution in #231
Full Changelog: v2.1.0...v2.2.0
Version 2.1.0
What's Changed
- Using standardized templates from .github by @VachaShah in #162
- Adding new OpenSearch versions and updating compatibility matrix by @VachaShah in #170
- Sort field in Hit deserializer should handle null events by @Arsnael in #169
- Deprecating master terminology to support inclusive naming by @VachaShah in #167
- Remove unused Log4j 2 dependency by @dermot-hardy in #175
- Fix issue 172 by @mtimmerm in #173
- Only add SPDX license to new files. by @dblock in #178
- AwsSdk2Transport implementation by @mtimmerm in #177
- Update to Gradle 7.5 by @reta in #180
- Adding link checker workflow by @VachaShah in #179
- Upgraded to opensearch-rest-client 2.1.0. by @dblock in #183
- Jenkins workflows to release -SNAPSHOT builds and to stage releases in maven by @dblock in #187
- Always allow publishing to local repo. by @dblock in #189
- Add automatic triggers to jenkins workflow by @gaiksaya in #188
- Fix: correct env variables for the SNAPSHOT repo username/password. by @dblock in #192
- Removed obsolete publishForReleaseManager task. by @dblock in #194
- Extract version into gradle.properties. by @dblock in #193
- Fix checkstyle badge by executing checkstyle workflow on push to main. by @dblock in #195
- Fix maven release path by @gaiksaya in #198
New Contributors
- @Arsnael made their first contribution in #169
- @dermot-hardy made their first contribution in #175
- @mtimmerm made their first contribution in #173
Full Changelog: v2.0.0...v2.1.0
Compatibility
Compatible with OpenSearch 2.0 and 2.1.0
Maven repo url: https://search.maven.org/artifact/org.opensearch.client/opensearch-java
Version 2.0.0
Version 2.0.0 Release Notes
Compatible with OpenSearch 2.0
Maven artifact : https://repo1.maven.org/maven2/org/opensearch/client/opensearch-java/2.0.0/
Features
- Update to Gradle 7 (#120)
- Upgrade checkstyle to latest version (#117)
- Update to Gradle 7.4.1 (#131)
- Update jackson-databind for CVE-2020-36518 by @VachaShah in #129
- Fix flaky Cluster integration tests (#145)
- Type mapping removals for OpenSearch 2.0 (#132, #141)
- Update to Gradle 7.4.2 (#135)
Infrastructure
- Configure WhiteSource for GitHub.com (#112)
- Add a Developer Guide (#111)
- Add support to test against multiple versions of OpenSearch for compatiblity (#122)
- Add JDK matrix for integration tests (#126)
- Add support to test against unreleased OpenSearch (#132)
- Add auto backport functionality (#136)
- Re-enable integration tests across multiple versions of OpenSearch (#154)
- Test against OpenSearch 2.0 (#160)
Full Changelog: v1.0.0...v2.0.0
Version 1.0.0
What's Changed
- Remove xpack related code by @imRishN in #85
- Update co.elastic to org.opensearch by @imRishN in #88
- Update licence headers by @imRishN in #89
- Add Basic Templates by @imRishN in #90
- Setup Opensearch docker and update workflow by @imRishN in #91
- Update tasks in build.gradle.kts and gh workflow actions by @imRishN in #92
- Update package name to org.opensearch.client.*. by @imRishN in #93
- Add workflow to stage maven release and add DCO check by @imRishN in #94
- Refactor classes with prefix Elasticsearch to Opensearch by @imRishN in #95
- Remove product header check by @imRishN in #96
- Update endpoint id with prefix opensearch by @imRishN in #97
- Enabling integ test by @imRishN in #98
- Add integration tests by @imRishN in #99
- Replace co.elastic.clients with org.opensearch.client by @imRishN in #100
- Remove PointInTime feature by @imRishN in #101
- Remove elastic documentation links by @imRishN in #102
- Rename Opensearch to OpenSearch by @imRishN in #103
- Remove endpoint's identifier by @imRishN in #104
- Remove elastic specification links by @imRishN in #105
- Remove the docs folder and upgrade Jackson-Databind Version by @imRishN in #106
- Update Readme and Bump Version by @imRishN in #110
Full Changelog: https://github.com/opensearch-project/opensearch-java/commits/v1.0.0
Compatibility
Compatible with OpenSearch 1.3.1
Maven repo url: https://search.maven.org/artifact/org.opensearch.client/opensearch-java
Version 0.1.3
Version 0.1.3 with log4j cve fix
Compatible with OpenSearch 1.2.3
Maven repo url: https://repo1.maven.org/maven2/org/opensearch/client/opensearch-java/0.1.3/