Skip to content

v20241023001.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Oct 13:49
· 14 commits to main since this release
841de36

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