---
title: "trellis_pg 0.4.0 Breaking Changes on Hex | Since.dev"
description: "What each trellis_pg release removed, renamed or changed: 20 breaking changes in 1 version on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/trellis_pg
last_updated: 2026-12-04
---

# 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

Latest version `0.4.0`, released December 2, 2026. Apache-2.0 license. [Source repository](https://github.com/salesforce-misc/trellis)

## trellis_pg 0.4.0 breaking changes

trellis_pg 0.4.0, released December 2, 2026: 20 breaking changes.

- **Removed**  

Run workers as the role that runs migrate and owns the sources. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Removed** `other_versions`  

Use the NotOwner information from the owner instead. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Removed** `trellis:release_check`  

Remove it from CI. A release may now bump the gem and add Trellis migrations together. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Renamed** `OtherVersionLive`  

NotOwner carries the owner, whether a rollback set it, its live processes, and claims_at. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

Every non-widening key retype rebuilds readers, including value-preserving narrowings. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **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](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **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](https://github.com/salesforce-misc/trellis/blob/v0.4.0/docs/upgrading.md)
- **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](https://github.com/salesforce-misc/trellis/blob/v0.4.0/docs/upgrading.md)
- **Behavior changed**  

Put the table back, then RESUME the readers. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **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](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

Suites that relied on the helpers raising when Trellis is off will now see them run. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **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](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

Opt out with config.trellis.task_hooks = false. A gem-only bump now claims the instance. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

New targets use UNIQUE NULLS NOT DISTINCT with nullable key columns instead of PRIMARY KEY. Existing targets are unchanged. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

Remove the NULLs or fix the partition, then RESUME. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

So ch = 'ab ' ignores trailing blanks. Stored definitions with this reading are rebuilt once at takeover. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed**  

Previously a drain holdup stopped every target. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **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](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Behavior changed** `Trellis.Target`  

Writes raise Trellis.ReadOnlyTarget unless allow_target_writes: true is set. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)
- **Signature changed** `ApplyError.ResumeRefused`  

Code that matches it without .. must change to handle the new status field. [github.com](https://github.com/salesforce-misc/trellis/releases/tag/v0.4.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
