ferro-orm 0.26.1__tar.gz → 0.27.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/workflows/ci.yml +55 -14
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/workflows/release.yml +1 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/AGENTS.md +168 -32
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/CHANGELOG.md +45 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/CONTRIBUTING.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/Cargo.lock +22 -14
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/Cargo.toml +9 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/GLOSSARY.md +23 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/PKG-INFO +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-ddl-lowering/src/lib.rs +587 -61
- ferro_orm-0.27.0/crates/ferro-ddl-lowering/src/value_expr.rs +1811 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/emit.rs +177 -52
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/columns.rs +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/downs.rs +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/mod.rs +12 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/rebuild.rs +17 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/stages.rs +16 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/staging.rs +1 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/lib.rs +57 -10
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/plan.rs +1771 -137
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/render.rs +155 -15
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/revision.rs +40 -9
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/revision_tests.rs +3 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/run_plan/step_class.rs +6 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/run_plan.rs +12 -12
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/snapshot.rs +76 -7
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/tests.rs +2483 -29
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-schema-ir/src/lib.rs +152 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0015-table-check-body-drift.md +2 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0016-check-predicates-literals-only.md +2 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +2 -0
- ferro_orm-0.27.0/docs/adr/0058-a-generated-columns-value-comes-only-from-the-database.md +28 -0
- ferro_orm-0.27.0/docs/adr/0059-value-expressions-are-lambdas-over-a-closed-function-table-under-value-parity.md +20 -0
- ferro_orm-0.27.0/docs/adr/0060-postgres-prints-both-sides-of-a-sql-body-ferro-compares.md +21 -0
- ferro_orm-0.27.0/docs/examples/generated_columns.py +144 -0
- ferro_orm-0.27.0/docs/examples/generated_columns_annotated.py +146 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/fields.md +3 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/architecture.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/row-level-security.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/getting-started/installation.md +1 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/models-and-fields.md +213 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/mutations.md +18 -14
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/relationships.md +23 -14
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/adopting-migrations.md +6 -6
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/alembic.md +4 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/auto-migrate.md +4 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/migrations.md +3 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/overview.md +9 -9
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/renames-and-retirements.md +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/testing.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/howto/testing.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/reference/migrations.md +17 -8
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/upgrading.md +3 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +7 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/cross-emitter-ddl-parity.md +6 -6
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/derived-type-and-naming-decision-table.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/docs-page-conventions.md +6 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/one-planner-and-live-facts.md +1 -1
- ferro_orm-0.27.0/docs/solutions/patterns/printed-pairs-drift.md +96 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/wire-scalar-canonicalization.md +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/pyproject.toml +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/backend.rs +49 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/codec_plan.rs +1 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/connection.rs +94 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ddl_exec.rs +32 -27
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/errors.rs +299 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/__init__.py +2 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/_bind_payload.py +22 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/_core.pyi +71 -8
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/base.py +38 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/checks.py +193 -22
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/exceptions.py +11 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/fields.py +26 -1
- ferro_orm-0.27.0/src/ferro/fn.py +188 -0
- ferro_orm-0.27.0/src/ferro/generated.py +364 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/ir/compiler.py +26 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/metaclass.py +114 -18
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/_drift.py +100 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/alembic.py +117 -9
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/translate.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/models.py +45 -6
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/pass_report.py +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/query/nodes.py +146 -18
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/query/wire.py +28 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/introspect.rs +307 -12
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/lib.rs +12 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/live_ir.rs +260 -51
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/migrate.rs +81 -39
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/migrations_ffi.rs +67 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/naming_ffi.rs +152 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/operations.rs +251 -60
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/run.rs +5 -5
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/schema.rs +10 -6
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/state.rs +47 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_casebook.py +43 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_pass_harness.py +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_pg_sequence.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/conftest.py +23 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/README.md +17 -5
- ferro_orm-0.27.0/tests/fixtures/ir_vectors/schema_check_fn_v4.json +70 -0
- ferro_orm-0.27.0/tests/fixtures/ir_vectors/schema_generated_column_v4.json +76 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_bridge.py +142 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_enum_type_drop.py +1 -1
- ferro_orm-0.27.0/tests/test_alembic_generated_columns.py +218 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_render_execute.py +1 -1
- ferro_orm-0.27.0/tests/test_auto_migrate_generated_columns.py +787 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_bulk_update.py +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_check_predicate_dialect.py +18 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_column_specs.py +0 -12
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_connect_guard.py +39 -10
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_connection.py +12 -10
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cross_emitter_parity.py +245 -110
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_db_type_cross_emitter_parity.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_db_type_validation.py +0 -8
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_migrations.py +5 -5
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_site.py +3 -17
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_sql.py +17 -2
- ferro_orm-0.27.0/tests/test_generate_check_functions.py +723 -0
- ferro_orm-0.27.0/tests/test_generate_generated_columns.py +666 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_indexes.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_primary_key_refusal.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_renames.py +1 -1
- ferro_orm-0.27.0/tests/test_generated_column_drift.py +577 -0
- ferro_orm-0.27.0/tests/test_generated_columns.py +508 -0
- ferro_orm-0.27.0/tests/test_generated_refusals.py +494 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_ir_vectors_contract.py +60 -8
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_label_addition.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_live_read.py +54 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_metaclass_internals.py +0 -5
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_defaults.py +3 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_drift.py +42 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_plan.py +16 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_rerecord.py +4 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_squash.py +1 -1
- ferro_orm-0.27.0/tests/test_postgres_floor.py +122 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_exists.py +0 -19
- ferro_orm-0.27.0/tests/test_refused_model_leaves_nothing.py +140 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_retired_labels.py +0 -20
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_row_security_alembic.py +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_row_security_create_pass.py +3 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_row_security_reconcile.py +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_save_column_order.py +4 -4
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_secret_fields.py +3 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_session_settings_connection_delivery.py +1 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_snapshot_witness.py +2 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_table_check_orphans.py +20 -3
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_table_check_rebuild.py +60 -11
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_table_check_reconcile.py +25 -8
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_table_checks.py +3 -1
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_update_recipe.py +1 -1
- ferro_orm-0.27.0/tests/test_value_parity.py +876 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/uv.lock +1 -2
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/PERMISSIONS.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/PYPI_CHECKLIST.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/PYPI_SETUP.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/generated/wheels.generated.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/pull_request_template.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/workflows/packaging-smoke.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/workflows/publish-docs.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.github/workflows/publish.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.gitignore +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.pre-commit-config.yaml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/.python-version +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/LICENSE +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/README.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/README.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/__main__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/backends.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/baselines/postgres.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/baselines/sqlite.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/compare.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/model.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/benchmarks/run.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/context7.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-ddl-lowering/Cargo.toml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-ddl-lowering/src/policy_expr.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/Cargo.toml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/directory.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/backfill.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/compose.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/enums.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/generate/renames.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-migrate/src/order.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/crates/ferro-schema-ir/Cargo.toml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0001-resolved-epoch-registration.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0002-unified-column-fact-derivation.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0003-path-blind-db-type-validation.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0004-jsonb-postgres-only-canonical.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0005-jsonb-default-on-postgres.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0006-relation-traversal-inner-joins.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0007-materialization-plan-complete-instances.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0007-reverse-relations-tested-not-traversed.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0008-populated-relations-include.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0008-predicate-negation-uniform-not.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0009-aggregate-projections-derived-grouping.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0010-create-pass-owns-only-missing-tables.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0011-label-addition-update-gated-append-only.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0012-table-checks-are-lambdas.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0013-table-check-reconciliation.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0014-table-checks-sqlite-create-only.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0017-omitted-nulls-means-last.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0018-position-paging.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0019-row-policy-drift-and-the-one-way-flags.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0020-enum-type-drop-on-downgrade.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0021-enum-type-reuse-on-upgrade.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0022-enum-type-creation-for-add-column.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0024-data-steps-are-atomic-or-chunked.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0025-historical-models-see-the-union-of-adjacent-snapshots.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0026-one-migration-renders-ddl-per-target-dialect.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0027-the-generator-diffs-the-ddl-bearing-projection-of-the-ir.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0029-the-run-lock-dies-with-the-process.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0030-a-finished-step-is-re-recorded-an-unfinished-one-may-be-edited.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0033-irreversibility-is-declared-and-a-down-reaches-the-parent-snapshot.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0034-sqlite-changes-alter-cannot-express-are-table-rebuilds.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0035-a-data-step-declares-its-shape-and-an-unwritten-one-is-a-todo.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0036-config-names-databases-not-connections.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0037-step-numbers-are-shared-across-dialects-and-a-skipped-backfill-is-a-guard.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0038-connect-never-runs-migration-files-and-a-tracked-database-refuses-auto-migrate.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0039-config-is-ferro-toml-or-pyproject-and-is-read-through-ferrosettings.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0040-a-migration-is-applied-whole-and-staging-is-the-editing-cadence.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0041-the-alembic-bridge-translates-the-one-planner.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0042-not-null-on-postgres-is-staged-after-the-backfill.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0043-foreign-keys-and-checks-on-an-existing-postgres-table-are-staged.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0044-indexes-on-an-existing-postgres-table-are-built-concurrently-and-ddl-waits-for-locks-under-a-timeout.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0045-the-test-harness-carries-the-targets-the-application-api-refuses.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0046-a-sqlite-table-rebuild-sits-in-its-phase-step-and-a-table-is-copied-once-per-phase.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0047-the-reconciliation-pass-honours-rename-hints.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0048-a-run-is-a-rust-object-holding-the-lock-the-directory-and-the-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0049-the-auto-migrate-pass-reports-what-it-executed.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0050-a-plans-two-sides-are-adapters-and-a-down-is-the-ups-artifacts-planned-back.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0051-every-door-plans-a-redefined-index-and-a-removed-foreign-key.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0052-plan-reports-are-typed-and-the-generator-refuses-what-no-op-answers.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0054-a-steps-class-is-recorded-when-it-is-applied.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0055-the-change-summary-crosses-ffi-as-data.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0056-a-squash-is-planned-across-snapshots-and-a-database-that-ran-the-originals-adopts-it.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/adr/0057-sql-is-seen-through-the-statement-log-and-a-terminals-sql.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/agents/domain.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/agents/issue-tracker.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/agents/triage-labels.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/architecture-review-2026-07-08.html +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-04-29-named-connections-role-routing-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-05-08-typed-query-predicates-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-05-13-configurable-column-storage-types-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-05-14-autogenerate-support-for-db-type-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-05-25-annotated-strenum-cold-hydration-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-24-ir-p8-119-wire-automigrate-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-25-ir-p8-120-parity-gate-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-26-ir-p8.5-140-shared-lowering-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-26-ir-p8.5-143-db-type-drop-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-26-ir-p8.5-144-reconcile-indexes-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-28-ir-p8.5-141-single-schema-ir-producer-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-29-ir-p8.6-146-dialect-enum-unification-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-29-ir-p8.6-153-create-path-ir-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-30-ir-p8.6-155-deferred-annotations-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-06-30-ir-p8.6-158-check-renderer-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-07-01-ir-p8.6-154-datetime-tz-coarseness-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-07-01-ir-p8.6-162-typed-save-bind-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-07-01-ir-p8.6-165-blob-introspection-false-positive-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-07-02-ff-c1-codec-plan-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/brainstorms/2026-07-06-upgrade-guide-consolidation-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_ledger_seed.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_migrations_project.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/auto_migrate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/concepts.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/connections.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/invoices.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/jwt_claims.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/label_addition.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/queries.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/raw_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/reference.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/_preludes/upgrade.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/aggregations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/aggregations_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/auto_migrate_errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/concepts.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/concepts_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/enum_labels.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/enum_labels_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/existence_tests.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/faq.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/faq_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/from_sqlalchemy.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/from_sqlalchemy_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migration_errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_adopting.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_backfill.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_backfill_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_quickstart.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_quickstart_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_rename.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_rename_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_retire.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_retire_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_retire_label.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_retire_label_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_squash.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_squash_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_testing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/migrations_testing_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/models_and_fields.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/models_and_fields_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/multiple_databases.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/multiple_databases_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/mutations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/mutations_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/pagination.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/pagination_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/partial_selects.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/populated_relations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/predicates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/predicates_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/quickstart.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/quickstart_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/raw_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/raw_sql_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/readme_quickstart.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/readme_quickstart_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/relationships.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/relationships_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/row_level_security.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/row_level_security_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/soft_deletes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/soft_deletes_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/table_checks.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/table_checks_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/testing_conftest.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/testing_conftest_postgres.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/testing_models.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/testing_models_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/timestamps.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/timestamps_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/transactions.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/transactions_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/traversal.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_account.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_account_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_foreign_default.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_keep.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_keep_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_primary_key.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/examples/upgrade_primary_key_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/includes/abbreviations.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/includes/field-types.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/connection.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/exceptions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/migrations.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/model.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/queries.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/raw-sql.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/relationships.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/api/transactions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/changelog.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/backends.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/identity-map.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/performance.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/query-typing.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/concepts/type-safety.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/contributing.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/faq.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/getting-started/quickstart.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/aggregations.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/connections.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/queries.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/raw-sql.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/row-level-security.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/data-steps.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/deploying.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/schema/squash.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/guide/transactions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/howto/migrate-from-sqlalchemy.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/howto/multiple-databases.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/howto/pagination.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/howto/soft-deletes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/howto/timestamps.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/index.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/reference/cli.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/reference/configuration.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/reference/row-level-security.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/roadmap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/stylesheets/extra.css +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/pages/why-ferro.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-04-24-001-refactor-multi-db-backend-architecture-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-04-29-001-typed-null-binds-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-04-29-002-feat-named-connections-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-05-07-001-refactor-generic-model-connection-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-05-08-001-feat-typed-query-predicates-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-05-13-001-feat-configurable-column-storage-types-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-05-25-001-fix-annotated-strenum-cold-hydration-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-19-001-ir-first-roadmap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-24-001-feat-ir-p8-119-wire-automigrate-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-25-001-feat-ir-p8-120-parity-gate-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-26-001-feat-ir-p8.5-140-shared-lowering-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-26-002-feat-ir-p8.5-143-db-type-drop-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-26-003-feat-ir-p8.5-144-reconcile-indexes-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-28-001-feat-ir-p8.5-141-single-schema-ir-producer-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-29-001-refactor-ir-p8.6-153-create-path-unification-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-29-002-refactor-ir-p8.6-146-dialect-enum-unification-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-30-001-refactor-ir-p8.6-158-check-renderer-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-06-30-002-fix-ir-p8.6-155-deferred-annotations-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-01-001-feat-ir-p8.6-162-typed-save-bind-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-01-002-fix-ir-p8.6-154-datetime-tz-coarseness-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-01-003-fix-ir-p8.6-165-blob-introspection-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-02-001-fable-fixes-roadmap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-02-002-feat-ff-a-172-typed-exceptions-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-02-003-ff-c-native-decode-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-02-004-ff-c-c2-catalog-cache-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-02-005-ff-d-identity-routing-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-02-006-ff-d-identity-routing-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-03-007-ff-e-registry-identity-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-03-008-ff-e-registry-identity-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-009-ff-f-query-builder-1.0-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-010-ff-f-query-builder-1.0-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-011-ff-g-hardening-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-012-ff-g-hardening-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-013-ff-g2-operations-dedup-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-014-ff-g2-operations-dedup-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-06-015-docs-upgrade-guide-consolidation-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/2026-07-18-016-existence-tests-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/ir-first-migration-guide.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/plans/ir-first-release-checklist.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/research/migration-cli-config-prior-art.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/research/migration-prior-art.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/research/sqlite-schema-change-recipes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/research/sqlx-migrate-internals.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/rfc/ir-contracts-v1.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/README.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/architecture-patterns/ir-first-lowering-consolidation-audit.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/architecture-patterns/ir-first-merge-readiness-review.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/alembic-create-table-reissues-enum-type.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/docs-block-declaring-a-model.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/postgres-contention-was-a-guard-race.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/pydantic-slots-missing-after-ferro-hydration.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/pytest-examples-prefix-settings-need-quotes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/query-ir-version-pin-sweep.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/sa-pk-column-nullable-divergence.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/self-fk-evicts-component-from-create-order.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/sqlite-integer-decimal-hydrates-as-none.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/sqlite-null-hydrates-as-int-zero.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/test-module-cleanup-disarms-alembic-bridge.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/issues/typed-where-null-panics-is-null.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/configurable-column-storage-types.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/ddl-on-live-engine.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/docstring-conventions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/foreign-key-index.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/historical-models-and-the-registry-swap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/index-unique-redundancy.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/ir-invariants.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/json-family-factory-migrate-backfill.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/persistence-state.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/position-paging-after.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/shadow-fk-columns.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/sqlite-alembic-reconnect-hydration-tests.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/docs/solutions/patterns/typed-null-binds.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/justfile +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/scripts/demo_queries.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/scripts/demo_queries_pre_v012.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/codec.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/_annotation_utils.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/_deprecations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/_shadow_fk_types.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/_sql_log.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/cli/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/cli/exit_codes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/cli/migrate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/cli/output.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/columns.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/composite_indexes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/composite_uniques.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/ir/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/_baseline.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/_chunk_loop.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/context.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/generate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/historical.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/layout.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/report.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/rerecord.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/runner.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/scaffold.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/steps.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/target.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/migrations/testing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/py.typed +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/query/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/query/builder.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/query/rendered.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/query/rows.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/raw.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/registry.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/relations/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/relations/descriptors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/rowsecurity.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/session.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/settings.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/ferro/state.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/hydration.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/query.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/schema_bind.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/session_settings.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/src/sql_log.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_alembic_harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_docs_checks.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_docs_harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_docs_shared.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_docs_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/_docs_twins.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/db_backends.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/codec_registry_core_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_account_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_account_scoped_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_card_after_null_slot_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_card_nulls_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_owner_nested_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_owner_not_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_aggregate_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_global_aggregate_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_include_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_left_join_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_record_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_traversal_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_transaction_traversed_record_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_add_columns_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_add_literal_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_after_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_before_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_compound_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_literal_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_m2m_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_merge_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_mixed_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_not_compound_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_not_leaf_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/query_user_now_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/schema_invoice_baseline_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/schema_phase1_fixture_models_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/schema_raw_str_pk_autoincrement_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/schema_rename_hints_v2.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/schema_retired_column_v2.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/fixtures/ir_vectors/schema_squash_witness_v3.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/bad_includes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/bad_predicates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/bad_projections.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/bad_updates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/good_includes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/good_migrations_api.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/good_predicates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/good_projections.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/static_fixtures/good_updates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_after_position.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_aggregation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_autogenerate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_db_type.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_nullability.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_translator.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_type_mapping.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_alembic_typing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_annotation_utils.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_auto_migrate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_before_position.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_bulk_create_chunking.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_bulk_install.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_catalog_cache.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_chunked_steps.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cli_database_line.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cli_help.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cli_init.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cli_output_new_check.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cli_output_run_verbs.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_cli_output_status_drift.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_codec_plan.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_compiled_query.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_composite_index.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_composite_unique.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_connection_redaction.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_constraints.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_crud.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_data_steps.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_db_backends.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_db_type_integration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_db_type_typing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_ddl_lock_timeout.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_ddl_unprepared.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_deletion.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_deprecations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_checks.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_cli_reference.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_examples.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_field_type_table.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_lint.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_output.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_shared.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_testing_fixtures.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docs_twins.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_docstring_examples.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_documentation_features.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_enum_cold_hydration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_exception_mapping.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_exceptions.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_field_wrapper.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_fk_target_pk.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_backfill.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_columns.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_enum_removal.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_enums.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_postgres_staging.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_retired.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_row_security.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generate_sqlite_rebuild.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_generation_counter_dirty_tracking.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_global_aggregates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_grouped_aggregates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_helpers.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_historical_models.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_hydration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_hydration_equivalence.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_identity_memory.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_identity_refresh.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_identity_scoped_invalidation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_identity_weakref.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_import_budget.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_include.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_isolated_imports.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_live_table_checks.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_metadata.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_baseline.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_check.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_down.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_inherit.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_new.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_replace.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_status.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrate_up.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrations_api.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_migrations_testing_harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_model_identity.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_models.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_mutation_pagination_guard.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_named_connections_integration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_naming_single_source.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_negation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_one_to_one.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_operation_seam_sync.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_order_by_nulls.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_order_by_nulls_wire.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_partial_selects.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_pass_report.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_position_paging_traversal.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_postgres_isolation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_primary_key_facts.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_provisional_import.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_builder.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_column_validation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_immutability.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_joins.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_typing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_query_wire_vectors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_raw_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_refresh.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_registry_entrypoints.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_registry_owner.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_registry_swap.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_relation_specs.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_relationship_engine.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_relationship_resolution_errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_rendered_statement.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_retired_columns.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_rls_end_to_end.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_route_single_site.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_routing_errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_row_security_orphans.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_row_security_rebuild.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_run_lock.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_save_pk_edges.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_save_semantics.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_schema.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_schema_constraints.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_schema_db_type_metadata.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_schema_enum_annotations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_session.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_session_set_config.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_session_settings.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_session_settings_operations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_settings.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_shadow_fk_types.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_sqlite_alembic_reconnect_hydration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_statement_log.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_statement_log_run.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_static_contracts.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_step_class.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_string_search.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_structural_types.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_temporal_types.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_transactions.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_traversed_projection.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_typed_null_binds.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/tests/test_typed_save_bind.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.27.0}/zensical.toml +0 -0
|
@@ -14,6 +14,15 @@ concurrency:
|
|
|
14
14
|
permissions:
|
|
15
15
|
contents: read
|
|
16
16
|
|
|
17
|
+
env:
|
|
18
|
+
# Every job compiles Ferro's own crates from scratch (rust-cache keeps only
|
|
19
|
+
# dependencies): 2.5 to 4 minutes a job. sccache keys each rustc call by its
|
|
20
|
+
# inputs and stores the object in the Actions cache, so an unchanged crate is
|
|
21
|
+
# a download. Incremental compilation is off because sccache cannot cache it.
|
|
22
|
+
SCCACHE_GHA_ENABLED: "true"
|
|
23
|
+
RUSTC_WRAPPER: sccache
|
|
24
|
+
CARGO_INCREMENTAL: "0"
|
|
25
|
+
|
|
17
26
|
jobs:
|
|
18
27
|
lint-and-format:
|
|
19
28
|
name: Lint & Format (Pre-commit / Prek)
|
|
@@ -37,10 +46,14 @@ jobs:
|
|
|
37
46
|
with:
|
|
38
47
|
components: rustfmt, clippy
|
|
39
48
|
|
|
49
|
+
- name: Cache compiled Rust crates
|
|
50
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
51
|
+
|
|
40
52
|
- name: Cache Rust build
|
|
41
53
|
uses: Swatinem/rust-cache@v2
|
|
42
54
|
with:
|
|
43
55
|
prefix-key: v1
|
|
56
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
44
57
|
cache-on-failure: true
|
|
45
58
|
|
|
46
59
|
- name: Cache pre-commit hook environments
|
|
@@ -60,7 +73,7 @@ jobs:
|
|
|
60
73
|
uv run --no-sync --python 3.13 prek run --all-files
|
|
61
74
|
|
|
62
75
|
docs:
|
|
63
|
-
name: Docs build
|
|
76
|
+
name: Docs build
|
|
64
77
|
runs-on: ubuntu-latest
|
|
65
78
|
steps:
|
|
66
79
|
- name: Checkout repository
|
|
@@ -79,10 +92,15 @@ jobs:
|
|
|
79
92
|
- name: Set up Rust
|
|
80
93
|
uses: dtolnay/rust-toolchain@stable
|
|
81
94
|
|
|
95
|
+
- name: Cache compiled Rust crates
|
|
96
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
97
|
+
|
|
82
98
|
- name: Cache Rust build
|
|
83
99
|
uses: Swatinem/rust-cache@v2
|
|
84
100
|
with:
|
|
85
101
|
prefix-key: v1
|
|
102
|
+
shared-key: maturin-develop-py3.13
|
|
103
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
86
104
|
cache-on-failure: true
|
|
87
105
|
|
|
88
106
|
- name: Install documentation and test dependencies
|
|
@@ -101,11 +119,6 @@ jobs:
|
|
|
101
119
|
run: |
|
|
102
120
|
uv run --no-sync python -m tests._docs_checks docs/pages docs/examples src/ferro
|
|
103
121
|
|
|
104
|
-
- name: Run the docs tests
|
|
105
|
-
# Every docs test module is named test_doc*.py, which
|
|
106
|
-
# tests/test_docs_site.py pins, so a new one runs here unlisted.
|
|
107
|
-
run: |
|
|
108
|
-
uv run --no-sync pytest --no-cov -p no:cacheprovider tests/test_doc*.py
|
|
109
122
|
|
|
110
123
|
test-rust:
|
|
111
124
|
name: Rust tests
|
|
@@ -122,10 +135,14 @@ jobs:
|
|
|
122
135
|
with:
|
|
123
136
|
python-version: "3.13"
|
|
124
137
|
|
|
138
|
+
- name: Cache compiled Rust crates
|
|
139
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
140
|
+
|
|
125
141
|
- name: Cache Rust build
|
|
126
142
|
uses: Swatinem/rust-cache@v2
|
|
127
143
|
with:
|
|
128
144
|
prefix-key: v2
|
|
145
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
129
146
|
cache-on-failure: true
|
|
130
147
|
|
|
131
148
|
- name: Run Rust tests
|
|
@@ -159,10 +176,15 @@ jobs:
|
|
|
159
176
|
- name: Set up Rust
|
|
160
177
|
uses: dtolnay/rust-toolchain@stable
|
|
161
178
|
|
|
179
|
+
- name: Cache compiled Rust crates
|
|
180
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
181
|
+
|
|
162
182
|
- name: Cache Rust build
|
|
163
183
|
uses: Swatinem/rust-cache@v2
|
|
164
184
|
with:
|
|
165
185
|
prefix-key: v1
|
|
186
|
+
shared-key: maturin-develop-py3.13
|
|
187
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
166
188
|
cache-on-failure: true
|
|
167
189
|
|
|
168
190
|
- name: Install dependencies
|
|
@@ -183,7 +205,7 @@ jobs:
|
|
|
183
205
|
|
|
184
206
|
- name: Run pytest
|
|
185
207
|
run: |
|
|
186
|
-
uv run pytest -
|
|
208
|
+
uv run pytest -n logical --cov=src --cov-report=xml --cov-report=term
|
|
187
209
|
|
|
188
210
|
test-python-main:
|
|
189
211
|
name: Python tests (main / ${{ matrix.python-version }})
|
|
@@ -210,10 +232,15 @@ jobs:
|
|
|
210
232
|
- name: Set up Rust
|
|
211
233
|
uses: dtolnay/rust-toolchain@stable
|
|
212
234
|
|
|
235
|
+
- name: Cache compiled Rust crates
|
|
236
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
237
|
+
|
|
213
238
|
- name: Cache Rust build
|
|
214
239
|
uses: Swatinem/rust-cache@v2
|
|
215
240
|
with:
|
|
216
241
|
prefix-key: v1
|
|
242
|
+
shared-key: maturin-develop-py${{ matrix.python-version }}
|
|
243
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
217
244
|
cache-on-failure: true
|
|
218
245
|
|
|
219
246
|
- name: Install dependencies
|
|
@@ -230,23 +257,32 @@ jobs:
|
|
|
230
257
|
|
|
231
258
|
- name: Run pytest
|
|
232
259
|
run: |
|
|
233
|
-
uv run pytest -
|
|
260
|
+
uv run pytest -n logical --cov=src --cov-report=xml --cov-report=term
|
|
234
261
|
|
|
235
262
|
- name: Upload coverage to Codecov
|
|
236
263
|
if: matrix.python-version == '3.13'
|
|
237
|
-
uses: codecov/codecov-action@
|
|
264
|
+
uses: codecov/codecov-action@v5
|
|
238
265
|
with:
|
|
239
|
-
|
|
266
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
267
|
+
fail_ci_if_error: true
|
|
268
|
+
files: ./coverage.xml
|
|
240
269
|
flags: python-${{ matrix.python-version }}
|
|
241
270
|
name: python-${{ matrix.python-version }}
|
|
242
|
-
continue-on-error: true
|
|
243
271
|
|
|
244
272
|
test-python-backend-matrix:
|
|
245
|
-
name: Python backend matrix (
|
|
273
|
+
name: Python backend matrix (Postgres ${{ matrix.postgres }}, shard ${{ matrix.shard }}/2)
|
|
274
|
+
# A slice PR into an integration branch skips the matrix; the open PR
|
|
275
|
+
# from that branch to main runs it on every merge into the branch.
|
|
276
|
+
if: github.event_name != 'pull_request' || github.base_ref == 'main'
|
|
246
277
|
runs-on: ubuntu-latest
|
|
278
|
+
strategy:
|
|
279
|
+
fail-fast: false
|
|
280
|
+
matrix:
|
|
281
|
+
postgres: ['17', '18']
|
|
282
|
+
shard: [1, 2]
|
|
247
283
|
services:
|
|
248
284
|
postgres:
|
|
249
|
-
image: postgres
|
|
285
|
+
image: postgres:${{ matrix.postgres }}
|
|
250
286
|
env:
|
|
251
287
|
POSTGRES_USER: ferro
|
|
252
288
|
POSTGRES_PASSWORD: ferro
|
|
@@ -277,10 +313,15 @@ jobs:
|
|
|
277
313
|
- name: Set up Rust
|
|
278
314
|
uses: dtolnay/rust-toolchain@stable
|
|
279
315
|
|
|
316
|
+
- name: Cache compiled Rust crates
|
|
317
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
318
|
+
|
|
280
319
|
- name: Cache Rust build
|
|
281
320
|
uses: Swatinem/rust-cache@v2
|
|
282
321
|
with:
|
|
283
322
|
prefix-key: v1
|
|
323
|
+
shared-key: maturin-develop-py3.13
|
|
324
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
284
325
|
cache-on-failure: true
|
|
285
326
|
|
|
286
327
|
- name: Install dependencies
|
|
@@ -293,7 +334,7 @@ jobs:
|
|
|
293
334
|
|
|
294
335
|
- name: Run backend matrix tests
|
|
295
336
|
run: |
|
|
296
|
-
uv run pytest -
|
|
337
|
+
uv run pytest -n logical -m "backend_matrix or postgres_only" --db-backends=postgres --shard ${{ matrix.shard }}/2
|
|
297
338
|
|
|
298
339
|
check-conventional-commits:
|
|
299
340
|
name: Check Conventional Commits
|
|
@@ -14,7 +14,7 @@ covers the invariants that the architecture rests on.
|
|
|
14
14
|
**Every DDL emission path in Ferro must produce byte-identical schema artifacts
|
|
15
15
|
for the same model definition.**
|
|
16
16
|
|
|
17
|
-
Take one edit, `bio: str | None = None` added to `Author`. Each
|
|
17
|
+
Take one edit, `bio: str | None = None` added to `Author`. Each emitter below
|
|
18
18
|
runs the same statement for it, `ALTER TABLE "author" ADD COLUMN "bio"
|
|
19
19
|
varchar`, because each asks the same planner and renders through the same
|
|
20
20
|
functions. Today Ferro emits DDL through:
|
|
@@ -28,7 +28,7 @@ functions. Today Ferro emits DDL through:
|
|
|
28
28
|
`PassReport` (`ferro.migrate()` / `ferro.create_tables()` return it, built
|
|
29
29
|
from what the DDL executor ran, ADR-0049), pinned against the planner by
|
|
30
30
|
pin **(g)**.
|
|
31
|
-
- The **
|
|
31
|
+
- The **generator** (`src/ferro/migrations/` +
|
|
32
32
|
`crates/ferro-migrate/src/generate/`): `ferro migrate new`. It plans between
|
|
33
33
|
two schema snapshots with the same planner and renders through the same
|
|
34
34
|
`Plan::render`, once per dialect, into step files. It decides which step an
|
|
@@ -73,6 +73,8 @@ For a single model, every emitter must agree on:
|
|
|
73
73
|
(Python) and `db_check_constraint_name` (Rust); table checks use
|
|
74
74
|
`_ddl_table_check_constraint_name` (Python) and
|
|
75
75
|
`table_check_constraint_name` (Rust).
|
|
76
|
+
A generated column's SQLite range guard is `_ferro_range_<col>`
|
|
77
|
+
(`sqlite_guard_name`), part of the column and never a `ck_*` check.
|
|
76
78
|
9. **Default values** — server-side defaults must serialize identically.
|
|
77
79
|
One exception (ADR-0034): on SQLite the reconciliation pass adds a
|
|
78
80
|
required column with a literal default as `NOT NULL DEFAULT <literal>`
|
|
@@ -88,14 +90,20 @@ For a single model, every emitter must agree on:
|
|
|
88
90
|
`ferro_migrate::OpVerdict`, decided once (ADR-0050): whether the dialect
|
|
89
91
|
runs it natively, rebuilds the table, refuses it (naming the fix) or
|
|
90
92
|
cannot reverse it, and whether it demands values from existing rows,
|
|
91
|
-
drops data or can fail on them
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
drops data or can fail on them, whether it is the drop or add of a
|
|
94
|
+
generated column the plan replaces (`replaces`), whether it carries a
|
|
95
|
+
policy or check around another change and puts it back as it was
|
|
96
|
+
(`carried`: `unchanged`, `changed` or `not_compared`; only `unchanged`
|
|
97
|
+
is no difference, on every emitter and in drift), and, on a type change
|
|
98
|
+
no emitter runs, what it leaves standing uncompared (`held`). Every
|
|
99
|
+
emitter reads that one
|
|
100
|
+
verdict and re-decides none of it. The reconciliation pass runs them directly; the
|
|
101
|
+
generator writes them into step files; the bridge's one comparator
|
|
94
102
|
(`dispatch_for("schema")` in `src/ferro/migrations/alembic.py`) reads the
|
|
95
103
|
live database through `_core._live_schema_ir` and asks the core for the
|
|
96
104
|
whole revision in one call, `_core._plan_revision`
|
|
97
105
|
(`ferro_migrate::plan_revision`): the upgrade planned live → models with
|
|
98
|
-
destructive changes on, its `downgrade()` the one down every
|
|
106
|
+
destructive changes on, its `downgrade()` the one down every emitter uses,
|
|
99
107
|
`ferro_migrate::plan_down`, run from the models back to the live
|
|
100
108
|
database and scoped to the artifacts the upgrade touched (ADR-0050; a
|
|
101
109
|
check or policy put back with the body the catalog printed through
|
|
@@ -106,11 +114,11 @@ For a single model, every emitter must agree on:
|
|
|
106
114
|
`op.execute(sa.DDL(...))` of the pass's statement, byte for byte, where
|
|
107
115
|
it does not. The per-family comparators, their slot registrations and
|
|
108
116
|
the `_plan_check_*` FFI are gone (#533).
|
|
109
|
-
The families, each one decision consumed by every
|
|
117
|
+
The families, each one decision consumed by every emitter:
|
|
110
118
|
- **Enum labels** — `missing_enum_labels` / `extra_enum_labels` +
|
|
111
119
|
`render_pg_enum_add_value` (ADR-0011: append-only, update-gated; an
|
|
112
120
|
extra live label is a warning on a live database, and between two
|
|
113
|
-
declared snapshots the
|
|
121
|
+
declared snapshots the generator's removal, #536). A label
|
|
114
122
|
rename hint is `render_pg_enum_rename_value` (`render_label_update`
|
|
115
123
|
on SQLite, in a migration only; the pass warns there, ADR-0047); an
|
|
116
124
|
enum class rename `render_pg_enum_rename_type`.
|
|
@@ -118,10 +126,14 @@ For a single model, every emitter must agree on:
|
|
|
118
126
|
`render_check_addition`), rebuilds (`drifted_check_names` /
|
|
119
127
|
`render_check_rebuild`) and leftovers (`extra_check_names` /
|
|
120
128
|
`extra_check_names_warning` / `render_check_drop`) (ADR-0013..0015).
|
|
121
|
-
|
|
122
|
-
rendering
|
|
123
|
-
|
|
124
|
-
`
|
|
129
|
+
On Postgres a body is compared as a **printed pair** (ADR-0060): the
|
|
130
|
+
declared rendering and the catalog's reprint pass through one
|
|
131
|
+
read-only `EXPLAIN (VERBOSE, FORMAT JSON)` per compared table
|
|
132
|
+
(`printed_pair_checks`, `PrintedPair`), and equal prints are no
|
|
133
|
+
drift. On SQLite, which stores the body as written, the normalizer
|
|
134
|
+
`normalize_check_definition` compares the canonical rendering with
|
|
135
|
+
the stored text. Row-policy drift keeps its own normalizer
|
|
136
|
+
(`normalize_row_policy_expr`).
|
|
125
137
|
- **Row security** — the policy name, shorthand cast, rendered
|
|
126
138
|
expression and `ENABLE` / `FORCE` / `CREATE POLICY` statements
|
|
127
139
|
(`row_policy_name`, `is_ferro_row_policy_name`,
|
|
@@ -138,7 +150,7 @@ For a single model, every emitter must agree on:
|
|
|
138
150
|
name, the cast and the command table over FFI
|
|
139
151
|
(`_core._ddl_row_policy_name`, `_core._rls_shorthand_cast`,
|
|
140
152
|
`_core._rls_command_matrix`). A foreign policy and an unverifiable raw
|
|
141
|
-
body never become an op on any
|
|
153
|
+
body never become an op on any emitter (ADR-0019). Postgres-only; SQLite
|
|
142
154
|
gets one warning per table and no DDL (ADR-0014).
|
|
143
155
|
- **Enum types** — a type the change introduces is always the pass's
|
|
144
156
|
guarded `CREATE TYPE` (`render_pg_enum_create_type`) ahead of every
|
|
@@ -147,8 +159,130 @@ For a single model, every emitter must agree on:
|
|
|
147
159
|
(`ferro.migrations.render_item`). This supersedes in part the
|
|
148
160
|
inline-vs-statement provenance of ADR-0020..0022 (ADR-0041).
|
|
149
161
|
Postgres-only (SQLite enums store as text).
|
|
150
|
-
|
|
151
|
-
|
|
162
|
+
- **Generated expressions** — take
|
|
163
|
+
`direction: int = Field(generated=lambda ledger: fn.sign(ledger.amount_minor))`.
|
|
164
|
+
Every emitter writes the column as
|
|
165
|
+
`GENERATED ALWAYS AS (CAST(sign(CAST("amount_minor" AS bigint)) AS bigint)) STORED`
|
|
166
|
+
on Postgres and `GENERATED ALWAYS AS (sign("amount_minor")) STORED
|
|
167
|
+
CONSTRAINT "_ferro_range_direction" CHECK (typeof("direction") IN
|
|
168
|
+
('integer', 'null') AND "direction" BETWEEN -2147483648 AND
|
|
169
|
+
2147483647)` on SQLite, never with a `DEFAULT`. The body is lowered
|
|
170
|
+
once (`render_value_expr` over the closed function table
|
|
171
|
+
`value_function`, which `_core._value_function_table` hands `ferro.fn`;
|
|
172
|
+
the clause is `render_generated_clause`) at the type
|
|
173
|
+
`type_value_expr` gives it, the type SQLite computes it at: on
|
|
174
|
+
Postgres an integer value computes at 64 bits and a float one as a
|
|
175
|
+
`double precision`, each operand or call Postgres would type
|
|
176
|
+
otherwise (a `smallint` or `integer` column, `sign`, `length`, a
|
|
177
|
+
date part, a literal) cast to that type. Its ops and their verdicts: added with the
|
|
178
|
+
column (`AddColumn`, native on Postgres, a rebuild on SQLite, no
|
|
179
|
+
backfill), a changed expression (`AlterGeneratedExpression`,
|
|
180
|
+
`render_set_generated_expression`, can fail on rows), generated to
|
|
181
|
+
plain (`DropGeneratedExpression`, `render_drop_generated_expression`,
|
|
182
|
+
values kept, `migrate_updates`) and an input rename (the rename
|
|
183
|
+
alone). Three changes drop the column and add it back, each op's
|
|
184
|
+
verdict naming why in `OpVerdict.replaces`: plain to generated
|
|
185
|
+
(`Replace::MadeGenerated`, destructive; without `migrate_destructive`
|
|
186
|
+
the pass reports `PlainColumnKept`), an input's type change
|
|
187
|
+
(`Replace::InputType`) and its own type change (`Replace::OwnType`),
|
|
188
|
+
both of which Postgres refuses to alter under an expression. A row
|
|
189
|
+
policy or table check that reads the column is carried around the
|
|
190
|
+
pair. A carried artifact is one taken down and put back around
|
|
191
|
+
another change, its ops marked `OpVerdict.carried` with whether it
|
|
192
|
+
comes back as it was: `unchanged` is no difference on any emitter, while
|
|
193
|
+
`changed` (`ck_transaction_nonzero check body differs`) and
|
|
194
|
+
`not_compared` (a live check over a column whose type changes, which
|
|
195
|
+
Postgres cannot print against the old type) are differences drift
|
|
196
|
+
reports. A type change no emitter runs (`emit::withheld_alter`: a
|
|
197
|
+
primary-key column, an enum type move, a refused scalar conversion)
|
|
198
|
+
carries nothing and replaces nothing. The column keeps its live type,
|
|
199
|
+
so every check, generated column and policy that reads it is held:
|
|
200
|
+
one set per table (`ferro_migrate::held_of`), read by every path. A
|
|
201
|
+
held artifact gets no printed pair and is never taken down, put
|
|
202
|
+
back, added, rebuilt or set, even when it also reads a column whose
|
|
203
|
+
change does run. A change that would take one down (a replaced
|
|
204
|
+
generated column it reads, or an alter Postgres refuses under its
|
|
205
|
+
expression or policy) is refused with
|
|
206
|
+
`Refusal::HeldByWithheldAlter`, naming the withheld change's fix.
|
|
207
|
+
The alter's verdict lists the set in `OpVerdict.held` with that fix:
|
|
208
|
+
`code: int` keyed under `code > 0`, redeclared `code: str` under
|
|
209
|
+
`fn.length(code) > 0`, runs no DDL and reports the primary-key
|
|
210
|
+
recipe, and drift prints `ticket.code has type int, snapshot says
|
|
211
|
+
varchar` then `ck_ticket_coded check not compared while its column's
|
|
212
|
+
type change is withheld; resolve the type change of "code" first:
|
|
213
|
+
…`. A row policy the plan
|
|
214
|
+
cannot carry (a raw body it may not rewrite, ADR-0019) refuses the
|
|
215
|
+
drop with `Refusal::PolicyReadsReplacedColumn`, naming the
|
|
216
|
+
`DROP POLICY` recipe. Drift is a printed pair on Postgres
|
|
217
|
+
(`printed_pair_column`; a live `VIRTUAL` column or a plain one where
|
|
218
|
+
the model declares generated differs) and Ferro's rendering against
|
|
219
|
+
the stored text, whitespace folded, on SQLite. The bridge writes an
|
|
220
|
+
added column as `sa.Computed(<expr>, persisted=True)` and the other
|
|
221
|
+
ops as `op.execute` of the pass's statement; `get_metadata()` gives a
|
|
222
|
+
SQLite column its guard as a column `CheckConstraint`
|
|
223
|
+
(`_core._render_sqlite_generated_guard`), so `create_all` builds the
|
|
224
|
+
pass's table.
|
|
225
|
+
The SQLite guard `_ferro_range_<col>` (`sqlite_generated_guard`)
|
|
226
|
+
is written inside the column definition and compared with it: never
|
|
227
|
+
a `ck_*` check and never in `__ferro_checks__`. Postgres raises where
|
|
228
|
+
a value does not fit; SQLite would store a `real` or `inf`. So the
|
|
229
|
+
guard holds a `smallint` or `integer` column to its Postgres range
|
|
230
|
+
and a `bigint` one to staying an integer, and every operation under
|
|
231
|
+
the column that can fail on a value is checked on SQLite the way
|
|
232
|
+
Postgres evaluates it (a `coalesce` fallback only when the earlier
|
|
233
|
+
arguments are null): an integer result must still be an integer, a
|
|
234
|
+
float one finite unless an operand already was infinite. Where an
|
|
235
|
+
integer meets a float in a call with a float signature
|
|
236
|
+
(`fn.greatest(a, 0.5)`) or in a check comparison with a value
|
|
237
|
+
expression on either side (`a + 0 != x`), Postgres computes at
|
|
238
|
+
`double precision`, so SQLite renders the integer
|
|
239
|
+
`CAST(<operand> AS real)` (`sqlite_computes_as_double`; an integer
|
|
240
|
+
literal within ±2**53 stays bare). A plain comparison
|
|
241
|
+
(`qty < price`) is outside value parity and renders as it always
|
|
242
|
+
has. Each `ValueFunction` carries the two facts the guard reads,
|
|
243
|
+
`overflows_on_integer` (`abs`) and `skips_after_non_null`
|
|
244
|
+
(`coalesce`), so a function added to the table joins with its
|
|
245
|
+
renderings, both facts and a case in `tests/test_value_parity.py`. A
|
|
246
|
+
`double precision` column gets no storage term, since
|
|
247
|
+
Postgres stores the `inf` an input carried. `total: int = a + b`
|
|
248
|
+
carries only the storage term; Postgres needs no guard, since it
|
|
249
|
+
computes at 64 bits and its column type holds the range.
|
|
250
|
+
- **Value parity** — a value expression (a generated column's body, or
|
|
251
|
+
either side of a check's comparison that calls `fn`) is admitted only
|
|
252
|
+
when SQLite and Postgres store the same value for it on every row,
|
|
253
|
+
and fail on the same rows, decided once when the model is defined
|
|
254
|
+
(ADR-0059). Two functions decide it, and every emitter reads them:
|
|
255
|
+
`ferro_ddl_lowering::type_value_expr` types each node (family and
|
|
256
|
+
nullability, from the columns, `literal_type` and the signatures in
|
|
257
|
+
`VALUE_FUNCTIONS`) and refuses what would store differently, read by
|
|
258
|
+
the class definition over FFI (`_core._value_expr_type`), the
|
|
259
|
+
Postgres renderer and the SQLite guard; `value_step_can_fail` names
|
|
260
|
+
the one operation that can fail on a value (an integer or float `+`,
|
|
261
|
+
`-` or `*`, a `/ -1`, an integer unary `-`, `abs` of an integer),
|
|
262
|
+
read by the SQLite guard, the check body, the refusal of such an
|
|
263
|
+
operation under an `OR` (`_core._value_expr_failing_step`) and the
|
|
264
|
+
error mapping that turns the overflow into a `DataError` naming the
|
|
265
|
+
column or check (`table_check_computes`). The refusals: the
|
|
266
|
+
expression's type family matches the column's; `least` / `greatest`
|
|
267
|
+
take numbers or dates and no nullable operand; `year` / `month` /
|
|
268
|
+
`day` take a `date`; `/` only by a non-zero literal; no float `*` or
|
|
269
|
+
`/` and no Decimal arithmetic; no integer literal past 64 bits; no
|
|
270
|
+
bounded text storage, which Postgres pads or trims and SQLite does
|
|
271
|
+
not; no
|
|
272
|
+
other generated column, retired column, relation or closed-over
|
|
273
|
+
variable. A check's SQLite body guards each comparison with a failing
|
|
274
|
+
operation (`render_check_predicate`): `lambda box: box.a * box.b > 0`
|
|
275
|
+
is
|
|
276
|
+
`CASE WHEN NOT (typeof(("a" * "b")) IN ('integer', 'null')) THEN
|
|
277
|
+
abs(-9223372036854775807 - 1) ELSE (("a" * "b") > 0) END`, whose
|
|
278
|
+
`abs` raises SQLite's own `integer overflow` where Postgres raises, so
|
|
279
|
+
`NOT` cannot invert it and a conjunct both databases skip computes
|
|
280
|
+
nothing; the Postgres body carries no terms. A function joins `fn`
|
|
281
|
+
only with its rendering per dialect and a row in
|
|
282
|
+
`tests/test_value_parity.py`, which runs it on both dialects; a
|
|
283
|
+
divergence is refused, never documented.
|
|
284
|
+
|
|
285
|
+
Every artifact above reaches every emitter through the one planner,
|
|
152
286
|
`ferro_migrate::plan_from_ir` (`_core._plan_from_ir` over FFI): its
|
|
153
287
|
per-family deciders are private to it and pinned through it, never as a
|
|
154
288
|
second entry point; `_core._plan_enum_type_provenance` remains as a
|
|
@@ -157,9 +291,9 @@ For a single model, every emitter must agree on:
|
|
|
157
291
|
|
|
158
292
|
### The nine pins
|
|
159
293
|
|
|
160
|
-
`tests/test_cross_emitter_parity.py` pins the
|
|
294
|
+
`tests/test_cross_emitter_parity.py` pins the generator, the bridge and
|
|
161
295
|
the pass itself against the one planner over every casebook change
|
|
162
|
-
(`tests/_casebook.py`, cases A–
|
|
296
|
+
(`tests/_casebook.py`, cases A–G, built from the generator tests' own models)
|
|
163
297
|
on both dialects:
|
|
164
298
|
|
|
165
299
|
- **(a)** the statements of the generated DDL steps, headers stripped and the
|
|
@@ -177,9 +311,10 @@ on both dialects:
|
|
|
177
311
|
pass's, through the one renderer;
|
|
178
312
|
- **(e)** a database taken through the migration chain shows no drift, has
|
|
179
313
|
the same live schema (facts included) as one `connect(auto_migrate=True)`
|
|
180
|
-
built from the same models,
|
|
314
|
+
built from the same models, the same server default on every column
|
|
181
315
|
(no backfill `DEFAULT` left behind, and a renamed table's serial sequence
|
|
182
|
-
under the name a fresh table gives it)
|
|
316
|
+
under the name a fresh table gives it) and the same expression on every
|
|
317
|
+
generated column (`generation_expressions`), and Alembic autogenerate against
|
|
183
318
|
the auto-migrated one is empty (against the migrated one it refuses: a
|
|
184
319
|
tracked database is `ferro migrate new`'s);
|
|
185
320
|
- **(f)** the bridge's revision runs the pass's DDL for every planner op:
|
|
@@ -200,8 +335,9 @@ on both dialects:
|
|
|
200
335
|
`0001` and `0002` and then inherited by `ferro migrate up` against the squashed
|
|
201
336
|
directory (it runs no statement) has the same live schema as one that ran
|
|
202
337
|
the squashed `0001` from empty, reading every fact pin (e) reads (columns,
|
|
203
|
-
types, nullability, indexes, constraints, policies,
|
|
204
|
-
of every column, `column_defaults
|
|
338
|
+
types, nullability, indexes, constraints, policies, the server default
|
|
339
|
+
of every column, `column_defaults`, and the expression of every generated
|
|
340
|
+
column, `generation_expressions`), the same `_ferro_migrations` rows bar
|
|
205
341
|
origin, `ferro_version` and times, no drift on either, and
|
|
206
342
|
`ferro migrate down --all` leaves both with no table of the models and no
|
|
207
343
|
record.
|
|
@@ -220,7 +356,7 @@ xfail removes it.
|
|
|
220
356
|
|
|
221
357
|
### Why this invariant exists
|
|
222
358
|
|
|
223
|
-
A user can adopt any migration strategy or switch between them. If two
|
|
359
|
+
A user can adopt any migration strategy or switch between them. If two strategies
|
|
224
360
|
disagree on _any_ schema artifact, the second one sees phantom diffs: running
|
|
225
361
|
`alembic revision --autogenerate` or `ferro migrate drift` against a database
|
|
226
362
|
that `connect(auto_migrate=True)` bootstrapped proposes a drop + create of an
|
|
@@ -231,7 +367,7 @@ Phantom diffs are the canonical symptom that this invariant has been broken.
|
|
|
231
367
|
|
|
232
368
|
### How this invariant is enforced
|
|
233
369
|
|
|
234
|
-
- One planner, one renderer: every
|
|
370
|
+
- One planner, one renderer: every emitter plans with
|
|
235
371
|
`ferro_migrate::plan_from_ir` and renders with `Plan::render`; every
|
|
236
372
|
decision lives in one `ferro_ddl_lowering` function, consumed over FFI by
|
|
237
373
|
the Python side.
|
|
@@ -252,7 +388,7 @@ Phantom diffs are the canonical symptom that this invariant has been broken.
|
|
|
252
388
|
`update` in both forms, `delete`, through `Relation` and `ProjectedQuery`
|
|
253
389
|
too) on both dialects, with a secret column, `await query.<terminal>.sql()`
|
|
254
390
|
equals the `ferro.sql` record the executed call writes in `sql`, `params`
|
|
255
|
-
(the `REDACTED` sentinel included) and `dialect`. Both
|
|
391
|
+
(the `REDACTED` sentinel included) and `dialect`. Both paths build the
|
|
256
392
|
statement through one `build_<terminal>` function in `src/operations.rs`,
|
|
257
393
|
which the executing entry sends and its `render_<terminal>` twin returns.
|
|
258
394
|
|
|
@@ -265,8 +401,8 @@ If you add a new emitter (e.g. `ferro schema dump`):
|
|
|
265
401
|
helpers — these are the source of truth. Never a second renderer.
|
|
266
402
|
2. Add a pin to `tests/test_cross_emitter_parity.py` that compares your
|
|
267
403
|
emitter's output with `_core._plan_from_ir(..., render=True)` for every
|
|
268
|
-
casebook case on both dialects, the way pin (a) does for the
|
|
269
|
-
|
|
404
|
+
casebook case on both dialects, the way pin (a) does for the
|
|
405
|
+
generator; at least single-column index, composite index, single-column
|
|
270
406
|
unique, composite unique and foreign key with shadow column must be
|
|
271
407
|
among them.
|
|
272
408
|
3. Update this AGENTS.md entry with the new emitter in the bulleted list above.
|
|
@@ -278,7 +414,7 @@ If you add a new schema feature (e.g. partial indexes, exclusion constraints):
|
|
|
278
414
|
1. Pick the canonical name format and document it in this file under the
|
|
279
415
|
numbered list above.
|
|
280
416
|
2. Decide it in one `ferro_ddl_lowering` function, plan it as a
|
|
281
|
-
`MigrationOp` and render it in `Plan::render`, so every
|
|
417
|
+
`MigrationOp` and render it in `Plan::render`, so every emitter gets it in the
|
|
282
418
|
same PR; give the bridge's `translate.py` its op (Alembic's own, or the
|
|
283
419
|
pass's statement).
|
|
284
420
|
3. Add a casebook case (`tests/_casebook.py`) so pins (a)–(i) cover it, and a
|
|
@@ -378,7 +514,7 @@ What this means in practice:
|
|
|
378
514
|
Shipping a half-working version of something that is *in* scope is not.
|
|
379
515
|
- **Every refusal names its fix.** A refusal tells the reader what to do
|
|
380
516
|
next: the command, the line or the recipe. This binds every refusal text
|
|
381
|
-
the migration
|
|
517
|
+
the migration strategies print: the primary-key recipe, the SQLite rebuild
|
|
382
518
|
refusals (an undeclared object, a type SQLite cannot check), the
|
|
383
519
|
tracked-database refusal of `connect(auto_migrate=True)` and of Alembic
|
|
384
520
|
autogenerate, and the edited-file refusals (`ferro migrate rerecord`,
|
|
@@ -558,13 +694,13 @@ can skip the cursor row.
|
|
|
558
694
|
Query and `update()` literals for `datetime`, `date`, `time`, UUID, and
|
|
559
695
|
Decimal canonicalize through one function (`canonicalize_wire_scalar`) whose
|
|
560
696
|
output for a given value is pinned against `save_bind_payload`. `save()`
|
|
561
|
-
remains instance `model_dump` (field serializers stay on that
|
|
697
|
+
remains instance `model_dump` (field serializers stay on that path). A
|
|
562
698
|
second datetime/UUID/Decimal cascade — including `datetime.isoformat()` or a
|
|
563
699
|
“mirrors save_bind_payload” comment — is an I-13 violation. Enums on the
|
|
564
700
|
query wire are out of scope for this invariant.
|
|
565
701
|
|
|
566
702
|
A `SecretStr` / `SecretBytes` is unwrapped first, through `unwrap_secret`,
|
|
567
|
-
on every
|
|
703
|
+
on every path: `save()` binds the real value, a query or `update()` literal
|
|
568
704
|
binds the same value, and the display mask `**********` never becomes a
|
|
569
705
|
bind, a schema default or a hydrated value (#760; review I-38 in #786). A
|
|
570
706
|
second unwrap, a JSON dump of a secret column or a `SecretBytes` column
|
|
@@ -657,7 +793,7 @@ print(await User.where(lambda user: user.token == "sk_live").all.sql())
|
|
|
657
793
|
# SELECT ... WHERE "user"."token" = $1 params=(***,)
|
|
658
794
|
```
|
|
659
795
|
|
|
660
|
-
Two
|
|
796
|
+
Two surfaces, one statement, the same stars. A statement the user can see, a
|
|
661
797
|
`ferro.sql` record or a terminal's `RenderedSql`, is built from one
|
|
662
798
|
presentation: the `sql`, the `params` after one `masked_params` in
|
|
663
799
|
`ferro._sql_log`, and the `dialect`. The engine decides which positions are
|
|
@@ -672,7 +808,7 @@ leaves the second statement with an empty set and a secret in the log, with
|
|
|
672
808
|
no error (#774 F13).
|
|
673
809
|
|
|
674
810
|
A second `(params, mask)` to `REDACTED` zip, or a secret-value iterable a
|
|
675
|
-
second statement can exhaust, is an I-15 violation. A new
|
|
811
|
+
second statement can exhaust, is an I-15 violation. A new surface (an instance
|
|
676
812
|
`save().sql()`, a docs capture, a structured handler) calls `masked_params`
|
|
677
813
|
and passes the collector. Review I-37 in #786.
|
|
678
814
|
|
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v0.27.0 (2026-10-30)
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
- A refused Postgres connection fails at once; dev builds run tests at release speed; drop six
|
|
9
|
+
duplicate tests ([#823](https://github.com/syn54x/ferro-orm/pull/823),
|
|
10
|
+
[`58583d8`](https://github.com/syn54x/ferro-orm/commit/58583d82289e627d4f67e1a06a57ee5a532b5d8f))
|
|
11
|
+
|
|
12
|
+
### Continuous Integration
|
|
13
|
+
|
|
14
|
+
- Cache compiled Rust crates with sccache ([#808](https://github.com/syn54x/ferro-orm/pull/808),
|
|
15
|
+
[`8de5e95`](https://github.com/syn54x/ferro-orm/commit/8de5e9521f0728bacac7849d5d01ddace24ac79f))
|
|
16
|
+
|
|
17
|
+
- Fail the main test job when the Codecov upload is rejected
|
|
18
|
+
([#802](https://github.com/syn54x/ferro-orm/pull/802),
|
|
19
|
+
[`fde5d9b`](https://github.com/syn54x/ferro-orm/commit/fde5d9bbe24c5d65b37c137b29317f3b554e71e0))
|
|
20
|
+
|
|
21
|
+
- One dependency cache per Python version, named in the shared key
|
|
22
|
+
([#809](https://github.com/syn54x/ferro-orm/pull/809),
|
|
23
|
+
[`81c5c18`](https://github.com/syn54x/ferro-orm/commit/81c5c18825262d33409fb02231722f3a1f41cf69))
|
|
24
|
+
|
|
25
|
+
- Pass the repository secrets to the release's CI gate
|
|
26
|
+
([`90dd4ba`](https://github.com/syn54x/ferro-orm/commit/90dd4baaa5dd6a0266946640a0c7e413bd826408))
|
|
27
|
+
|
|
28
|
+
- Run the test suites in parallel and the docs tests once
|
|
29
|
+
([#803](https://github.com/syn54x/ferro-orm/pull/803),
|
|
30
|
+
[`190d325`](https://github.com/syn54x/ferro-orm/commit/190d325566cebb0849e9429ab3c4211f149669b5))
|
|
31
|
+
|
|
32
|
+
- Upload coverage to Codecov with the org token
|
|
33
|
+
([#799](https://github.com/syn54x/ferro-orm/pull/799),
|
|
34
|
+
[`29b88d3`](https://github.com/syn54x/ferro-orm/commit/29b88d3520e3b07c9e85c5e5918ea4639a34c45a))
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
- Generated columns, a field the database computes, through every migration door (#790)
|
|
39
|
+
([#814](https://github.com/syn54x/ferro-orm/pull/814),
|
|
40
|
+
[`f6dfcb6`](https://github.com/syn54x/ferro-orm/commit/f6dfcb68a0beb10b3f720b9acc170b586c66be0f))
|
|
41
|
+
|
|
42
|
+
### Refactoring
|
|
43
|
+
|
|
44
|
+
- Say migration strategy and emitter where the code and docs said door
|
|
45
|
+
([#824](https://github.com/syn54x/ferro-orm/pull/824),
|
|
46
|
+
[`55ba42a`](https://github.com/syn54x/ferro-orm/commit/55ba42ac85ba57d77ab51b20bb8dd0609cac06d9))
|
|
47
|
+
|
|
48
|
+
|
|
4
49
|
## v0.26.1 (2026-10-26)
|
|
5
50
|
|
|
6
51
|
### Bug Fixes
|
|
@@ -248,7 +248,7 @@ A maintainer merges the pull request once it is approved.
|
|
|
248
248
|
- **Never edit `CHANGELOG.md` (I-10).** The release workflow writes it from your conventional commit messages, so describe the change in the pull request title and body instead.
|
|
249
249
|
- **Docs show both field styles (I-7).** An example that declares fields with `Field()` appears twice, as an Assignment tab and an Annotated tab, each backed by a runnable script in `docs/examples/`.
|
|
250
250
|
- **Docs queries use lambda predicates (I-8).** Name the lambda parameter after the model in lowercase singular: `User.where(lambda user: user.age >= 18)`.
|
|
251
|
-
- **Every migration
|
|
251
|
+
- **Every migration strategy produces the same DDL (I-1).** A schema change goes through the one planner, so `connect(auto_migrate=True)`, `ferro migrate new` and the Alembic bridge emit the same statements.
|
|
252
252
|
- **No `unwrap()` across the FFI boundary (I-3).** A PyO3 function returns a `PyResult` instead of panicking.
|
|
253
253
|
|
|
254
254
|
## Release process
|