github opensearch-project/opensearch-go v3.0.0
Version 3.0.0

latest releases: v4.0.0, v3.1.0
5 months ago

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

Don't miss a new opensearch-go release

NewReleases is sending notifications on new releases.