Skip to content

Releases: mongodb/atlas-sdk-go

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

v20231001001.1.0

16 Oct 12:44
d0d783c
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231001001.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-10-01

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

v20231001001.0.0

06 Oct 11:58
3fab993
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20231001001.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/

Changelog

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

v20230201008.0.0

14 Sep 09:52
45b90dc
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20230201008.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-02-01

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

Breaking Changes

  • (*CreateAtlasOrganizationApiKey).HasDesc: removed
  • (*CreateAtlasOrganizationApiKey).HasRoles: removed
  • (*CreateAtlasProjectApiKey).HasDesc: removed
  • (*CreateAtlasProjectApiKey).HasRoles: removed
  • (*ProgrammaticAPIKeysApiService).UpdateApiKey: changed from func(context.Context, string, string, *CreateAtlasOrganizationApiKey) UpdateApiKeyApiRequest to func(context.Context, string, string, *UpdateAtlasOrganizationApiKey) UpdateApiKeyApiRequest
  • (*ProgrammaticAPIKeysApiService).UpdateApiKeyRoles: changed from func(context.Context, string, string, *CreateAtlasProjectApiKey) UpdateApiKeyRolesApiRequest to func(context.Context, string, string, *UpdateAtlasProjectApiKey) UpdateApiKeyRolesApiRequest
  • (*ServerlessMetricThreshold).HasMetricName: removed
  • CreateAtlasOrganizationApiKey.Desc: changed from *string to string
  • CreateAtlasProjectApiKey.Desc: changed from *string to string
  • ListProjectUsersApiRequest.Execute: changed from func() (*PaginatedApiAppUser, *net/http.Response, error) to func() (*PaginatedAppUser, *net/http.Response, error)
  • NewCreateAtlasOrganizationApiKey: changed from func() *CreateAtlasOrganizationApiKey to func(string, []string) *CreateAtlasOrganizationApiKey
  • NewCreateAtlasProjectApiKey: changed from func() *CreateAtlasProjectApiKey to func(string, []string) *CreateAtlasProjectApiKey
  • NewServerlessMetricThreshold: changed from func() *ServerlessMetricThreshold to func(string) *ServerlessMetricThreshold
  • ProgrammaticAPIKeysApi.UpdateApiKey: changed from func(context.Context, string, string, *CreateAtlasOrganizationApiKey) UpdateApiKeyApiRequest to func(context.Context, string, string, *UpdateAtlasOrganizationApiKey) UpdateApiKeyApiRequest
  • ProgrammaticAPIKeysApi.UpdateApiKeyRoles: changed from func(context.Context, string, string, *CreateAtlasProjectApiKey) UpdateApiKeyRolesApiRequest to func(context.Context, string, string, *UpdateAtlasProjectApiKey) UpdateApiKeyRolesApiRequest
  • ServerlessMetricThreshold.MetricName: changed from *string to string
  • UpdateApiKeyApiParams.CreateAtlasOrganizationApiKey: removed
  • UpdateApiKeyRolesApiParams.CreateAtlasProjectApiKey: removed

v20230201007.0.0

12 Sep 16:04
aa3e636
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20230201007.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-02-01

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

Breaking Changes

  • CreateDatabaseUserCertificateApiRequest.Execute: changed from func() (*net/http.Response, error) to func() (string, *net/http.Response, error)'

v20230201006.0.0

29 Aug 13:00
5bb83ff
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20230201006.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-02-01

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

Breaking Changes

  • (*DataProtectionSettings).HasAuthorizedEmail: removed
  • DataProtectionSettings.AuthorizedEmail: changed from *string to string
  • DiskBackupSnapshotRestoreJob.TargetClusterName: changed from string to *string
  • DiskBackupSnapshotRestoreJob.TargetGroupId: changed from string to *string
  • NewDataProtectionSettings: changed from func() *DataProtectionSettings to func(string) *DataProtectionSettings
  • NewDiskBackupSnapshotRestoreJob: changed from func(string, string, string) *DiskBackupSnapshotRestoreJob to func(string) *DiskBackupSnapshotRestoreJob

v20230201005.0.0

16 Aug 21:46
d663eb2
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20230201005.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-02-01

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

Breaking Changes

  1. DataLakeStoreSettings.ClusterId field have been removed. This field was associated with Online Archive and werent supported by DataLakeStoreSettings

  2. CloudProviderAccessFeatureUsageExportSnapshotFeatureID have been renamed to CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId