diff --git a/CHANGELOG.md b/CHANGELOG.md index a2f2560d..4247be08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## v0.8.1 - 2026-05-19 + +### Added + +- Added support for Spock 5.0.8 on Postgres 16.14, 17.10, and 18.4. + +### Fixed + +- Fixed add-node data safety by ensuring replication slot and origin are correctly advanced before the new node joins. + ## v0.8.0 - 2026-05-06 ### Added diff --git a/api/apiv1/gen/control_plane/service.go b/api/apiv1/gen/control_plane/service.go index 06118c2f..7af72de9 100644 --- a/api/apiv1/gen/control_plane/service.go +++ b/api/apiv1/gen/control_plane/service.go @@ -81,7 +81,7 @@ type Service interface { const APIName = "control-plane" // APIVersion is the version of the API as defined in the design. -const APIVersion = "v0.8.0" +const APIVersion = "v0.8.1" // ServiceName is the name of the service as defined in the design. This is the // same value that is set in the endpoint request contexts under the ServiceKey diff --git a/api/apiv1/gen/http/openapi.json b/api/apiv1/gen/http/openapi.json index 3800cc7e..39fbff73 100644 --- a/api/apiv1/gen/http/openapi.json +++ b/api/apiv1/gen/http/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "pgEdge Control Plane v1 API", "description": "A distributed application that provides a declarative API to deploy and manage Postgres databases.", - "version": "v0.8.0" + "version": "v0.8.1" }, "host": "localhost:3000", "consumes": [ diff --git a/api/apiv1/gen/http/openapi.yaml b/api/apiv1/gen/http/openapi.yaml index 563aae01..fbd15958 100644 --- a/api/apiv1/gen/http/openapi.yaml +++ b/api/apiv1/gen/http/openapi.yaml @@ -2,7 +2,7 @@ swagger: "2.0" info: title: pgEdge Control Plane v1 API description: A distributed application that provides a declarative API to deploy and manage Postgres databases. - version: v0.8.0 + version: v0.8.1 host: localhost:3000 consumes: - application/json diff --git a/api/apiv1/gen/http/openapi3.json b/api/apiv1/gen/http/openapi3.json index dd244e60..e4b98126 100644 --- a/api/apiv1/gen/http/openapi3.json +++ b/api/apiv1/gen/http/openapi3.json @@ -3,7 +3,7 @@ "info": { "title": "pgEdge Control Plane v1 API", "description": "A distributed application that provides a declarative API to deploy and manage Postgres databases.", - "version": "v0.8.0" + "version": "v0.8.1" }, "servers": [ { diff --git a/api/apiv1/gen/http/openapi3.yaml b/api/apiv1/gen/http/openapi3.yaml index c2cb32d4..f95e0f5a 100644 --- a/api/apiv1/gen/http/openapi3.yaml +++ b/api/apiv1/gen/http/openapi3.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: pgEdge Control Plane v1 API description: A distributed application that provides a declarative API to deploy and manage Postgres databases. - version: v0.8.0 + version: v0.8.1 servers: - url: http://localhost:3000 paths: diff --git a/api/version.txt b/api/version.txt index 4ea5cafa..349ca0e1 100644 --- a/api/version.txt +++ b/api/version.txt @@ -1 +1 @@ -v0.8.0 \ No newline at end of file +v0.8.1 \ No newline at end of file diff --git a/changes/unreleased/Added-20260518-000000.yaml b/changes/unreleased/Added-20260518-000000.yaml deleted file mode 100644 index f2d8f871..00000000 --- a/changes/unreleased/Added-20260518-000000.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: Added support for Spock 5.0.8 on Postgres 16.14, 17.10, and 18.4. -time: 2026-05-18T00:00:00.000000-00:00 diff --git a/changes/unreleased/Fixed-20260518-000000.yaml b/changes/unreleased/Fixed-20260518-000000.yaml deleted file mode 100644 index 878143db..00000000 --- a/changes/unreleased/Fixed-20260518-000000.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Fixed -body: Fixed add-node data safety by ensuring replication slot and origin are correctly advanced before the new node joins. -time: 2026-05-18T00:00:00.000000-00:00 diff --git a/changes/v0.8.1.md b/changes/v0.8.1.md new file mode 100644 index 00000000..c7e2a212 --- /dev/null +++ b/changes/v0.8.1.md @@ -0,0 +1,9 @@ +## v0.8.1 - 2026-05-19 + +### Added + +- Added support for Spock 5.0.8 on Postgres 16.14, 17.10, and 18.4. + +### Fixed + +- Fixed add-node data safety by ensuring replication slot and origin are correctly advanced before the new node joins. diff --git a/docs/api/openapi.md b/docs/api/openapi.md index 36aad485..a3733b23 100644 --- a/docs/api/openapi.md +++ b/docs/api/openapi.md @@ -7,7 +7,7 @@ The Control Plane server serves a JSON OpenAPI v3 specification from the You can also access offline copies of the OpenAPI specification in the pgEdge Control Plane repository. We generate a few versions of the specification to accommodate different tools and use cases: -- [OpenAPI v3 YAML](https://github.com/pgEdge/control-plane/blob/v0.8.0/api/apiv1/gen/http/openapi3.yaml) -- [OpenAPI v3 JSON](https://github.com/pgEdge/control-plane/blob/v0.8.0/api/apiv1/gen/http/openapi3.json) -- [OpenAPI v2 YAML](https://github.com/pgEdge/control-plane/blob/v0.8.0/api/apiv1/gen/http/openapi.yaml) -- [OpenAPI v2 JSON](https://github.com/pgEdge/control-plane/blob/v0.8.0/api/apiv1/gen/http/openapi.json) \ No newline at end of file +- [OpenAPI v3 YAML](https://github.com/pgEdge/control-plane/blob/v0.8.1/api/apiv1/gen/http/openapi3.yaml) +- [OpenAPI v3 JSON](https://github.com/pgEdge/control-plane/blob/v0.8.1/api/apiv1/gen/http/openapi3.json) +- [OpenAPI v2 YAML](https://github.com/pgEdge/control-plane/blob/v0.8.1/api/apiv1/gen/http/openapi.yaml) +- [OpenAPI v2 JSON](https://github.com/pgEdge/control-plane/blob/v0.8.1/api/apiv1/gen/http/openapi.json) \ No newline at end of file diff --git a/docs/api/reference.md b/docs/api/reference.md index 9f32dd3d..434100e1 100644 --- a/docs/api/reference.md +++ b/docs/api/reference.md @@ -34,4 +34,4 @@ hide: - \ No newline at end of file + \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index a2f2560d..4247be08 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,15 @@ # Changelog +## v0.8.1 - 2026-05-19 + +### Added + +- Added support for Spock 5.0.8 on Postgres 16.14, 17.10, and 18.4. + +### Fixed + +- Fixed add-node data safety by ensuring replication slot and origin are correctly advanced before the new node joins. + ## v0.8.0 - 2026-05-06 ### Added diff --git a/docs/development/e2e-tests.md b/docs/development/e2e-tests.md index 88b272d7..ce0175a7 100644 --- a/docs/development/e2e-tests.md +++ b/docs/development/e2e-tests.md @@ -395,7 +395,7 @@ specifying `FIXTURE_CONTROL_PLANE_IMAGE` with the `{deploy,update,reset}-{lima,ec2}-fixture` targets. For example: ```sh -make update-lima-fixture FIXTURE_CONTROL_PLANE_IMAGE='ghcr.io/pgedge/control-plane:v0.8.0-rc.1' +make update-lima-fixture FIXTURE_CONTROL_PLANE_IMAGE='ghcr.io/pgedge/control-plane:v0.8.1-rc.1' ``` ### Fixture variants diff --git a/docs/installation/installation.md b/docs/installation/installation.md index 67ce7b1d..44dfe922 100644 --- a/docs/installation/installation.md +++ b/docs/installation/installation.md @@ -98,7 +98,7 @@ Given that output, the following stack definition file will deploy a single Cont ```yaml services: host-1: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-1 @@ -113,7 +113,7 @@ services: constraints: - node.id==vzou89zyd4n3xz6p6jvoohqxx host-2: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-2 @@ -128,7 +128,7 @@ services: constraints: - node.id==5sa7m11ub62t1n22feuhg0mbp host-3: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-3 @@ -191,7 +191,7 @@ For example: ```yaml host-4: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-4 @@ -227,7 +227,7 @@ Paste the output below and click "Generate Stack." This generator is fully local - + ``` yaml {#global-output} # Once submitted, the generated stack will appear here. diff --git a/docs/installation/mtls.md b/docs/installation/mtls.md index 9148cbd4..2882abf5 100644 --- a/docs/installation/mtls.md +++ b/docs/installation/mtls.md @@ -35,7 +35,7 @@ For example, if you've placed the certificates in a `/opt/pgedge/control-plane` ```yaml services: host-1: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-1 @@ -195,7 +195,7 @@ Now that our certificates are available on each machine, we can update our stack ```yaml services: host-1: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-1 @@ -219,7 +219,7 @@ services: constraints: - node.id==81kw1zwmh9y8hk4rd7igylry0 host-2: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-2 @@ -240,7 +240,7 @@ services: constraints: - node.id==xz7069ytbdq7uzd2tvrj2wlf2 host-3: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 command: run environment: - PGEDGE_HOST_ID=host-3 diff --git a/docs/installation/systemd.md b/docs/installation/systemd.md index 95dd1604..53d74073 100644 --- a/docs/installation/systemd.md +++ b/docs/installation/systemd.md @@ -91,7 +91,7 @@ Use the following commands to download and install the RPM: ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') # Set the version to install -VERSION="v0.8.0" +VERSION="v0.8.1" # Download the RPM curl -LO "https://github.com/pgedge/control-plane/releases/download/${VERSION}/pgedge-control-plane_${VERSION#v}_linux_${ARCH}.rpm" diff --git a/docs/installation/upgrading.md b/docs/installation/upgrading.md index 417b15aa..a5651607 100644 --- a/docs/installation/upgrading.md +++ b/docs/installation/upgrading.md @@ -6,11 +6,11 @@ Plane. The Control Plane version is specified in the image property of the [stac ```yaml services: host-1: - image: ghcr.io/pgedge/control-plane:v0.8.0 + image: ghcr.io/pgedge/control-plane:v0.8.1 ``` You can *pin* to a specific version by including a version in the `image` -fields in your service specification, such as `ghcr.io/pgedge/control-plane:v0.8.0`. +fields in your service specification, such as `ghcr.io/pgedge/control-plane:v0.8.1`. If you do not include a version, Docker will pull the `ghcr.io/pgedge/control-plane:latest` tag by default. diff --git a/e2e/fixtures/roles/lima_deploy/files/rocky-9.arm64.yaml b/e2e/fixtures/roles/lima_deploy/files/rocky-9.arm64.yaml index 4e574df7..7c12c8a1 100644 --- a/e2e/fixtures/roles/lima_deploy/files/rocky-9.arm64.yaml +++ b/e2e/fixtures/roles/lima_deploy/files/rocky-9.arm64.yaml @@ -6,7 +6,7 @@ base: template://rocky-9 cpus: 1 plain: true memory: 4GiB -disk: 20GiB +disk: 50GiB networks: - lima: user-v2 - vzNAT: true diff --git a/e2e/fixtures/roles/lima_deploy/files/rocky-9.x86_64.yaml b/e2e/fixtures/roles/lima_deploy/files/rocky-9.x86_64.yaml index 2eecc67c..eb6d337e 100644 --- a/e2e/fixtures/roles/lima_deploy/files/rocky-9.x86_64.yaml +++ b/e2e/fixtures/roles/lima_deploy/files/rocky-9.x86_64.yaml @@ -6,7 +6,7 @@ base: template://rocky-9 cpus: 1 plain: true memory: 4GiB -disk: 20GiB +disk: 50GiB networks: - lima: user-v2 - lima: shared