trellis_pg breaking changes
trellis_pg 0.4.0 (December 2, 2026) is its newest release with breaking changes, 20 of them. The first: Split DDL and DML database roles are no longer supported in trellis_pg 0.4.0. Every breaking API change we have recorded in trellis_pg on Hex: 20 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.4.0, released December 2, 2026. Apache-2.0 license. Source repository
trellis_pg 0.4.0 breaking changes
- Removed
Run workers as the role that runs migrate and owns the sources. github.com - Removed
other_versions
Use the NotOwner information from the owner instead. github.com - Removed
trellis:release_check
Remove it from CI. A release may now bump the gem and add Trellis migrations together. github.com - Renamed
OtherVersionLive
NotOwner carries the owner, whether a rollback set it, its live processes, and claims_at. github.com - Behavior changed
Every non-widening key retype rebuilds readers, including value-preserving narrowings. github.com - Behavior changed
Once 0.4.0 claims a database, 0.3.x processes stand by and refuse to attach. Rolling back requires the rollback command. github.com - Behavior changed
The first claim by 0.4.0 or later raises the catalog floor to 0.4.0, so pre-0.4.0 processes stand by and their state-changing calls refuse. Run migrate in a deploy of its own, and expect migrate to take about half a minute longer. github.com - Behavior changed
After the claim, a definition whose stored text the new grammar cannot parse pauses. Drop the transform and define it again. github.com - Behavior changed
Put the table back, then RESUME the readers. github.com - Behavior changed
DROP TRANSFORM, a field drop and a 1-1 RESUME now refuse when objects outside Trellis depend on a target. Trellis never cascades. github.com - Behavior changed
Suites that relied on the helpers raising when Trellis is off will now see them run. github.com - Behavior changed
Capture's re-read now refuses instead of hiding rows under a policy. Give Trellis's role BYPASSRLS where sources force RLS. github.com - Behavior changed
Opt out with config.trellis.task_hooks = false. A gem-only bump now claims the instance. github.com - Behavior changed
New targets use UNIQUE NULLS NOT DISTINCT with nullable key columns instead of PRIMARY KEY. Existing targets are unchanged. github.com - Behavior changed
Remove the NULLs or fix the partition, then RESUME. github.com - Behavior changed
So ch = 'ab ' ignores trailing blanks. Stored definitions with this reading are rebuilt once at takeover. github.com - Behavior changed
Previously a drain holdup stopped every target. github.com - Behavior changed
trellis run
It now claims like any background process, after the grace period if the owner is silent. Keep the grace period longer than your deploy's gap between migrate and its first worker. github.com - Behavior changed
Trellis.Target
Writes raise Trellis.ReadOnlyTarget unless allow_target_writes: true is set. github.com - Signature changed
ApplyError.ResumeRefused
Code that matches it without .. must change to handle the new status field. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.