Skip to content

Releases: mongodb/atlas-sdk-go

v20231115005.0.0

25 Jan 15:27
ddd022d
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115005.0.0 release.

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/v20231115005/admin
Incompatible changes:

  • DataProcessRegion: changed from DataProcessRegion to DataProcessRegion
  • IdentityProviderUpdate: removed
  • NewDataProcessRegion: changed from func() *DataProcessRegion to func() *DataProcessRegion
  • NewDataProcessRegionWithDefaults: changed from func() *DataProcessRegion to func() *DataProcessRegion
  • NewIdentityProviderUpdate: removed
  • NewIdentityProviderUpdateWithDefaults: removed
  • UpdateIdentityProviderApiParams.IdentityProviderUpdate: removed

API Changelog

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

v20231115004.1.0

22 Jan 10:06
6e2cd9e
Compare
Choose a tag to compare

Release Notes

Features

  1. Enabled support for mocking SDK.
    SDK can be mocked by any upstream mocking tools.

Notes

The Atlas Golang SDK official v20231115004.1.0 release.

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/v20231115004/admin
Incompatible changes:

  • ListIdentityProvidersApiRequest.Execute: changed from func() ([]FederationIdentityProvider, *net/http.Response, error) to func() (*PaginatedFederationIdentityProvider, *net/http.Response, error)
  • ReturnAllIPAddressesApiRequest.Execute: changed from func() ([]GroupIPAddresses, *net/http.Response, error) to func() (*GroupIPAddresses, *net/http.Response, error)

API Changelog

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

v20231115004.0.0

18 Jan 18:00
1651e1d
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115004.0.0 release.

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/v20231115004/admin
Incompatible changes:

  • ListIdentityProvidersApiRequest.Execute: changed from func() ([]FederationIdentityProvider, *net/http.Response, error) to func() (*PaginatedFederationIdentityProvider, *net/http.Response, error)
  • ReturnAllIPAddressesApiRequest.Execute: changed from func() ([]GroupIPAddresses, *net/http.Response, error) to func() (*GroupIPAddresses, *net/http.Response, error)

API Changelog

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

v20231115003.2.0

17 Jan 10:38
e790a42
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115003.2.0 release.

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/

API Changelog

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

v20231115003.1.0

11 Jan 10:47
1e50226
Compare
Choose a tag to compare

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

v20231115003.0.0

10 Jan 09:47
459be4d
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115003.0.0 release.

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
  • X509Certificate: changed from X509Certificate to X509Certificate

API Changelog

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

v20231115002.1.0

04 Dec 12:07
60a45f7
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115002.1.0 release.

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/

v20231115002.0.0

16 Nov 14:14
bfb406e
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115002.0.0 release.

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/v20231115002/admin
Incompatible changes:

  • DownloadFederatedDatabaseQueryLogs.Execute: changed from func() (*os.File, *net/http.Response, error) to func() (io.ReadCloser, *net/http.Response, error)
  • GetHostLogs.Execute: changed from func() (*os.File, *net/http.Response, error) to func() (io.ReadCloser, *net/http.Response, error)
  • DownloadOnlineArchiveQueryLogs.Execute: changed from func() (*os.File, *net/http.Response, error) to func() (io.ReadCloser, *net/http.Response, error)

API Changelog

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

v20231115001.0.0

16 Nov 08:06
d42cace
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231115001.0.0 release.

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/v20231115001/admin
Incompatible changes:

  • (*DataProtectionSettings20231001).GetOnDemandPolicyItem: changed from func() DiskBackupApiPolicyItem to func() BackupComplianceOnDemandPolicyItem
  • (*DataProtectionSettings20231001).GetOnDemandPolicyItemOk: changed from func() (*DiskBackupApiPolicyItem, bool) to func() (*BackupComplianceOnDemandPolicyItem, bool)
  • (*DataProtectionSettings20231001).GetScheduledPolicyItems: changed from func() []DiskBackupApiPolicyItem to func() []BackupComplianceScheduledPolicyItem
  • (*DataProtectionSettings20231001).GetScheduledPolicyItemsOk: changed from func() ([]DiskBackupApiPolicyItem, bool) to func() ([]BackupComplianceScheduledPolicyItem, bool)
  • (*DataProtectionSettings20231001).SetOnDemandPolicyItem: changed from func(DiskBackupApiPolicyItem) to func(BackupComplianceOnDemandPolicyItem)
  • (*DataProtectionSettings20231001).SetScheduledPolicyItems: changed from func([]DiskBackupApiPolicyItem) to func([]BackupComplianceScheduledPolicyItem)
  • DataProtectionSettings20231001.OnDemandPolicyItem: changed from *DiskBackupApiPolicyItem to *BackupComplianceOnDemandPolicyItem
  • DataProtectionSettings20231001.ScheduledPolicyItems: changed from []DiskBackupApiPolicyItem to []BackupComplianceScheduledPolicyItem
  • FederationSamlIdentityProvider: removed
  • NewFederationSamlIdentityProvider: removed
  • NewFederationSamlIdentityProviderWithDefaults: removed
  • NewSamlIdentityProviderUpdate: removed
  • NewSamlIdentityProviderUpdateWithDefaults: removed
  • SamlIdentityProviderUpdate.SsoDebugEnabled: changed from bool to *bool
  • SamlIdentityProviderUpdate: removed
  • UpdateIdentityProviderApiParams.SamlIdentityProviderUpdate: removed

API Changelog

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

v20231001002.0.0

19 Oct 09:51
30b9a14
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231001002.0.0 release.

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-10-01

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

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20231001002/admin
Incompatible changes:

  • (*ClustersApiService).UpgradeSharedCluster: changed from func(context.Context, string, *LegacyAtlasCluster) UpgradeSharedClusterApiRequest to func(context.Context, string, *LegacyAtlasTenantClusterUpgradeRequest) UpgradeSharedClusterApiRequest
  • APIClient.PushBasedLogExportApi: removed
  • ClustersApi.UpgradeSharedCluster: changed from func(context.Context, string, *LegacyAtlasCluster) UpgradeSharedClusterApiRequest to func(context.Context, string, *LegacyAtlasTenantClusterUpgradeRequest) UpgradeSharedClusterApiRequest
  • CreatePushBasedLogConfigurationApiParams: removed
  • CreatePushBasedLogConfigurationApiRequest: removed
  • DeletePushBasedLogConfigurationApiParams: removed
  • DeletePushBasedLogConfigurationApiRequest: removed
  • FederationIdentityProvider: changed from FederationIdentityProvider to FederationIdentityProvider
  • GetPushBasedLogConfigurationApiParams: removed
  • GetPushBasedLogConfigurationApiRequest: removed
  • ListIdentityProvidersApiRequest.Execute: changed from func() ([]FederationIdentityProvider, *net/http.Response, error) to func() ([]FederationIdentityProvider, *net/http.Response, error)
  • NewFederationIdentityProvider: changed from func(string) *FederationIdentityProvider to func(string, string) *FederationIdentityProvider
  • NewFederationIdentityProviderWithDefaults: changed from func() *FederationIdentityProvider to func() *FederationIdentityProvider
  • NewPushBasedLogExportProject: removed
  • NewPushBasedLogExportProjectWithDefaults: removed
  • PushBasedLogExportApi: removed
  • PushBasedLogExportApiService: removed
  • PushBasedLogExportProject: removed
  • UpdatePushBasedLogConfigurationApiParams: removed
  • UpdatePushBasedLogConfigurationApiRequest: removed
  • UpgradeSharedClusterApiParams.LegacyAtlasCluster: removed

API Changelog

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