Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.8] - 2026-11-09

### Added

- Opt-in PostgreSQL binding projections for a configured exact partition.
An explicit maintenance transaction backfills facts and publishes them
with source triggers. Unsupported or invalidated requests use the native
summary. Host authorization remains separate.

## [0.2.7] - 2026-11-08

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ When `DeferredSaveMixin` is mixed into an entity *and* `deferred_saves_globally_
| `find_ids` | Default impl | Raw ID-only ordered projection with offset/limit; native SQL/Mongo, fallback elsewhere |
| `find_projected` | Default impl | Flat dotted-path projections after full filtering/order/limit, preserving missing versus explicit null. Native PostgreSQL projection is optional. `jvspatial/db/database.py:661`, `jvspatial/db/postgres.py` |
| `summarize_graph_bindings` | Optional | Immutable `LiteralBindingFact` / `GraphBindingSummary` storage facts; native one-statement PostgreSQL aggregate, unsupported returns `None`. Capped results advertise `complete=False`; host proves current rooted scope and authority. Invalid counts are affected records. `jvspatial/db/database.py:641`, `jvspatial/db/graph_bindings.py`, `jvspatial/db/_graph_binding_postgres.py` |
| `PostgresDB.install_graph_binding_projection` | PostgreSQL only | Explicit maintenance operation for one equality partition per schema. It fences source writes through backfill and trigger publication. The configured adapter instance uses the projection only for an exact shape match, with source-table permissions and maintenance state checked during the read. Truncation and participating writes under stronger isolation invalidate the projection. Tenant-scoped, unsupported and incomplete reads retain the native query. |
| `PostgresDB.attach_graph_binding_projection`, `invalidate_graph_binding_projection` | PostgreSQL only | Configure a worker without DDL, or invalidate the stored projection across workers without touching source tables. An exact conjunction can include up to 4,096 excluded record IDs. |
| `count_incident_edges` | Default impl | Group degrees, counting a self-loop once; native SQL/Mongo, iterator fallback elsewhere |
| `find_iter` | Default impl | Composite keyset iteration; every sort key plus ID, positive batch size |
| `begin_transaction` | Optional | Returns a transaction context manager if `supports_transactions=True` |
Expand Down
Loading
Loading