diff --git a/CHANGELOG.md b/CHANGELOG.md index de89b71948..b29507ce09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Removed the `Features` API which is not supported by OpenSearch from the low-level client ([#331](https://github.com/opensearch-project/opensearch-net/pull/331)) - Removed the deprecated low-level `IndexTemplateV2` APIs in favour of the `ComposableIndexTemplate` APIs ([#437](https://github.com/opensearch-project/opensearch-net/pull/437)) +### Fixed +- Fixed the deserialization of S3 snapshot repositories without settings ([#587](https://github.com/opensearch-project/opensearch-net/pull/587)) + ### Dependencies - Bumps `System.Diagnostics.DiagnosticSource` from 6.0.1 to 8.0.0 - Bumps `System.Text.Json` from 8.0.1 to 8.0.3 @@ -162,4 +165,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.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 diff --git a/src/OpenSearch.Client/Snapshot/Repositories/S3Repository.cs b/src/OpenSearch.Client/Snapshot/Repositories/S3Repository.cs index eb231bc869..4063321c28 100644 --- a/src/OpenSearch.Client/Snapshot/Repositories/S3Repository.cs +++ b/src/OpenSearch.Client/Snapshot/Repositories/S3Repository.cs @@ -42,6 +42,8 @@ public interface IS3Repository : IRepository { } /// public class S3Repository : IS3Repository { + public S3Repository() { } + public S3Repository(IS3RepositorySettings settings) => Settings = settings; public IS3RepositorySettings Settings { get; set; }