Skip to content

Conversation

@d-teller
Copy link
Contributor

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

…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
Copy link

github-actions bot commented Dec 8, 2025

🎉 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