From 7d9ffeaa5684f002175e0a537638d7a79fff40fd Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Tue, 4 Aug 2026 17:47:57 -0500 Subject: [PATCH] Rename default_version from 1.0.0 to stable The `1.0.0` label was aspirational -- it was never tagged or published to PGXN, despite `default_version` and HISTORY.asc naming it as a real released version. It was carried over from an earlier, incomplete release-prep effort that never actually cut a release. Rename to the `stable` pseudo-version (matching Postgres-Extensions/pg_count_nulls#13's convention) to stop implying a release that never happened, until a real one is actually cut: - extension_drop.control: default_version = 'stable' - sql/extension_drop--1.0.0.sql -> sql/extension_drop--stable.sql (pure rename, no content change) - META.in.json/META.json: roll the version fields back to 0.1.1 (the real last released version), with an X_comment explaining the invariant so it isn't re-bumped prematurely again - HISTORY.asc: rename the "1.0.0" heading to "STABLE" and add an entry explaining the rename Co-Authored-By: Claude Sonnet 5 --- HISTORY.asc | 10 ++++++++-- META.in.json | 8 ++++++-- META.json | 8 ++++++-- extension_drop.control | 2 +- ...sion_drop--1.0.0.sql => extension_drop--stable.sql} | 0 5 files changed, 21 insertions(+), 7 deletions(-) rename sql/{extension_drop--1.0.0.sql => extension_drop--stable.sql} (100%) diff --git a/HISTORY.asc b/HISTORY.asc index f483708..a504557 100644 --- a/HISTORY.asc +++ b/HISTORY.asc @@ -1,5 +1,11 @@ -1.0.0 ------ +STABLE +------ +== Rename default_version from 1.0.0 to stable +The previous `1.0.0` label was aspirational -- it was never tagged or +published to PGXN, despite `default_version` and this file naming it as a +real released version. Renamed to the `stable` pseudo-version (see +RELEASE.md) to stop implying a release that never happened. + == Remove redundant client_min_messages handling from install script `CREATE EXTENSION` already raises `client_min_messages` to `WARNING` for the install script (only-raising, so a stricter caller is respected) and diff --git a/META.in.json b/META.in.json index d7c8cdb..c52ddbf 100644 --- a/META.in.json +++ b/META.in.json @@ -16,7 +16,11 @@ "name": "extension_drop", "X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version", - "version": "1.0.0", + "X_comment": "This must match the last REAL released version -- 0.1.1 (2017) -- not an", + "X_comment": "aspirational in-progress one. It only advances at actual release time (see", + "X_comment": "RELEASE.md step 2); meanwhile extension_drop.control's default_version and", + "X_comment": "sql/extension_drop--stable.sql track ongoing, not-yet-released work.", + "version": "0.1.1", "X_comment": "REQUIRED. Short description of distribution.", "abstract": "Run custom commands when an extension is dropped.", @@ -41,7 +45,7 @@ "file": "sql/extension_drop.sql", "X_comment": "REQUIRED. Version the extension is at.", - "version": "1.0.0", + "version": "0.1.1", "X_comment": "Optional: \"abstract\": Description of the extension.", "abstract": "Run custom commands when an extension is dropped.", diff --git a/META.json b/META.json index 70608a2..8041d55 100644 --- a/META.json +++ b/META.json @@ -16,7 +16,11 @@ "name": "extension_drop", "X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version", - "version": "1.0.0", + "X_comment": "This must match the last REAL released version -- 0.1.1 (2017) -- not an", + "X_comment": "aspirational in-progress one. It only advances at actual release time (see", + "X_comment": "RELEASE.md step 2); meanwhile extension_drop.control's default_version and", + "X_comment": "sql/extension_drop--stable.sql track ongoing, not-yet-released work.", + "version": "0.1.1", "X_comment": "REQUIRED. Short description of distribution.", "abstract": "Run custom commands when an extension is dropped.", @@ -41,7 +45,7 @@ "file": "sql/extension_drop.sql", "X_comment": "REQUIRED. Version the extension is at.", - "version": "1.0.0", + "version": "0.1.1", "X_comment": "Optional: \"abstract\": Description of the extension.", "abstract": "Run custom commands when an extension is dropped.", diff --git a/extension_drop.control b/extension_drop.control index 64aba38..f129e48 100644 --- a/extension_drop.control +++ b/extension_drop.control @@ -1,4 +1,4 @@ comment = 'Allows specifying commands to run when dropping an extension.' -default_version = '1.0.0' +default_version = 'stable' relocatable = false requires = 'cat_tools' diff --git a/sql/extension_drop--1.0.0.sql b/sql/extension_drop--stable.sql similarity index 100% rename from sql/extension_drop--1.0.0.sql rename to sql/extension_drop--stable.sql