Skip to content

Latest commit

 

History

History
285 lines (210 loc) · 19.4 KB

CHANGELOG.md

File metadata and controls

285 lines (210 loc) · 19.4 KB

CHANGELOG

Inspired from Keep a Changelog

Added

Changed

Deprecated

Removed

Fixed

  • Fix ISM Transition to omitempty Conditions field (#609)
  • Fix ISM Allocation field types (#609)

Security

Dependencies

Dependencies

  • Bump github.com/aws/aws-sdk-go-v2/config from 1.27.23 to 1.27.31 (#584, #588, #593, #605)
  • Bump github.com/aws/aws-sdk-go from 1.54.12 to 1.55.5 (#583, #590, #595, #596)

Added

  • Adds Suggest to SearchResp (#602)
  • Adds MaxScore to ScrollGetResp (#607)

Changed

  • Split SnapshotGetResp into sub structs (#603)

Deprecated

Removed

  • Remove workflow tests against gotip (#604)

Fixed

Security

Added

  • Adds the Routing field in SearchHit interface. (#516)
  • Adds the SearchPipelines field to SearchParams (#532)
  • Adds support for OpenSearch 2.14 (#552)
  • Adds the Caches field to Node stats (#572)
  • Adds the SeqNo and PrimaryTerm fields in SearchHit (#574)
  • Adds guide on configuring the client with retry and backoff (#540)
  • Adds OpenSearch 2.15 to compatibility workflow test (#575)

Changed

  • Security roles get response struct has its own sub structs without omitempty (#572)

Deprecated

Removed

Fixed

  • Fixes empty request body on retry with compression enabled (#543)
  • Fixes Conditions in PolicyStateTransition of ISM plugin (#556)
  • Fixes integration test response validation when response is null (#572)
  • Adjust security Role struct for FLS from string to []string (#572)
  • Fixes wrong response parsing for indices mapping and recovery (#572)
  • Fixes wrong response parsing for security get requests (#572)
  • Fixes opensearchtransport ignores request context cancellation when retryBackoff is configured (#540)
  • Fixes opensearchtransport sleeps unexpectedly after the last retry (#540)
  • Improves ParseError response when server response is an unknown json (#592)

Security

Dependencies

Added

  • Adds GlobalIOUsage struct for nodes stats (#506)
  • Adds the Explanation field containing the document explain details to the SearchHit struct. (#504)
  • Adds new error types (#512)
  • Adds handling of non json errors to ParseError (#512)
  • Adds the Failures field to opensearchapi structs (#510)
  • Adds the Fields field containing the document fields to the SearchHit struct. (#508)
  • Adds security plugin (#507)
  • Adds security settings to container for security testing (#507)
  • Adds cluster.get-certs to copy admin certs out of the container (#507)
  • Adds the Fields field containing stored fields to the DocumentGetResp struct (#526)
  • Adds ism plugin (#524)

Changed

  • Uses docker compose v2 instead of v1 (#506)
  • Updates go version to 1.21 (#509)
  • Moves Error structs from opensearchapi to opensearch package (#512)
  • Moves parseError function from opensearchapi to opensearch package as ParseError (#512)
  • Changes ParseError function to do type assertion to determine error type (#512)
  • Removes unused structs and functions from opensearch (#517)
  • Adjusts and extent opensearch tests for better coverage (#517)
  • Bumps codecov action version to v4 (#517)
  • Changes bulk error/reason field and some cat response fields to pointer as they can be nil (#510)
  • Adjust workflows to work with security plugin (#507)
  • Updates USER_GUIDE.md and /_samples/ (#518)
  • Updates opensearchtransport.Client to use pooled gzip writer and buffer (#521)
  • Use go:build tags for testing (#52?)

Deprecated

Removed

Fixed

  • Fixes search request missing a slash when no indices are given (#470)
  • Fixes opensearchtransport check for nil response body (#517)

Security

Dependencies

  • Bumps github.com/aws/aws-sdk-go-v2 from 1.25.3 to 1.26.1
  • Bumps github.com/wI2L/jsondiff from 0.4.0 to 0.5.1
  • Bumps github.com/aws/aws-sdk-go from 1.50.36 to 1.51.21
  • Bumps github.com/aws/aws-sdk-go-v2/config from 1.27.7 to 1.27.11

Added

  • Adds new struct fields introduced in OpenSearch 2.12 (#482)
  • Adds initial admin password environment variable and CI changes to support 2.12.0 release (#449)
  • Adds merge_id field for indices segment request (#488)

Changed

  • Updates workflow action versions (#488)
  • Changes integration tests to work with secure and unsecure OpenSearch (#488)
  • Moves functions from opensearch/internal/test to internal/test for more general test uses (#488)
  • Changes custom_foldername field to pointer as it can be null (#488)
  • Changs cat indices Primary and Replica field to pointer as it can be null (#488)
  • Replaces ioutil with io in examples and integration tests #495

Fixed

  • Fix incorrect SigV4 x-amz-content-sha256 with AWS SDK v1 requests without a body (#496)

Dependencies

  • Bumps github.com/aws/aws-sdk-go from 1.48.13 to 1.50.36
  • Bumps github.com/aws/aws-sdk-go-v2/config from 1.25.11 to 1.27.7
  • Bumps github.com/stretchr/testify from 1.8.4 to 1.9.0

Added

  • Adds Err() function to Response for detailed errors (#246)
  • Adds golangci-lint as code analysis tool (#313)
  • Adds govulncheck to check for go vulnerablities (#405)
  • Adds opensearchapi with new client and function structure (#421)
  • Adds integration tests for all opensearchapi functions (#421)
  • Adds guide on making raw JSON REST requests (#399)
  • Adds IPV6 support in the DiscoverNodes method (#458)

Changed

  • Removes the need for double error checking (#246)
  • Updates and adjusted golangci-lint, solve linting complains for signer (#352)
  • Solves linting complains for opensearchtransport (#353)
  • Updates Developer guide to include docker build instructions (#385)
  • Tests against version 2.9.0, 2.10.0, run tests in all branches, changes integration tests to wait for OpenSearch to start (#392)
  • Makefile: uses docker golangci-lint, run integration test on . folder, change coverage generation (#392)
  • golangci-lint: updates rules and fail when issues are found (#421)
  • go: updates to golang version 1.20 (#421)
  • guids: updates to work for the new opensearchapi (#421)
  • Adjusts tests to new opensearchapi functions and structs (#421)
  • Changes codecov to comment code coverage to each PR (#410)
  • Changes module version from v2 to v3 (#444)
  • Handle unexpected non-json errors with the response body (#523)

Deprecated

  • Deprecates legacy API /_template (#390)

Removed

  • Removes all old opensearchapi functions (#421)
  • Removes /internal/build code and folders (#421)

Fixed

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

Dependencies

  • 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

Added

  • Adds implementation of Data Streams API (#257)
  • Adds Point In Time API (#253)
  • Adds InfoResp type (#253)
  • Adds markdown linter (#261)
  • Adds testcases to check upsert functionality (#269)
  • Adds @Jakob3xD to co-maintainers (#270)
  • Adds dynamic type to _source field (#285)
  • Adds testcases for Document API (#285)
  • Adds index_lifecycle guide (#287)
  • Adds bulk guide (#292)
  • Adds search guide (#291)
  • Adds document_lifecycle guide (#290)
  • Adds index_template guide (#289)
  • Adds advanced_index_actions guide (#288)
  • Adds testcases to check UpdateByQuery functionality (#304)
  • Adds additional timeout after cluster start (#303)
  • Adds docker healthcheck to auto restart the container (#315)

Changed

  • Uses []string instead of string in SnapshotDeleteRequest (#237)
  • Updates workflows to reduce CI time, consolidate OpenSearch versions, update compatibility matrix (#242)
  • Moves @svencowart to emeritus maintainers (#270)
  • Reads, closes and replaces the http Reponse Body (#300)

Fixed

  • Corrects curl logging to emit the correct URL destination (#101)

Dependencies

  • 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

Added

  • Adds Github workflow for changelog verification (#172)
  • Adds Go Documentation link for the client (#182)
  • Adds support for Amazon OpenSearch Serverless (#216)

Removed

  • Removes info call before performing every request (#219)

Fixed

  • Renames the sequence number struct tag to if_seq_no to fix optimistic concurrency control (#166)
  • Fixes RetryOnConflict on bulk indexer (#215)

Dependencies

  • Bumps github.com/aws/aws-sdk-go-v2 from 1.17.1 to 1.17.3
  • Bumps github.com/aws/aws-sdk-go-v2/config from 1.17.10 to 1.18.8
  • Bumps github.com/aws/aws-sdk-go from 1.44.176 to 1.44.180
  • Bumps github.com/aws/aws-sdk-go from 1.44.132 to 1.44.180
  • Bumps github.com/stretchr/testify from 1.8.0 to 1.8.1
  • Bumps github.com/aws/aws-sdk-go from 1.44.45 to 1.44.132