Skip to content

v20231115003.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Jan 10:47
· 306 commits to main since this release
1e50226

Release Notes

Notes

The Atlas Golang SDK official v20231115003.1.0 release.
Release fixes issue with validation of Organizations API requests introduced in v20231115003.0.0.
If you using v20231115003.0.0. we highly recommend to update to this version.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2023-11-15

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2023-11-15/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20231115003/admin

Breaking changes

General Changes

All arrays in the SDK are now represented as pointers:

type Data struct {
    Results *[]DataRole `json:"results,omitempty"`
}

For more info see our best practices documentation

Changes in API

  • (*BackupOnlineArchive).GetDataProcessRegion: removed
  • (*BackupOnlineArchive).GetDataProcessRegionOk: removed
  • (*BackupOnlineArchive).HasDataProcessRegion: removed
  • (*BackupOnlineArchive).SetDataProcessRegion: removed
  • (*FederationIdentityProvider).GetPemFileInfo: changed from func() PemFileInfo to func() PemFileInfo
  • (*FederationIdentityProvider).GetPemFileInfoOk: changed from func() (*PemFileInfo, bool) to func() (*PemFileInfo, bool)
  • (*FederationIdentityProvider).SetPemFileInfo: changed from func(PemFileInfo) to func(PemFileInfo)
  • (*ThridPartyIntegration).GetListenAddress: removed
  • (*ThridPartyIntegration).GetListenAddressOk: removed
  • (*ThridPartyIntegration).GetRateLimitInterval: removed
  • (*ThridPartyIntegration).GetRateLimitIntervalOk: removed
  • (*ThridPartyIntegration).GetScheme: removed
  • (*ThridPartyIntegration).GetSchemeOk: removed
  • (*ThridPartyIntegration).GetTlsPemPath: removed
  • (*ThridPartyIntegration).GetTlsPemPathOk: removed
  • (*ThridPartyIntegration).HasListenAddress: removed
  • (*ThridPartyIntegration).HasRateLimitInterval: removed
  • (*ThridPartyIntegration).HasScheme: removed
  • (*ThridPartyIntegration).HasTlsPemPath: removed
  • (*ThridPartyIntegration).SetListenAddress: removed
  • (*ThridPartyIntegration).SetRateLimitInterval: removed
  • (*ThridPartyIntegration).SetScheme: removed
  • (*ThridPartyIntegration).SetTlsPemPath: removed
  • BackupOnlineArchive.DataProcessRegion: removed
  • FederationIdentityProvider.PemFileInfo: changed from *PemFileInfo to *PemFileInfo
  • NewPemFileInfo: changed from func() *PemFileInfo to func() *PemFileInfo
  • NewPemFileInfoWithDefaults: changed from func() *PemFileInfo to func() *PemFileInfo
  • NewX509Certificate: changed from func() *X509Certificate to func() *X509Certificate
  • NewX509CertificateWithDefaults: changed from func() *X509Certificate to func() *X509Certificate
  • PemFileInfo: changed from PemFileInfo to PemFileInfo
  • ThridPartyIntegration.ListenAddress: removed
  • ThridPartyIntegration.RateLimitInterval: removed
  • ThridPartyIntegration.Scheme: removed
  • ThridPartyIntegration.TlsPemPath: removed

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog