Skip to content

Releases: mongodb/atlas-sdk-go

v20250312008.0.0

03 Oct 06:54
77f5bac

Choose a tag to compare

Release Notes

Notes

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

  • (*SearchMappings).GetDynamic: changed from func() bool to func() any
  • (*SearchMappings).GetDynamicOk: changed from func() (*bool, bool) to func() (any, bool)
  • (*SearchMappings).SetDynamic: changed from func(bool) to func(any)
  • (*StreamsKafkaAuthentication).GetHttpsCaPem: removed
  • (*StreamsKafkaAuthentication).GetHttpsCaPemOk: removed
  • (*StreamsKafkaAuthentication).HasHttpsCaPem: removed
  • (*StreamsKafkaAuthentication).SetHttpsCaPem: removed
  • SearchMappings.Dynamic: changed from *bool to any
  • StreamsKafkaAuthentication.HttpsCaPem: removed

API Changelog

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

v20250312007.0.0

02 Sep 10:44
bccfe95

Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20250312007.0.0 release.

IMPORTANT: This release includes many renames of existing function names and data structures, due to operation ID renaming in the Atlas OpenAPI Specification. This changes is made to provide consistent and user-friendly names across the Atlas API tooling, including the Atlas GO SDK. For a complete list of changes, see the breaking changes section.

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

List has been reduced to focus on how each resource has modified its method names.

  • AccessTrackingApi.GetAccessHistoryCluster: added
  • AccessTrackingApi.GetAccessHistoryProcess: added
  • AccessTrackingApi.ListAccessLogsByClusterName: removed
  • AccessTrackingApi.ListAccessLogsByHostname: removed
  • AlertConfigurationsApi.CreateAlertConfig: added
  • AlertConfigurationsApi.CreateAlertConfiguration: removed
  • AlertConfigurationsApi.DeleteAlertConfig: added
  • AlertConfigurationsApi.DeleteAlertConfiguration: removed
  • AlertConfigurationsApi.GetAlertConfig: added
  • AlertConfigurationsApi.GetAlertConfigs: added
  • AlertConfigurationsApi.GetAlertConfiguration: removed
  • AlertConfigurationsApi.ListAlertConfigs: added
  • AlertConfigurationsApi.ListAlertConfigurationMatchersFieldNames: removed
  • AlertConfigurationsApi.ListAlertConfigurations: removed
  • AlertConfigurationsApi.ListAlertConfigurationsByAlertId: removed
  • AlertConfigurationsApi.ListMatcherFieldNames: added
  • AlertConfigurationsApi.ToggleAlertConfig: added
  • AlertConfigurationsApi.ToggleAlertConfiguration: removed
  • AlertConfigurationsApi.UpdateAlertConfig: added
  • AlertConfigurationsApi.UpdateAlertConfiguration: removed
  • AlertsApi.GetAlertConfigAlerts: added
  • AlertsApi.ListAlertsByAlertConfigurationId: removed
  • AtlasSearchApi.CreateAtlasSearchDeployment: removed
  • AtlasSearchApi.CreateAtlasSearchIndex: removed
  • AtlasSearchApi.CreateAtlasSearchIndexDeprecated: removed
  • AtlasSearchApi.CreateClusterFtsIndex: added
  • AtlasSearchApi.CreateClusterSearchDeployment: added
  • AtlasSearchApi.CreateClusterSearchIndex: added
  • AtlasSearchApi.DeleteAtlasSearchDeployment: removed
  • AtlasSearchApi.DeleteAtlasSearchIndex: removed
  • AtlasSearchApi.DeleteAtlasSearchIndexByName: removed
  • AtlasSearchApi.DeleteAtlasSearchIndexDeprecated: removed
  • AtlasSearchApi.DeleteClusterFtsIndex: added
  • AtlasSearchApi.DeleteClusterSearchDeployment: added
  • AtlasSearchApi.DeleteClusterSearchIndex: added
  • AtlasSearchApi.DeleteIndexByName: added
  • AtlasSearchApi.GetAtlasSearchDeployment: removed
  • AtlasSearchApi.GetAtlasSearchIndex: removed
  • AtlasSearchApi.GetAtlasSearchIndexByName: removed
  • AtlasSearchApi.GetAtlasSearchIndexDeprecated: removed
  • AtlasSearchApi.GetClusterFtsIndex: added
  • AtlasSearchApi.GetClusterSearchDeployment: added
  • AtlasSearchApi.GetClusterSearchIndex: added
  • AtlasSearchApi.GetIndexByName: added
  • AtlasSearchApi.ListAtlasSearchIndexes: removed
  • AtlasSearchApi.ListAtlasSearchIndexesCluster: removed
  • AtlasSearchApi.ListAtlasSearchIndexesDeprecated: removed
  • AtlasSearchApi.ListClusterFtsIndex: added
  • AtlasSearchApi.ListClusterSearchIndexes: added
  • AtlasSearchApi.ListSearchIndex: added
  • AtlasSearchApi.UpdateAtlasSearchDeployment: removed
  • AtlasSearchApi.UpdateAtlasSearchIndex: removed
  • AtlasSearchApi.UpdateAtlasSearchIndexByName: removed
  • AtlasSearchApi.UpdateAtlasSearchIndexDeprecated: removed
  • AtlasSearchApi.UpdateClusterFtsIndex: added
  • AtlasSearchApi.UpdateClusterSearchDeployment: added
  • AtlasSearchApi.UpdateClusterSearchIndex: added
  • AtlasSearchApi.UpdateIndexByName: added
  • AuditingApi.GetAuditingConfiguration: removed
  • AuditingApi.GetGroupAuditLog: added
  • AuditingApi.UpdateAuditLog: added
  • AuditingApi.UpdateAuditingConfiguration: removed
  • CloudBackupsApi.CreateBackupExport: added
  • CloudBackupsApi.CreateBackupExportJob: removed
  • CloudBackupsApi.CreateServerlessBackupRestoreJob: removed
  • CloudBackupsApi.CreateServerlessRestoreJob: added
  • CloudBackupsApi.DeleteAllBackupSchedules: removed
  • CloudBackupsApi.DeleteBackupShardedCluster: added
  • CloudBackupsApi.DeleteClusterBackupSchedule: added
  • CloudBackupsApi.DeleteClusterBackupSnapshot: added
  • CloudBackupsApi.DeleteReplicaSetBackup: removed
  • CloudBackupsApi.DeleteShardedClusterBackup: removed
  • CloudBackupsApi.DisableCompliancePolicy: added
  • CloudBackupsApi.DisableDataProtectionSettings: removed
  • CloudBackupsApi.GetBackupExport: added
  • CloudBackupsApi.GetBackupExportJob: removed
  • CloudBackupsApi.GetBackupShardedCluster: added
  • CloudBackupsApi.GetClusterBackupSnapshot: added
  • CloudBackupsApi.GetCompliancePolicy: added
  • CloudBackupsApi.GetDataProtectionSettings: removed
  • CloudBackupsApi.GetReplicaSetBackup: removed
  • CloudBackupsApi.GetServerlessBackup: removed
  • CloudBackupsApi.GetServerlessBackupRestoreJob: removed
  • CloudBackupsApi.GetServerlessBackupSnapshot: added
  • CloudBackupsApi.GetServerlessRestoreJob: added
  • CloudBackupsApi.GetShardedClusterBackup: removed
  • CloudBackupsApi.ListBackupExportJobs: removed
  • CloudBackupsApi.ListBackupExports: added
  • CloudBackupsApi.ListBackupShardedClusters: added
  • CloudBackupsApi.ListBackupSnapshots: added
  • CloudBackupsApi.ListReplicaSetBackups: removed
  • CloudBackupsApi.ListServerlessBackupRestoreJobs: removed
  • CloudBackupsApi.ListServerlessBackupSnapshots: added
  • CloudBackupsApi.ListServerlessBackups: removed
  • CloudBackupsApi.ListServerlessRestoreJobs: added
  • CloudBackupsApi.ListShardedClusterBackups: removed
  • CloudBackupsApi.TakeSnapshot: removed
  • CloudBackupsApi.TakeSnapshots: added
  • CloudBackupsApi.UpdateBackupSnapshot: added
  • CloudBackupsApi.UpdateCompliancePolicy: added
  • CloudBackupsApi.UpdateDataProtectionSettings: removed
  • CloudBackupsApi.UpdateSnapshotRetention: removed
  • CloudMigrationServiceApi.CreateGroupLiveMigration: added
  • CloudMigrationServiceApi.CreatePushMigration: removed
  • CloudMigrationServiceApi.DeleteLinkToken: removed
  • CloudMigrationServiceApi.DeleteLinkTokens: added
  • CloudMigrationServiceApi.GetGroupLiveMigration: added
  • CloudMigrationServiceApi.GetMigrationValidateStatus: added
  • CloudMigrationServiceApi.GetPushMigration: removed
  • CloudMigrationServiceApi.GetValidationStatus: removed
  • CloudMigrationServiceApi.ListAvailableProjects: added
  • CloudMigrationServiceApi.ListSourceProjects: removed
  • CloudMigrationServiceApi.ValidateLiveMigrations: added
  • CloudMigrationServiceApi.ValidateMigration: removed
  • CloudProviderAccessApi.AuthorizeCloudProviderAccessRole: removed
  • CloudProviderAccessApi.AuthorizeProviderAccessRole: added
  • CloudProviderAccessApi.CreateCloudProviderAccess: added
  • CloudProviderAccessApi.CreateCloudProviderAccessRole: removed
  • CloudProviderAccessApi.DeauthorizeCloudProviderAccessRole: removed
  • CloudProviderAccessApi.DeauthorizeProviderAccessRole: added
  • CloudProviderAccessApi.GetCloudProviderAccess: added
  • CloudProviderAccessApi.GetCloudProviderAccessRole: removed
  • CloudProviderAccessApi.ListCloudProviderAccess: added
  • CloudProviderAccessApi.ListCloudProviderAccessRoles: removed
  • ClustersApi.GetClusterAdvancedConfiguration: removed
  • ClustersApi.GetProcessArgs: added
  • ClustersApi.GetSampleDatasetLoad: added
  • ClustersApi.GetSampleDatasetLoadStatus: removed
  • ClustersApi.GrantMongoDbEmployeeAccess: removed
  • ClustersApi.GrantMongoEmployeeAccess: added
  • ClustersApi.ListCloudProviderRegions: removed
  • ClustersApi.ListClusterDetails: added
  • ClustersApi.ListClusterProviderRegions: added
  • ClustersApi.ListClustersForAllProjects: removed
  • ClustersApi.LoadSampleDataset: removed
  • ClustersApi.RequestSampleDatasetLoad: added
  • ClustersApi.RestartPrimaries: added
  • ClustersApi.RevokeMongoDbEmployeeAccess: removed
  • ClustersApi.RevokeMongoEmployeeAccess: added
  • ClustersApi.TestFailover: removed
  • ClustersApi.UpdateClusterAdvancedConfiguration: removed
  • ClustersApi.UpdateProcessArgs: added
  • ClustersApi.UpgradeClusterToServerless: added
  • ClustersApi.UpgradeSharedCluster: removed
  • ClustersApi.UpgradeSharedClusterToServerless: removed
  • ClustersApi.UpgradeTenantUpgrade: added
  • CollectionLevelMetricsApi.GetClusterNamespaces: added
  • CollectionLevelMetricsApi.GetCollStatsLatencyNamespaceClusterMeasurements: removed
  • CollectionLevelMetricsApi.GetCollStatsLatencyNamespaceHostMeasurements: removed
  • CollectionLevelMetricsApi.GetCollStatsLatencyNamespaceMetrics: removed
  • CollectionLevelMetricsApi.GetCollStatsLatencyNamespacesForCluster: removed
  • CollectionLevelMetricsApi.GetCollStatsLatencyNamespacesForHost: removed
  • CollectionLevelMetricsApi.GetPinnedNamespaces: removed
  • CollectionLevelMetricsApi.GetProcessNamespaces: added
  • CollectionLevelMetricsApi.ListCollStatMeasurements: added
  • CollectionLevelMetricsApi.ListCollStatMetrics: added
  • CollectionLevelMetricsApi.ListPinnedNamespaces: added
  • CollectionLevelMetricsApi.ListProcessMeasurements: added
  • CollectionLevelMetricsApi.PinNamespaces: added
  • CollectionLevelMetricsApi.PinNamespacesPatch: removed
  • CollectionLevelMetricsApi.PinNamespacesPut: removed
  • CollectionLevelMetricsApi.UpdatePinnedNamespaces: added
  • CustomDatabaseRolesApi.CreateCustomDatabaseRole: removed
  • CustomDatabaseRolesApi.CreateCustomDbRole: added
  • CustomDatabaseRolesApi.DeleteCustomDatabaseRole: removed
  • CustomDatabaseRolesApi.DeleteCustomDbRole: added
  • CustomDatabaseRolesApi.GetCustomDatabaseRole: removed
  • CustomDatabaseRolesApi.GetCustomDbRole: added
  • CustomDatabaseRolesApi.ListCustomDatabaseRoles: removed
  • CustomDatabaseRolesApi.List...
Read more

v20250312006.1.0

26 Aug 08:23
b6e1e8b

Choose a tag to compare

Release Notes

Notes

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

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

v20250312006.0.0

07 Aug 08:00
a3e16cc

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

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

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

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

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

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

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