Skip to content

Releases: mongodb/atlas-sdk-go

v20250312006.0.0

07 Aug 08:00
a3e16cc
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312006.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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*MongoDBCloudUsersApiService).AddProjectRoleExecute: changed from func(AddProjectRoleApiRequest) (*OrgUserResponse, *net/http.Response, error) to func(AddProjectRoleApiRequest) (*GroupUserResponse, *net/http.Response, error)
  • (*MongoDBCloudUsersApiService).RemoveProjectRoleExecute: changed from func(RemoveProjectRoleApiRequest) (*OrgUserResponse, *net/http.Response, error) to func(RemoveProjectRoleApiRequest) (*GroupUserResponse, *net/http.Response, error)
  • AddProjectRoleApiRequest.Execute: changed from func() (*OrgUserResponse, *net/http.Response, error) to func() (*GroupUserResponse, *net/http.Response, error)
  • MongoDBCloudUsersApi.AddProjectRoleExecute: changed from func(AddProjectRoleApiRequest) (*OrgUserResponse, *net/http.Response, error) to func(AddProjectRoleApiRequest) (*GroupUserResponse, *net/http.Response, error)
  • MongoDBCloudUsersApi.RemoveProjectRoleExecute: changed from func(RemoveProjectRoleApiRequest) (*OrgUserResponse, *net/http.Response, error) to func(RemoveProjectRoleApiRequest) (*GroupUserResponse, *net/http.Response, error)
  • RemoveProjectRoleApiRequest.Execute: changed from func() (*OrgUserResponse, *net/http.Response, error) to func() (*GroupUserResponse, *net/http.Response, error)

API Changelog

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

v20250312005.0.0

30 Jun 14:41
50f2fbf
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312005.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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*ResourcePoliciesApiService).CreateAtlasResourcePolicy: removed
  • (*ResourcePoliciesApiService).CreateAtlasResourcePolicyExecute: removed
  • (*ResourcePoliciesApiService).CreateAtlasResourcePolicyWithParams: removed
  • (*ResourcePoliciesApiService).DeleteAtlasResourcePolicy: removed
  • (*ResourcePoliciesApiService).DeleteAtlasResourcePolicyExecute: removed
  • (*ResourcePoliciesApiService).DeleteAtlasResourcePolicyWithParams: removed
  • (*ResourcePoliciesApiService).GetAtlasResourcePolicies: removed
  • (*ResourcePoliciesApiService).GetAtlasResourcePoliciesExecute: removed
  • (*ResourcePoliciesApiService).GetAtlasResourcePoliciesWithParams: removed
  • (*ResourcePoliciesApiService).GetAtlasResourcePolicy: removed
  • (*ResourcePoliciesApiService).GetAtlasResourcePolicyExecute: removed
  • (*ResourcePoliciesApiService).GetAtlasResourcePolicyWithParams: removed
  • (*ResourcePoliciesApiService).UpdateAtlasResourcePolicy: removed
  • (*ResourcePoliciesApiService).UpdateAtlasResourcePolicyExecute: removed
  • (*ResourcePoliciesApiService).UpdateAtlasResourcePolicyWithParams: removed
  • CreateAtlasResourcePolicyApiParams: removed
  • CreateAtlasResourcePolicyApiRequest: removed
  • DeleteAtlasResourcePolicyApiParams: removed
  • DeleteAtlasResourcePolicyApiRequest: removed
  • GetAtlasResourcePoliciesApiParams: removed
  • GetAtlasResourcePoliciesApiRequest: removed
  • GetAtlasResourcePolicyApiParams: removed
  • GetAtlasResourcePolicyApiRequest: removed
  • ResourcePoliciesApi.CreateAtlasResourcePolicy: removed
  • ResourcePoliciesApi.CreateAtlasResourcePolicyExecute: removed
  • ResourcePoliciesApi.CreateAtlasResourcePolicyWithParams: removed
  • ResourcePoliciesApi.CreateOrgResourcePolicy: added
  • ResourcePoliciesApi.CreateOrgResourcePolicyExecute: added
  • ResourcePoliciesApi.CreateOrgResourcePolicyWithParams: added
  • ResourcePoliciesApi.DeleteAtlasResourcePolicy: removed
  • ResourcePoliciesApi.DeleteAtlasResourcePolicyExecute: removed
  • ResourcePoliciesApi.DeleteAtlasResourcePolicyWithParams: removed
  • ResourcePoliciesApi.DeleteOrgResourcePolicy: added
  • ResourcePoliciesApi.DeleteOrgResourcePolicyExecute: added
  • ResourcePoliciesApi.DeleteOrgResourcePolicyWithParams: added
  • ResourcePoliciesApi.GetAtlasResourcePolicies: removed
  • ResourcePoliciesApi.GetAtlasResourcePoliciesExecute: removed
  • ResourcePoliciesApi.GetAtlasResourcePoliciesWithParams: removed
  • ResourcePoliciesApi.GetAtlasResourcePolicy: removed
  • ResourcePoliciesApi.GetAtlasResourcePolicyExecute: removed
  • ResourcePoliciesApi.GetAtlasResourcePolicyWithParams: removed
  • ResourcePoliciesApi.GetOrgResourcePolicy: added
  • ResourcePoliciesApi.GetOrgResourcePolicyExecute: added
  • ResourcePoliciesApi.GetOrgResourcePolicyWithParams: added
  • ResourcePoliciesApi.ListOrgResourcePolicies: added
  • ResourcePoliciesApi.ListOrgResourcePoliciesExecute: added
  • ResourcePoliciesApi.ListOrgResourcePoliciesWithParams: added
  • ResourcePoliciesApi.UpdateAtlasResourcePolicy: removed
  • ResourcePoliciesApi.UpdateAtlasResourcePolicyExecute: removed
  • ResourcePoliciesApi.UpdateAtlasResourcePolicyWithParams: removed
  • ResourcePoliciesApi.UpdateOrgResourcePolicy: added
  • ResourcePoliciesApi.UpdateOrgResourcePolicyExecute: added
  • ResourcePoliciesApi.UpdateOrgResourcePolicyWithParams: added
  • TeamsApi.GetProjectTeam: added
  • TeamsApi.GetProjectTeamExecute: added
  • TeamsApi.GetProjectTeamWithParams: added
  • UpdateAtlasResourcePolicyApiParams: removed
  • UpdateAtlasResourcePolicyApiRequest: removed

incompatible changes

  • (*ResourcePoliciesApi).CreateAtlasResourcePolicy: changed from func(context.Context, string, *go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicyCreate) go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiRequest to func(context.Context, string, *go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicyCreate) invalid type
  • (*ResourcePoliciesApi).CreateAtlasResourcePolicyExecute: changed from func(go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiRequest) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error)
  • (*ResourcePoliciesApi).CreateAtlasResourcePolicyWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiParams) go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiRequest to func(context.Context, *invalid type) invalid type
  • (*ResourcePoliciesApi).DeleteAtlasResourcePolicy: changed from func(context.Context, string, string) go.mongodb.org/atlas-sdk/v20250312005/admin.DeleteAtlasResourcePolicyApiRequest to func(context.Context, string, string) invalid type
  • (*ResourcePoliciesApi).DeleteAtlasResourcePolicyExecute: changed from func(go.mongodb.org/atlas-sdk/v20250312005/admin.DeleteAtlasResourcePolicyApiRequest) (*net/http.Response, error) to func(invalid type) (*net/http.Response, error)
  • (*ResourcePoliciesApi).DeleteAtlasResourcePolicyWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20250312005/admin.DeleteAtlasResourcePolicyApiParams) go.mongodb.org/atlas-sdk/v20250312005/admin.DeleteAtlasResourcePolicyApiRequest to func(context.Context, *invalid type) invalid type
  • (*ResourcePoliciesApi).GetAtlasResourcePolicies: changed from func(context.Context, string) go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePoliciesApiRequest to func(context.Context, string) invalid type
  • (*ResourcePoliciesApi).GetAtlasResourcePoliciesExecute: changed from func(go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePoliciesApiRequest) ([]go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error) to func(invalid type) ([]go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error)
  • (*ResourcePoliciesApi).GetAtlasResourcePoliciesWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePoliciesApiParams) go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePoliciesApiRequest to func(context.Context, *invalid type) invalid type
  • (*ResourcePoliciesApi).GetAtlasResourcePolicy: changed from func(context.Context, string, string) go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePolicyApiRequest to func(context.Context, string, string) invalid type
  • (*ResourcePoliciesApi).GetAtlasResourcePolicyExecute: changed from func(go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePolicyApiRequest) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error)
  • (*ResourcePoliciesApi).GetAtlasResourcePolicyWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePolicyApiParams) go.mongodb.org/atlas-sdk/v20250312005/admin.GetAtlasResourcePolicyApiRequest to func(context.Context, *invalid type) invalid type
  • (*ResourcePoliciesApi).UpdateAtlasResourcePolicy: changed from func(context.Context, string, string, *go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicyEdit) go.mongodb.org/atlas-sdk/v20250312005/admin.UpdateAtlasResourcePolicyApiRequest to func(context.Context, string, string, *go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicyEdit) invalid type
  • (*ResourcePoliciesApi).UpdateAtlasResourcePolicyExecute: changed from func(go.mongodb.org/atlas-sdk/v20250312005/admin.UpdateAtlasResourcePolicyApiRequest) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error)
  • (*ResourcePoliciesApi).UpdateAtlasResourcePolicyWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20250312005/admin.UpdateAtlasResourcePolicyApiParams) go.mongodb.org/atlas-sdk/v20250312005/admin.UpdateAtlasResourcePolicyApiRequest to func(context.Context, *invalid type) invalid type
  • (*ResourcePoliciesApi_CreateAtlasResourcePolicyExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiRequest)) *ResourcePoliciesApi_CreateAtlasResourcePolicyExecute_Call to func(func(r invalid type)) *ResourcePoliciesApi_CreateAtlasResourcePolicyExecute_Call
  • (*ResourcePoliciesApi_CreateAtlasResourcePolicyExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiRequest) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error)) *ResourcePoliciesApi_CreateAtlasResourcePolicyExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20250312005/admin.ApiAtlasResourcePolicy, *net/http.Response, error)) *ResourcePoliciesApi_CreateAtlasResourcePolicyExecute_Call
  • (*ResourcePoliciesApi_CreateAtlasResourcePolicyWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20250312005/admin.CreateAtlasResourcePolicyApiRequest) *ResourcePoliciesApi_CreateAtlasResourcePolicyWithParams_Call to func(invalid type) *ResourcePoliciesApi_CreateAtlasResourcePolicyWithParams_Call
  • (*ResourcePoliciesApi_CreateAtlasResourcePolicyWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/a...
Read more

v20250312004.0.0

18 Jun 15:12
759a452
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312004.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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*CreatePushBasedLogExportProjectRequest).GetLinks: removed
  • (*CreatePushBasedLogExportProjectRequest).GetLinksOk: removed
  • (*CreatePushBasedLogExportProjectRequest).HasLinks: removed
  • (*CreatePushBasedLogExportProjectRequest).SetLinks: removed
  • CreatePushBasedLogExportProjectRequest.Links: removed

API Changelog

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

v20250312003.0.0

16 May 13:30
8c01c4a
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312003.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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*DataFederationLimit).GetLastModifiedDate: removed
  • (*DataFederationLimit).GetLastModifiedDateOk: removed
  • (*DataFederationLimit).GetOverrunPolicy: removed
  • (*DataFederationLimit).GetOverrunPolicyOk: removed
  • (*DataFederationLimit).HasLastModifiedDate: removed
  • (*DataFederationLimit).HasOverrunPolicy: removed
  • (*DataFederationLimit).SetLastModifiedDate: removed
  • (*DataFederationLimit).SetOverrunPolicy: removed
  • (_ServiceAccountsApiService).AddProjectServiceAccount: changed from func(context.Context, string, string, _[]GroupServiceAccountRoleAssignment) AddProjectServiceAccountApiRequest to func(context.Context, string, string, *GroupServiceAccountRoleAssignment) AddProjectServiceAccountApiRequest
  • (*StreamsPrivateLinkConnection).HasProvider: removed
  • AWSAccountDetails: removed
  • AddProjectServiceAccountApiParams.GroupServiceAccountRoleAssignment: changed from *[]GroupServiceAccountRoleAssignment to *GroupServiceAccountRoleAssignment
  • DataFederationLimit.LastModifiedDate: removed
  • DataFederationLimit.OverrunPolicy: removed
  • NewAWSAccountDetails: removed
  • NewAWSAccountDetailsWithDefaults: removed
  • NewRoleAssignment: removed
  • NewRoleAssignmentWithDefaults: removed
  • NewStreamsPrivateLinkConnection: changed from func() *StreamsPrivateLinkConnection to func(string) *StreamsPrivateLinkConnection
  • RoleAssignment: removed
  • ServiceAccountsApi.AddProjectServiceAccount: changed from func(context.Context, string, string, *[]GroupServiceAccountRoleAssignment) AddProjectServiceAccountApiRequest to func(context.Context, string, string, *GroupServiceAccountRoleAssignment) AddProjectServiceAccountApiRequest
  • StreamsApi.StartStreamProcessorWith: added
  • StreamsApi.StartStreamProcessorWithExecute: added
  • StreamsApi.StartStreamProcessorWithWithParams: added
  • StreamsPrivateLinkConnection.Provider: changed from *string to string

incompatible changes

  • (*StreamsApi).GetAccountDetailsExecute: changed from func(go.mongodb.org/atlas-sdk/v20250312003/admin.GetAccountDetailsApiRequest) (*go.mongodb.org/atlas-sdk/v20250312003/admin.AWSAccountDetails, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250312003/admin.GetAccountDetailsApiRequest) (*invalid type, *net/http.Response, error)
  • (*StreamsApi_GetAccountDetailsExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250312003/admin.AWSAccountDetails, *net/http.Response, error) *StreamsApi_GetAccountDetailsExecute_Call to func(*invalid type, *net/http.Response, error) *StreamsApi_GetAccountDetailsExecute_Call
  • (*StreamsApi_GetAccountDetailsExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250312003/admin.GetAccountDetailsApiRequest) (*go.mongodb.org/atlas-sdk/v20250312003/admin.AWSAccountDetails, *net/http.Response, error)) *StreamsApi_GetAccountDetailsExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250312003/admin.GetAccountDetailsApiRequest) (*invalid type, *net/http.Response, error)) *StreamsApi_GetAccountDetailsExecute_Call

API Changelog

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

v20250312002.0.0

03 Apr 10:57
cc4f87a
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312002.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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*AtlasSearchApiService).DeleteAtlasSearchDeploymentExecute: changed from func(DeleteAtlasSearchDeploymentApiRequest) (any, *net/http.Response, error) to func(DeleteAtlasSearchDeploymentApiRequest) (*net/http.Response, error)
  • (*AtlasSearchApiService).DeleteAtlasSearchIndexByNameExecute: changed from func(DeleteAtlasSearchIndexByNameApiRequest) (any, *net/http.Response, error) to func(DeleteAtlasSearchIndexByNameApiRequest) (*net/http.Response, error)
  • (*AtlasSearchApiService).DeleteAtlasSearchIndexDeprecatedExecute: changed from func(DeleteAtlasSearchIndexDeprecatedApiRequest) (any, *net/http.Response, error) to func(DeleteAtlasSearchIndexDeprecatedApiRequest) (*net/http.Response, error)
  • (*AtlasSearchApiService).DeleteAtlasSearchIndexExecute: changed from func(DeleteAtlasSearchIndexApiRequest) (any, *net/http.Response, error) to func(DeleteAtlasSearchIndexApiRequest) (*net/http.Response, error)
  • (*CloudBackupsApiService).CancelBackupRestoreJobExecute: changed from func(CancelBackupRestoreJobApiRequest) (any, *net/http.Response, error) to func(CancelBackupRestoreJobApiRequest) (*net/http.Response, error)
  • (*CloudBackupsApiService).DeleteExportBucketExecute: changed from func(DeleteExportBucketApiRequest) (any, *net/http.Response, error) to func(DeleteExportBucketApiRequest) (*net/http.Response, error)
  • (*CloudBackupsApiService).DeleteReplicaSetBackupExecute: changed from func(DeleteReplicaSetBackupApiRequest) (any, *net/http.Response, error) to func(DeleteReplicaSetBackupApiRequest) (*net/http.Response, error)
  • (*CloudBackupsApiService).DeleteShardedClusterBackupExecute: changed from func(DeleteShardedClusterBackupApiRequest) (any, *net/http.Response, error) to func(DeleteShardedClusterBackupApiRequest) (*net/http.Response, error)
  • (*CloudBackupsApiService).DisableDataProtectionSettingsExecute: changed from func(DisableDataProtectionSettingsApiRequest) (any, *net/http.Response, error) to func(DisableDataProtectionSettingsApiRequest) (*net/http.Response, error)
  • (*CloudMigrationServiceApiService).DeleteLinkTokenExecute: changed from func(DeleteLinkTokenApiRequest) (any, *net/http.Response, error) to func(DeleteLinkTokenApiRequest) (*net/http.Response, error)
  • (*ClustersApiService).GrantMongoDbEmployeeAccessExecute: changed from func(GrantMongoDbEmployeeAccessApiRequest) (any, *net/http.Response, error) to func(GrantMongoDbEmployeeAccessApiRequest) (*net/http.Response, error)
  • (*ClustersApiService).PinFeatureCompatibilityVersionExecute: changed from func(PinFeatureCompatibilityVersionApiRequest) (any, *net/http.Response, error) to func(PinFeatureCompatibilityVersionApiRequest) (*net/http.Response, error)
  • (*ClustersApiService).RevokeMongoDbEmployeeAccessExecute: changed from func(RevokeMongoDbEmployeeAccessApiRequest) (any, *net/http.Response, error) to func(RevokeMongoDbEmployeeAccessApiRequest) (*net/http.Response, error)
  • (*ClustersApiService).UnpinFeatureCompatibilityVersionExecute: changed from func(UnpinFeatureCompatibilityVersionApiRequest) (any, *net/http.Response, error) to func(UnpinFeatureCompatibilityVersionApiRequest) (*net/http.Response, error)
  • (*CollectionLevelMetricsApiService).GetCollStatsLatencyNamespaceMetricsExecute: changed from func(GetCollStatsLatencyNamespaceMetricsApiRequest) (any, *net/http.Response, error) to func(GetCollStatsLatencyNamespaceMetricsApiRequest) (*net/http.Response, error)
  • (*DataFederationApiService).DeleteDataFederationPrivateEndpointExecute: changed from func(DeleteDataFederationPrivateEndpointApiRequest) (any, *net/http.Response, error) to func(DeleteDataFederationPrivateEndpointApiRequest) (*net/http.Response, error)
  • (*DataFederationApiService).DeleteFederatedDatabaseExecute: changed from func(DeleteFederatedDatabaseApiRequest) (any, *net/http.Response, error) to func(DeleteFederatedDatabaseApiRequest) (*net/http.Response, error)
  • (*DataFederationApiService).DeleteOneDataFederationInstanceQueryLimitExecute: changed from func(DeleteOneDataFederationInstanceQueryLimitApiRequest) (any, *net/http.Response, error) to func(DeleteOneDataFederationInstanceQueryLimitApiRequest) (*net/http.Response, error)
  • (*DataLakePipelinesApiService).DeletePipelineExecute: changed from func(DeletePipelineApiRequest) (any, *net/http.Response, error) to func(DeletePipelineApiRequest) (*net/http.Response, error)
  • (*DatabaseUsersApiService).DeleteDatabaseUserExecute: changed from func(DeleteDatabaseUserApiRequest) (any, *net/http.Response, error) to func(DeleteDatabaseUserApiRequest) (*net/http.Response, error)
  • (*EncryptionAtRestUsingCustomerKeyManagementApiService).RequestEncryptionAtRestPrivateEndpointDeletionExecute: changed from func(RequestEncryptionAtRestPrivateEndpointDeletionApiRequest) (any, *net/http.Response, error) to func(RequestEncryptionAtRestPrivateEndpointDeletionApiRequest) (*net/http.Response, error)
  • (*FederatedAuthenticationApiService).RemoveConnectedOrgConfigExecute: changed from func(RemoveConnectedOrgConfigApiRequest) (any, *net/http.Response, error) to func(RemoveConnectedOrgConfigApiRequest) (*net/http.Response, error)
  • (*FlexClustersApiService).DeleteFlexClusterExecute: changed from func(DeleteFlexClusterApiRequest) (any, *net/http.Response, error) to func(DeleteFlexClusterApiRequest) (*net/http.Response, error)
  • (*LegacyBackupApiService).DeleteLegacySnapshotExecute: changed from func(DeleteLegacySnapshotApiRequest) (any, *net/http.Response, error) to func(DeleteLegacySnapshotApiRequest) (*net/http.Response, error)
  • (*MaintenanceWindowsApiService).UpdateMaintenanceWindowExecute: changed from func(UpdateMaintenanceWindowApiRequest) (any, *net/http.Response, error) to func(UpdateMaintenanceWindowApiRequest) (*net/http.Response, error)
  • (*MongoDBCloudUsersApiService).RemoveOrganizationUserExecute: changed from func(RemoveOrganizationUserApiRequest) (any, *net/http.Response, error) to func(RemoveOrganizationUserApiRequest) (*net/http.Response, error)
  • (*MongoDBCloudUsersApiService).RemoveProjectUserExecute: changed from func(RemoveProjectUserApiRequest) (any, *net/http.Response, error) to func(RemoveProjectUserApiRequest) (*net/http.Response, error)
  • (*NetworkPeeringApiService).DeletePeeringContainerExecute: changed from func(DeletePeeringContainerApiRequest) (any, *net/http.Response, error) to func(DeletePeeringContainerApiRequest) (*net/http.Response, error)
  • (*OnlineArchiveApiService).DeleteOnlineArchiveExecute: changed from func(DeleteOnlineArchiveApiRequest) (any, *net/http.Response, error) to func(DeleteOnlineArchiveApiRequest) (*net/http.Response, error)
  • (*OrganizationsApiService).DeleteOrganizationExecute: changed from func(DeleteOrganizationApiRequest) (any, *net/http.Response, error) to func(DeleteOrganizationApiRequest) (*net/http.Response, error)
  • (*OrganizationsApiService).DeleteOrganizationInvitationExecute: changed from func(DeleteOrganizationInvitationApiRequest) (any, *net/http.Response, error) to func(DeleteOrganizationInvitationApiRequest) (*net/http.Response, error)
  • (*PerformanceAdvisorApiService).SetServerlessAutoIndexingExecute: changed from func(SetServerlessAutoIndexingApiRequest) (any, *net/http.Response, error) to func(SetServerlessAutoIndexingApiRequest) (*net/http.Response, error)
  • (*PrivateEndpointServicesApiService).DeletePrivateEndpointExecute: changed from func(DeletePrivateEndpointApiRequest) (any, *net/http.Response, error) to func(DeletePrivateEndpointApiRequest) (*net/http.Response, error)
  • (*PrivateEndpointServicesApiService).DeletePrivateEndpointServiceExecute: changed from func(DeletePrivateEndpointServiceApiRequest) (any, *net/http.Response, error) to func(DeletePrivateEndpointServiceApiRequest) (*net/http.Response, error)
  • (*ProgrammaticAPIKeysApiService).AddProjectApiKeyExecute: changed from func(AddProjectApiKeyApiRequest) (any, *net/http.Response, error) to func(AddProjectApiKeyApiRequest) (*net/http.Response, error)
  • (*ProgrammaticAPIKeysApiService).DeleteApiKeyAccessListEntryExecute: changed from func(DeleteApiKeyAccessListEntryApiRequest) (any, *net/http.Response, error) to func(DeleteApiKeyAccessListEntryApiRequest) (*net/http.Response, error)
  • (*ProgrammaticAPIKeysApiService).DeleteApiKeyExecute: changed from func(DeleteApiKeyApiRequest) (any, *net/http.Response, error) to func(DeleteApiKeyApiRequest) (*net/http.Response, error)
  • (*ProgrammaticAPIKeysApiService).RemoveProjectApiKeyExecute: changed from func(RemoveProjectApiKeyApiRequest) (any, *net/http.Response, error) to func(RemoveProjectApiKeyApiRequest) (*net/http.Response, error)
  • (*ProjectIPAccessListApiService).DeleteProjectIpAccessListExecute: changed from func(DeleteProjectIpAccessListApiRequest) (any, *net/http.Response, error) to func(DeleteProjectIpAccessListApiRequest) (*net/http.Response, error)
  • (*ProjectsApiService).DeleteProjectExecute: changed from func(DeleteProjectApiRequest) (any, *net/http.Response, error) to func(DeleteProjectApiRequest) (*net/http.Response, error)
  • (*ProjectsApiService).DeleteProjectInvitationExecute: changed from func(DeleteProjectInvitationApiRequest) (any, *net/http.Response, error) to func(DeleteProjectInvitationApiRequest) (*net/http.Response, error)
  • (*ProjectsApiService).DeleteProjectLimitExecute: changed from func(DeleteProjectLimitApiRequest) (any, *net/http.Response, error) to func(DeleteProjectLimitApiRequest) (*net/http.Response, error)
  • (*ResourcePoliciesApiService).DeleteAtlasResourcePolicyExecute: changed from func(DeleteAtlasResourcePolicyApiRequest) (an...
Read more

v20250312001.1.0

31 Mar 08:04
8818b83
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312001.1.0 release.
The issue introduced in v20250312001.0.0 with CreateAlertConfiguration method from AlertConfigurationsApi has been fixed.

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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*GreaterThanRawThreshold).GetThreshold: changed from func() int to func() float64
  • (*GreaterThanRawThreshold).GetThresholdOk: changed from func() (*int, bool) to func() (*float64, bool)
  • (*GreaterThanRawThreshold).SetThreshold: changed from func(int) to func(float64)
  • ClustersApi.AutoScalingConfiguration: added
  • ClustersApi.AutoScalingConfigurationExecute: added
  • ClustersApi.AutoScalingConfigurationWithParams: added
  • GreaterThanRawThreshold.Threshold: changed from *int to *float64
  • GreaterThanRawThreshold: removed
  • NewGreaterThanRawThreshold: removed
  • NewGreaterThanRawThresholdWithDefaults: removed

API Changelog

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

v20250312001.0.0

20 Mar 08:14
92ba675
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312001.0.0 release.
IMPORTANT NOTICE: We have identified an issue when using CreateAlertConfiguration method from AlertConfigurationsApi. metricName property in Threshold property of GroupAlertConfig object is now required, making it impossible to create new Alert Configurations that do not need a Metric name. We recommend to not use this SDK version if you use CreateAlertConfiguration

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: 2025-03-12

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-03-12/

Breaking Changes

SDK changes

incompatible changes

  • (*GreaterThanRawThreshold).GetThreshold: changed from func() int to func() float64
  • (*GreaterThanRawThreshold).GetThresholdOk: changed from func() (*int, bool) to func() (*float64, bool)
  • (*GreaterThanRawThreshold).SetThreshold: changed from func(int) to func(float64)
  • ClustersApi.AutoScalingConfiguration: added
  • ClustersApi.AutoScalingConfigurationExecute: added
  • ClustersApi.AutoScalingConfigurationWithParams: added
  • GreaterThanRawThreshold.Threshold: changed from *int to *float64
  • GreaterThanRawThreshold: removed
  • NewGreaterThanRawThreshold: removed
  • NewGreaterThanRawThresholdWithDefaults: removed

API Changelog

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

v20250219001.1.0

25 Feb 14:52
3f8e043
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250219001.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: 2025-02-19

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

API Changelog

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

v20250219001.0.0

25 Feb 09:03
3dae3da
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250219001.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: 2025-02-19

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

Breaking Changes

SDK changes

incompatible changes

  • (*OrganizationsApiService).ListOrganizationUsers: removed
  • (*OrganizationsApiService).ListOrganizationUsersExecute: removed
  • (*OrganizationsApiService).ListOrganizationUsersWithParams: removed
  • (*OrganizationsApiService).RemoveOrganizationUser: removed
  • (*OrganizationsApiService).RemoveOrganizationUserExecute: removed
  • (*OrganizationsApiService).RemoveOrganizationUserWithParams: removed
  • (*PaginatedAppUser).GetResults: changed from func() []CloudAppUser to func() []OrgUserResponse
  • (PaginatedAppUser).GetResultsOk: changed from func() ([]CloudAppUser, bool) to func() (*[]OrgUserResponse, bool)
  • (*PaginatedAppUser).SetResults: changed from func([]CloudAppUser) to func([]OrgUserResponse)
  • (*ProjectsApiService).ListProjectUsers: removed
  • (*ProjectsApiService).ListProjectUsersExecute: removed
  • (*ProjectsApiService).ListProjectUsersWithParams: removed
  • (*ProjectsApiService).RemoveProjectUser: removed
  • (*ProjectsApiService).RemoveProjectUserExecute: removed
  • (*ProjectsApiService).RemoveProjectUserWithParams: removed
  • (*TeamsApiService).ListTeamUsers: removed
  • (*TeamsApiService).ListTeamUsersExecute: removed
  • (*TeamsApiService).ListTeamUsersWithParams: removed
  • ListOrganizationUsersApiRequest.ApiService: changed from OrganizationsApi to MongoDBCloudUsersApi
  • ListProjectUsersApiRequest.ApiService: changed from ProjectsApi to MongoDBCloudUsersApi
  • ListProjectUsersApiRequest.Execute: changed from func() (*PaginatedAppUser, *net/http.Response, error) to func() (*PaginatedGroupUser, *net/http.Response, error)
  • ListTeamUsersApiRequest.ApiService: changed from TeamsApi to MongoDBCloudUsersApi
  • MongoDBCloudUsersApi.AddOrganizationRole: added
  • MongoDBCloudUsersApi.AddOrganizationRoleExecute: added
  • MongoDBCloudUsersApi.AddOrganizationRoleWithParams: added
  • MongoDBCloudUsersApi.AddProjectRole: added
  • MongoDBCloudUsersApi.AddProjectRoleExecute: added
  • MongoDBCloudUsersApi.AddProjectRoleWithParams: added
  • MongoDBCloudUsersApi.AddProjectUser: added
  • MongoDBCloudUsersApi.AddProjectUserExecute: added
  • MongoDBCloudUsersApi.AddProjectUserWithParams: added
  • MongoDBCloudUsersApi.AddUserToTeam: added
  • MongoDBCloudUsersApi.AddUserToTeamExecute: added
  • MongoDBCloudUsersApi.AddUserToTeamWithParams: added
  • MongoDBCloudUsersApi.CreateOrganizationUser: added
  • MongoDBCloudUsersApi.CreateOrganizationUserExecute: added
  • MongoDBCloudUsersApi.CreateOrganizationUserWithParams: added
  • MongoDBCloudUsersApi.GetOrganizationUser: added
  • MongoDBCloudUsersApi.GetOrganizationUserExecute: added
  • MongoDBCloudUsersApi.GetOrganizationUserWithParams: added
  • MongoDBCloudUsersApi.GetProjectUser: added
  • MongoDBCloudUsersApi.GetProjectUserExecute: added
  • MongoDBCloudUsersApi.GetProjectUserWithParams: added
  • MongoDBCloudUsersApi.ListOrganizationUsers: added
  • MongoDBCloudUsersApi.ListOrganizationUsersExecute: added
  • MongoDBCloudUsersApi.ListOrganizationUsersWithParams: added
  • MongoDBCloudUsersApi.ListProjectUsers: added
  • MongoDBCloudUsersApi.ListProjectUsersExecute: added
  • MongoDBCloudUsersApi.ListProjectUsersWithParams: added
  • MongoDBCloudUsersApi.ListTeamUsers: added
  • MongoDBCloudUsersApi.ListTeamUsersExecute: added
  • MongoDBCloudUsersApi.ListTeamUsersWithParams: added
  • MongoDBCloudUsersApi.RemoveOrganizationRole: added
  • MongoDBCloudUsersApi.RemoveOrganizationRoleExecute: added
  • MongoDBCloudUsersApi.RemoveOrganizationRoleWithParams: added
  • MongoDBCloudUsersApi.RemoveOrganizationUser: added
  • MongoDBCloudUsersApi.RemoveOrganizationUserExecute: added
  • MongoDBCloudUsersApi.RemoveOrganizationUserWithParams: added
  • MongoDBCloudUsersApi.RemoveProjectRole: added
  • MongoDBCloudUsersApi.RemoveProjectRoleExecute: added
  • MongoDBCloudUsersApi.RemoveProjectRoleWithParams: added
  • MongoDBCloudUsersApi.RemoveProjectUser: added
  • MongoDBCloudUsersApi.RemoveProjectUserExecute: added
  • MongoDBCloudUsersApi.RemoveProjectUserWithParams: added
  • MongoDBCloudUsersApi.RemoveUserFromTeam: added
  • MongoDBCloudUsersApi.RemoveUserFromTeamExecute: added
  • MongoDBCloudUsersApi.RemoveUserFromTeamWithParams: added
  • MongoDBCloudUsersApi.UpdateOrganizationUser: added
  • MongoDBCloudUsersApi.UpdateOrganizationUserExecute: added
  • MongoDBCloudUsersApi.UpdateOrganizationUserWithParams: added
  • NewPaginatedAppUser: removed
  • NewPaginatedAppUserWithDefaults: removed
  • OrganizationsApi.ListOrganizationUsers: removed
  • OrganizationsApi.ListOrganizationUsersExecute: removed
  • OrganizationsApi.ListOrganizationUsersWithParams: removed
  • OrganizationsApi.RemoveOrganizationUser: removed
  • OrganizationsApi.RemoveOrganizationUserExecute: removed
  • OrganizationsApi.RemoveOrganizationUserWithParams: removed
  • PaginatedAppUser.Results: changed from _[]CloudAppUser to _[]OrgUserResponse
  • PaginatedAppUser: removed
  • PerformanceAdvisorApi.ListDropIndexes: added
  • PerformanceAdvisorApi.ListDropIndexesExecute: added
  • PerformanceAdvisorApi.ListDropIndexesWithParams: added
  • PerformanceAdvisorApi.ListSchemaAdvice: added
  • PerformanceAdvisorApi.ListSchemaAdviceExecute: added
  • PerformanceAdvisorApi.ListSchemaAdviceWithParams: added
  • ProjectsApi.ListProjectUsers: removed
  • ProjectsApi.ListProjectUsersExecute: removed
  • ProjectsApi.ListProjectUsersWithParams: removed
  • ProjectsApi.RemoveProjectUser: removed
  • ProjectsApi.RemoveProjectUserExecute: removed
  • ProjectsApi.RemoveProjectUserWithParams: removed
  • RemoveOrganizationUserApiRequest.ApiService: changed from OrganizationsApi to MongoDBCloudUsersApi
  • RemoveProjectUserApiRequest.ApiService: changed from ProjectsApi to MongoDBCloudUsersApi
  • RemoveProjectUserApiRequest.Execute: changed from func() (*net/http.Response, error) to func() (any, *net/http.Response, error)
  • TeamsApi.ListTeamUsers: removed
  • TeamsApi.ListTeamUsersExecute: removed
  • TeamsApi.ListTeamUsersWithParams: removed

incompatible changes

  • (*OrganizationsApi).ListOrganizationUsersExecute: changed from func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*invalid type, *net/http.Response, error)
  • (*OrganizationsApi_ListOrganizationUsersExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) *OrganizationsApi_ListOrganizationUsersExecute_Call to func(*invalid type, *net/http.Response, error) *OrganizationsApi_ListOrganizationUsersExecute_Call
  • (*OrganizationsApi_ListOrganizationUsersExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error)) *OrganizationsApi_ListOrganizationUsersExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*invalid type, *net/http.Response, error)) *OrganizationsApi_ListOrganizationUsersExecute_Call
  • (*ProjectsApi).ListProjectUsersExecute: changed from func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*invalid type, *net/http.Response, error)
  • (*ProjectsApi_ListProjectUsersExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) *ProjectsApi_ListProjectUsersExecute_Call to func(*invalid type, *net/http.Response, error) *ProjectsApi_ListProjectUsersExecute_Call
  • (*ProjectsApi_ListProjectUsersExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error)) *ProjectsApi_ListProjectUsersExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*invalid type, *net/http.Response, error)) *ProjectsApi_ListProjectUsersExecute_Call
  • (*TeamsApi).ListTeamUsersExecute: changed from func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*invalid type, *net/http.Response, error)
  • (*TeamsApi_ListTeamUsersExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) *TeamsApi_ListTeamUsersExecute_Call to func(*invalid type, *net/http.Response, error) *TeamsApi_ListTeamUsersExecute_Call
  • (*TeamsApi_ListTeamUsersExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error)) *TeamsApi_ListTeamUsersExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*invalid type, *net/http.Response, error)) *TeamsApi_ListTeamUsersExecute_Call

API Changelog

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

v20241113005.0.0

11 Feb 13:30
c95de06
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113005.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: 2025-02-19

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

Breaking Changes

SDK changes

incompatible changes

  • (*PerformanceAdvisorApiService).GetManagedSlowMsExecute: changed from func(GetManagedSlowMsApiRequest) (*net/http.Response, error) to func(GetManagedSlowMsApiRequest) (bool, *net/http.Response, error)
  • GetManagedSlowMsApiRequest.Execute: changed from func() (*net/http.Response, error) to func() (bool, *net/http.Response, error)
  • ListProjectUsersApiParams.OrgMembershipStatus: removed
  • ListProjectUsersApiRequest.OrgMembershipStatus: removed
  • NewServerlessMetricThreshold: removed
  • NewServerlessMetricThresholdWithDefaults: removed
  • PerformanceAdvisorApi.GetManagedSlowMsExecute: changed from func(GetManagedSlowMsApiRequest) (*net/http.Response, error) to func(GetManagedSlowMsApiRequest) (bool, *net/http.Response, error)
  • ServerlessMetricThreshold: removed
  • StreamsApi.GetActiveVpcPeeringConnections: added
  • StreamsApi.GetActiveVpcPeeringConnectionsExecute: added
  • StreamsApi.GetActiveVpcPeeringConnectionsWithParams: added

API Changelog

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