From d8302fa416d29b7a1e329fe519c7bb6050924aa9 Mon Sep 17 00:00:00 2001 From: Dmitry Kisler Date: Sat, 13 Apr 2024 12:08:43 +0200 Subject: [PATCH] v0.4.9 release Signed-off-by: Dmitry Kisler --- CHANGELOG.md | 19 +++++++++++++++++++ openAPIDefinition.json | 8 ++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4174132..64c4b2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.4.9] - 2024-04-13 + +The release incorporates the up-to-date [API contract](openAPIDefinition.json) as of 2024-04-13 11:00:00 GMT. + +### Added + +- Added the filtering argument `orgID` to the method `ListProjects` to enhance the projects listing functionality. +- Added the method `RestartProjectEndpoint` to restart the project's endpoint. Find details [here](https://api-docs.neon.tech/reference/restartprojectendpoint). +- Added the filter `ProtectedBranchesOnly` provision the list of allowed IP addresses only for the protected branches. +- Added the field `ComputeReleaseVersion` to the struct `Endpoint` to reflect the version of the compute resources. + +### Changed + +- Changed the type of the `HistoryRetentionSeconds` to `int32` attribute. + +### Fixed + +- Fixed the method `GetConnectionURI` by correcting the logic of building the request query. + ## [v0.4.8] - 2024-03-22 The release incorporates the up-to-date [API contract](openAPIDefinition.json) as of 2024-03-21 23:20:00 GMT. diff --git a/openAPIDefinition.json b/openAPIDefinition.json index 997f5c2..ea179d6 100644 --- a/openAPIDefinition.json +++ b/openAPIDefinition.json @@ -4223,6 +4223,7 @@ "active_time", "max_projects", "max_branches", + "max_protected_branches", "max_autoscaling_cu", "cpu_seconds", "max_active_endpoints", @@ -4241,6 +4242,9 @@ "max_branches": { "type": "integer" }, + "max_protected_branches": { + "type": "integer" + }, "max_autoscaling_cu": { "type": "number", "format": "float64" @@ -5632,13 +5636,13 @@ "description": "Details of an organisation guest, who is not directly a member of\nan organisation but has been shared one of the projects it owns\n", "type": "object", "required": [ - "user_id", + "permission_id", "user_email", "project_id", "project_name" ], "properties": { - "user_id": { + "permission_id": { "type": "string" }, "user_email": {