Skip to content

Releases: mongodb/atlas-sdk-go

v20241113004.1.0

06 Jan 15:49
83f3193
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113004.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: 2024-11-13

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

Breaking Changes

SDK changes

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

  • (*PrivateNetworkEndpointIdEntry).GetAzureConnectionName: removed
  • (*PrivateNetworkEndpointIdEntry).GetAzureConnectionNameOk: removed
  • (*PrivateNetworkEndpointIdEntry).HasAzureConnectionName: removed
  • (*PrivateNetworkEndpointIdEntry).SetAzureConnectionName: removed
  • CloudBackupsApi.DisableDataProtectionSettings: added
  • CloudBackupsApi.DisableDataProtectionSettingsExecute: added
  • CloudBackupsApi.DisableDataProtectionSettingsWithParams: added
  • PrivateNetworkEndpointIdEntry.AzureConnectionName: removed

API Changelog

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

v20241113004.0.0

19 Dec 09:36
e79e169
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113004.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: 2024-11-13

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

Breaking Changes

SDK changes

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

  • (*PrivateNetworkEndpointIdEntry).GetAzureConnectionName: removed
  • (*PrivateNetworkEndpointIdEntry).GetAzureConnectionNameOk: removed
  • (*PrivateNetworkEndpointIdEntry).HasAzureConnectionName: removed
  • (*PrivateNetworkEndpointIdEntry).SetAzureConnectionName: removed
  • CloudBackupsApi.DisableDataProtectionSettings: added
  • CloudBackupsApi.DisableDataProtectionSettingsExecute: added
  • CloudBackupsApi.DisableDataProtectionSettingsWithParams: added
  • PrivateNetworkEndpointIdEntry.AzureConnectionName: removed

API Changelog

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

v20241113003.0.0

10 Dec 12:25
5cdb685
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113003.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: 2024-11-13

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

Breaking Changes

SDK changes

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

  • (*OrganizationsApiService).RenameOrganization: removed
  • (*OrganizationsApiService).RenameOrganizationExecute: removed
  • (*OrganizationsApiService).RenameOrganizationWithParams: removed
  • (*StreamsConnection).GetConnectionTimeoutSec: removed
  • (*StreamsConnection).GetConnectionTimeoutSecOk: removed
  • (*StreamsConnection).GetRequestTimeoutSec: removed
  • (*StreamsConnection).GetRequestTimeoutSecOk: removed
  • (*StreamsConnection).HasConnectionTimeoutSec: removed
  • (*StreamsConnection).HasRequestTimeoutSec: removed
  • (*StreamsConnection).SetConnectionTimeoutSec: removed
  • (*StreamsConnection).SetRequestTimeoutSec: removed
  • (*Team).HasUsernames: removed
  • NewTeam: changed from func(string) *Team to func(string, []string) *Team
  • OrganizationsApi.RenameOrganization: removed
  • OrganizationsApi.RenameOrganizationExecute: removed
  • OrganizationsApi.RenameOrganizationWithParams: removed
  • OrganizationsApi.UpdateOrganization: added
  • OrganizationsApi.UpdateOrganizationExecute: added
  • OrganizationsApi.UpdateOrganizationWithParams: added
  • PerformanceAdvisorApi.ListClusterSuggestedIndexes: added
  • PerformanceAdvisorApi.ListClusterSuggestedIndexesExecute: added
  • PerformanceAdvisorApi.ListClusterSuggestedIndexesWithParams: added
  • RenameOrganizationApiParams: removed
  • RenameOrganizationApiRequest: removed
  • StreamsApi.ModifyStreamProcessor: added
  • StreamsApi.ModifyStreamProcessorExecute: added
  • StreamsApi.ModifyStreamProcessorWithParams: added
  • StreamsConnection.ConnectionTimeoutSec: removed
  • StreamsConnection.RequestTimeoutSec: removed
  • Team.Usernames: changed from *[]string to []string
  • Team: old is comparable, new is not

go.mongodb.org/atlas-sdk/v20241113003/mockadmin
Incompatible changes:

  • (*OrganizationsApi).RenameOrganization: changed from func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest to func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) invalid type
  • (*OrganizationsApi).RenameOrganizationExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error)
  • (*OrganizationsApi).RenameOrganizationWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiParams) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest to func(context.Context, *invalid type) invalid type
  • (*OrganizationsApi_RenameOrganizationExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest)) *OrganizationsApi_RenameOrganizationExecute_Call to func(func(r invalid type)) *OrganizationsApi_RenameOrganizationExecute_Call
  • (*OrganizationsApi_RenameOrganizationExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error)) *OrganizationsApi_RenameOrganizationExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error)) *OrganizationsApi_RenameOrganizationExecute_Call
  • (*OrganizationsApi_RenameOrganizationWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganizationWithParams_Call to func(invalid type) *OrganizationsApi_RenameOrganizationWithParams_Call
  • (*OrganizationsApi_RenameOrganizationWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiParams)) *OrganizationsApi_RenameOrganizationWithParams_Call to func(func(ctx context.Context, args *invalid type)) *OrganizationsApi_RenameOrganizationWithParams_Call
  • (*OrganizationsApi_RenameOrganizationWithParams_Call).RunAndReturn: changed from func(func(context.Context, *go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiParams) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganizationWithParams_Call to func(func(context.Context, *invalid type) invalid type) *OrganizationsApi_RenameOrganizationWithParams_Call
  • (*OrganizationsApi_RenameOrganization_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganization_Call to func(invalid type) *OrganizationsApi_RenameOrganization_Call
  • (*OrganizationsApi_RenameOrganization_Call).RunAndReturn: changed from func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganization_Call to func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) invalid type) *OrganizationsApi_RenameOrganization_Call

API Changelog

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

v20241113002.0.0

04 Dec 08:34
7a3496b
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113002.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: 2024-11-13

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

Breaking Changes

SDK changes

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

  • (*FlexClustersApiService).UpgradeFlexCluster: changed from func(context.Context, string, *FlexClusterDescription20241113) UpgradeFlexClusterApiRequest to func(context.Context, string, *AtlasTenantClusterUpgradeRequest20240805) UpgradeFlexClusterApiRequest
  • FlexClustersApi.UpgradeFlexCluster: changed from func(context.Context, string, *FlexClusterDescription20241113) UpgradeFlexClusterApiRequest to func(context.Context, string, *AtlasTenantClusterUpgradeRequest20240805) UpgradeFlexClusterApiRequest
  • UpgradeFlexClusterApiParams.FlexClusterDescription20241113: removed

API Changelog

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

v20241113001.0.0

19 Nov 08:01
74bb991
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113001.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: 2024-11-13

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

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20241113001/mockadmin
Incompatible changes:

  • (*AWSClustersDNSApi).GetAWSCustomDNS: changed from func(context.Context, string) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest to func(context.Context, string) invalid type
  • (*AWSClustersDNSApi).GetAWSCustomDNSExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)
  • (*AWSClustersDNSApi).GetAWSCustomDNSWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest to func(context.Context, *invalid type) invalid type
  • (*AWSClustersDNSApi).ToggleAWSCustomDNS: changed from func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest to func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) invalid type
  • (*AWSClustersDNSApi).ToggleAWSCustomDNSExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)
  • (*AWSClustersDNSApi).ToggleAWSCustomDNSWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest to func(context.Context, *invalid type) invalid type
  • (*AWSClustersDNSApi_GetAWSCustomDNSExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call to func(func(r invalid type)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call to func(invalid type) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiParams)) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call to func(func(ctx context.Context, args *invalid type)) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call).RunAndReturn: changed from func(func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call to func(func(context.Context, *invalid type) invalid type) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNS_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNS_Call to func(invalid type) *AWSClustersDNSApi_GetAWSCustomDNS_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNS_Call).RunAndReturn: changed from func(func(context.Context, string) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNS_Call to func(func(context.Context, string) invalid type) *AWSClustersDNSApi_GetAWSCustomDNS_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call to func(func(r invalid type)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call to func(invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiParams)) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call to func(func(ctx context.Context, args *invalid type)) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call).RunAndReturn: changed from func(func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call to func(func(context.Context, *invalid type) invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNS_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call to func(invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNS_Call).RunAndReturn: changed from func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call to func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call
  • (*ClustersApi).GrantMongoDBEmployeeAccess: changed from func(context.Context, string, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.EmployeeAccessGrant) go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest to func(context.Context, string, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.EmployeeAccessGrant) invalid type
  • (*ClustersApi).GrantMongoDBEmployeeAccessExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest) (any, *net/http.Response, error) to func(invalid type) (any, *net/http.Response, error)
  • (*ClustersApi).GrantMongoDBEmployeeAccessWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest to func(context.Context, *invalid type) invalid type
  • (*ClustersApi).RevokeMongoDBEmployeeAccess: changed from func(context.Context, string, string) go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiRequest to func(context.Context, string, string) invalid type
  • (*ClustersApi).RevokeMongoDBEmployeeAccessExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiRequest) (any, *net/http.Response, error) to func(invalid type) (any, *net/http.Response, error)
  • (*ClustersApi).RevokeMongoDBEmployeeAccessWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiRequest to func(context.Context, *invalid type) invalid type
  • (*ClustersApi_GrantMongoDBEmployeeAccessExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call to func(func(r invalid type)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call
  • (*ClustersApi_GrantMongoDBEmployeeAccessExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest) (any, *net/http.Response, error)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call to func(func(invalid type) (any, *net/http.Response, error)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call
  • (*ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest) *ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call to func(invalid type) *ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call
  • (*ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.o...
Read more

v20241023002.1.0

08 Nov 06:19
625dd5b
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023002.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: 2024-10-23

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

Breaking Changes

SDK changes

JSON responses take precedence now. As an example GetInvoice returns BillingInvoice instead of a string with CSV content.

API Changelog

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

v20241023002.0.0

06 Nov 12:08
9b313e4
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023002.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: 2024-10-23

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

Breaking Changes

SDK changes

JSON responses take precedence now. As an example GetInvoice returns BillingInvoice instead of a string with CSV content.

API Changelog

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

v20241023001.1.0

30 Oct 07:30
8c1c4c7
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023001.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: 2024-10-23

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

API Changelog

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

v20241023001.0.0

29 Oct 13:49
841de36
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023001.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: 2024-10-23

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

Breaking Changes

SDK changes

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

  • (*ApiError).HasError: removed
  • (*ApiError).HasErrorCode: removed
  • (*CloudBackupsApiService).CreateExportBucket: changed from func(context.Context, string, *DiskBackupSnapshotExportBucket) CreateExportBucketApiRequest to func(context.Context, string, *DiskBackupSnapshotExportBucketRequest) CreateExportBucketApiRequest
  • (*DiskBackupExportJob).GetDeliveryUrl: removed
  • (*DiskBackupExportJob).GetDeliveryUrlOk: removed
  • (*DiskBackupExportJob).HasDeliveryUrl: removed
  • (*DiskBackupExportJob).SetDeliveryUrl: removed
  • (*DiskBackupSnapshotExportBucket).HasId: removed
  • (*FieldViolation).HasDescription: removed
  • (*FieldViolation).HasField: removed
  • ApiError.Error: changed from *int to int
  • ApiError.ErrorCode: changed from *string to string
  • CloudBackupsApi.CreateExportBucket: changed from func(context.Context, string, *DiskBackupSnapshotExportBucket) CreateExportBucketApiRequest to func(context.Context, string, *DiskBackupSnapshotExportBucketRequest) CreateExportBucketApiRequest
  • CreateExportBucketApiParams.DiskBackupSnapshotExportBucket: removed
  • DiskBackupExportJob.DeliveryUrl: removed
  • DiskBackupSnapshotExportBucket.Id: changed from *string to string
  • DiskBackupSnapshotExportBucket: removed
  • FieldViolation.Description: changed from *string to string
  • FieldViolation.Field: changed from *string to string
  • NewApiError: changed from func() *ApiError to func(int, string) *ApiError
  • NewDiskBackupSnapshotExportBucket: removed
  • NewDiskBackupSnapshotExportBucketWithDefaults: removed
  • NewFieldViolation: changed from func() *FieldViolation to func(string, string) *FieldViolation

API Changelog

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

v20240805005.0.0

17 Oct 08:17
ce39965
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805005.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: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

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

  • (*ClusterFreeAutoScaling).GetCompute: changed from func() string to func() FreeComputeAutoScalingRules
  • (*ClusterFreeAutoScaling).GetComputeOk: changed from func() (*string, bool) to func() (*FreeComputeAutoScalingRules, bool)
  • (*ClusterFreeAutoScaling).SetCompute: changed from func(string) to func(FreeComputeAutoScalingRules)
  • ClusterFreeAutoScaling.Compute: changed from *string to *FreeComputeAutoScalingRules

API Changelog

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