Skip to content

Rename default_version from 1.0.0 to stable - #26

Open
jnasbyupgrade wants to merge 2 commits into
fix-cat-tools-installfrom
rename-1.0.0-to-stable
Open

Rename default_version from 1.0.0 to stable#26
jnasbyupgrade wants to merge 2 commits into
fix-cat-tools-installfrom
rename-1.0.0-to-stable

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Why

extension_drop.control's default_version has said 1.0.0 since an earlier, incomplete release-prep PR -- but 1.0.0 was never actually tagged or published to PGXN. The only real release ever published was 0.1.1 (2017). Carrying an unreleased version number as default_version is misleading: it implies a release happened when it didn't.

This renames it to the stable pseudo-version (matching Postgres-Extensions/pg_count_nulls#13's convention) -- an honest label for "current unreleased source" -- until a real release is actually cut.

Changes

  • 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 (don't re-bump until an actual release, see RELEASE.md)
  • HISTORY.asc: rename the 1.0.0 heading to STABLE, add an entry explaining the rename

Base branch

Based directly on fix-cat-tools-install (#10), as a sibling of test-install-foundation (#19) rather than stacked on top of it. Verified extension_drop.control, HISTORY.asc, META.in.json, META.json, and sql/extension_drop--1.0.0.sql are all untouched between fix-cat-tools-install and test-install-foundation -- this rename is fully independent of the test/install/ harness work in #19, so there's no reason to require it as a prerequisite. This keeps the history as flat/parallel as possible.

Relationship to #22

This was split out of #22 (real-update-path), which bundled this rename together with the real update-path-testing infrastructure (recovering sql/extension_drop--0.1.1.sql, authoring the 0.1.1->stable update-diff script, and the extension-update-test CI job). That infrastructure logically depends on this rename having landed first (the update-diff script's target is stable), so #22 is being rebased to depend on this PR instead of duplicating the rename.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

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 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cf7be2d5-64a0-4626-8007-a4bd6622f95b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

META.in.json/META.json: plain version substitution (stable), not a
rollback to 0.1.1 with explanatory X_comment lines.

HISTORY.asc: just rename the heading, no new changelog entry for an
internal versioning-label correction.

Also gitignore sql/extension_drop--stable.sql specifically -- it's a
mechanical copy of sql/extension_drop.sql for as long as default_version
is the stable pseudo-version, so committing it duplicates that file.
Real per-version files (once actually released) stay tracked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant