Skip to content

Releases: kislerdm/neon-sdk-go

v0.13.0

19 Feb 01:32
19ae7a4
Compare
Choose a tag to compare

What's Changed

Added

  • Added the following methods to manage Neon integration with third-party authentication providers:
    • CreateProjectIdentityAuthProviderSDKKeys;
    • CreateProjectIdentityIntegration;
    • DeleteProjectIdentityIntegration;
    • ListProjectIdentityIntegrations;
    • TransferProjectIdentityAuthProviderProject.

Full Changelog: v0.12.0...v0.13.0

v0.12.0

17 Feb 13:20
25945cc
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2025-02-17 13:09:00 GMT.

Added

  • Added the method GetProjectBranchSchemaComparison to compare the schema of the database in one branch to the schema of that database from another branch.
  • Added the method CountProjectBranches to retrieve the total number of branches in the project.
  • Added the methods to manage VPC endpoints:
    • AssignOrganizationVPCEndpoint: assigns a VPC endpoint to the project in the organization.
    • GetOrganizationVPCEndpointDetails: reads details about the VPC endpoint assigned to the project in the organization.
    • DeleteOrganizationVPCEndpoint: deletes the VPC endpoint for the project in the organization.
    • ListOrganizationVPCEndpoints: lists VPC endpoints for the organization.
    • AssignProjectVPCEndpoint: sets, or updates VPC endpoint restrictions for the project.
    • ListProjectVPCEndpoints: lists VPC endpoints restrictions for the project.
  • Added support for sorting and pagination for the method ListProjectBranches to improve branches listing experience.
  • Added explicit timeout to limit the delay when listing the projects using the methods ListProjects and ListSharedProjects.
  • Added the method TransferProjectsFromOrgToOrg to migrate the project to the organization.
  • Added the field InitSource to the type BranchCreateRequestBranch.
  • Added the field MaintenanceScheduledFor to the type Project to indicate when the project's computes might be restarted.
  • Added the field NoLogin to the type RoleCreateRequestRole to create roles without login permissions.
  • Added the field UnavailableProjectIDs to the type ProjectsResponse to indicate existing projects which details could not be retrieved within the set time scope of a single request.
  • Added the following OperationAction categories:
    • OperationActionApplySchemaFromBranch: apply_schema_from_branch;
    • OperationActionImportData: "apply_schema_from_branch".
  • Added the following IdentityProviderId category:
    • IdentityProviderIdMicrosoftv2: "microsoftv2".

Changed

  • [BREAKING] Changed the type AddProjectJWKSRequest: the field's type RoleNames is the slice instead of the pointer to a slice.

Removed

  • [BREAKING] Removed the field SchemaInitializationType from the type BranchCreateRequestBranch.

Full Changelog: v0.11.0...v0.12.0

v0.11.0

08 Dec 10:43
8f3b1d6
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-12-08 10:35:00 GMT.

Added

  • Added the attribute Archived to the type BranchCreateRequestBranch to create archived branches.

Removed

  • [BREAKING] Removed the attribute ProtectedBranchOnly from the type AllowedIps.

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

21 Nov 10:17
47d7310
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-11-21 00:12:18 GMT.

Added

  • Added the MaintenanceWindow attribute of the ProjectSettingsData type to configure the Neon project's
    maintenance window.

Full Changelog: v0.9.0...v0.10.0

v0.9.0

09 Nov 11:33
49561f2
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-11-09 11:12:00 GMT.

Added

  • Added the methods to manipulate JWKS for the project:

    • AddProjectJWKS: adds the JWKS URL to the project.
    • GetProjectJWKS: retrieve all JWKS URLs configured for the project.
    • DeleteProjectJWKS: deletes the JWKS URL from the project.
  • Added the method GetOrganization to read the organization's info

  • Added the methods to manage the organization's membership invitations:

    • GetOrganizationInvitations: retrieves the memberships invitations for the organization.
    • GetOrganizationMember: reads the info about the organization's members.
    • GetOrganizationMembers: retrieves the info about all organization's members.
  • Added Vercel as the identity provider's enum value.

Changed

  • [BREAKING] Changed the type of the attributes Primary in the Branch struct to the pointer to bool from bool.

Full Changelog: v0.8.0...v0.9.0

v0.8.0

28 Oct 22:42
1cb011b
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-10-28 22:27:00 GMT.

Added

  • [BREAKING] Added the argument search to the method ListProjectBranches to list branches by name or id. A partial name or id values may be specified to filter results.
  • Added the property BillingAccount of the type CurrentUserInfoResponse: added the State to define the billing account's state.
  • Added the attribute CreatedBy to the type ApiKeysListResponseItem to define the user who created the API key.
  • Added the endpoint GetActiveRegions to list active regions to provision databases.

Full Changelog: v0.7.0...v0.8.0

v0.7.0

20 Oct 11:23
baff725
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-10-20 11:15:00 GMT.

Added

  • Added the attributes to reflect when and who created, or revoked API keys:

    • Added CreatedBy to ApiKeyCreateResponse and ApiKeysListResponseItem;
    • Added CreatedAt and CreatedBy to ApiKeyRevokeResponse.
  • Added the attribute StateChangedAt to the type Branch to reflect when the "current_state" began.

Removed

  • [BREAKING] Removed the method to list projects consumption ListProjectsConsumption.

Full Changelog: v0.6.2...v0.7.0

v0.6.2

08 Oct 11:13
a3647c2
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-10-08 00:11:00 GMT.

Added

  • Added the mapping of the enum value "archived" to the type BranchState.
  • Added the mapping of the enum values "timeline_archive" and "timeline_unarchive" to the type OperationAction.

Full Changelog: v0.6.1...v0.6.2

v0.6.1

01 Oct 07:01
57004cd
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-10-01 06:44:00 GMT.

Added

  • Added "azure_mp" as a BillingPaymentMethod enum value.

Changed

  • Changed the response type of the method ListProjects, ListProjectsRespObj. It includes the map ProjectsApplicationsMapResponse which contains all applications available in the project.

Deprecated

  • Deprecated Login field in the types CurrentUserAuthAccount and CurrentUserInfoResponse.

Full Changelog: v0.6.0...v0.6.1

v0.6.0

28 Sep 21:55
2ace220
Compare
Choose a tag to compare

What's Changed

The release incorporates the up-to-date API contract as of 2024-09-28 21:53:00 GMT.

Added

  • Added the method TransferProjectsFromUserToOrg to migrate personal projects to organisation.
  • Added the payment method attribute to the struct BillingAccount.
  • Added Business subscription type's value.
  • Added the attribute CreatedBy to the struct Branch to indicate who created the branch.

Changed

  • [BREAKING] Change the signatures of the methods:
    • ListProjectBranches;
    • CreateProjectBranch;
    • GetProjectBranch;
    • GetProjectBranchSchema.

Full Changelog: v0.5.0...v0.6.0