Releases: kislerdm/neon-sdk-go
v0.13.0
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
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
andListSharedProjects
. - Added the method
TransferProjectsFromOrgToOrg
to migrate the project to the organization. - Added the field
InitSource
to the typeBranchCreateRequestBranch
. - Added the field
MaintenanceScheduledFor
to the typeProject
to indicate when the project's computes might be restarted. - Added the field
NoLogin
to the typeRoleCreateRequestRole
to create roles without login permissions. - Added the field
UnavailableProjectIDs
to the typeProjectsResponse
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 typeRoleNames
is the slice instead of the pointer to a slice.
Removed
- [BREAKING] Removed the field
SchemaInitializationType
from the typeBranchCreateRequestBranch
.
Full Changelog: v0.11.0...v0.12.0
v0.11.0
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 typeBranchCreateRequestBranch
to create archived branches.
Removed
- [BREAKING] Removed the attribute
ProtectedBranchOnly
from the typeAllowedIps
.
New Contributors
- @danieltprice made their first contribution in #91
Full Changelog: v0.10.0...v0.11.0
v0.10.0
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 theProjectSettingsData
type to configure the Neon project's
maintenance window.
Full Changelog: v0.9.0...v0.10.0
v0.9.0
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 theBranch
struct to the pointer to bool from bool.
Full Changelog: v0.8.0...v0.9.0
v0.8.0
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 methodListProjectBranches
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 typeCurrentUserInfoResponse
: added theState
to define the billing account's state. - Added the attribute
CreatedBy
to the typeApiKeysListResponseItem
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
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
toApiKeyCreateResponse
andApiKeysListResponseItem
; - Added
CreatedAt
andCreatedBy
toApiKeyRevokeResponse
.
- Added
-
Added the attribute
StateChangedAt
to the typeBranch
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
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
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 mapProjectsApplicationsMapResponse
which contains all applications available in the project.
Deprecated
- Deprecated
Login
field in the typesCurrentUserAuthAccount
andCurrentUserInfoResponse
.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
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 structBranch
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