Release 2.5.0#33
Merged
Merged
Conversation
Bump default_version to 2.5, add the 2.4->2.5 upgrade script, and open the 2.5.0 CHANGELOG section (hstore transform, nested-context transforms, structured pg_raise, TRUNCATE/INSTEAD OF triggers, domain array/composite support, plus the uncaught-error SQLSTATE/DETAIL/HINT fix). Also corrects the CHANGELOG structure: the 2.4.0 features (composite conversion, anycompatible, ASAN CI, benchmark suite, error CONTEXT lines, backend-crash fix) were stranded under [Unreleased] blocks at the 2.4.0 tag; fold them into the 2.4.0 section so 2.5.0 lists only what is new. Upgrade path (CREATE EXTENSION VERSION '2.4' then ALTER EXTENSION UPDATE TO '2.5') and a fresh 2.5 install verified on PostgreSQL 18; full suite green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cuts PL/php 2.5.0.
Version mechanics
plphp.controldefault_version2.4 → 2.5plphp--2.4.sqlrenamed toplphp--2.5.sql(base install script; content unchanged)plphp--2.4--2.5.sqlupgrade scriptMakefileDATAupdatedCHANGELOG
Opens the
[2.5.0]section with what shipped since 2.4.0:Added —
hstore_plphptransform; transforms reaching nested contexts (trigger rows, composites, SETOF); structuredpg_raise(DETAIL/HINT/SQLSTATE); TRUNCATE + INSTEAD OF triggers; domains over arrays/composites; project logo/brand assets.Fixed — uncaught database errors now keep their SQLSTATE/DETAIL/HINT (were collapsing to XX000).
It also corrects a pre-existing CHANGELOG defect: at the 2.4.0 tag, several 2.4.0 features (composite structural conversion,
anycompatible*, ASAN CI, benchmark suite, error CONTEXT lines, the nested-error backend-crash fix) were left stranded under[Unreleased]blocks and never folded into[2.4.0]. They are moved into the 2.4.0 section so 2.5.0 lists only genuinely new work. No code or released behavior changes from that move.Verification (PostgreSQL 18)
CREATE EXTENSION plphp VERSION '2.4'→ALTER EXTENSION plphp UPDATE TO '2.5'→ version 2.5, functions recompile and run, a 2.5 feature (structuredpg_raise) works.CREATE EXTENSION plphplands on 2.5.jsonb_plphpandhstore_plphp.CI matrix (PG 11-18 × PHP 8.1-8.4 + ASAN) runs on this PR. Merge on green, then tag
plphp-2.5and publish the GitHub release.🤖 Generated with Claude Code