Skip to content

Release 2.5.0#33

Merged
jdatcmd merged 1 commit into
masterfrom
release-2.5
Jul 6, 2026
Merged

Release 2.5.0#33
jdatcmd merged 1 commit into
masterfrom
release-2.5

Conversation

@jdatcmd

@jdatcmd jdatcmd commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Cuts PL/php 2.5.0.

Version mechanics

  • plphp.control default_version 2.4 → 2.5
  • plphp--2.4.sql renamed to plphp--2.5.sql (base install script; content unchanged)
  • new no-op plphp--2.4--2.5.sql upgrade script
  • Makefile DATA updated

CHANGELOG

Opens the [2.5.0] section with what shipped since 2.4.0:

Addedhstore_plphp transform; transforms reaching nested contexts (trigger rows, composites, SETOF); structured pg_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 (structured pg_raise) works.
  • Fresh CREATE EXTENSION plphp lands on 2.5.
  • Full regression suite green (25 tests), plus jsonb_plphp and hstore_plphp.

CI matrix (PG 11-18 × PHP 8.1-8.4 + ASAN) runs on this PR. Merge on green, then tag plphp-2.5 and publish the GitHub release.

🤖 Generated with Claude Code

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>
@jdatcmd jdatcmd merged commit 6241f91 into master Jul 6, 2026
12 checks passed
@jdatcmd jdatcmd deleted the release-2.5 branch July 6, 2026 16:43
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.

2 participants