From 99fd186add2d36a2f45c904caa898c888372df60 Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Thu, 29 Aug 2024 12:41:27 +1200 Subject: [PATCH 1/3] Prepare 1.8.0 changelog Signed-off-by: Thomas Farr --- CHANGELOG.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2262c72112..33e5a05ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,12 +9,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Changed the namespace client properties on `IOpenSearchClient` to return corresponding interfaces to better enable mocking & unit testing ([#646](https://github.com/opensearch-project/opensearch-net/pull/646)) ### Added -- Added support for `MinScore` on `ScriptScoreQuery` ([#624](https://github.com/opensearch-project/opensearch-net/pull/624)) -- Added support for the `neural` query type and `text_embedding` ingest processor type ([#636](https://github.com/opensearch-project/opensearch-net/pull/636)) -- Added support for the `Cat.PitSegments` and `Cat.SegmentReplication` APIs ([#527](https://github.com/opensearch-project/opensearch-net/pull/527)) -- Added support for serializing the `DateOnly` and `TimeOnly` types ([#734](https://github.com/opensearch-project/opensearch-net/pull/734)) -- Added support for the `Ext` parameter on `SearchRequest` ([#738](https://github.com/opensearch-project/opensearch-net/pull/738)) -- Added support for the `Indices.Stats` API ([#753](https://github.com/opensearch-project/opensearch-net/pull/753)) ### Removed - Removed support for the `net461` target ([#256](https://github.com/opensearch-project/opensearch-net/pull/256)) @@ -24,6 +18,18 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Fixed - Fixed naming of `ClusterManagerTimeout` and `MasterTimeout` properties from `*TimeSpanout` in the low-level client ([#332](https://github.com/opensearch-project/opensearch-net/pull/332)) +### Dependencies +- Bumps `System.Diagnostics.DiagnosticSource` from 6.0.1 to 8.0.1 + +## [1.8.0] +### Added +- Added support for the `neural` query type and `text_embedding` ingest processor type ([#636](https://github.com/opensearch-project/opensearch-net/pull/636)) +- Added support for the `Cat.PitSegments` and `Cat.SegmentReplication` APIs ([#527](https://github.com/opensearch-project/opensearch-net/pull/527)) +- Added support for `MinScore` on `ScriptScoreQuery` ([#624](https://github.com/opensearch-project/opensearch-net/pull/624)) +- Added support for serializing the `DateOnly` and `TimeOnly` types ([#734](https://github.com/opensearch-project/opensearch-net/pull/734)) +- Added support for the `Ext` parameter on `SearchRequest` ([#738](https://github.com/opensearch-project/opensearch-net/pull/738)) +- Added support for the `Indices.Stats` API ([#753](https://github.com/opensearch-project/opensearch-net/pull/753)) + ### Dependencies - Bumps `AWSSDK.Core` from 3.7.204.12 to 3.7.400.11 - Bumps `Bogus` from 35.3.0 to 35.6.0 @@ -31,7 +37,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Bumps `FSharp.Core` from 8.0.100 to 8.0.400 - Bumps `xunit.runner.visualstudio` from 2.5.8 to 2.8.2 - Bumps `CSharpier.Core` from 0.27.3 to 0.29.1 -- Bumps `System.Diagnostics.DiagnosticSource` from 8.0.0 to 8.0.1 - Bumps `Spectre.Console` from 0.48.0 to 0.49.1 - Bumps `Nullean.VsTest.Pretty.TestLogger` from 0.3.0 to 0.4.0 - Bumps `Microsoft.NET.Test.Sdk` from 17.9.0 to 17.11.0 @@ -201,10 +206,11 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Bumps `System.Diagnostics.DiagnosticSource` from 5.0.0 to 6.0.0 - Bumps `Microsoft.NETFramework.ReferenceAssemblies` from 1.0.0-preview.2 to 1.0.3 -[Unreleased]: https://github.com/opensearch-project/opensearch-net/compare/v1.7.1...main +[Unreleased]: https://github.com/opensearch-project/opensearch-net/compare/v1.8.0...main +[1.8.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.7.1...v1.8.0 [1.7.1]: https://github.com/opensearch-project/opensearch-net/compare/v1.7.0...v1.7.1 [1.7.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.6.0...v1.7.0 [1.6.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.5.0...v1.6.0 [1.5.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.4.0...v1.5.0 [1.4.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.3.0...v1.4.0 -[1.3.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.2.0...v1.3.0 \ No newline at end of file +[1.3.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.2.0...v1.3.0 From 23bb48f32526cbfd6877b8af1c9c723af54f74d0 Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Thu, 29 Aug 2024 12:43:08 +1200 Subject: [PATCH 2/3] Fix bump version script Signed-off-by: Thomas Farr --- .github/bump-version.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/bump-version.sh b/.github/bump-version.sh index 54e548ee04..033147f969 100644 --- a/.github/bump-version.sh +++ b/.github/bump-version.sh @@ -28,6 +28,8 @@ GLOBAL_JSON=$(jq \ global.json) echo "$GLOBAL_JSON" > global.json -gsed -i'' -E "s/<(Current(Assembly(File)?)?Version)>[0-9]+\.[0-9]+\.[0-9]+<\/\1>/<\1>$VERSION<\/\1>/" Directory.Build.props +s=$(command -v gsed || command -v sed) -gsed -i'' -E "s/(next release of opensearch\-net, which should be \*\*)[0-9]+\.[0-9]+\.[0-9]+(\*\*\.)/\1$VERSION\2/" README.md +"$s" -i'' -E "s/<(Current(Assembly(File)?)?Version)>[0-9]+\.[0-9]+\.[0-9]+<\/\1>/<\1>$VERSION<\/\1>/" Directory.Build.props + +"$s" -i'' -E "s/(next release of opensearch\-net, which should be \*\*)[0-9]+\.[0-9]+\.[0-9]+(\*\*\.)/\1$VERSION\2/" README.md From 78eb82921f10c57cb9cf8d94c8316f8c3b0e47fb Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Thu, 29 Aug 2024 12:45:20 +1200 Subject: [PATCH 3/3] Reduce minimum approvers Signed-off-by: Thomas Farr --- .github/workflows/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 143e338da4..005626f0a9 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -22,7 +22,7 @@ jobs: with: secret: ${{ github.TOKEN }} approvers: ${{ steps.get_approvers.outputs.approvers }} - minimum-approvals: 2 + minimum-approvals: 1 issue-title: 'Release opensearch-net' issue-body: "Please approve or deny the release of opensearch-net \n **TAG**: ${{ github.ref_name }} \n **COMMIT**: ${{ github.sha }}" exclude-workflow-initiator-as-approver: true