kislerdm / terraform-provider-neon

Terraform provider to manage Neon SaaS resources
https://registry.terraform.io/providers/kislerdm/neon/latest/docs
Mozilla Public License 2.0
34 stars 13 forks source link

chore(deps): Bump github.com/kislerdm/neon-sdk-go from 0.4.9 to 0.5.0 #103

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps github.com/kislerdm/neon-sdk-go from 0.4.9 to 0.5.0.

Release notes

Sourced from github.com/kislerdm/neon-sdk-go's releases.

v0.5.0

The release incorporates the up-to-date API contract as of 2024-06-24 22:03:00 GMT.

Added

  • Added support of the following ENUMs as type aliases:
    • The type BillingSubscriptionType as the attribute of the response of the method GetCurrentUserInfo.
    • The type BranchState as attributes of the response of the method GetProjectBranch.
    • The type ConsumptionHistoryGranularity as the argument of the method GetConsumptionHistoryPerAccount and GetConsumptionHistoryPerProject.
    • The types EndpointPoolerMode, EndpointState as the attributes of the struct Endpoint, which defines the response of the method GetProjectEndpoint.
    • The type EndpointType as the attribute which defines the endpoint's type to create an endpoint, or define the options of the branch's endpoints.
    • The type IdentityProviderId as the attribute of the struct CurrentUserAuthAccount which defines the response of the method GetCurrentUserInfo.
    • The types OperationAction and OperationStatus as the attributes of the struct Operation which defines the response of several endpoints which include the operations.
    • The type Provisioner which defines the Neon compute provisioner's type.
  • Added the method GetProjectBranchSchema to retrieve the database schema, see details here.
  • Added the methods to retrieve the consumption metrics:
    • GetConsumptionHistoryPerAccount allows to read the account's consumption history, see details here.
    • GetConsumptionHistoryPerProject allows to read the consumption history for a list of projects, see details here.
  • Added the method GetCurrentUserOrganizations to read all organization which a given user belongs to.
  • Added support of the organization ID (orgID argument) when using the following methods:
    • ListProjectsConsumption, see details here.
  • Added the name, the address and the tax information to the billing details of the account: BillingAccount struct.

Changed

  • All arguments which end with the suffices Id/Ids, Url/Urls, Uri/Uris will follow the Go convention. For example, the query parameter project_ids will correspond to the method's argument projectIDs.

Deprecated

  • The method SetPrimaryProjectBranch is deprecated, please use the method SetDefaultProjectBranch instead.
  • The label "primary" branch and the attributes Primary is deprecated for the label "default" and the respective attribute Default. See the struct Branch for example.
  • The attribute ProxyHost of the struct Endpoint is deprecated, please use the attribute Host instead.
  • The attribute CpuUsedSec of the structs Project and ProjectListItem is deprecated, please use the attribute ComputeTimeSeconds instead.
  • The attribute QuotaResetAt of the structs Project and ProjectListItem is deprecated, please use the attribute ConsumptionPeriodEnd instead.

Full Changelog: https://github.com/kislerdm/neon-sdk-go/compare/v0.4.9...v0.5.0

Changelog

Sourced from github.com/kislerdm/neon-sdk-go's changelog.

[v0.5.0] - 2024-06-24

The release incorporates the up-to-date API contract as of 2024-06-24 22:03:00 GMT.

Added

  • Added support of the following ENUMs as type aliases:
    • The type BillingSubscriptionType as the attribute of the response of the method GetCurrentUserInfo.
    • The type BranchState as attributes of the response of the method GetProjectBranch.
    • The type ConsumptionHistoryGranularity as the argument of the method GetConsumptionHistoryPerAccount and GetConsumptionHistoryPerProject.
    • The types EndpointPoolerMode, EndpointState as the attributes of the struct Endpoint, which defines the response of the method GetProjectEndpoint.
    • The type EndpointType as the attribute which defines the endpoint's type to create an endpoint, or define the options of the branch's endpoints.
    • The type IdentityProviderId as the attribute of the struct CurrentUserAuthAccount which defines the response of the method GetCurrentUserInfo.
    • The types OperationAction and OperationStatus as the attributes of the struct Operation which defines the response of several endpoints which include the operations.
    • The type Provisioner which defines the Neon compute provisioner's type.
  • Added the method GetProjectBranchSchema to retrieve the database schema, see details here.
  • Added the methods to retrieve the consumption metrics:
    • GetConsumptionHistoryPerAccount allows to read the account's consumption history, see details here.
    • GetConsumptionHistoryPerProject allows to read the consumption history for a list of projects, see details here.
  • Added the method GetCurrentUserOrganizations to read all organization which a given user belongs to.
  • Added support of the organization ID (orgID argument) when using the following methods:
    • ListProjectsConsumption, see details here.
  • Added the name, the address and the tax information to the billing details of the account: BillingAccount struct.

Changed

  • All arguments which end with the suffices Id/Ids, Url/Urls, Uri/Uris will follow the Go convention. For example, the query parameter project_ids will correspond to the method's argument projectIDs.

Deprecated

  • The method SetPrimaryProjectBranch is deprecated, please use the method SetDefaultProjectBranch instead.
  • The label "primary" branch and the attributes Primary is deprecated for the label "default" and the respective attribute Default. See the struct Branch for example.
  • The attribute ProxyHost of the struct Endpoint is deprecated, please use the attribute Host instead.
  • The attribute CpuUsedSec of the structs Project and ProjectListItem is deprecated, please use the attribute ComputeTimeSeconds instead.
  • The attribute QuotaResetAt of the structs Project and ProjectListItem is deprecated, please use the attribute ConsumptionPeriodEnd instead.
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.