Skip to content

Release 2.5.0: $_SD, bytea binary, SPI colmeta, ltree transform#5

Merged
jdatcmd merged 1 commit into
masterfrom
release/2.5.0
Jul 7, 2026
Merged

Release 2.5.0: $_SD, bytea binary, SPI colmeta, ltree transform#5
jdatcmd merged 1 commit into
masterfrom
release/2.5.0

Conversation

@jdatcmd

@jdatcmd jdatcmd commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Release 2.5.0 — PL/Python parity

Packages the four parity features merged since 2.4.0 into a release. With these, PL/Ruby is at or ahead of PL/Python across the board.

Included (already on master)

  • $_SD — per-function static storage (PL/Python SD; $_SHARED is GD)
  • bytea ↔ binary String — raw bytes, NUL-safe (PL/Python bytes); breaking vs the old hex-text form
  • spi_colnames/spi_coltypes/spi_coltypmods — SPI result column metadata
  • ltree_plrubyTRANSFORM FOR TYPE ltree (ltree ↔ Ruby Array of labels), a separate extension

This PR (version move)

  • default_version2.5
  • plruby--2.5.sql (copy of 2.4 — core SQL objects unchanged; all changes are in the .so)
  • no-op plruby--2.4--2.5.sql upgrade script + Makefile DATA
  • CHANGELOG [Unreleased][2.5.0] with a summary; test badge 42 → 44

Verification (PG 18, build container)

  • Full suite: All 44 tests passed
  • jsonb_plruby, hstore_plruby, ltree_plruby suites: green
  • Upgrade chain CREATE EXTENSION plruby VERSION '2.0'ALTER EXTENSION plruby UPDATE lands on 2.5

After merge: tag v2.5.0 and publish the GitHub release.

🤖 Generated with Claude Code

PL/Python parity release. Bumps default_version to 2.5 with the standard
no-op version move (all core 2.5 changes are in the shared library):

  - $_SD per-function static storage (PL/Python SD; $_SHARED is GD)
  - bytea <-> binary String mapping (PL/Python bytes; breaking)
  - spi_colnames/spi_coltypes/spi_coltypmods result metadata
  - the ltree_plruby transform ships as a separate extension

Adds plruby--2.5.sql (copy of 2.4; SQL objects unchanged) and the no-op
plruby--2.4--2.5.sql upgrade script; dates the CHANGELOG; test badge 42 ->
44. Verified on PG 18: full suite (44 tests) green, all three transform
suites green, and the CREATE EXTENSION '2.0' -> ALTER EXTENSION UPDATE
chain lands on 2.5.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jdatcmd jdatcmd merged commit 662c9f1 into master Jul 7, 2026
9 checks passed
@jdatcmd jdatcmd deleted the release/2.5.0 branch July 7, 2026 03:23
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