Changelog¶
v0.29.0 (2026-11-20)¶
Bug Fixes¶
-
A step that creates a new table with row security may be classed contract, which expand-only refuses (#1001) (#1006,
bd4a5d0) -
Auto_migrate: genuine cross-table FK cycles cannot CREATE on Postgres — defer cycle FKs to post-create ALTER (#304) (#1000,
553b4aa) -
No timeout value panics across the FFI (from_seconds, with_lock_timeout_seconds) (#611) (#1011,
4d86097) -
Offset() without limit() fails on SQLite with a syntax error (#756) (#994,
6eb8ce3) -
Query error messages hard-code lambda parameter t. and cite ADR numbers (#758) (#991,
5e9e345) -
RLS policy on a new table that reads a column the same pass adds to an existing table fails on Postgres (#995) (#1008,
c97c4eb) -
RLS policy that reads another table fails on Postgres: tables are created in foreign-key order only (#753) (#992,
eeed581) -
SQLite type-change warning prints an empty old type and the wrong expected type for an enum (#997) (#1010,
0b9d3f2) -
SQLite: a column named by a foreign key or a table check is refused at render time, not at execution (parity C2) (#610) (#998,
a76d109) -
SQLite: a hand-written check that names a column as a bare keyword keeps the column (#999) (#1005,
bc1f96f) -
SQLite: a storage change that differs only in an unenforced length is no change on every emitter (#614) (#1002,
5cfdf3b) -
Test_postgres_floor fails locally when FERRO_POSTGRES_URL uses postgres:// (#996) (#1012,
591bbb3)
Continuous Integration¶
Documentation¶
Features¶
- Export RunReport, StatusReport, CheckReport, ModelConnection, EngineManager, Subject and the types
of their fields (#759) (#990,
37ac5cb)
Testing¶
-
Drop the redundant branch in the public-names test (#759) (#993,
2c929a0) -
Give the set_config revoking test a database of its own (#984) (#987,
b19a984)
v0.28.0 (2026-11-17)¶
Bug Fixes¶
-
A foreign key references the target's primary-key column (#612) (#828,
2893467) -
A many-to-many's join table types its key column by a second rule, so a Decimal or date primary key fails create_tables() (#936) (#937,
fe1f147) -
A model with only an autoincrement primary key cannot be saved (#838) (#967,
45fbdcf) -
A relation naming an undefined model raises a RuntimeError with no fix (#945) (#962,
40cde0d) -
Detect a ForeignKey in a string annotation and under an outer Optional (#751) (#827,
de3ad4e) -
Hydrated instances list fields in declaration order (#754) (#829,
685a5df) -
JSON-family fields hydrate as their declared type (#737) (#832,
e1d49a4) -
Many-to-many add() and remove() identify instances by primary key (#830) (#839,
2c58a4d) -
Model.all() builds its own SELECT so it skips the storage check (#944) (#963,
3a47c8d) -
Raw SQL binds a UTC datetime as +00:00 where save() stores Z, so a raw SQLite query for a saved timestamp finds no row (#976) (#982,
c660e25) -
Refuse bytes against a text column on Postgres (#785) (#834,
eddd177) -
release: Re-lock uv.lock in the release commit (#931,
f5e497f)
Documentation¶
-
Bring AGENTS.md up to the contracts main already keeps (#942,
5a3ad06) -
Declare columns before relations in every model example (#986,
8de03e3) -
Make the upgrade guide ready for 0.28 (#965) (#966,
d9bb39f)
Features¶
Refactoring¶
-
Make a model's forward relation specs complete from class definition (#934) (#935,
6143aab) -
Move relation declaration reading behind relations (#932) (#933,
c3d015c)
Testing¶
-
Give the sibling-target models a primary key so main is green after #827 and #828 (#831,
cf1ee43) -
Remove 291 tests whose Keepers already catch the same break (#961,
5e5011d) -
Run test=pytest fences from any docs page (#835) (#840,
e4a87aa) -
Scope the carried-policy lookup to the test's own table (#836,
fa47257) -
Test model declaration through class definitions (#928) (#929,
f9bfe24)
v0.27.0 (2026-10-30)¶
Bug Fixes¶
- A refused Postgres connection fails at once; dev builds run tests at release speed; drop six
duplicate tests (#823,
58583d8)
Continuous Integration¶
-
Fail the main test job when the Codecov upload is rejected (#802,
fde5d9b) -
One dependency cache per Python version, named in the shared key (#809,
81c5c18) -
Pass the repository secrets to the release's CI gate (
90dd4ba) -
Run the test suites in parallel and the docs tests once (#803,
190d325) -
Upload coverage to Codecov with the org token (#799,
29b88d3)
Features¶
- Generated columns, a field the database computes, through every migration door (#790)
(#814,
f6dfcb6)
Refactoring¶
v0.26.1 (2026-10-26)¶
Bug Fixes¶
v0.26.0 (2026-10-22)¶
Bug Fixes¶
Chores¶
-
docs: Rename CONTEXT.md to GLOSSARY.md, refresh agent docs, ADR-0057 for #700 (#763,
c0c4046) -
docs: Upgrade Zensical, mkdocstrings-python and pymdown-extensions (#699,
2a45de9)
Documentation¶
Features¶
v0.25.0 (2026-10-19)¶
Features¶
v0.24.0 (2026-10-15)¶
Features¶
- migrate: Readable, structured ferro migrate output — headed TTY form, plain piped form,
database line, applied-at (#647) (#662,
37680b3)
v0.23.0 (2026-10-12)¶
Bug Fixes¶
-
migrate: Step class is what the applied file did; the first down after upgrade succeeds (panel F1, F2, F3, F7, F9, C1) (#639,
3a0d64c) -
migrations: A leftover --replace aside is refused by name and never deleted blindly (panel F6) (#637,
c7a72a8) -
models: Retired labels are refused by value on every write path; the primary-key refusal names its fix (panel F4, F5, F8) (#638,
f3ed626)
Documentation¶
Features¶
-
migrations: Ferro migrate new --replace regenerates the newest migration carrying hand-written steps (#629) (#635,
2b12325) -
migrations: Foreign defaults are drift; the live read carries defaults and DropDefault runs on every door (#628) (#634,
f9fc550) -
migrations: Step class recorded at apply, additive tracking minor, allow_ahead="expand-only" (#626) (#632,
cd3fab9) -
migrations: Typed baseline refusals for concurrent pre-deploys (#624) (#630,
ac3215e) -
models: Retired columns, Field(retired=True) leaves the model and stays in the snapshot (#625) (#631,
321bb8d) -
schema: Retired enum labels stay in the type and refuse writes (#627) (#633,
c49bd7b)
Refactoring¶
-
migrate: One step-class entry point; the generator names each carried step's move (architecture pass on #636) (#641,
5a49671) -
models: One retired-label refusal type on every write path; allow_ahead parsed once (architecture pass on #636) (#640,
183d2c3)
v0.22.0 (2026-10-09)¶
Bug Fixes¶
-
ddl: The check normalizer folds Postgres text casts (#563,
2a79f82) -
migrate: A migration with a data step drops in its contract, after the step (#584,
482d386) -
migrate: A removed label's down keeps its place, a live label rename is only the rename, one copy of each plan helper (#583,
8edd577) -
migrate: Deepening close-out: a column's check rides its drop, the pass reports an enum type move, carried minors (#604,
203c58a) -
migrate: Drift renders the planner's ChangePrimaryKey op (#553,
c150d1b) -
migrate: Drop dead DDL wrappers, bound --lock-timeout, one dialect parser (#581,
8a53ed0) -
migrate: Keep trigger and BEGIN ATOMIC bodies whole in SQL steps; probe label hints only under migrate_updates (#580,
df671dd) -
migrate: Panel 2 generator fixes: no invented enum DEFAULT, AUTOINCREMENT kept across a rebuild, IndexOp gone (F15, F16, F21) (#605,
244939b) -
migrate: Panel 2 runtime findings (F17-F19, F25-F27) (#607,
972b45e) -
migrate: Same-storage columns are not drift on SQLite (#556,
39be007) -
migrate: Say migrations, not in-house migrations, in runtime messages (#571,
e68a24f) -
migrate: Server defaults match on every door (SQLite backfill DEFAULT, renamed serial sequence) (#608,
3ff5c08) -
migrate: Status says applied, not installed, and pin the bridge's dropped-table filters (#579,
673a77f) -
migrate: The bridge downgrade marks a re-added required column, and a dropped model takes its enum type (#574,
b2fe6e1) -
migrate: The create pass refuses a declared table whose name a view holds (#594,
76df6a1) -
migrate: The pass renames a table whose live hint names a live table (#573,
9165f78) -
migrate: The pass renders a renamed column's type change, and warns of rows a SQLite label rename strands (#576,
278b496) -
migrate: The SQLite pass keeps NOT NULL DEFAULT; sequence rename refuses on a taken name (panel 2 N1, N2) (#609,
a030cd4) -
migrations: Panel 2 docs, public API and test hygiene (F20, F22–F24, F28, F29, render_plan) (#606,
df84de1) -
models: Keep Any and dict | list refused as db_type json annotations (#566,
f9eace3) -
tests: Isolated_imports drops only a test's project modules (#585,
9e154a5) -
transactions: Roll back transaction() on BaseException (#484) (#541,
e15e14b)
Documentation¶
-
Close-out minors for epic #511 (contract rule, dated supersessions, ADR-0047 probe, bridge table drop) (#586,
074f460) -
adr: A plan's sides are adapters, one down function, every door plans index redefinition and foreign-key removal (#590,
5415f96) -
adr: Record the epic #511 close-out decisions (pass rename hints, dropped-table drops, enum types, drops after data steps, applied) (#578,
a0f57c3) -
adr: The run object (ADR-0048) and the pass report (ADR-0049) (#589,
3f5e5ce) -
agents: Add the SDD routing block to AGENTS.md (#512,
b5a9fda) -
context: Data steps are atomic or chunked; ADR-0024 runner-owned chunking, ADR-0025 union snapshots (#480,
19730e0) -
context: Define Backfill, Expand step, Contract step and Restructure scaffold; ADR-0040 (#475) (#500,
e2e7270) -
context: Define Down and Irreversible step; ADR-0033 (#469) (#489,
ee94635) -
context: Define Generated revision; ADR-0041 (#479) (#501,
2e626da) -
context: Define Index step and DDL lock timeout; ADR-0044 (#505) (#507,
2bdd868) -
context: Define Migration test harness and Round trip; ADR-0045 (#506) (#508,
f991337) -
context: Define Migration, Step and Data step for the in-house migration system (#476,
2f89231) -
context: Define Pending, Ahead and Project configuration; ADR-0038, ADR-0039 (#474) (#497,
67d9630) -
context: Define Rename hint, Destructive step, Data-dependent step; ADR-0032 (#468) (#488,
942536e) -
context: Define Rendering and Guard step; ADR-0037 (#473) (#496,
33de692) -
context: Define Run and Run lock; ADR-0028, ADR-0029 (#465) (#483,
d1419ee) -
context: Define Schema snapshot and Drift; ADR-0023 snapshots outlive IR versions (#478,
0f64fd0) -
context: Define Staged constraint and Validate step; ADR-0043 (#502) (#504,
4984a26) -
context: Define Staged NOT NULL and Add-constraint step; ADR-0042 (#499) (#503,
6e1ecf7) -
context: Define Step context and Unwritten step; ADR-0035 (#471) (#493,
aff9b9f) -
context: Define Table rebuild; ADR-0034 (#470) (#490,
aefd0cb) -
context: Define Tracking table and Step record; ADR-0030 (#466) (#485,
95535fd) -
context: Per-dialect DDL renderings and the DDL-bearing diff (#481) (#482,
4d5a850) -
context: Place the SQLite table rebuild in its phase step; ADR-0046 (#509) (#510,
6dfe137) -
research: Primary-source findings for the in-house migrations map (#477,
99f3df4) -
schema: Auto-update renames a hinted table (#573) (#575,
e007d86) -
schema: The Schema Management group around the two doors (#539) (#570,
1cc9865)
Features¶
-
In-process migration API and the connect() auto-migrate guard (#521) (#549,
5836929) -
cli: Ferro console script, the cli extra and migrate init (#516) (#545,
1312316) -
migrate: Chunked data steps: keyset batches, cursor and resume (#532) (#562,
4ff736d) -
migrate: Column add/drop/type/nullability and indexes on existing tables (#524) (#550,
8f5293e) -
migrate: Data steps, declarations, step context, historical models and atomic steps (#530) (#560,
24660d1) -
migrate: DDL lock timeout for runs and the reconciliation pass (#522) (#552,
fb45464) -
migrate: Enum label removal and the primary-key refusal (#536) (#569,
27f93e6) -
migrate: Expand, backfill and contract for values existing rows need (#534) (#565,
7990097) -
migrate: Ferro migrate drift and ferro.migrations.drift() (#523) (#551,
1a708c7) -
migrate: Ferro migrate new and check for new and dropped models (#518) (#546,
906ad05) -
migrate: Ferro.migrations.testing, the migration test harness (#535) (#561,
f8ca673) -
migrate: Generate enum label additions, label and type renames (#529) (#559,
4b5dbf0) -
migrate: Migrate down and generated downs (#520) (#548,
bbbad98) -
migrate: Postgres staged constraints, validate step and concurrent index steps (#527) (#557,
c5a8cd8) -
migrate: Rename hints for columns, foreign keys and tables (#528) (#558,
00bfc97) -
migrate: Rerecord an edited step; refuse an edited chunked step until continued or restarted (#537) (#568,
d3cec17) -
migrate: Riders, redefined indexes, removed foreign keys (#597,
cd53d6e) -
migrate: Row security in generated migrations (#531) (#564,
9d21a88) -
migrate: Run planner, tracking table and run lock: migrate up and migrate status (#519) (#547,
ad219f3) -
migrate: SQLite inline db_check and ADD COLUMN REFERENCES; warnings name ferro migrate new (#514) (#542,
283910e) -
migrate: SQLite table rebuild in its phase step (#526) (#555,
0a07ae9) -
migrate: The Alembic bridge translates the one planner (#533) (#567,
9979b62) -
migrate: Validate NOT VALID constraints and rebuild invalid indexes (#515) (#543,
e0671a8) -
settings: Project configuration through FerroSettings and model discovery (#513) (#540,
bc74bf1)
Refactoring¶
-
migrate: A run is one Rust object holding the lock, the directory read and the plan (#596,
3183cbe) -
migrate: One live read decides which tables every door reads (#593,
d983625) -
migrate: One module renders a data step's text from the generator's record (#588,
49e0922) -
migrate: One planner over two snapshots (#517) (#544,
4310e79) -
migrate: One reading of where a database stands, one drift against a snapshot (#587,
58d3d89) -
migrate: Plan sides are adapters, one verdict per op, one down for every door (#600,
989d17d) -
migrate: Retire the per-artifact planner wrappers, pin through plan_from_ir (#591,
49ccc87) -
migrate: The auto-migrate pass reports what it executed (A-1) (#599,
a02bd7e) -
migrate: The DDL executor runs statement lists (and the create pass runs unprepared) (#592,
8766011) -
migrate: The generator plans once and lays out every step in Rust (B5) (#603,
40fb7ab) -
migrate: Typed plan reports, and a plan that holds its sides (#595,
c520346) -
migrations: One function per verb, resolved by one Target (#598,
9109ff2) -
migrations: The Alembic bridge's revision in one core call (B4) (#602,
0d1d417)
Testing¶
-
Pin the migrations door as an I-1 emitter and rewrite AGENTS.md I-1 (#538) (#572,
ae14b7b) -
migrate: Pin the transitive hold-back of tables awaiting a rename (#582,
939b37a) -
parity: Match the tracked-database refusal as #571 words it (
cd04e46) -
postgres: Isolate concurrent suite runs on one server, and fix the guard's neighbour-schema race (#601,
bd9c84a)
v0.21.2 (2026-09-29)¶
Bug Fixes¶
- alembic: Create add_column-only enum types, type render_item, close the label-addition block
(#448,
dc49156)
v0.21.1 (2026-09-28)¶
Bug Fixes¶
-
alembic: Drop enum types in the downgrade of the create_table that made them (#441,
5c86b7f) -
alembic: Render create_type=False for enum types a revision reuses (#445,
6776d0b) -
checks: Compare associative OR/AND chains flat in the drift normalizer (#442,
4df72a2)
Documentation¶
-
Replace Pinch RLS examples and humanize guide prose (#433,
4471d75) -
Unpack dense Why Ferro, query, and RLS prose (#434,
1af08af)
Refactoring¶
v0.21.0 (2026-09-17)¶
Bug Fixes¶
-
alembic: Emit check constraints after table ops (#431,
fca2434) -
query: Canonicalize datetime/UUID/Decimal literals against save() (#432,
23c4031) -
query: Session-aware merge dialect and recipe-column kwargs (#385,
961e1d8)
Features¶
-
Postgres Row-Level Security — session settings + declarative row policies (PRD #406) (#426,
c5d72f8) -
migrate: Accept JSON object/array literals on NOT NULL column adds (#374,
aa55c16) -
query: Position paging after()/before() from order_by (#404,
de92b42) -
save: Partial persist with only= and exclude= (#391,
e5e4692)
v0.20.0 (2026-08-29)¶
Chores¶
Features¶
v0.19.0 (2026-08-18)¶
Bug Fixes¶
Features¶
v0.18.0 (2026-08-05)¶
Documentation¶
-
adr: ADR-0011 label addition + glossary terms (enum label, label addition) (
449616f) -
migrate: Label addition — the auto_migrate trap, the migrate_updates contract, the ordering caveat (#334,
482911b)
Features¶
-
alembic: Autogenerate comparator emits label additions from the shared diff (#333,
1579fc3) -
migrate: Label addition tracer — migrate_updates appends missing enum labels (#330,
e929a6a) -
migrate: Warn-never-act for extra enum labels; create pass stays silent (#331,
a73d142)
Testing¶
- migrate: Label addition edges — shared types, default-in-same-run, ordering, idempotence
(#332,
1215f0c)
v0.17.1 (2026-07-19)¶
Bug Fixes¶
- migrate: Auto-migrate pass ownership — column-before-index sequencing and FK on_delete
reconciliation (#326,
3451b1d)
v0.17.0 (2026-07-18)¶
Documentation¶
-
Design existence tests (.exists()) and uniform ~ negation (
c68a477) -
query: Document universal ~ negation and three-valued logic (
6061d66)
Features¶
-
query: Bare .exists() on reverse FK — existence-test tracer bullet (#319,
2538e06) -
query: Existence-test error surfaces and docs — the feature's edges (
be88aed) -
query: M2M existence tests — the two-hop correlation path (
336b529) -
query: Scoped existence tests — inner predicates, nesting, cross-scope guard (
df11625) -
query: Uniform predicate negation — prefix ~ as a NOT wire node (
bfa3126)
v0.16.3 (2026-07-16)¶
Bug Fixes¶
- Derive the primary-key fact once and reject multi-PK models at class definition
(
ef91fa0)
Refactoring¶
-
Compile_query returns one CompiledQuery artifact carrying the hop-class map (
fc7084c) -
Single Registry owner for Python-side registration state (
1179fcc)
v0.16.2 (2026-07-15)¶
Bug Fixes¶
Refactoring¶
- Compile QueryIR payloads at a single wire choke point
(
851b3f4)
v0.16.1 (2026-07-13)¶
Bug Fixes¶
- Chunk bulk_create under backend bind-parameter limits
(
38da62d)
v0.16.0 (2026-07-13)¶
Chores¶
- ADR-0009 aggregate projections + output-alias/traversed-projection/aggregate-projection glossary
(
51b8c0c)
Documentation¶
Features¶
Refactoring¶
v0.15.0 (2026-07-11)¶
Chores¶
-
ADR-0008 populated relations + include/populated-relation glossary (
a1b273d) -
Amend registration adr with review outcomes (operation-seam sync, build-then-swap, deregistration) (
fcb8db3) -
New adrs and context (
3ea617c) -
Pin failed-resolve retryability in registration adr (
d5895ba) -
Pin zero-DDL, single-flight, and pure-Python clean-path invariants in registration adr (
09673f3) -
Registration adr (
05c5732) -
Relation traversal ADR and context (
9151856) -
Triage and update old plan statuses (
2f3e3c0)
Continuous Integration¶
Documentation¶
- ADR-0007 materialization plan + complete-instance glossary
(
4acc879)
Features¶
-
Atomic bulk registration install with fingerprint gate (#244) (#251,
20c6061) -
Compile ModelCodecPlan from SchemaIR at registration (#239,
7e15fdc) -
Generation-counter dirty tracking with assemble-not-recompile (#245) (#252,
2790e56) -
Joined-row hydration — QueryIR v4 + populated relations via include() (#289,
4335417) -
Partial materialization — QueryIR v3 + partial selects (Rows/Row) (#283,
e44129b) -
Query-time joins — relation traversal for filter and sort (stage 1) (#276,
55dc386) -
Sync registration at ORM operation seam (#247) (#254,
8409322)
Refactoring¶
-
Canonicalize registry keys — derive register_model key from model identity (#250,
d835c96) -
Centralize register/deregister registry entrypoints (#243) (#248,
2f2be69) -
Drop RegisteredModel.schema — IR-first registry cleanup (#241,
fc3b9f9) -
Remove legacy migration shims and shadow runtime (#237,
c2117b3)
Testing¶
v0.14.0 (2026-07-07)¶
Bug Fixes¶
Chores¶
Documentation¶
-
Consolidate migration guides into one evergreen upgrade guide (#234,
15c83db) -
Fixes roadmap (
5718d02) -
fable-fixes: Fold #176 into Epic FF-G as sub-task G6 (
b966e65) -
ff-a: A5 — docs & migration guide for the mutation-surface changes (#180,
ffc5476) -
ff-b: Tick FF-B sub-task and exit-gate boxes in the fable-fixes roadmap (
29f9172)
Features¶
-
ff-a: Create() is a real INSERT; save() distinguishes INSERT from UPDATE (A3+A4) (#179,
de3ec30) -
ff-a: Reject limit/offset on mutating queries (#178,
67faf42) -
ff-a: Typed DBAPI-shaped exception hierarchy mapped from sqlx errors (#177,
9c306c5) -
ff-b: B1 canonical derived-type & naming decision table + refusal-rail scaffolding (
8c879f7) -
ff-b: B2+B6 one derived-type decision table; native PG enums + timestamptz/time parity; delete bridge mirrors (
bfdc1fd) -
ff-b: B3+B4 single-source artifact naming; both emitters emit named fk_/uq_ artifacts (
6b771f3) -
ff-c: C1 — per-model ColumnCodec plan; delete codec.rs schema sniffing (F5) (#197,
0e8e572) -
ff-c: C2 — schema-epoch catalog cache; zero catalog queries on steady-state CRUD (#200,
8c6d6ed) -
ff-c: C3+C4 — native typed Postgres decode; plan-driven enum hydration replaces _fix_types (#198,
05a008c) -
ff-d: Session-scoped weak identity map with refresh-on-load; single-handle routing (#201,
a328cfc) -
ff-e: Registry & model identity — qualified keys, configurable tables, O(N) import (#209,
6391805) -
ff-f: Query builder 1.0 shape — immutable chaining, build-time column validation, lambda-only predicates, QueryIR-only Rust (#223,
eb7fece) -
ff-g-a: Hardening — hydration ABI guard, transactional PG migrate, correctness edges, decode-path caching (#232,
22617e1)
Refactoring¶
Testing¶
-
ff-b: B5 I-1 sentinel on the full backend matrix with a full-type fixture, zero filters (
1141eb4) -
ff-b: Force psycopg v3 driver in the Postgres sentinel regardless of URL scheme (
64f9845)
v0.13.0 (2026-07-02)¶
Bug Fixes¶
-
ir-p8.6: Datetime/timestamptz coarseness — stop silent Postgres column reinterpretation (#154) (#167,
7182a57) -
ir-p8.6: Stop false-positive BLOB drift warning on SQLite (#165) (#168,
d554ac4) -
ir-p8.6: Surface real PEP 649 deferred-annotation error (#155) (#163,
00976e7)
Documentation¶
-
Use model-named lambda predicates in examples (#132,
420ca6e) -
agents: Add I-11 — explain concepts plainly, example-first (
efc7ef5) -
ir-first: Add Phase 8.6 post-8.5 cleanup backlog (epic #145) (#147,
e57b74b) -
ir-first: Expand #144 scope — auto-migrate index/unique reconciliation (#150,
fdbac40) -
ir-first: Lowering-consolidation audit + Phase 8.5 (#138,
c6ce53c) -
ir-p8.6: Add #153 create-path unification implementation plan (
de3c427) -
ir-p8.6: Sync roadmap — #153 merged, file #158 (db_check check-renderer) (
62c80fa) -
ir-p8.6: Sync roadmap — #154 merged (datetime/timestamptz warn-and-skip); #145 now 6/7 (
31dbbb6) -
ir-p8.6: Sync roadmap — #162 merged (typed save/update bind), file #165 (
5ca76a1) -
ir-p8.6: Sync roadmap — #165 merged (BLOB introspection); #145 complete 7/7, Phase 8.6 wrapped (
1dbb278) -
rust: Add detailed docstrings for all public APIs (#130,
8d5a951)
Features¶
Refactoring¶
-
Lowering consolidation & single-source-of-truth closeout (#139) (#156,
f76bec9) -
Unify the CREATE TABLE path onto the Python SchemaIR (#153) (#157,
c9ce7b0) -
Unify the three dialect enums into one shared Dialect (#146) (#159,
4b0dfe6) -
ir-p8.6: Single check-renderer for db_check (#158) (#161,
c04df1c)
v0.12.3 (2026-06-24)¶
Bug Fixes¶
-
session: Reject close while transactions are active (#128,
e46f183) -
session: Serialize concurrent close teardown (#129,
7afa616)
v0.12.2 (2026-06-23)¶
Bug Fixes¶
v0.12.1 (2026-06-23)¶
Bug Fixes¶
v0.12.0 (2026-06-23)¶
Documentation¶
Features¶
v0.11.0 (2026-06-11)¶
Chores¶
- Solution quality requirements
(
c62770b)
Documentation¶
Features¶
v0.10.5 (2026-05-25)¶
Bug Fixes¶
v0.10.4 (2026-05-24)¶
Bug Fixes¶
v0.10.3 (2026-05-21)¶
Bug Fixes¶
v0.10.2 (2026-05-19)¶
Bug Fixes¶
v0.10.1 (2026-05-19)¶
Bug Fixes¶
Testing¶
v0.10.0 (2026-05-18)¶
Features¶
v0.9.2 (2026-05-14)¶
Bug Fixes¶
v0.9.1 (2026-05-11)¶
Bug Fixes¶
- ModelConnection annotations
(
337b983)
v0.9.0 (2026-05-09)¶
Chores¶
Features¶
- Add get_or_none method
(
0c81e9f)
Testing¶
- Add tests for explicit shadow fields
(
78a3471)
v0.8.0 (2026-05-09)¶
Features¶
v0.7.0 (2026-05-08)¶
Features¶
v0.6.1 (2026-05-07)¶
Refactoring¶
v0.6.0 (2026-04-30)¶
Features¶
v0.5.0 (2026-04-28)¶
Bug Fixes¶
-
ci: Make cargo test link against libpython by gating extension-module (
e3b013e) -
raw: Make raw SQL tests pass on Postgres backend matrix (#31,
7b3c5e6) -
schema: Align Alembic single-column index names with Rust DDL (#32,
5e3211f)
Chores¶
Code Style¶
- Ruff format touched files
(
bbfda46)
Documentation¶
-
Add AGENTS.md invariants and seed docs/solutions/ (#32,
8b0af7f) -
fk: Document ForeignKey(index=True) and add CHANGELOG entry (#32,
625a3f2) -
orm: Document ferro_composite_indexes and reverse_index (
5ce3abe) -
raw: Add raw SQL API page, guide section, CHANGELOG entry (#31,
4b4699f)
Features¶
-
alembic: Emit sa.Index for ferro_composite_indexes groups (
a0c8176) -
fk: Propagate ForeignKey.index onto shadow column property (#32,
6d0f1f6) -
fk: Warn on redundant ForeignKey(unique=True, index=True) (#32,
3b311d7) -
orm: Add ferro_composite_indexes validation and schema injection (
18f3b37) -
raw: Add ferro.execute/fetch_all/fetch_one with _marshal (#31,
944df61) -
raw: Add python_to_engine_bind_value helper for raw SQL binds (
70bbbd3) -
raw: Transaction() yields Transaction handle for tx-bound raw SQL (#31,
226b575) -
raw: Wire raw_execute/raw_fetch_all/raw_fetch_one through PyO3 (#31,
d31b580) -
relations: Add reverse_index opt-out for default M2M join tables (
f1491df) -
rust: Emit non-unique CREATE INDEX for ferro_composite_indexes (
e8b2d06)
Testing¶
-
Red test for ForeignKey(index=True) shadow column index (#32,
2bbedc5) -
fk: Regression guards for FK index default and nullable interaction (#32,
8f6a48d) -
fk: Runtime DDL parity for ForeignKey(index=True) (#32,
99d39f3) -
orm: Cover common composite-index use cases (
b53643f) -
orm: Cover composite indexes on Postgres catalog (
13bc21f) -
orm: Cover composite indexes with UUID/enum columns and autogen idempotence (
a2ec4a5) -
orm: Cover composite-index overlap with composite-uniques (
24b7481) -
raw: Cover active-tx ContextVar pickup for top-level execute (#31,
3f7a2e4) -
raw: Cover fetch_all/fetch_one shape and read-your-writes (#31,
8b4058c) -
raw: Cover invalid-SQL surface and savepoint rollback (#31,
a03a398) -
raw: Cover Postgres RLS set_config/current_setting use case (#31,
4243123) -
raw: Cover UUID/datetime/Decimal/Enum/dict bind types (#31,
217d8b4) -
relations: Cover M2M reverse_index live catalog and edge cases (
9aa9740) -
rust: Fix composite-index unit-test assertions for sea-query output (
5c1ada1) -
rust: FK column with index flag still emits CREATE INDEX (#32,
1eca573)
v0.4.0 (2026-04-27)¶
Bug Fixes¶
- Correct BackRef type hinting for all/first
(
6171923)
Features¶
- Redesign relationship declarations
(
911e77d)
v0.3.4 (2026-04-25)¶
Bug Fixes¶
- Serialize UUID M2M query contexts
(
f53b3ca)
Chores¶
Documentation¶
- Add backend guide
(
78f1e29)
Refactoring¶
- Replace Any backend with typed engine
(
71628a7)
Testing¶
v0.3.3 (2026-04-24)¶
Bug Fixes¶
-
Cast NULL and strings to ::uuid for Postgres using catalog (
f5cb4f0) -
Catalog casts for date/timestamp columns on Postgres (
95ef5ca) -
Clean up rebase conflicts with main (
716511c) -
Enum OIDs (
a9867be) -
Postgres native enums on save and StrEnum schema registration (
44277e1) -
Use Postgres SQL dialect when connecting to postgres URLs (
c627ac8) -
postgres: Add dual-db ORM test matrix (
1fa657f) -
postgres: Bind boolean writes as booleans (
346441a) -
postgres: Cast uuid columns to text in SELECT for Any decode (
df957c0) -
postgres: Cast UUID filter params for sqlx Any compatibility (
889cf8b) -
postgres: Decode native enum columns via text cast (
1270f9d)
Refactoring¶
-
Expand db matrix coverage and harden postgres paths (
b82f3ac) -
Multi db architecture with true sqlite and postgres support (
459a0c5)
Testing¶
- Expand schema constraints into db matrix
(
24a7f0a)
v0.3.2 (2026-04-24)¶
Bug Fixes¶
- Move alembic reqs to optional dependencies
(
87f0e81)
Build System¶
- sqlx: Enable rustls TLS for PostgreSQL connections
(
807fa81)
Chores¶
- Sync uv.lock with project version 0.3.1
(
c3c9f91)
Continuous Integration¶
-
Build preflight wheels earlier to fail faster (
475c93c) -
Fix linux-aarch64 wheel builds for ring/rustls asm (
5eadddc) -
Gate release on preflight wheel builds for all platforms (
6ec48a2) -
Restore legacy release workflow (
d3ee87c)
Documentation¶
- Add Supabase PostgreSQL connection and TLS guidance
(
b1d61ad)
v0.3.1 (2026-04-23)¶
Bug Fixes¶
-
Alembic autogenerate named SQLAlchemy enums for PostgreSQL (
25a00e8) -
migrations: Align nullable inference with field types (
885f0fe) -
migrations: Propagate ForeignKey(unique=True) to Alembic metadata (#22,
9329e8f)
Continuous Integration¶
Documentation¶
- Prefer Field over FerroField
(
3385cfa)
v0.3.0 (2026-04-23)¶
Bug Fixes¶
-
Align composite unique index names and harden Alembic/Rust handling (
3350481) -
Refresh Pydantic FieldInfo when reconciling shadow FK types (
6cf1ac8)
Chores¶
- Remove doc
(
16e4028)
Continuous Integration¶
-
Fix release (
249e460) -
Fix release (
888e15e) -
Fix release (
58bb5b2) -
Reorder release steps to prevent tagging before checks are complete (
ad1fd8d)
Documentation¶
-
Complete documentation restructure and implementation summary (
937e75e) -
Enhance shadow field documentation and clarify relationship resolution process (
1d350fd)
Features¶
-
Composite unique constraints and default M2M pair uniqueness (
dc12880) -
Derive shadow FK types from related PK and reconcile after resolve (
d3ae486)
Testing¶
- UUID FK save reparenting and bulk_create coverage
(
6c93cea)
v0.2.1 (2026-04-20)¶
Bug Fixes¶
- Defer annotations resolution
(
edd39ab)
Chores¶
- Update patch_tags in pyproject.toml to include refactor
(
36c29a7)
Continuous Integration¶
- Fix release & mkdocs publish workflows
(
630dc7c)
Documentation¶
-
Restructure documentation following Diátaxis framework (
b3c2cde) -
Update BackRef references and enhance field documentation (
baf73ba) -
Update model field annotations to support optional back references (
2044896)
Refactoring¶
-
Enhance model relationship descriptors and improve field handling (
6275ebb) -
Modularize metaclass new method for easier testing and maintenance (
e514b95) -
Rename BackRelationship to BackRef and add back_ref to Field (
d24d32d) -
Update demo_queries to use BackRef instead of BackRelationship (
51799ad)
Testing¶
- Update references from BackRelationship to BackRef in test files
(
60a1d87)
v0.2.0 (2026-02-14)¶
Chores¶
-
.gitignore: Remove src/ferro/fields.py from ignore list (
1c46851) -
changelog: Fix changelog format (
579bb10)
Continuous Integration¶
-
docs: Publish docs site and relax strict commit checks (
9b2af96) -
release: Consolidate changelog and release workflow orchestration (
2724bcc) -
release: Update permissions for publish workflow (
02ecf9f) -
release: Update permissions for publish workflow (
d9d7243) -
release: Update workflows for PyPI Trusted Publishing (
75195d5)
Features¶
- fields: Add wrapped Field helper for ferro metadata
(
2795ed9)
v0.1.1 (2026-02-13)¶
Chores¶
-
project: Refine tooling configuration and code quality gates (
d91aadd) -
query: Update demo script and dependency metadata (
b737b12) -
release: Publish v0.1.0-rc.1 (
a37d0d4) -
release: Publish v0.1.0-rc.2 (
529801a) -
release: Publish v0.1.1 (
c9ee751)
Continuous Integration¶
-
Optimize caching and split PR vs main test execution (
e84344c) -
docs: Add MkDocs build and deploy workflows (
363ffa1) -
release: Add end-to-end CI, publish, and changelog pipelines (
1589dda) -
release: Configure changelog generation and release token wiring (
9b95e41) -
release: Enable prerelease publication path (
eab9a18) -
release: Stabilize workflow stages and macOS/toolchain settings (
dbf9a3e)
Documentation¶
-
api: Reorganize docs structure and validate code examples (
cd5b7b2) -
community: Add contributor and release documentation set (
f9fb40e) -
readme: Clean duplicated content and streamline guidance (
785573a) -
site: Add MkDocs structure and ORM usage guides (
d5b4955)
Features¶
-
connection: Add pool management and schema registration APIs (
2fa9fd7) -
core: Add async CRUD engine and identity map bridge (
64ea39f) -
logging: Route Ferro logs through Python logging (
df6be66) -
migrations: Integrate Alembic-backed migration management (
c244996) -
query: Add fluent query builder and predicate execution (
11d0a5c) -
relations: Add relationship descriptors and query node modules (
c8e72bd)
Testing¶
-
core: Add integration coverage for CRUD and schema behavior (
e5b3e51) -
query: Add coverage for builder operations and advanced types (
6e33f40) -
relations: Cover one-to-one behavior and schema constraints (
7cc8377)
v0.1.0 (2026-02-13)¶
- Initial Release