pgrx-sql-entity-graph breaking changes
pgrx-sql-entity-graph 0.20.0 (November 12, 2026) is its newest release with breaking changes, 28 of them. The first: Removed check_for_interrupts! Every breaking API change we have recorded in pgrx-sql-entity-graph on crates.io: 29 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.20.1, released November 22, 2026. Source repository
Its 0.20.0 release requires Rust 1.99.1 or later. Rust end of life dates.
- From 0.20.0-beta.0 to 0.20.0: 28 breaking changes in 1 version.
pgrx-sql-entity-graph 0.20.0 breaking changes
- Removed
check_for_interrupts!
Use the safe function pgrx::check_for_interrupts() instead. github.com - Removed
pg_sys.MemoryContextCheck
Bindings that only an assert-enabled PostgreSQL declares are gone from every build. To learn at run time whether the server has assertions, read the debug_assertions setting. github.com - Removed
pg13
The pg13 feature is removed. Remove it from Cargo.toml, from code gated on it, and from CI, and change any default that names it to a supported version. github.com - Removed
pg14
The pg14 feature is removed. Remove it from Cargo.toml, from code gated on it, and from CI, and change any default that names it to a supported version. github.com - Removed
PgRelation
Use oid() instead of rd_id, tuple_desc() instead of rd_att, and as_ptr for other fields. github.com - Removed
pgrx.varsize_any
Call the generated macro with the PostgreSQL name instead and wrap the result in unsafe as needed. github.com - Removed
PgTupleDesc
Code that reached the header through Deref must use len, oid, typmod, refcount, constraints or as_ptr instead. github.com - Behavior changed
Reading text or varchar array elements as &str or String now panics on invalid data, including non-ASCII bytes in non-UTF-8 databases. github.com - Behavior changed
Statements are ordered by declared dependencies, not by the SQL text. Blocks that name objects from elsewhere in the extension must list them in requires. github.com - Behavior changed
Vec of types with lifetimes, and Array::into_iter over them, no longer compile. Read the array as an Array and use parts while it is alive, or use owned fields. github.com - Behavior changed
Extensions must list in requires any object an extension_sql! block names from elsewhere in the extension, or CREATE EXTENSION can fail. github.com - Behavior changed
PgBox
Each PgBox read from an array is a copy in CurrentMemoryContext, writes no longer change the array, and unsupported element types now panic. github.com - Behavior changed
pgrx.fn_call.fn_call
Arguments are now type-checked against the function's parameters and mismatches return FnCallError::IncompatibleArgumentType instead of calling the function. Casts are no longer applied. github.com - Behavior changed
pgrx.wrappers.rust_regtypein
Types are now looked up in the extension rather than through search_path, and an error is raised for types the extension does not have. Types from other extensions need their own type_oid. github.com - Configuration changed
pgrx now requires Rust 1.99.1 or newer and refuses older toolchains, and Rust 1.99.0 is excluded. Update any rust-toolchain.toml or CI job that pins an older release. github.com - Signature changed
<type>_recv
The generated receive function is now an unsafe fn, so direct Rust callers must wrap calls in unsafe and meet its Safety requirements. github.com - Signature changed
AnyArray.into
Call it as AnyArray::into::<T>(&values) inside unsafe code, or use the new value::<T>() method that checks the type. github.com - Signature changed
pg_sys.VARHDRSZ
Code that relies on the usize type of pg_sys::VARHDRSZ must be updated to use i32. github.com - Signature changed
PgRelation.name
Code that held the returned &str must now own the String. github.com - Signature changed
PgRelation.namespace
Code that held the returned &str must now own the String. It also panics when the namespace does not exist. github.com - Signature changed
pgrx_sql_entity_graph::PgrxSql::graph
Was graph: StableGraph<SqlGraphEntity<'a>, SqlGraphRequires>; now graph: SqlGraph<SqlGraphEntity<'a>, SqlGraphRequires>. crates.io - Signature changed
pgrx.htup.composite_row_type_make_tuple
Callers must now wrap calls in an unsafe block and pass a live composite Datum. github.com - Signature changed
pgrx.htup.DatumWithTypeInfo.into_value
Callers must now wrap calls in an unsafe block and meet the Safety requirements of the function. github.com - Signature changed
pgrx.htup.heap_getattr
Callers must now wrap calls in an unsafe block and pass a live tuple matching the descriptor. github.com - Signature changed
pgrx.htup.heap_getattr_datum_ex
Callers must now wrap calls in an unsafe block. It also takes typlen and typbyval from the descriptor's attlen and attbyval. github.com - Signature changed
PgTupleDesc.get
It now returns a copy of pg_sys::FormData_pg_attribute instead of a reference, so patterns that expected a reference must change. github.com - Signature changed
PgTupleDesc.iter
It now yields copies of pg_sys::FormData_pg_attribute instead of references, so code that matches on references must drop the & or *. github.com - Signature changed
PgVarlena.new
PgVarlena::new starts from T::default() and requires T: Default. Use PgVarlena::from, implement Default, or call the unsafe new_zeroed where all-zero bytes are valid. github.com
pgrx-sql-entity-graph 0.20.0-beta.0 breaking changes
- Behavior changed
The petgraph replacement can change the order of statements in the generated schema. If an extension_sql! block names an object from elsewhere in the extension, list that object in requires so CREATE EXTENSION does not fail. github.com
Related packages
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.