Skip to content

Releases: opensearch-project/opensearch-go

Version 4.2.0

28 Aug 08:20
v4.2.0
d9896c1
Compare
Choose a tag to compare

What's Changed

  • Prepare for new development cycle by @Jakob3xD in #581
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.23 to 1.27.24 by @dependabot in #584
  • Bump github.com/aws/aws-sdk-go from 1.54.12 to 1.54.16 by @dependabot in #583
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.24 to 1.27.26 by @dependabot in #588
  • Bump github.com/aws/aws-sdk-go from 1.54.16 to 1.54.19 by @dependabot in #590
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.26 to 1.27.27 by @dependabot in #593
  • Improves ParseError response when server response is an unknown json by @imvtsl in #592
  • Bump github.com/aws/aws-sdk-go from 1.54.19 to 1.55.4 by @dependabot in #595
  • Bump github.com/aws/aws-sdk-go from 1.55.4 to 1.55.5 by @dependabot in #596
  • Fix: integration tests with unreleased version of OpenSearch. by @dblock in #600
  • Add the Suggest field to the SearchResp struct by @zr-bennettm in #602
  • Remove workflow test against gotip by @Jakob3xD in #604
  • opensearchapi: split SnapshotGetResp into sub structs by @Jakob3xD in #603
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.27 to 1.27.31 by @dependabot in #605
  • opensearchapi: add MaxScore field to ScrollGetResp by @Jakob3xD in #607
  • Bump version to 4.2.0 by @Jakob3xD in #606

New Contributors

Full Changelog: v4.1.0...v4.2.0

Version 4.1.0

03 Jul 07:46
v4.1.0
2a10288
Compare
Choose a tag to compare

What's Changed

  • Preparing for next developer iteration, 4.0.1 by @Jakob3xD in #531
  • Add missing search_pipeline field in opensearchapi.SearchParams by @jackh-ncl in #532
  • Add missing _routing field in SearchHit interface by @tushar2404 in #516
  • github/workflow: use actions/create-github-app-token by @Jakob3xD in #536
  • Bump github.com/aws/aws-sdk-go from 1.51.21 to 1.51.26 by @dependabot in #534
  • Bump github.com/wI2L/jsondiff from 0.5.1 to 0.5.2 by @dependabot in #535
  • Bump github.com/aws/aws-sdk-go from 1.51.26 to 1.51.31 by @dependabot in #537
  • Bump github.com/aws/aws-sdk-go from 1.51.31 to 1.52.3 by @dependabot in #538
  • Bump github.com/aws/aws-sdk-go from 1.52.3 to 1.53.1 by @dependabot in #545
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.11 to 1.27.13 by @dependabot in #546
  • Fix empty request body on retries with compression enabled by @merlinz01 in #543
  • Adds missing field due to new opensearch version by @Jakob3xD in #552
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.13 to 1.27.16 by @dependabot in #553
  • Bump github.com/aws/aws-sdk-go from 1.53.1 to 1.53.10 by @dependabot in #554
  • Fix ISM Plugin Transitions Conditions struct (#555) by @emtammaru in #556
  • Bump github.com/aws/aws-sdk-go from 1.53.10 to 1.53.15 by @dependabot in #557
  • Bump github.com/aws/aws-sdk-go-v2 from 1.27.0 to 1.27.1 by @dependabot in #559
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.16 to 1.27.17 by @dependabot in #558
  • Bump github.com/aws/aws-sdk-go from 1.53.15 to 1.53.20 by @dependabot in #563
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.17 to 1.27.18 by @dependabot in #562
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.18 to 1.27.19 by @dependabot in #567
  • Bump github.com/aws/aws-sdk-go from 1.53.20 to 1.54.3 by @dependabot in #564
  • Bump github.com/wI2L/jsondiff from 0.5.2 to 0.6.0 by @dependabot in #566
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.19 to 1.27.21 by @dependabot in #571
  • Bump github.com/aws/aws-sdk-go from 1.54.3 to 1.54.7 by @dependabot in #570
  • Field, Function and test fixes, adding missing struct to node stats by @Jakob3xD in #572
  • Add missing SeqNo and PrimaryTerm fields in SearchHit by @emtammaru in #574
  • fix request context cancellation is ignored when retryBackoff (#539) by @zhyu in #540
  • workflows: add OpenSearch 2.15 to compatibility workflow test by @Jakob3xD in #575
  • Bump github.com/aws/aws-sdk-go from 1.54.7 to 1.54.12 by @dependabot in #579
  • Bump github.com/aws/aws-sdk-go-v2 from 1.30.0 to 1.30.1 by @dependabot in #578
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.21 to 1.27.23 by @dependabot in #577

New Contributors

Full Changelog: v4.0.0...v4.1.0

Version 4.0.0

16 Apr 14:31
v4.0.0
ea3e57a
Compare
Choose a tag to compare

What's Changed

  • Preparing for next developer iteration, 3.1.1. by @dblock in #498
  • Bump github.com/aws/aws-sdk-go-v2 from 1.25.3 to 1.26.1 by @dependabot in #501
  • Use docker compose v2, add nodes stats global io usage struct, tests against opesnearch 2.13 by @Jakob3xD in #506
  • Add the Explanation field containing the document explain details to SearchHit by @zr-bennettm in #504
  • Adds the Fields field containing the document fields to the SearchHit struct by @thekogo in #508
  • github/workflow: fix npm prittier by @Jakob3xD in #511
  • Upgrading to go 1.21 version and jsondiff to 0.5.1 by @VachaShah in #509
  • Bump github.com/aws/aws-sdk-go from 1.50.36 to 1.51.16 by @dependabot in #513
  • Fixing prettier install in dependabot PR actions workflow by @VachaShah in #515
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.7 to 1.27.11 by @dependabot in #514
  • Fix search request missing a slash when no indices are given by @Jakob3xD in #471
  • Move error structs from opensearchapi to opensearch to be reused by plugins by @Jakob3xD in #512
  • opensearch: increase test coverage by @Jakob3xD in #517
  • Add missing failure fields in opensearchapi structs by @Jakob3xD in #510
  • Add security plugin by @Jakob3xD in #507
  • Updates USER_GUIDE.md and /_samples/ by @mstephenson6 in #518
  • Bump github.com/aws/aws-sdk-go from 1.51.16 to 1.51.17 by @dependabot in #519
  • [ISSUE-520] Pool gzip compressor and buffer used in gzip writer by @pakio in #521
  • Fixes #522 by @martingrzzler in #523
  • Add fields to document get response to support stored_fields param by @boybundit in #526
  • Bump github.com/aws/aws-sdk-go from 1.51.17 to 1.51.21 by @dependabot in #527
  • Add ISM Policy by @Jakob3xD in #524
  • bump dependabot_pr action versions by @Jakob3xD in #528
  • Use go:build tags for testing by @Jakob3xD in #529
  • Preparing for release, 4.0.0 by @Jakob3xD in #530

New Contributors

Full Changelog: v3.1.0...v4.0.0

v3.1.0

01 Apr 21:20
c4c9bf3
Compare
Choose a tag to compare

What's Changed

  • Preparing for next developer iteration, 3.0.1. by @dblock in #448
  • fix:Clusters deployed using IPV6 do not support the DiscoverNodes method by @Zhang-jie-jun in #461
  • changelog: changed unreleased version back for Dependabot PR to work by @Jakob3xD in #467
  • Bump github.com/aws/aws-sdk-go from 1.48.13 to 1.50.14 by @dependabot in #468
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.25.11 to 1.26.6 by @dependabot in #462
  • Bump github.com/aws/aws-sdk-go from 1.50.14 to 1.50.16 by @dependabot in #469
  • Bump github.com/aws/aws-sdk-go from 1.50.16 to 1.50.21 by @dependabot in #472
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.26.6 to 1.27.0 by @dependabot in #474
  • bump link check action version by @Jakob3xD in #478
  • opensearchapi: Added new struct fields introduced by opensearch 2.12 by @Jakob3xD in #482
  • Remove references to the default credentials of admin:admin by @derek-ho in #449
  • Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #485
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.0 to 1.27.7 by @dependabot in #484
  • Bump github.com/aws/aws-sdk-go from 1.50.21 to 1.50.36 by @dependabot in #486
  • opensearchapi: revert node info OpensearchVersion type change by @Jakob3xD in #483
  • Adjust tests to work with secure cluster by @Jakob3xD in #488
  • Replace ioutil with io in examples and integration test by @martialblog in #495
  • Fix: empty body SHA is incorrect using AWS SDK v1 signer. by @dblock in #496
  • Preparing for release, 3.1.0. by @dblock in #497

New Contributors

Full Changelog: v3.0.0...v3.1.0

Version 3.0.0

11 Dec 09:43
8d09ba8
Compare
Choose a tag to compare

Version 3.0.0 Release Notes

Compatible with OpenSearch 2.x

The release contains braking changes. See UPGRADING.md

Features

  • Adds Err() function to Response for detailed errors (#246)
  • Adds golangci-lint as code analysis tool (#313)
  • Adds opensearchapi with new client and function structure (#421)
  • Adds integration tests for all opensearchapi functions (#421)

Infrastructure

  • Test against version 2.9.0,2.10.0, run tests in all branches, change intergration tests to wait for OpenSearch to start (#392)
  • Makefile: use docker golangci-lint, run integration test on . folder, change coverage generation (#392)
  • golangci-lint: update rules and fail when issues are found (#421)
  • go: update to golang version 1.20 (#421)
  • Test adjusted to new opensearchapi functions and structs (#421)
  • Change codecov to comment code coverage to each PR (#410)
  • Updated and adjusted golangci-lint, solve linting complains for signer (#352)
  • Solve linting complains for opensearchtransport (#353)

Fixes

  • Corrects AWSv4 signature on DataStream Stats with no index name specified (#338)
  • Fixed GetSourceRequest Source field and deprecated the Source parameter (#402)
  • Corrects developer guide summary with golang version 1.20 (#434)

Upgrades

  • Bumps github.com/aws/aws-sdk-go from 1.44.263 to 1.48.13
  • Bumps github.com/aws/aws-sdk-go-v2 from 1.18.0 to 1.23.5
  • Bumps github.com/aws/aws-sdk-go-v2/config from 1.18.25 to 1.25.11
  • Bumps github.com/stretchr/testify from 1.8.2 to 1.8.4
  • Bumps golang.org/x/net from 0.7.0 to 0.17.0
  • Bumps github.com/golangci/golangci-lint-action from 1.53.3 to 1.54.2

Deprecated

  • Deprecate legacy API /_template (#390)

Documentation

  • Adds guide on making raw JSON REST requests (#399)
  • Updated Developer guide to include docker build instructions (#385)
  • guids: updated to work for the new opensearchapi (#421)

New Contributors

Version 2.3.0

23 May 18:32
2f58bf6
Compare
Choose a tag to compare

Version 2.3.0 Release Notes

Compatible with OpenSearch 2.x

Features

  • Add operations with data streams (#257)
  • Add point in time api (#253)
  • Add testcases to check upsert functionality (#269)
  • Adds dynamic type to _source field (#285)
  • Add tests to check UpdateRequestByQuery (#304)
  • Add healthcheck to docker container (#316)

Infrastructure

  • Added untriaged issue workflow (#231)
  • Workflow improvements (#242)
  • Format with prettier (#258)
  • Add markdown linter (#261)
  • Add prettier formatting to dependabot prs (#297)
  • Install prettier dependency in workflow for dependabot (#299)

Fixes

  • Correct CurlLogger's URL to actual destination (#101)
  • SnapshotDeleteRequest use []string instead of string (#237)
  • opensearchapi: Fix handling of errors without error response body (#286)
  • Windows compatibility with Makefile (#309)
  • Increased timeout in actions between cluster start and test run (#303)
  • Read, close and replace the http Reponse Body (#300)

Upgrades

  • Bumps github.com/aws/aws-sdk-go from 1.44.180 to 1.44.263
  • Bumps github.com/aws/aws-sdk-go-v2 from 1.17.4 to 1.18.0
  • Bumps github.com/aws/aws-sdk-go-v2/config from 1.18.8 to 1.18.25
  • Bumps github.com/stretchr/testify from 1.8.1 to 1.8.2
  • Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 (#239)
  • Bump client version to 2.3.0 (#324)

New Maintainers

Documentation

  • Update signer v1 example for AOSS (#259)
  • [GUIDE] Add index_lifecycle guide (#287)
  • [GUIDE] Add bulk guide (#292)
  • [GUIDE] Add search guide (#291)
  • [GUIDE] Add document_lifecycle guide (#290)
  • [GUIDE] Add index_template guide (#289)
  • [GUIDE] Add advanced_index_actions guide (#288)
  • Linked user guides from USER_GUIDE (#302)

New Contributors

Full Changelog: v2.2.0...v2.3.0

Version 2.2.0

22 Jan 06:59
d38a466
Compare
Choose a tag to compare

Version 2.2.0 Release Notes

Compatible with OpenSearch 2.x

Features

  • Add support for inclusive naming (#156)
  • Adding support and examples for AOSS (#216)

Infrastructure

  • Adding Dependabot configuration (#147)
  • Removing OpenDistro tests (#142)
  • Add changelog and changelog verifier (#172)
  • Add changelog skiplabel on workflow with skip-changelog label (#209)

Fixes

  • Fix json format of index mapping in USER_GUIDE (#154)
  • Replaced if_seq_num to if_seq_no (#166)
  • bugfix: adjusts to use retry_on_conflict on bulk (#215)
  • Removing info call before performing requests (#219)

Full Changelog: v2.1.0...v2.2.0

Version 2.1.0

25 Aug 21:35
c79b119
Compare
Choose a tag to compare

Version 2.1.0 Release Notes

Compatible with OpenSearch 2.x

Features

  • Adding support for AWS SDK V2 request signer (#116)

Infrastructure

  • User guide for AWS SDK V2 request signer (#131)
  • Update deps (#133)
  • Bump client version to 2.1.0 (#150)

Full Changelog: v2.0.1...v2.1.0

Version 2.0.1

23 Aug 17:53
3fe247a
Compare
Choose a tag to compare

Version 2.0.1 Release Notes

Compatible with OpenSearch 2.x

Bug Fixes

  • Fixing paths for some APIs (#136)
  • Bumping client version to 2.0.1 (#137)

Full Changelog: v2.0.0...v2.0.1

Version 2.0.0

16 Jun 18:32
Compare
Choose a tag to compare

Version 2.0.0 Release Notes

Compatible with OpenSearch 2.0

Features

  • Type mapping removals for OpenSearch 2.0 (#109)
  • Support service configuration (#102)
  • Fix dropped test error (#95)
  • Add example for IAM authentication (#93)
  • Upgrading tools and text dependencies (#105)
  • Update module path (#118, #120)

Infrastructure

  • golangci-lint integration (#96)
  • Add auto backport functionality (#104)
  • Add support to test against multiple versions of OpenSearch for compatiblity (#106)
  • Add support to test against unreleased OpenSearch (#107)
  • Test against OpenSearch 2.0 (#111)

Full Changelog: v1.1.0...v2.0.0