Releases: mongodb/atlas-sdk-go
v20231115001.0.0
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
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
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
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
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
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
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
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
-
DataLakeStoreSettings.ClusterIdfield have been removed. This field was associated with Online Archive and werent supported byDataLakeStoreSettings -
CloudProviderAccessFeatureUsageExportSnapshotFeatureIDhave been renamed toCloudProviderAccessFeatureUsagePushBasedLogExportFeatureId
v20230201004.1.0
Release Notes
Notes
The Atlas Golang SDK official v20230201004.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
sdk.MultiCloudClustersApistructure has been renamed tosdk.ClustersApi
sdk.ClustersApimethod signatures were unchanged.
v20230201003.0.0
Release Notes
Notes
The Atlas Golang SDK official v20230201003.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: v2023-02-01
For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/v2023-02-01
Breaking Changes
OnlineArchiveApi.CreateOnlineArchiveupdated to take structBackupOnlineArchiveCreateas input parameterCollName,Criteria, andDbNameare now required properties (previously optional)
PerformanceAdvisorIndexIndexproperty corrected from[]map[string]stringto[]map[string]int