Skip to content

Release 2.6.0#36

Merged
jdatcmd merged 1 commit into
masterfrom
release-2.6
Jul 7, 2026
Merged

Release 2.6.0#36
jdatcmd merged 1 commit into
masterfrom
release-2.6

Conversation

@jdatcmd

@jdatcmd jdatcmd commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Cuts 2.6.0, folding in the post-2.5 PL/Python-parity work now on master.

Release contents

  • $_SD — per-function static dictionary that persists across calls to a
    function within a session and is private to it, the counterpart to the
    session-global $_SHARED. Together they mirror PL/Python's SD/GD.
  • bytea_plphp — companion transform mapping bytea ⇄ a binary-safe PHP
    string, shipping as its own 1.0 extension.

(hstore_plphp and bytea_plphp are now also covered by CI across PG 11-18.)

Release mechanics

  • plphp.control: default_version 2.5 -> 2.6
  • git mv plphp--2.5.sql plphp--2.6.sql
  • new no-op plphp--2.5--2.6.sql upgrade script ($_SD is entirely in the C
    module, so there is no SQL surface change)
  • Makefile DATA updated
  • CHANGELOG.md [Unreleased] promoted to [2.6.0] - 2026-07-06

Verification

In the plphp-build container on PG 18: fresh CREATE EXTENSION plphp reports
2.6 and $_SD works; the 2.5 -> ALTER EXTENSION plphp UPDATE -> 2.6
path succeeds and $_SD works after upgrade. The full PG 11-18 + ASAN matrix
runs here in CI.

🤖 Generated with Claude Code

Cuts the 2.6.0 release folding in the post-2.5 PL/Python-parity work:

- $_SD, a per-function static dictionary (the private counterpart to the
  session-global $_SHARED); mirrors PL/Python's SD/GD pair.
- The bytea_plphp companion transform (bytea <-> binary-safe PHP string),
  shipping as its own 1.0 extension.

Mechanics: control default_version 2.5 -> 2.6; git mv plphp--2.5.sql
plphp--2.6.sql; a no-op plphp--2.5--2.6.sql upgrade script ($_SD is entirely
in the C module, no SQL surface); Makefile DATA updated; CHANGELOG
[Unreleased] promoted to [2.6.0].

Verified in the plphp-build container on PG 18: fresh CREATE EXTENSION
reports 2.6 and $_SD works, and the 2.5 -> ALTER EXTENSION UPDATE -> 2.6
path succeeds.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jdatcmd jdatcmd merged commit 2e1432a into master Jul 7, 2026
12 checks passed
@jdatcmd jdatcmd deleted the release-2.6 branch July 7, 2026 03:14
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