Skip to content

feat: upgrade Atlas SDK from v20250312006 to v20250312010 with breaki…#10

Merged
d-teller merged 1 commit into
mainfrom
feat/update-sdk-v20250312010.0.0
Dec 8, 2025
Merged

feat: upgrade Atlas SDK from v20250312006 to v20250312010 with breaki…#10
d-teller merged 1 commit into
mainfrom
feat/update-sdk-v20250312010.0.0

Conversation

@d-teller

@d-teller d-teller commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

…ng API fixes

Breaking Changes:

  • AlertConfigurationsApi: ListAlertConfigurations→ListAlertConfigs, GetAlertConfiguration→GetAlertConfig, CreateAlertConfiguration→CreateAlertConfig, UpdateAlertConfiguration→UpdateAlertConfig, DeleteAlertConfiguration→DeleteAlertConfig, ListAlertConfigurationMatchersFieldNames→ListMatcherFieldNames
  • AlertsApi: ListAlertsByAlertConfigurationId→GetAlertConfigAlerts
  • ProjectIPAccessListApi: ListProjectIpAccessLists→ListAccessListEntries, GetProjectIpList→GetAccessListEntry, CreateProjectIpAccessList→CreateAccessListEntry, DeleteProjectIpAccessList→DeleteAccessListEntry
  • NetworkPeeringApi (Containers): ListPeeringContainers→ListGroupContainerAll, GetPeeringContainer→GetGroupContainer, CreatePeeringContainer→CreateGroupContainer, UpdatePeeringContainer→UpdateGroupContainer, DeletePeeringContainer→DeleteGroupContainer
  • NetworkPeeringApi (Peering): ListPeeringConnections→ListGroupPeers, GetPeeringConnection→GetGroupPeer, CreatePeeringConnection→CreateGroupPeer, UpdatePeeringConnection→UpdateGroupPeer, DeletePeeringConnection→DeleteGroupPeer
  • OrganizationsApi: ListOrganizations→ListOrgs, GetOrganization→GetOrg
  • ProjectsApi: ListProjects→ListGroups, GetProject→GetGroup, CreateProject→CreateGroup, UpdateProject→UpdateGroup, DeleteProject→DeleteGroup, ListOrganizationProjects→GetOrgGroups (moved to OrganizationsApi)
  • AtlasSearchApi: ListAtlasSearchIndexes→ListSearchIndex, ListAtlasSearchIndexesCluster→ListClusterSearchIndexes, GetAtlasSearchIndex→GetClusterFtsIndex, GetAtlasSearchIndexByName→GetIndexByName, CreateAtlasSearchIndex→CreateClusterFtsIndex, UpdateAtlasSearchIndex→UpdateClusterFtsIndex, DeleteAtlasSearchIndex→DeleteClusterFtsIndex, DeleteAtlasSearchIndexByName→DeleteIndexByName
  • PrivateEndpointServicesApi: ListPrivateEndpointServices→ListPrivateEndpointService

Type Changes:

  • Search Index operations now use ClusterSearchIndex type instead of SearchIndexResponse for ID-based operations
  • Added conversion helpers ConvertClusterSearchIndexToResponse and ConvertSearchIndexCreateRequestToClusterSearchIndex for backward compatibility

Updated:

  • All 46 Go files to use new import path go.mongodb.org/atlas-sdk/v20250312010
  • go.mod and go.sum with new SDK version
  • All API method calls to use new method names
  • Service layer to handle type changes
  • Command layer to use conversion helpers
  • Unit tests pass ✓
  • Build succeeds ✓
  • Code formatted and vetted ✓

…ng API fixes

Breaking Changes:
- AlertConfigurationsApi: ListAlertConfigurations→ListAlertConfigs, GetAlertConfiguration→GetAlertConfig, CreateAlertConfiguration→CreateAlertConfig, UpdateAlertConfiguration→UpdateAlertConfig, DeleteAlertConfiguration→DeleteAlertConfig, ListAlertConfigurationMatchersFieldNames→ListMatcherFieldNames
- AlertsApi: ListAlertsByAlertConfigurationId→GetAlertConfigAlerts
- ProjectIPAccessListApi: ListProjectIpAccessLists→ListAccessListEntries, GetProjectIpList→GetAccessListEntry, CreateProjectIpAccessList→CreateAccessListEntry, DeleteProjectIpAccessList→DeleteAccessListEntry
- NetworkPeeringApi (Containers): ListPeeringContainers→ListGroupContainerAll, GetPeeringContainer→GetGroupContainer, CreatePeeringContainer→CreateGroupContainer, UpdatePeeringContainer→UpdateGroupContainer, DeletePeeringContainer→DeleteGroupContainer
- NetworkPeeringApi (Peering): ListPeeringConnections→ListGroupPeers, GetPeeringConnection→GetGroupPeer, CreatePeeringConnection→CreateGroupPeer, UpdatePeeringConnection→UpdateGroupPeer, DeletePeeringConnection→DeleteGroupPeer
- OrganizationsApi: ListOrganizations→ListOrgs, GetOrganization→GetOrg
- ProjectsApi: ListProjects→ListGroups, GetProject→GetGroup, CreateProject→CreateGroup, UpdateProject→UpdateGroup, DeleteProject→DeleteGroup, ListOrganizationProjects→GetOrgGroups (moved to OrganizationsApi)
- AtlasSearchApi: ListAtlasSearchIndexes→ListSearchIndex, ListAtlasSearchIndexesCluster→ListClusterSearchIndexes, GetAtlasSearchIndex→GetClusterFtsIndex, GetAtlasSearchIndexByName→GetIndexByName, CreateAtlasSearchIndex→CreateClusterFtsIndex, UpdateAtlasSearchIndex→UpdateClusterFtsIndex, DeleteAtlasSearchIndex→DeleteClusterFtsIndex, DeleteAtlasSearchIndexByName→DeleteIndexByName
- PrivateEndpointServicesApi: ListPrivateEndpointServices→ListPrivateEndpointService

Type Changes:
- Search Index operations now use ClusterSearchIndex type instead of SearchIndexResponse for ID-based operations
- Added conversion helpers ConvertClusterSearchIndexToResponse and ConvertSearchIndexCreateRequestToClusterSearchIndex for backward compatibility

Updated:
- All 46 Go files to use new import path go.mongodb.org/atlas-sdk/v20250312010
- go.mod and go.sum with new SDK version
- All API method calls to use new method names
- Service layer to handle type changes
- Command layer to use conversion helpers
- Unit tests pass ✓
- Build succeeds ✓
- Code formatted and vetted ✓
@d-teller d-teller merged commit 1d41449 into main Dec 8, 2025
11 checks passed
@github-actions

github-actions Bot commented Dec 8, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 3.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants