Skip to content

Commit c4c9bf3

Browse files
authored
Preparing for release, 3.1.0. (#497)
Signed-off-by: dblock <[email protected]>
1 parent 4fd7abe commit c4c9bf3

File tree

3 files changed

+89
-71
lines changed

3 files changed

+89
-71
lines changed

CHANGELOG.md

Lines changed: 71 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,34 @@
22

33
Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44

5-
## [Unreleased]
6-
### Dependencies
7-
- Bumps `github.com/aws/aws-sdk-go` from 1.48.13 to 1.50.36
8-
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.25.11 to 1.27.7
9-
- Bumps `github.com/stretchr/testify` from 1.8.4 to 1.9.0
5+
## [3.1.0]
6+
107
### Added
11-
- Added new struct fields introduced by opensearch 2.12 ([#482](https://github.com/opensearch-project/opensearch-go/pull/482))
8+
9+
- Adds new struct fields introduced in OpenSearch 2.12 ([#482](https://github.com/opensearch-project/opensearch-go/pull/482))
1210
- Adds initial admin password environment variable and CI changes to support 2.12.0 release ([#449](https://github.com/opensearch-project/opensearch-go/pull/449))
13-
- Adds merge_id field for indices segement request ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
11+
- Adds `merge_id` field for indices segment request ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
12+
1413
### Changed
15-
- Updated workflow action versions ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
16-
- Changed integration tests to work with secure and unsecure opensearch ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
17-
- Moved functions from opensearch/internal/test to internal/test for more general test uses ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
18-
- Changed custom_foldername field to pointer as it can be null ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
19-
- Changed cat indices Primary and Replica field to pointer as it can be null ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
20-
- Replace ioutil with io in examples and integration test [#495](https://github.com/opensearch-project/opensearch-go/pull/495)
21-
### Deprecated
22-
### Removed
14+
15+
- Updates workflow action versions ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
16+
- Changes integration tests to work with secure and unsecure OpenSearch ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
17+
- Moves functions from `opensearch/internal/test` to `internal/test` for more general test uses ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
18+
- Changes `custom_foldername` field to pointer as it can be `null` ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
19+
- Changs cat indices Primary and Replica field to pointer as it can be `null` ([#488](https://github.com/opensearch-project/opensearch-go/pull/488))
20+
- Replaces `ioutil` with `io` in examples and integration tests [#495](https://github.com/opensearch-project/opensearch-go/pull/495)
21+
2322
### Fixed
24-
- Fix SigV4 with AWS SDK v1 ([#496](https://github.com/opensearch-project/opensearch-go/pull/496))
25-
### Security
2623

27-
## [3.0.0]
24+
- Fix incorrect SigV4 `x-amz-content-sha256` with AWS SDK v1 requests without a body ([#496](https://github.com/opensearch-project/opensearch-go/pull/496))
25+
2826
### Dependencies
2927

30-
- Bumps `github.com/aws/aws-sdk-go` from 1.44.263 to 1.48.13
31-
- Bumps `github.com/aws/aws-sdk-go-v2` from 1.18.0 to 1.23.5
32-
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.18.25 to 1.25.11
33-
- Bumps `github.com/stretchr/testify` from 1.8.2 to 1.8.4
34-
- Bumps `golang.org/x/net` from 0.7.0 to 0.17.0
35-
- Bumps `github.com/golangci/golangci-lint-action` from 1.53.3 to 1.54.2
28+
- Bumps `github.com/aws/aws-sdk-go` from 1.48.13 to 1.50.36
29+
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.25.11 to 1.27.7
30+
- Bumps `github.com/stretchr/testify` from 1.8.4 to 1.9.0
31+
32+
## [3.0.0]
3633

3734
### Added
3835

@@ -42,47 +39,48 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4239
- Adds opensearchapi with new client and function structure ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
4340
- Adds integration tests for all opensearchapi functions ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
4441
- Adds guide on making raw JSON REST requests ([#399](https://github.com/opensearch-project/opensearch-go/pull/399))
42+
- Adds IPV6 support in the DiscoverNodes method ([#458](https://github.com/opensearch-project/opensearch-go/issues/458))
4543

4644
### Changed
4745

4846
- Removes the need for double error checking ([#246](https://github.com/opensearch-project/opensearch-go/pull/246))
49-
- Updated and adjusted golangci-lint, solve linting complains for signer ([#352](https://github.com/opensearch-project/opensearch-go/pull/352))
50-
- Solve linting complains for opensearchtransport ([#353](https://github.com/opensearch-project/opensearch-go/pull/353))
51-
- Updated Developer guide to include docker build instructions ([#385](https://github.com/opensearch-project/opensearch-go/pull/385))
52-
- Test against version 2.9.0,2.10.0, run tests in all branches, change intergration tests to wait for OpenSearch to start ([#392](https://github.com/opensearch-project/opensearch-go/pull/392))
53-
- Makefile: use docker golangci-lint, run integration test on `.` folder, change coverage generation ([#392](https://github.com/opensearch-project/opensearch-go/pull/392))
54-
- golangci-lint: update rules and fail when issues are found ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
55-
- go: update to golang version 1.20 ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
56-
- guids: updated to work for the new opensearchapi ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
57-
- Test adjusted to new opensearchapi functions and structs ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
58-
- Change codecov to comment code coverage to each PR ([#410](https://github.com/opensearch-project/opensearch-go/pull/410))
59-
- Change module version from v2 to v3 ([#444](https://github.com/opensearch-project/opensearch-go/pull/444))
60-
- Support IPV6 in the DiscoverNodes method ([#458](https://github.com/opensearch-project/opensearch-go/issues/458))
47+
- Updates and adjusted golangci-lint, solve linting complains for signer ([#352](https://github.com/opensearch-project/opensearch-go/pull/352))
48+
- Solves linting complains for opensearchtransport ([#353](https://github.com/opensearch-project/opensearch-go/pull/353))
49+
- Updates Developer guide to include docker build instructions ([#385](https://github.com/opensearch-project/opensearch-go/pull/385))
50+
- Tests against version 2.9.0, 2.10.0, run tests in all branches, changes integration tests to wait for OpenSearch to start ([#392](https://github.com/opensearch-project/opensearch-go/pull/392))
51+
- Makefile: uses docker golangci-lint, run integration test on `.` folder, change coverage generation ([#392](https://github.com/opensearch-project/opensearch-go/pull/392))
52+
- golangci-lint: updates rules and fail when issues are found ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
53+
- go: updates to golang version 1.20 ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
54+
- guids: updates to work for the new opensearchapi ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
55+
- Adjusts tests to new opensearchapi functions and structs ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
56+
- Changes codecov to comment code coverage to each PR ([#410](https://github.com/opensearch-project/opensearch-go/pull/410))
57+
- Changes module version from v2 to v3 ([#444](https://github.com/opensearch-project/opensearch-go/pull/444))
6158

6259
### Deprecated
6360

64-
- Deprecate legacy API /_template ([#390](https://github.com/opensearch-project/opensearch-go/pull/390))
61+
- Deprecates legacy API `/_template` ([#390](https://github.com/opensearch-project/opensearch-go/pull/390))
6562

6663
### Removed
6764

6865
- Removes all old opensearchapi functions ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
69-
- Removes /internal/build code and folders ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
66+
- Removes `/internal/build` code and folders ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
7067

7168
### Fixed
7269

73-
- Corrects AWSv4 signature on DataStream Stats with no index name specified ([#338](https://github.com/opensearch-project/opensearch-go/pull/338))
74-
- Fixed GetSourceRequest `Source` field and deprecated the `Source` parameter ([#402](https://github.com/opensearch-project/opensearch-go/pull/402))
70+
- Corrects AWSv4 signature on DataStream `Stats` with no index name specified ([#338](https://github.com/opensearch-project/opensearch-go/pull/338))
71+
- Fixes GetSourceRequest `Source` field and deprecated the `Source` parameter ([#402](https://github.com/opensearch-project/opensearch-go/pull/402))
7572
- Corrects developer guide summary with golang version 1.20 ([#434](https://github.com/opensearch-project/opensearch-go/pull/434))
7673

77-
### Security
78-
79-
## [2.3.0]
8074
### Dependencies
8175

82-
- Bumps `github.com/aws/aws-sdk-go` from 1.44.180 to 1.44.263
83-
- Bumps `github.com/aws/aws-sdk-go-v2` from 1.17.4 to 1.18.0
84-
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.18.8 to 1.18.25
85-
- Bumps `github.com/stretchr/testify` from 1.8.1 to 1.8.2
76+
- Bumps `github.com/aws/aws-sdk-go` from 1.44.263 to 1.48.13
77+
- Bumps `github.com/aws/aws-sdk-go-v2` from 1.18.0 to 1.23.5
78+
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.18.25 to 1.25.11
79+
- Bumps `github.com/stretchr/testify` from 1.8.2 to 1.8.4
80+
- Bumps `golang.org/x/net` from 0.7.0 to 0.17.0
81+
- Bumps `github.com/golangci/golangci-lint-action` from 1.53.3 to 1.54.2
82+
83+
## [2.3.0]
8684

8785
### Added
8886

@@ -108,45 +106,48 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
108106

109107
- Uses `[]string` instead of `string` in `SnapshotDeleteRequest` ([#237](https://github.com/opensearch-project/opensearch-go/pull/237))
110108
- Updates workflows to reduce CI time, consolidate OpenSearch versions, update compatibility matrix ([#242](https://github.com/opensearch-project/opensearch-go/pull/242))
111-
- Moved @svencowart to emeritus maintainers ([#270](https://github.com/opensearch-project/opensearch-go/pull/270))
112-
- Read, close and replace the http Reponse Body ([#300](https://github.com/opensearch-project/opensearch-go/pull/300))
109+
- Moves @svencowart to emeritus maintainers ([#270](https://github.com/opensearch-project/opensearch-go/pull/270))
110+
- Reads, closes and replaces the http Reponse Body ([#300](https://github.com/opensearch-project/opensearch-go/pull/300))
113111

114-
### Deprecated
115-
### Removed
116112
### Fixed
117113

118114
- Corrects curl logging to emit the correct URL destination ([#101](https://github.com/opensearch-project/opensearch-go/pull/101))
119115

120-
### Security
116+
### Dependencies
117+
118+
- Bumps `github.com/aws/aws-sdk-go` from 1.44.180 to 1.44.263
119+
- Bumps `github.com/aws/aws-sdk-go-v2` from 1.17.4 to 1.18.0
120+
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.18.8 to 1.18.25
121+
- Bumps `github.com/stretchr/testify` from 1.8.1 to 1.8.2
121122

122123
## [2.2.0]
123-
### Dependencies
124-
- Bumps `github.com/aws/aws-sdk-go-v2` from 1.17.1 to 1.17.3
125-
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.17.10 to 1.18.8
126-
- Bumps `github.com/aws/aws-sdk-go` from 1.44.176 to 1.44.180
127-
- Bumps `github.com/aws/aws-sdk-go` from 1.44.132 to 1.44.180
128124

129125
### Added
130-
- Github workflow for changelog verification ([#172](https://github.com/opensearch-project/opensearch-go/pull/172))
131-
- Add Go Documentation link for the client ([#182](https://github.com/opensearch-project/opensearch-go/pull/182))
132-
- Support for Amazon OpenSearch Serverless ([#216](https://github.com/opensearch-project/opensearch-go/pull/216))
133126

134-
### Dependencies
135-
- Bumps `github.com/stretchr/testify` from 1.8.0 to 1.8.1
136-
- Bumps `github.com/aws/aws-sdk-go` from 1.44.45 to 1.44.132
127+
- Adds Github workflow for changelog verification ([#172](https://github.com/opensearch-project/opensearch-go/pull/172))
128+
- Adds Go Documentation link for the client ([#182](https://github.com/opensearch-project/opensearch-go/pull/182))
129+
- Adds support for Amazon OpenSearch Serverless ([#216](https://github.com/opensearch-project/opensearch-go/pull/216))
137130

138-
### Changed
139-
### Deprecated
140131
### Removed
141-
- Remove info call before performing every request ([#219](https://github.com/opensearch-project/opensearch-go/pull/219))
132+
133+
- Removes info call before performing every request ([#219](https://github.com/opensearch-project/opensearch-go/pull/219))
142134

143135
### Fixed
144-
- Renamed the sequence number struct tag to if_seq_no to fix optimistic concurrency control ([#166](https://github.com/opensearch-project/opensearch-go/pull/166))
145-
- Fix `RetryOnConflict` on bulk indexer ([#215](https://github.com/opensearch-project/opensearch-go/pull/215))
146136

147-
### Security
137+
- Renames the sequence number struct tag to if_seq_no to fix optimistic concurrency control ([#166](https://github.com/opensearch-project/opensearch-go/pull/166))
138+
- Fixes `RetryOnConflict` on bulk indexer ([#215](https://github.com/opensearch-project/opensearch-go/pull/215))
139+
140+
### Dependencies
141+
142+
- Bumps `github.com/aws/aws-sdk-go-v2` from 1.17.1 to 1.17.3
143+
- Bumps `github.com/aws/aws-sdk-go-v2/config` from 1.17.10 to 1.18.8
144+
- Bumps `github.com/aws/aws-sdk-go` from 1.44.176 to 1.44.180
145+
- Bumps `github.com/aws/aws-sdk-go` from 1.44.132 to 1.44.180
146+
- Bumps `github.com/stretchr/testify` from 1.8.0 to 1.8.1
147+
- Bumps `github.com/aws/aws-sdk-go` from 1.44.45 to 1.44.132
148148

149-
[Unreleased]: https://github.com/opensearch-project/opensearch-go/compare/v3.0.0...HEAD
149+
[Unreleased]: https://github.com/opensearch-project/opensearch-go/compare/v3.1.0...HEAD
150+
[3.1.0]: https://github.com/opensearch-project/opensearch-go/compare/v3.0.0...v3.1.0
150151
[3.0.0]: https://github.com/opensearch-project/opensearch-go/compare/v2.3.0...v3.0.0
151152
[2.3.0]: https://github.com/opensearch-project/opensearch-go/compare/v2.2.0...v2.3.0
152153
[2.2.0]: https://github.com/opensearch-project/opensearch-go/compare/v2.1.0...v2.2.0

RELEASING.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,20 @@ The release process is standard across repositories in this org and is run by a
4141
6. Create a tag, e.g. `v3.0.1`, and push it to the GitHub repo. This [makes the new version available](https://go.dev/doc/modules/publishing) on [pkg.go.dev](https://pkg.go.dev/github.com/opensearch-project/opensearch-go).
4242
7. Draft and publish a [new GitHub release](https://github.com/opensearch-project/opensearch-go/releases/new) from the newly created tag.
4343
8. Create a new `Unreleased` section in the [CHANGELOG](CHANGELOG.md), increment version in [version.go](internal/version/version.go) to the next developer iteration (e.g. `3.0.2`), and make a pull request with this change into `main`, e.g. [opensearch-go#448](https://github.com/opensearch-project/opensearch-go/pull/448).
44+
```
45+
## [Unreleased]
46+
47+
### Added
48+
49+
### Changed
50+
51+
### Deprecated
52+
53+
### Removed
54+
55+
### Fixed
56+
57+
### Security
58+
59+
### Dependencies
60+
```

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
package version
2828

2929
// Client returns the client version as a string.
30-
const Client = "3.0.1"
30+
const Client = "3.1.0"

0 commit comments

Comments
 (0)