ferro-orm 0.27.0__tar.gz → 0.28.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.
Files changed (1051) hide show
  1. ferro_orm-0.28.0/.github/workflows/release.yml +394 -0
  2. ferro_orm-0.28.0/AGENTS.md +1072 -0
  3. ferro_orm-0.28.0/CHANGELOG.md +1921 -0
  4. ferro_orm-0.28.0/Cargo.lock +2339 -0
  5. ferro_orm-0.28.0/Cargo.toml +58 -0
  6. ferro_orm-0.28.0/GLOSSARY.md +500 -0
  7. ferro_orm-0.28.0/PKG-INFO +95 -0
  8. ferro_orm-0.28.0/crates/ferro-ddl-lowering/src/lib.rs +9021 -0
  9. ferro_orm-0.28.0/crates/ferro-migrate/src/directory.rs +2487 -0
  10. ferro_orm-0.28.0/crates/ferro-migrate/src/emit.rs +1014 -0
  11. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/backfill.rs +1395 -0
  12. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/compose.rs +1607 -0
  13. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/mod.rs +4854 -0
  14. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/rebuild.rs +1152 -0
  15. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/renames.rs +90 -0
  16. ferro_orm-0.28.0/crates/ferro-migrate/src/plan.rs +6636 -0
  17. ferro_orm-0.28.0/crates/ferro-migrate/src/revision.rs +766 -0
  18. ferro_orm-0.28.0/crates/ferro-migrate/src/revision_tests.rs +772 -0
  19. ferro_orm-0.28.0/crates/ferro-migrate/src/run_plan/step_class.rs +1590 -0
  20. ferro_orm-0.28.0/crates/ferro-migrate/src/run_plan.rs +6821 -0
  21. ferro_orm-0.28.0/crates/ferro-migrate/src/tests.rs +8579 -0
  22. ferro_orm-0.28.0/crates/ferro-schema-ir/src/lib.rs +2173 -0
  23. ferro_orm-0.28.0/docs/adr/0002-unified-column-fact-derivation.md +85 -0
  24. ferro_orm-0.28.0/docs/adr/0003-path-blind-db-type-validation.md +49 -0
  25. ferro_orm-0.28.0/docs/adr/0007-materialization-plan-complete-instances.md +55 -0
  26. ferro_orm-0.28.0/docs/adr/0008-populated-relations-include.md +76 -0
  27. ferro_orm-0.28.0/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +42 -0
  28. ferro_orm-0.28.0/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +37 -0
  29. ferro_orm-0.28.0/docs/adr/0061-a-fields-database-options-live-in-its-metadata.md +34 -0
  30. ferro_orm-0.28.0/docs/adr/0062-a-relations-name-never-reaches-the-schema.md +41 -0
  31. ferro_orm-0.28.0/docs/adr/0063-an-instance-is-complete-or-unloaded.md +39 -0
  32. ferro_orm-0.28.0/docs/adr/0064-a-refusals-fix-is-a-list-of-edits.md +41 -0
  33. ferro_orm-0.28.0/docs/agents/domain.md +51 -0
  34. ferro_orm-0.28.0/docs/examples/_ledger_seed.py +109 -0
  35. ferro_orm-0.28.0/docs/examples/_preludes/connections.py +37 -0
  36. ferro_orm-0.28.0/docs/examples/_preludes/reference.py +51 -0
  37. ferro_orm-0.28.0/docs/examples/_preludes/upgrade.py +68 -0
  38. ferro_orm-0.28.0/docs/examples/aggregations.py +330 -0
  39. ferro_orm-0.28.0/docs/examples/aggregations_annotated.py +331 -0
  40. ferro_orm-0.28.0/docs/examples/faq.py +53 -0
  41. ferro_orm-0.28.0/docs/examples/faq_annotated.py +54 -0
  42. ferro_orm-0.28.0/docs/examples/from_sqlalchemy.py +108 -0
  43. ferro_orm-0.28.0/docs/examples/from_sqlalchemy_annotated.py +109 -0
  44. ferro_orm-0.28.0/docs/examples/inspecting_sql.py +112 -0
  45. ferro_orm-0.28.0/docs/examples/inspecting_sql_annotated.py +113 -0
  46. ferro_orm-0.28.0/docs/examples/loaded_relations.py +183 -0
  47. ferro_orm-0.28.0/docs/examples/migrations_rename_join_table.py +78 -0
  48. ferro_orm-0.28.0/docs/examples/migrations_rename_join_table_annotated.py +79 -0
  49. ferro_orm-0.28.0/docs/examples/models_and_fields.py +282 -0
  50. ferro_orm-0.28.0/docs/examples/models_and_fields_annotated.py +285 -0
  51. ferro_orm-0.28.0/docs/examples/predicates.py +382 -0
  52. ferro_orm-0.28.0/docs/examples/predicates_annotated.py +383 -0
  53. ferro_orm-0.28.0/docs/examples/quickstart.py +135 -0
  54. ferro_orm-0.28.0/docs/examples/quickstart_annotated.py +136 -0
  55. ferro_orm-0.28.0/docs/examples/relationships.py +272 -0
  56. ferro_orm-0.28.0/docs/examples/relationships_annotated.py +274 -0
  57. ferro_orm-0.28.0/docs/examples/testing_models.py +49 -0
  58. ferro_orm-0.28.0/docs/examples/testing_models_annotated.py +50 -0
  59. ferro_orm-0.28.0/docs/examples/traversal.py +325 -0
  60. ferro_orm-0.28.0/docs/examples/upgrade_foreign_keys.py +117 -0
  61. ferro_orm-0.28.0/docs/examples/upgrade_foreign_keys_annotated.py +118 -0
  62. ferro_orm-0.28.0/docs/pages/api/exceptions.md +116 -0
  63. ferro_orm-0.28.0/docs/pages/api/queries.md +90 -0
  64. ferro_orm-0.28.0/docs/pages/api/relationships.md +17 -0
  65. ferro_orm-0.28.0/docs/pages/concepts/identity-map.md +224 -0
  66. ferro_orm-0.28.0/docs/pages/concepts/performance.md +162 -0
  67. ferro_orm-0.28.0/docs/pages/concepts/query-typing.md +152 -0
  68. ferro_orm-0.28.0/docs/pages/faq.md +152 -0
  69. ferro_orm-0.28.0/docs/pages/getting-started/quickstart.md +153 -0
  70. ferro_orm-0.28.0/docs/pages/guide/connections.md +376 -0
  71. ferro_orm-0.28.0/docs/pages/guide/inspecting-sql.md +175 -0
  72. ferro_orm-0.28.0/docs/pages/guide/models-and-fields.md +614 -0
  73. ferro_orm-0.28.0/docs/pages/guide/queries.md +1856 -0
  74. ferro_orm-0.28.0/docs/pages/guide/raw-sql.md +173 -0
  75. ferro_orm-0.28.0/docs/pages/guide/relationships.md +686 -0
  76. ferro_orm-0.28.0/docs/pages/guide/schema/auto-migrate.md +242 -0
  77. ferro_orm-0.28.0/docs/pages/guide/schema/data-steps.md +347 -0
  78. ferro_orm-0.28.0/docs/pages/guide/schema/migrations.md +437 -0
  79. ferro_orm-0.28.0/docs/pages/guide/schema/renames-and-retirements.md +219 -0
  80. ferro_orm-0.28.0/docs/pages/howto/migrate-from-sqlalchemy.md +234 -0
  81. ferro_orm-0.28.0/docs/pages/howto/testing.md +170 -0
  82. ferro_orm-0.28.0/docs/pages/reference/migrations.md +161 -0
  83. ferro_orm-0.28.0/docs/pages/roadmap.md +117 -0
  84. ferro_orm-0.28.0/docs/pages/upgrading.md +1172 -0
  85. ferro_orm-0.28.0/docs/pages/why-ferro.md +90 -0
  86. ferro_orm-0.28.0/docs/solutions/issues/docs-block-declaring-a-model.md +58 -0
  87. ferro_orm-0.28.0/docs/solutions/issues/nested-serialization-skips-model-dump.md +44 -0
  88. ferro_orm-0.28.0/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +33 -0
  89. ferro_orm-0.28.0/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +72 -0
  90. ferro_orm-0.28.0/docs/solutions/issues/reference-prelude-holds-its-rows.md +50 -0
  91. ferro_orm-0.28.0/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +81 -0
  92. ferro_orm-0.28.0/docs/solutions/patterns/configurable-column-storage-types.md +193 -0
  93. ferro_orm-0.28.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +168 -0
  94. ferro_orm-0.28.0/docs/solutions/patterns/docs-page-conventions.md +361 -0
  95. ferro_orm-0.28.0/docs/solutions/patterns/foreign-key-columns.md +87 -0
  96. ferro_orm-0.28.0/docs/solutions/patterns/foreign-key-index.md +60 -0
  97. ferro_orm-0.28.0/docs/solutions/patterns/index-unique-redundancy.md +60 -0
  98. ferro_orm-0.28.0/docs/solutions/patterns/ir-invariants.md +184 -0
  99. ferro_orm-0.28.0/docs/solutions/patterns/refusal-fixes.md +91 -0
  100. ferro_orm-0.28.0/docs/solutions/patterns/typed-null-binds.md +223 -0
  101. ferro_orm-0.28.0/docs/solutions/patterns/wire-scalar-canonicalization.md +71 -0
  102. ferro_orm-0.28.0/pyproject.toml +158 -0
  103. ferro_orm-0.28.0/scripts/demo_queries.py +276 -0
  104. ferro_orm-0.28.0/scripts/demo_queries_pre_v012.py +251 -0
  105. ferro_orm-0.28.0/src/backend.rs +1943 -0
  106. ferro_orm-0.28.0/src/codec.rs +502 -0
  107. ferro_orm-0.28.0/src/connection.rs +928 -0
  108. ferro_orm-0.28.0/src/errors.rs +1523 -0
  109. ferro_orm-0.28.0/src/ferro/__init__.py +673 -0
  110. ferro_orm-0.28.0/src/ferro/_annotation_eval.py +33 -0
  111. ferro_orm-0.28.0/src/ferro/_annotation_utils.py +298 -0
  112. ferro_orm-0.28.0/src/ferro/_bind_payload.py +454 -0
  113. ferro_orm-0.28.0/src/ferro/_core.pyi +984 -0
  114. ferro_orm-0.28.0/src/ferro/_unloaded.py +108 -0
  115. ferro_orm-0.28.0/src/ferro/base.py +386 -0
  116. ferro_orm-0.28.0/src/ferro/checks.py +809 -0
  117. ferro_orm-0.28.0/src/ferro/columns.py +904 -0
  118. ferro_orm-0.28.0/src/ferro/exceptions.py +215 -0
  119. ferro_orm-0.28.0/src/ferro/fields.py +1210 -0
  120. ferro_orm-0.28.0/src/ferro/generated.py +376 -0
  121. ferro_orm-0.28.0/src/ferro/ir/compiler.py +756 -0
  122. ferro_orm-0.28.0/src/ferro/metaclass.py +889 -0
  123. ferro_orm-0.28.0/src/ferro/migrations/alembic.py +873 -0
  124. ferro_orm-0.28.0/src/ferro/migrations/generate.py +1329 -0
  125. ferro_orm-0.28.0/src/ferro/models.py +1407 -0
  126. ferro_orm-0.28.0/src/ferro/query/builder.py +2286 -0
  127. ferro_orm-0.28.0/src/ferro/query/nodes.py +1810 -0
  128. ferro_orm-0.28.0/src/ferro/query/wire.py +1294 -0
  129. ferro_orm-0.28.0/src/ferro/raw.py +322 -0
  130. ferro_orm-0.28.0/src/ferro/registry.py +648 -0
  131. ferro_orm-0.28.0/src/ferro/relations/__init__.py +2165 -0
  132. ferro_orm-0.28.0/src/ferro/relations/descriptors.py +158 -0
  133. ferro_orm-0.28.0/src/ferro/relations/fixes.py +141 -0
  134. ferro_orm-0.28.0/src/ferro/settings.py +1038 -0
  135. ferro_orm-0.28.0/src/ferro/state.py +265 -0
  136. ferro_orm-0.28.0/src/hydration.rs +651 -0
  137. ferro_orm-0.28.0/src/introspect.rs +1973 -0
  138. ferro_orm-0.28.0/src/lib.rs +255 -0
  139. ferro_orm-0.28.0/src/migrate.rs +1633 -0
  140. ferro_orm-0.28.0/src/operations.rs +8754 -0
  141. ferro_orm-0.28.0/src/query.rs +2749 -0
  142. ferro_orm-0.28.0/src/schema.rs +998 -0
  143. ferro_orm-0.28.0/src/session_settings.rs +2275 -0
  144. ferro_orm-0.28.0/src/sql_log.rs +629 -0
  145. ferro_orm-0.28.0/src/state.rs +1428 -0
  146. ferro_orm-0.28.0/tests/_casebook.py +351 -0
  147. ferro_orm-0.28.0/tests/_docs_checks.py +629 -0
  148. ferro_orm-0.28.0/tests/_docs_harness.py +520 -0
  149. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.down.postgres.sql +3 -0
  150. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.down.sqlite.sql +3 -0
  151. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.up.postgres.sql +7 -0
  152. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.up.sqlite.sql +7 -0
  153. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/ir.json +108 -0
  154. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.down.postgres.sql +3 -0
  155. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.down.sqlite.sql +3 -0
  156. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.up.postgres.sql +7 -0
  157. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.up.sqlite.sql +7 -0
  158. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/ir.json +108 -0
  159. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.down.postgres.sql +5 -0
  160. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.down.sqlite.sql +5 -0
  161. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.up.postgres.sql +9 -0
  162. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.up.sqlite.sql +9 -0
  163. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/ir.json +116 -0
  164. ferro_orm-0.28.0/tests/fixtures/old_form_key_snapshots.json +326 -0
  165. ferro_orm-0.28.0/tests/fixtures/pre_explicit_fk_bigint_target.json +73 -0
  166. ferro_orm-0.28.0/tests/fixtures/pre_explicit_fk_snapshots.json +1656 -0
  167. ferro_orm-0.28.0/tests/static_fixtures/bad_constructor_keys.py +69 -0
  168. ferro_orm-0.28.0/tests/static_fixtures/bad_includes.py +37 -0
  169. ferro_orm-0.28.0/tests/static_fixtures/bad_predicates.py +47 -0
  170. ferro_orm-0.28.0/tests/static_fixtures/bad_projections.py +55 -0
  171. ferro_orm-0.28.0/tests/static_fixtures/bad_relation_assignment.py +26 -0
  172. ferro_orm-0.28.0/tests/static_fixtures/good_constructor_keys.py +61 -0
  173. ferro_orm-0.28.0/tests/static_fixtures/good_explicit_fk.py +36 -0
  174. ferro_orm-0.28.0/tests/static_fixtures/good_includes.py +48 -0
  175. ferro_orm-0.28.0/tests/static_fixtures/good_predicates.py +90 -0
  176. ferro_orm-0.28.0/tests/static_fixtures/good_projections.py +111 -0
  177. ferro_orm-0.28.0/tests/static_fixtures/good_relation_assignment.py +30 -0
  178. ferro_orm-0.28.0/tests/test_after_position.py +252 -0
  179. ferro_orm-0.28.0/tests/test_alembic_autogenerate.py +257 -0
  180. ferro_orm-0.28.0/tests/test_alembic_bridge.py +349 -0
  181. ferro_orm-0.28.0/tests/test_alembic_db_type.py +159 -0
  182. ferro_orm-0.28.0/tests/test_alembic_enum_type_drop.py +866 -0
  183. ferro_orm-0.28.0/tests/test_alembic_nullability.py +253 -0
  184. ferro_orm-0.28.0/tests/test_alembic_translator.py +1582 -0
  185. ferro_orm-0.28.0/tests/test_auto_migrate.py +4610 -0
  186. ferro_orm-0.28.0/tests/test_before_position.py +244 -0
  187. ferro_orm-0.28.0/tests/test_bulk_install.py +142 -0
  188. ferro_orm-0.28.0/tests/test_catalog_cache.py +235 -0
  189. ferro_orm-0.28.0/tests/test_check_predicate_dialect.py +321 -0
  190. ferro_orm-0.28.0/tests/test_chunked_steps.py +803 -0
  191. ferro_orm-0.28.0/tests/test_cli_database_line.py +266 -0
  192. ferro_orm-0.28.0/tests/test_cli_init.py +733 -0
  193. ferro_orm-0.28.0/tests/test_cli_output_new_check.py +838 -0
  194. ferro_orm-0.28.0/tests/test_cli_output_run_verbs.py +815 -0
  195. ferro_orm-0.28.0/tests/test_cli_output_status_drift.py +746 -0
  196. ferro_orm-0.28.0/tests/test_column_specs.py +197 -0
  197. ferro_orm-0.28.0/tests/test_compiled_query.py +134 -0
  198. ferro_orm-0.28.0/tests/test_composite_index.py +736 -0
  199. ferro_orm-0.28.0/tests/test_composite_unique.py +507 -0
  200. ferro_orm-0.28.0/tests/test_connection.py +570 -0
  201. ferro_orm-0.28.0/tests/test_constraints.py +23 -0
  202. ferro_orm-0.28.0/tests/test_constructor_keys.py +353 -0
  203. ferro_orm-0.28.0/tests/test_cross_emitter_parity.py +2440 -0
  204. ferro_orm-0.28.0/tests/test_crud.py +151 -0
  205. ferro_orm-0.28.0/tests/test_data_steps.py +661 -0
  206. ferro_orm-0.28.0/tests/test_db_type_typing.py +48 -0
  207. ferro_orm-0.28.0/tests/test_db_type_validation.py +300 -0
  208. ferro_orm-0.28.0/tests/test_ddl_lock_timeout.py +623 -0
  209. ferro_orm-0.28.0/tests/test_ddl_unprepared.py +70 -0
  210. ferro_orm-0.28.0/tests/test_declaration_fixes.py +1161 -0
  211. ferro_orm-0.28.0/tests/test_deletion.py +59 -0
  212. ferro_orm-0.28.0/tests/test_docs_checks.py +877 -0
  213. ferro_orm-0.28.0/tests/test_docs_field_type_table.py +216 -0
  214. ferro_orm-0.28.0/tests/test_docs_lint.py +77 -0
  215. ferro_orm-0.28.0/tests/test_docs_migrations.py +1511 -0
  216. ferro_orm-0.28.0/tests/test_docs_testing_fixtures.py +295 -0
  217. ferro_orm-0.28.0/tests/test_docs_twins.py +177 -0
  218. ferro_orm-0.28.0/tests/test_docstring_examples.py +253 -0
  219. ferro_orm-0.28.0/tests/test_exception_mapping.py +209 -0
  220. ferro_orm-0.28.0/tests/test_exceptions.py +132 -0
  221. ferro_orm-0.28.0/tests/test_explicit_fk_conversion.py +279 -0
  222. ferro_orm-0.28.0/tests/test_field_wrapper.py +466 -0
  223. ferro_orm-0.28.0/tests/test_fk_column_types.py +211 -0
  224. ferro_orm-0.28.0/tests/test_fk_target_column.py +170 -0
  225. ferro_orm-0.28.0/tests/test_fk_target_pk.py +30 -0
  226. ferro_orm-0.28.0/tests/test_foreign_key_columns.py +1088 -0
  227. ferro_orm-0.28.0/tests/test_generate_backfill.py +777 -0
  228. ferro_orm-0.28.0/tests/test_generate_check_functions.py +706 -0
  229. ferro_orm-0.28.0/tests/test_generate_columns.py +523 -0
  230. ferro_orm-0.28.0/tests/test_generate_generated_columns.py +667 -0
  231. ferro_orm-0.28.0/tests/test_generate_indexes.py +217 -0
  232. ferro_orm-0.28.0/tests/test_generate_postgres_staging.py +431 -0
  233. ferro_orm-0.28.0/tests/test_generate_renames.py +811 -0
  234. ferro_orm-0.28.0/tests/test_generate_retired.py +246 -0
  235. ferro_orm-0.28.0/tests/test_generate_sqlite_rebuild.py +909 -0
  236. ferro_orm-0.28.0/tests/test_generated_column_drift.py +572 -0
  237. ferro_orm-0.28.0/tests/test_generated_columns.py +480 -0
  238. ferro_orm-0.28.0/tests/test_generated_refusals.py +497 -0
  239. ferro_orm-0.28.0/tests/test_generation_counter_dirty_tracking.py +147 -0
  240. ferro_orm-0.28.0/tests/test_global_aggregates.py +384 -0
  241. ferro_orm-0.28.0/tests/test_grouped_aggregates.py +406 -0
  242. ferro_orm-0.28.0/tests/test_helpers.py +111 -0
  243. ferro_orm-0.28.0/tests/test_historical_models.py +311 -0
  244. ferro_orm-0.28.0/tests/test_hydration.py +344 -0
  245. ferro_orm-0.28.0/tests/test_hydration_equivalence.py +249 -0
  246. ferro_orm-0.28.0/tests/test_identity_memory.py +67 -0
  247. ferro_orm-0.28.0/tests/test_identity_refresh.py +63 -0
  248. ferro_orm-0.28.0/tests/test_identity_weakref.py +30 -0
  249. ferro_orm-0.28.0/tests/test_include.py +837 -0
  250. ferro_orm-0.28.0/tests/test_ir_vectors_contract.py +828 -0
  251. ferro_orm-0.28.0/tests/test_join_table_key_columns.py +238 -0
  252. ferro_orm-0.28.0/tests/test_json_field_hydration.py +216 -0
  253. ferro_orm-0.28.0/tests/test_live_read.py +203 -0
  254. ferro_orm-0.28.0/tests/test_m2m_target_pk.py +138 -0
  255. ferro_orm-0.28.0/tests/test_many_to_many_key_types.py +269 -0
  256. ferro_orm-0.28.0/tests/test_many_to_many_through.py +710 -0
  257. ferro_orm-0.28.0/tests/test_migrate_check.py +312 -0
  258. ferro_orm-0.28.0/tests/test_migrate_defaults.py +421 -0
  259. ferro_orm-0.28.0/tests/test_migrate_drift.py +954 -0
  260. ferro_orm-0.28.0/tests/test_migrate_new.py +853 -0
  261. ferro_orm-0.28.0/tests/test_migrate_plan.py +1191 -0
  262. ferro_orm-0.28.0/tests/test_migrate_rerecord.py +560 -0
  263. ferro_orm-0.28.0/tests/test_migrate_squash.py +1378 -0
  264. ferro_orm-0.28.0/tests/test_migrate_status.py +418 -0
  265. ferro_orm-0.28.0/tests/test_migrations_api.py +416 -0
  266. ferro_orm-0.28.0/tests/test_migrations_testing_harness.py +580 -0
  267. ferro_orm-0.28.0/tests/test_model_declaration.py +148 -0
  268. ferro_orm-0.28.0/tests/test_model_identity.py +231 -0
  269. ferro_orm-0.28.0/tests/test_models.py +15 -0
  270. ferro_orm-0.28.0/tests/test_mutation_pagination_guard.py +107 -0
  271. ferro_orm-0.28.0/tests/test_naming_single_source.py +336 -0
  272. ferro_orm-0.28.0/tests/test_negation.py +218 -0
  273. ferro_orm-0.28.0/tests/test_offset_seconds_refused.py +249 -0
  274. ferro_orm-0.28.0/tests/test_one_to_one.py +68 -0
  275. ferro_orm-0.28.0/tests/test_order_by_nulls.py +225 -0
  276. ferro_orm-0.28.0/tests/test_order_by_nulls_wire.py +78 -0
  277. ferro_orm-0.28.0/tests/test_partial_selects.py +481 -0
  278. ferro_orm-0.28.0/tests/test_pass_report.py +148 -0
  279. ferro_orm-0.28.0/tests/test_position_paging_traversal.py +234 -0
  280. ferro_orm-0.28.0/tests/test_postponed_annotations.py +727 -0
  281. ferro_orm-0.28.0/tests/test_primary_key_facts.py +61 -0
  282. ferro_orm-0.28.0/tests/test_provisional_import.py +233 -0
  283. ferro_orm-0.28.0/tests/test_query_builder.py +337 -0
  284. ferro_orm-0.28.0/tests/test_query_column_validation.py +220 -0
  285. ferro_orm-0.28.0/tests/test_query_exists.py +693 -0
  286. ferro_orm-0.28.0/tests/test_query_joins.py +1168 -0
  287. ferro_orm-0.28.0/tests/test_query_typing.py +183 -0
  288. ferro_orm-0.28.0/tests/test_query_wire_vectors.py +639 -0
  289. ferro_orm-0.28.0/tests/test_raw_sql.py +534 -0
  290. ferro_orm-0.28.0/tests/test_refresh.py +54 -0
  291. ferro_orm-0.28.0/tests/test_refused_model_leaves_nothing.py +143 -0
  292. ferro_orm-0.28.0/tests/test_registry_entrypoints.py +239 -0
  293. ferro_orm-0.28.0/tests/test_registry_owner.py +111 -0
  294. ferro_orm-0.28.0/tests/test_relation_assignment.py +468 -0
  295. ferro_orm-0.28.0/tests/test_relation_declaration_reading.py +78 -0
  296. ferro_orm-0.28.0/tests/test_relation_specs.py +311 -0
  297. ferro_orm-0.28.0/tests/test_relationship_engine.py +87 -0
  298. ferro_orm-0.28.0/tests/test_relationship_resolution_errors.py +49 -0
  299. ferro_orm-0.28.0/tests/test_removed_relation_declarations.py +228 -0
  300. ferro_orm-0.28.0/tests/test_rendered_statement.py +410 -0
  301. ferro_orm-0.28.0/tests/test_retired_columns.py +506 -0
  302. ferro_orm-0.28.0/tests/test_retired_labels.py +490 -0
  303. ferro_orm-0.28.0/tests/test_routing_errors.py +96 -0
  304. ferro_orm-0.28.0/tests/test_row_security_alembic.py +918 -0
  305. ferro_orm-0.28.0/tests/test_row_security_create_pass.py +975 -0
  306. ferro_orm-0.28.0/tests/test_row_security_rebuild.py +678 -0
  307. ferro_orm-0.28.0/tests/test_row_security_reconcile.py +757 -0
  308. ferro_orm-0.28.0/tests/test_save_column_order.py +322 -0
  309. ferro_orm-0.28.0/tests/test_save_semantics.py +894 -0
  310. ferro_orm-0.28.0/tests/test_schema.py +121 -0
  311. ferro_orm-0.28.0/tests/test_schema_constraints.py +273 -0
  312. ferro_orm-0.28.0/tests/test_schema_db_type_metadata.py +84 -0
  313. ferro_orm-0.28.0/tests/test_secret_fields.py +339 -0
  314. ferro_orm-0.28.0/tests/test_session.py +495 -0
  315. ferro_orm-0.28.0/tests/test_session_set_config.py +469 -0
  316. ferro_orm-0.28.0/tests/test_session_settings.py +477 -0
  317. ferro_orm-0.28.0/tests/test_session_settings_connection_delivery.py +674 -0
  318. ferro_orm-0.28.0/tests/test_session_settings_operations.py +641 -0
  319. ferro_orm-0.28.0/tests/test_settings.py +1343 -0
  320. ferro_orm-0.28.0/tests/test_statement_log.py +1043 -0
  321. ferro_orm-0.28.0/tests/test_static_contracts.py +513 -0
  322. ferro_orm-0.28.0/tests/test_step_class.py +478 -0
  323. ferro_orm-0.28.0/tests/test_storage_class_mismatch.py +283 -0
  324. ferro_orm-0.28.0/tests/test_structural_types.py +511 -0
  325. ferro_orm-0.28.0/tests/test_table_check_orphans.py +664 -0
  326. ferro_orm-0.28.0/tests/test_table_check_rebuild.py +773 -0
  327. ferro_orm-0.28.0/tests/test_table_check_reconcile.py +730 -0
  328. ferro_orm-0.28.0/tests/test_table_checks.py +639 -0
  329. ferro_orm-0.28.0/tests/test_transactions.py +465 -0
  330. ferro_orm-0.28.0/tests/test_traversed_projection.py +378 -0
  331. ferro_orm-0.28.0/tests/test_typed_null_binds.py +393 -0
  332. ferro_orm-0.28.0/tests/test_unloaded_instance.py +929 -0
  333. ferro_orm-0.28.0/tests/test_update_recipe.py +340 -0
  334. ferro_orm-0.28.0/tests/test_upgrading_explicit_foreign_keys.py +492 -0
  335. ferro_orm-0.28.0/uv.lock +2815 -0
  336. ferro_orm-0.28.0/zensical.toml +325 -0
  337. ferro_orm-0.27.0/.github/workflows/release.yml +0 -394
  338. ferro_orm-0.27.0/AGENTS.md +0 -862
  339. ferro_orm-0.27.0/CHANGELOG.md +0 -1807
  340. ferro_orm-0.27.0/Cargo.lock +0 -2339
  341. ferro_orm-0.27.0/Cargo.toml +0 -58
  342. ferro_orm-0.27.0/GLOSSARY.md +0 -476
  343. ferro_orm-0.27.0/PKG-INFO +0 -95
  344. ferro_orm-0.27.0/crates/ferro-ddl-lowering/src/lib.rs +0 -9036
  345. ferro_orm-0.27.0/crates/ferro-migrate/src/directory.rs +0 -2518
  346. ferro_orm-0.27.0/crates/ferro-migrate/src/emit.rs +0 -1014
  347. ferro_orm-0.27.0/crates/ferro-migrate/src/generate/backfill.rs +0 -1506
  348. ferro_orm-0.27.0/crates/ferro-migrate/src/generate/compose.rs +0 -1633
  349. ferro_orm-0.27.0/crates/ferro-migrate/src/generate/mod.rs +0 -4855
  350. ferro_orm-0.27.0/crates/ferro-migrate/src/generate/rebuild.rs +0 -1130
  351. ferro_orm-0.27.0/crates/ferro-migrate/src/generate/renames.rs +0 -109
  352. ferro_orm-0.27.0/crates/ferro-migrate/src/plan.rs +0 -6593
  353. ferro_orm-0.27.0/crates/ferro-migrate/src/revision.rs +0 -771
  354. ferro_orm-0.27.0/crates/ferro-migrate/src/revision_tests.rs +0 -777
  355. ferro_orm-0.27.0/crates/ferro-migrate/src/run_plan/step_class.rs +0 -1633
  356. ferro_orm-0.27.0/crates/ferro-migrate/src/run_plan.rs +0 -6830
  357. ferro_orm-0.27.0/crates/ferro-migrate/src/tests.rs +0 -8700
  358. ferro_orm-0.27.0/crates/ferro-schema-ir/src/lib.rs +0 -2251
  359. ferro_orm-0.27.0/docs/adr/0002-unified-column-fact-derivation.md +0 -83
  360. ferro_orm-0.27.0/docs/adr/0003-path-blind-db-type-validation.md +0 -47
  361. ferro_orm-0.27.0/docs/adr/0007-materialization-plan-complete-instances.md +0 -53
  362. ferro_orm-0.27.0/docs/adr/0008-populated-relations-include.md +0 -74
  363. ferro_orm-0.27.0/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +0 -38
  364. ferro_orm-0.27.0/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +0 -35
  365. ferro_orm-0.27.0/docs/agents/domain.md +0 -51
  366. ferro_orm-0.27.0/docs/examples/_ledger_seed.py +0 -107
  367. ferro_orm-0.27.0/docs/examples/_preludes/connections.py +0 -35
  368. ferro_orm-0.27.0/docs/examples/_preludes/reference.py +0 -49
  369. ferro_orm-0.27.0/docs/examples/_preludes/upgrade.py +0 -53
  370. ferro_orm-0.27.0/docs/examples/aggregations.py +0 -328
  371. ferro_orm-0.27.0/docs/examples/aggregations_annotated.py +0 -328
  372. ferro_orm-0.27.0/docs/examples/faq.py +0 -52
  373. ferro_orm-0.27.0/docs/examples/faq_annotated.py +0 -52
  374. ferro_orm-0.27.0/docs/examples/from_sqlalchemy.py +0 -107
  375. ferro_orm-0.27.0/docs/examples/from_sqlalchemy_annotated.py +0 -107
  376. ferro_orm-0.27.0/docs/examples/models_and_fields.py +0 -271
  377. ferro_orm-0.27.0/docs/examples/models_and_fields_annotated.py +0 -274
  378. ferro_orm-0.27.0/docs/examples/populated_relations.py +0 -185
  379. ferro_orm-0.27.0/docs/examples/predicates.py +0 -372
  380. ferro_orm-0.27.0/docs/examples/predicates_annotated.py +0 -372
  381. ferro_orm-0.27.0/docs/examples/quickstart.py +0 -133
  382. ferro_orm-0.27.0/docs/examples/quickstart_annotated.py +0 -133
  383. ferro_orm-0.27.0/docs/examples/relationships.py +0 -209
  384. ferro_orm-0.27.0/docs/examples/relationships_annotated.py +0 -209
  385. ferro_orm-0.27.0/docs/examples/testing_models.py +0 -46
  386. ferro_orm-0.27.0/docs/examples/testing_models_annotated.py +0 -46
  387. ferro_orm-0.27.0/docs/examples/traversal.py +0 -325
  388. ferro_orm-0.27.0/docs/pages/api/exceptions.md +0 -112
  389. ferro_orm-0.27.0/docs/pages/api/queries.md +0 -90
  390. ferro_orm-0.27.0/docs/pages/api/relationships.md +0 -17
  391. ferro_orm-0.27.0/docs/pages/concepts/identity-map.md +0 -169
  392. ferro_orm-0.27.0/docs/pages/concepts/performance.md +0 -162
  393. ferro_orm-0.27.0/docs/pages/concepts/query-typing.md +0 -152
  394. ferro_orm-0.27.0/docs/pages/faq.md +0 -161
  395. ferro_orm-0.27.0/docs/pages/getting-started/quickstart.md +0 -153
  396. ferro_orm-0.27.0/docs/pages/guide/connections.md +0 -376
  397. ferro_orm-0.27.0/docs/pages/guide/models-and-fields.md +0 -614
  398. ferro_orm-0.27.0/docs/pages/guide/queries.md +0 -1859
  399. ferro_orm-0.27.0/docs/pages/guide/raw-sql.md +0 -170
  400. ferro_orm-0.27.0/docs/pages/guide/relationships.md +0 -603
  401. ferro_orm-0.27.0/docs/pages/guide/schema/auto-migrate.md +0 -242
  402. ferro_orm-0.27.0/docs/pages/guide/schema/data-steps.md +0 -345
  403. ferro_orm-0.27.0/docs/pages/guide/schema/migrations.md +0 -437
  404. ferro_orm-0.27.0/docs/pages/guide/schema/renames-and-retirements.md +0 -186
  405. ferro_orm-0.27.0/docs/pages/howto/migrate-from-sqlalchemy.md +0 -234
  406. ferro_orm-0.27.0/docs/pages/howto/testing.md +0 -170
  407. ferro_orm-0.27.0/docs/pages/reference/migrations.md +0 -161
  408. ferro_orm-0.27.0/docs/pages/roadmap.md +0 -117
  409. ferro_orm-0.27.0/docs/pages/upgrading.md +0 -703
  410. ferro_orm-0.27.0/docs/pages/why-ferro.md +0 -90
  411. ferro_orm-0.27.0/docs/solutions/issues/docs-block-declaring-a-model.md +0 -50
  412. ferro_orm-0.27.0/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +0 -33
  413. ferro_orm-0.27.0/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +0 -69
  414. ferro_orm-0.27.0/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +0 -81
  415. ferro_orm-0.27.0/docs/solutions/patterns/configurable-column-storage-types.md +0 -191
  416. ferro_orm-0.27.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +0 -168
  417. ferro_orm-0.27.0/docs/solutions/patterns/docs-page-conventions.md +0 -312
  418. ferro_orm-0.27.0/docs/solutions/patterns/foreign-key-index.md +0 -59
  419. ferro_orm-0.27.0/docs/solutions/patterns/index-unique-redundancy.md +0 -55
  420. ferro_orm-0.27.0/docs/solutions/patterns/ir-invariants.md +0 -182
  421. ferro_orm-0.27.0/docs/solutions/patterns/shadow-fk-columns.md +0 -65
  422. ferro_orm-0.27.0/docs/solutions/patterns/typed-null-binds.md +0 -216
  423. ferro_orm-0.27.0/docs/solutions/patterns/wire-scalar-canonicalization.md +0 -45
  424. ferro_orm-0.27.0/pyproject.toml +0 -152
  425. ferro_orm-0.27.0/scripts/demo_queries.py +0 -273
  426. ferro_orm-0.27.0/scripts/demo_queries_pre_v012.py +0 -252
  427. ferro_orm-0.27.0/src/backend.rs +0 -1937
  428. ferro_orm-0.27.0/src/codec.rs +0 -533
  429. ferro_orm-0.27.0/src/connection.rs +0 -944
  430. ferro_orm-0.27.0/src/errors.rs +0 -1531
  431. ferro_orm-0.27.0/src/ferro/__init__.py +0 -643
  432. ferro_orm-0.27.0/src/ferro/_annotation_utils.py +0 -290
  433. ferro_orm-0.27.0/src/ferro/_bind_payload.py +0 -382
  434. ferro_orm-0.27.0/src/ferro/_core.pyi +0 -984
  435. ferro_orm-0.27.0/src/ferro/_shadow_fk_types.py +0 -131
  436. ferro_orm-0.27.0/src/ferro/base.py +0 -403
  437. ferro_orm-0.27.0/src/ferro/checks.py +0 -821
  438. ferro_orm-0.27.0/src/ferro/columns.py +0 -879
  439. ferro_orm-0.27.0/src/ferro/exceptions.py +0 -176
  440. ferro_orm-0.27.0/src/ferro/fields.py +0 -764
  441. ferro_orm-0.27.0/src/ferro/generated.py +0 -364
  442. ferro_orm-0.27.0/src/ferro/ir/compiler.py +0 -728
  443. ferro_orm-0.27.0/src/ferro/metaclass.py +0 -1035
  444. ferro_orm-0.27.0/src/ferro/migrations/alembic.py +0 -871
  445. ferro_orm-0.27.0/src/ferro/migrations/generate.py +0 -1329
  446. ferro_orm-0.27.0/src/ferro/models.py +0 -1238
  447. ferro_orm-0.27.0/src/ferro/query/builder.py +0 -2183
  448. ferro_orm-0.27.0/src/ferro/query/nodes.py +0 -1803
  449. ferro_orm-0.27.0/src/ferro/query/wire.py +0 -1287
  450. ferro_orm-0.27.0/src/ferro/raw.py +0 -319
  451. ferro_orm-0.27.0/src/ferro/registry.py +0 -596
  452. ferro_orm-0.27.0/src/ferro/relations/__init__.py +0 -235
  453. ferro_orm-0.27.0/src/ferro/relations/descriptors.py +0 -120
  454. ferro_orm-0.27.0/src/ferro/settings.py +0 -1029
  455. ferro_orm-0.27.0/src/ferro/state.py +0 -246
  456. ferro_orm-0.27.0/src/hydration.rs +0 -449
  457. ferro_orm-0.27.0/src/introspect.rs +0 -1997
  458. ferro_orm-0.27.0/src/lib.rs +0 -255
  459. ferro_orm-0.27.0/src/migrate.rs +0 -1632
  460. ferro_orm-0.27.0/src/operations.rs +0 -9161
  461. ferro_orm-0.27.0/src/query.rs +0 -2957
  462. ferro_orm-0.27.0/src/schema.rs +0 -1016
  463. ferro_orm-0.27.0/src/session_settings.rs +0 -2307
  464. ferro_orm-0.27.0/src/sql_log.rs +0 -629
  465. ferro_orm-0.27.0/src/state.rs +0 -1413
  466. ferro_orm-0.27.0/tests/_casebook.py +0 -346
  467. ferro_orm-0.27.0/tests/_docs_checks.py +0 -244
  468. ferro_orm-0.27.0/tests/_docs_harness.py +0 -520
  469. ferro_orm-0.27.0/tests/static_fixtures/bad_includes.py +0 -36
  470. ferro_orm-0.27.0/tests/static_fixtures/bad_predicates.py +0 -46
  471. ferro_orm-0.27.0/tests/static_fixtures/bad_projections.py +0 -55
  472. ferro_orm-0.27.0/tests/static_fixtures/good_includes.py +0 -44
  473. ferro_orm-0.27.0/tests/static_fixtures/good_predicates.py +0 -88
  474. ferro_orm-0.27.0/tests/static_fixtures/good_projections.py +0 -109
  475. ferro_orm-0.27.0/tests/test_after_position.py +0 -315
  476. ferro_orm-0.27.0/tests/test_alembic_autogenerate.py +0 -337
  477. ferro_orm-0.27.0/tests/test_alembic_bridge.py +0 -426
  478. ferro_orm-0.27.0/tests/test_alembic_db_type.py +0 -273
  479. ferro_orm-0.27.0/tests/test_alembic_enum_type_drop.py +0 -882
  480. ferro_orm-0.27.0/tests/test_alembic_nullability.py +0 -282
  481. ferro_orm-0.27.0/tests/test_alembic_translator.py +0 -1593
  482. ferro_orm-0.27.0/tests/test_auto_migrate.py +0 -4893
  483. ferro_orm-0.27.0/tests/test_before_position.py +0 -315
  484. ferro_orm-0.27.0/tests/test_bulk_install.py +0 -160
  485. ferro_orm-0.27.0/tests/test_catalog_cache.py +0 -236
  486. ferro_orm-0.27.0/tests/test_check_predicate_dialect.py +0 -369
  487. ferro_orm-0.27.0/tests/test_chunked_steps.py +0 -804
  488. ferro_orm-0.27.0/tests/test_cli_database_line.py +0 -344
  489. ferro_orm-0.27.0/tests/test_cli_init.py +0 -744
  490. ferro_orm-0.27.0/tests/test_cli_output_new_check.py +0 -870
  491. ferro_orm-0.27.0/tests/test_cli_output_run_verbs.py +0 -838
  492. ferro_orm-0.27.0/tests/test_cli_output_status_drift.py +0 -817
  493. ferro_orm-0.27.0/tests/test_column_specs.py +0 -198
  494. ferro_orm-0.27.0/tests/test_compiled_query.py +0 -134
  495. ferro_orm-0.27.0/tests/test_composite_index.py +0 -799
  496. ferro_orm-0.27.0/tests/test_composite_unique.py +0 -564
  497. ferro_orm-0.27.0/tests/test_connection.py +0 -593
  498. ferro_orm-0.27.0/tests/test_constraints.py +0 -81
  499. ferro_orm-0.27.0/tests/test_cross_emitter_parity.py +0 -2379
  500. ferro_orm-0.27.0/tests/test_crud.py +0 -192
  501. ferro_orm-0.27.0/tests/test_data_steps.py +0 -662
  502. ferro_orm-0.27.0/tests/test_db_type_typing.py +0 -48
  503. ferro_orm-0.27.0/tests/test_db_type_validation.py +0 -446
  504. ferro_orm-0.27.0/tests/test_ddl_lock_timeout.py +0 -624
  505. ferro_orm-0.27.0/tests/test_ddl_unprepared.py +0 -71
  506. ferro_orm-0.27.0/tests/test_deletion.py +0 -87
  507. ferro_orm-0.27.0/tests/test_docs_checks.py +0 -238
  508. ferro_orm-0.27.0/tests/test_docs_field_type_table.py +0 -221
  509. ferro_orm-0.27.0/tests/test_docs_lint.py +0 -46
  510. ferro_orm-0.27.0/tests/test_docs_migrations.py +0 -1506
  511. ferro_orm-0.27.0/tests/test_docs_testing_fixtures.py +0 -192
  512. ferro_orm-0.27.0/tests/test_docs_twins.py +0 -177
  513. ferro_orm-0.27.0/tests/test_docstring_examples.py +0 -253
  514. ferro_orm-0.27.0/tests/test_exception_mapping.py +0 -221
  515. ferro_orm-0.27.0/tests/test_exceptions.py +0 -124
  516. ferro_orm-0.27.0/tests/test_field_wrapper.py +0 -101
  517. ferro_orm-0.27.0/tests/test_fk_target_pk.py +0 -65
  518. ferro_orm-0.27.0/tests/test_generate_backfill.py +0 -773
  519. ferro_orm-0.27.0/tests/test_generate_check_functions.py +0 -723
  520. ferro_orm-0.27.0/tests/test_generate_columns.py +0 -644
  521. ferro_orm-0.27.0/tests/test_generate_generated_columns.py +0 -666
  522. ferro_orm-0.27.0/tests/test_generate_indexes.py +0 -217
  523. ferro_orm-0.27.0/tests/test_generate_postgres_staging.py +0 -434
  524. ferro_orm-0.27.0/tests/test_generate_renames.py +0 -649
  525. ferro_orm-0.27.0/tests/test_generate_retired.py +0 -243
  526. ferro_orm-0.27.0/tests/test_generate_sqlite_rebuild.py +0 -917
  527. ferro_orm-0.27.0/tests/test_generated_column_drift.py +0 -577
  528. ferro_orm-0.27.0/tests/test_generated_columns.py +0 -508
  529. ferro_orm-0.27.0/tests/test_generated_refusals.py +0 -494
  530. ferro_orm-0.27.0/tests/test_generation_counter_dirty_tracking.py +0 -150
  531. ferro_orm-0.27.0/tests/test_global_aggregates.py +0 -384
  532. ferro_orm-0.27.0/tests/test_grouped_aggregates.py +0 -408
  533. ferro_orm-0.27.0/tests/test_helpers.py +0 -131
  534. ferro_orm-0.27.0/tests/test_historical_models.py +0 -311
  535. ferro_orm-0.27.0/tests/test_hydration.py +0 -237
  536. ferro_orm-0.27.0/tests/test_hydration_equivalence.py +0 -271
  537. ferro_orm-0.27.0/tests/test_identity_memory.py +0 -80
  538. ferro_orm-0.27.0/tests/test_identity_refresh.py +0 -79
  539. ferro_orm-0.27.0/tests/test_identity_weakref.py +0 -37
  540. ferro_orm-0.27.0/tests/test_include.py +0 -831
  541. ferro_orm-0.27.0/tests/test_ir_vectors_contract.py +0 -862
  542. ferro_orm-0.27.0/tests/test_live_read.py +0 -213
  543. ferro_orm-0.27.0/tests/test_metaclass_internals.py +0 -381
  544. ferro_orm-0.27.0/tests/test_migrate_check.py +0 -339
  545. ferro_orm-0.27.0/tests/test_migrate_defaults.py +0 -439
  546. ferro_orm-0.27.0/tests/test_migrate_drift.py +0 -959
  547. ferro_orm-0.27.0/tests/test_migrate_new.py +0 -868
  548. ferro_orm-0.27.0/tests/test_migrate_plan.py +0 -1197
  549. ferro_orm-0.27.0/tests/test_migrate_rerecord.py +0 -571
  550. ferro_orm-0.27.0/tests/test_migrate_squash.py +0 -1388
  551. ferro_orm-0.27.0/tests/test_migrate_status.py +0 -454
  552. ferro_orm-0.27.0/tests/test_migrations_api.py +0 -429
  553. ferro_orm-0.27.0/tests/test_migrations_testing_harness.py +0 -580
  554. ferro_orm-0.27.0/tests/test_model_identity.py +0 -228
  555. ferro_orm-0.27.0/tests/test_models.py +0 -47
  556. ferro_orm-0.27.0/tests/test_mutation_pagination_guard.py +0 -123
  557. ferro_orm-0.27.0/tests/test_naming_single_source.py +0 -332
  558. ferro_orm-0.27.0/tests/test_negation.py +0 -219
  559. ferro_orm-0.27.0/tests/test_one_to_one.py +0 -135
  560. ferro_orm-0.27.0/tests/test_order_by_nulls.py +0 -224
  561. ferro_orm-0.27.0/tests/test_order_by_nulls_wire.py +0 -125
  562. ferro_orm-0.27.0/tests/test_partial_selects.py +0 -478
  563. ferro_orm-0.27.0/tests/test_pass_report.py +0 -201
  564. ferro_orm-0.27.0/tests/test_position_paging_traversal.py +0 -291
  565. ferro_orm-0.27.0/tests/test_primary_key_facts.py +0 -77
  566. ferro_orm-0.27.0/tests/test_provisional_import.py +0 -232
  567. ferro_orm-0.27.0/tests/test_query_builder.py +0 -410
  568. ferro_orm-0.27.0/tests/test_query_column_validation.py +0 -282
  569. ferro_orm-0.27.0/tests/test_query_exists.py +0 -688
  570. ferro_orm-0.27.0/tests/test_query_joins.py +0 -1185
  571. ferro_orm-0.27.0/tests/test_query_typing.py +0 -215
  572. ferro_orm-0.27.0/tests/test_query_wire_vectors.py +0 -645
  573. ferro_orm-0.27.0/tests/test_raw_sql.py +0 -530
  574. ferro_orm-0.27.0/tests/test_refresh.py +0 -53
  575. ferro_orm-0.27.0/tests/test_refused_model_leaves_nothing.py +0 -140
  576. ferro_orm-0.27.0/tests/test_registry_entrypoints.py +0 -291
  577. ferro_orm-0.27.0/tests/test_registry_owner.py +0 -119
  578. ferro_orm-0.27.0/tests/test_relation_specs.py +0 -175
  579. ferro_orm-0.27.0/tests/test_relationship_engine.py +0 -323
  580. ferro_orm-0.27.0/tests/test_relationship_resolution_errors.py +0 -51
  581. ferro_orm-0.27.0/tests/test_rendered_statement.py +0 -408
  582. ferro_orm-0.27.0/tests/test_retired_columns.py +0 -528
  583. ferro_orm-0.27.0/tests/test_retired_labels.py +0 -498
  584. ferro_orm-0.27.0/tests/test_routing_errors.py +0 -103
  585. ferro_orm-0.27.0/tests/test_row_security_alembic.py +0 -1017
  586. ferro_orm-0.27.0/tests/test_row_security_create_pass.py +0 -1082
  587. ferro_orm-0.27.0/tests/test_row_security_rebuild.py +0 -784
  588. ferro_orm-0.27.0/tests/test_row_security_reconcile.py +0 -871
  589. ferro_orm-0.27.0/tests/test_save_column_order.py +0 -259
  590. ferro_orm-0.27.0/tests/test_save_semantics.py +0 -913
  591. ferro_orm-0.27.0/tests/test_schema.py +0 -122
  592. ferro_orm-0.27.0/tests/test_schema_constraints.py +0 -273
  593. ferro_orm-0.27.0/tests/test_schema_db_type_metadata.py +0 -84
  594. ferro_orm-0.27.0/tests/test_secret_fields.py +0 -338
  595. ferro_orm-0.27.0/tests/test_session.py +0 -549
  596. ferro_orm-0.27.0/tests/test_session_set_config.py +0 -479
  597. ferro_orm-0.27.0/tests/test_session_settings.py +0 -504
  598. ferro_orm-0.27.0/tests/test_session_settings_connection_delivery.py +0 -680
  599. ferro_orm-0.27.0/tests/test_session_settings_operations.py +0 -664
  600. ferro_orm-0.27.0/tests/test_settings.py +0 -1293
  601. ferro_orm-0.27.0/tests/test_shadow_fk_types.py +0 -260
  602. ferro_orm-0.27.0/tests/test_statement_log.py +0 -1041
  603. ferro_orm-0.27.0/tests/test_static_contracts.py +0 -362
  604. ferro_orm-0.27.0/tests/test_step_class.py +0 -490
  605. ferro_orm-0.27.0/tests/test_structural_types.py +0 -514
  606. ferro_orm-0.27.0/tests/test_table_check_orphans.py +0 -701
  607. ferro_orm-0.27.0/tests/test_table_check_rebuild.py +0 -850
  608. ferro_orm-0.27.0/tests/test_table_check_reconcile.py +0 -783
  609. ferro_orm-0.27.0/tests/test_table_checks.py +0 -640
  610. ferro_orm-0.27.0/tests/test_transactions.py +0 -502
  611. ferro_orm-0.27.0/tests/test_traversed_projection.py +0 -428
  612. ferro_orm-0.27.0/tests/test_typed_null_binds.py +0 -416
  613. ferro_orm-0.27.0/tests/test_update_recipe.py +0 -339
  614. ferro_orm-0.27.0/uv.lock +0 -2815
  615. ferro_orm-0.27.0/zensical.toml +0 -324
  616. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  617. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  618. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/PERMISSIONS.md +0 -0
  619. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/PYPI_CHECKLIST.md +0 -0
  620. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/PYPI_SETUP.md +0 -0
  621. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/generated/wheels.generated.yml +0 -0
  622. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/pull_request_template.md +0 -0
  623. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/ci.yml +0 -0
  624. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/packaging-smoke.yml +0 -0
  625. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/publish-docs.yml +0 -0
  626. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/publish.yml +0 -0
  627. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.gitignore +0 -0
  628. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.pre-commit-config.yaml +0 -0
  629. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.python-version +0 -0
  630. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/CONTRIBUTING.md +0 -0
  631. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/LICENSE +0 -0
  632. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/README.md +0 -0
  633. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/README.md +0 -0
  634. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/__init__.py +0 -0
  635. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/__main__.py +0 -0
  636. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/backends.py +0 -0
  637. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/baselines/postgres.json +0 -0
  638. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/baselines/sqlite.json +0 -0
  639. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/compare.py +0 -0
  640. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/harness.py +0 -0
  641. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/model.py +0 -0
  642. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/run.py +0 -0
  643. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/context7.json +0 -0
  644. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/Cargo.toml +0 -0
  645. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/src/policy_expr.rs +0 -0
  646. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/src/value_expr.rs +0 -0
  647. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/Cargo.toml +0 -0
  648. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/columns.rs +0 -0
  649. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/downs.rs +0 -0
  650. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/enums.rs +0 -0
  651. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/stages.rs +0 -0
  652. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/staging.rs +0 -0
  653. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/lib.rs +0 -0
  654. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/order.rs +0 -0
  655. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/render.rs +0 -0
  656. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/snapshot.rs +0 -0
  657. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-schema-ir/Cargo.toml +0 -0
  658. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0001-resolved-epoch-registration.md +0 -0
  659. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0004-jsonb-postgres-only-canonical.md +0 -0
  660. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0005-jsonb-default-on-postgres.md +0 -0
  661. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0006-relation-traversal-inner-joins.md +0 -0
  662. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0007-reverse-relations-tested-not-traversed.md +0 -0
  663. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0008-predicate-negation-uniform-not.md +0 -0
  664. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0009-aggregate-projections-derived-grouping.md +0 -0
  665. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0010-create-pass-owns-only-missing-tables.md +0 -0
  666. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0011-label-addition-update-gated-append-only.md +0 -0
  667. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0012-table-checks-are-lambdas.md +0 -0
  668. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0013-table-check-reconciliation.md +0 -0
  669. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0014-table-checks-sqlite-create-only.md +0 -0
  670. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0015-table-check-body-drift.md +0 -0
  671. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0016-check-predicates-literals-only.md +0 -0
  672. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0017-omitted-nulls-means-last.md +0 -0
  673. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0018-position-paging.md +0 -0
  674. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0019-row-policy-drift-and-the-one-way-flags.md +0 -0
  675. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0020-enum-type-drop-on-downgrade.md +0 -0
  676. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0021-enum-type-reuse-on-upgrade.md +0 -0
  677. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0022-enum-type-creation-for-add-column.md +0 -0
  678. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +0 -0
  679. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0024-data-steps-are-atomic-or-chunked.md +0 -0
  680. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0025-historical-models-see-the-union-of-adjacent-snapshots.md +0 -0
  681. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0026-one-migration-renders-ddl-per-target-dialect.md +0 -0
  682. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0027-the-generator-diffs-the-ddl-bearing-projection-of-the-ir.md +0 -0
  683. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +0 -0
  684. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0029-the-run-lock-dies-with-the-process.md +0 -0
  685. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0030-a-finished-step-is-re-recorded-an-unfinished-one-may-be-edited.md +0 -0
  686. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +0 -0
  687. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0033-irreversibility-is-declared-and-a-down-reaches-the-parent-snapshot.md +0 -0
  688. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0034-sqlite-changes-alter-cannot-express-are-table-rebuilds.md +0 -0
  689. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0035-a-data-step-declares-its-shape-and-an-unwritten-one-is-a-todo.md +0 -0
  690. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0036-config-names-databases-not-connections.md +0 -0
  691. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0037-step-numbers-are-shared-across-dialects-and-a-skipped-backfill-is-a-guard.md +0 -0
  692. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0038-connect-never-runs-migration-files-and-a-tracked-database-refuses-auto-migrate.md +0 -0
  693. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0039-config-is-ferro-toml-or-pyproject-and-is-read-through-ferrosettings.md +0 -0
  694. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0040-a-migration-is-applied-whole-and-staging-is-the-editing-cadence.md +0 -0
  695. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0041-the-alembic-bridge-translates-the-one-planner.md +0 -0
  696. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0042-not-null-on-postgres-is-staged-after-the-backfill.md +0 -0
  697. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0043-foreign-keys-and-checks-on-an-existing-postgres-table-are-staged.md +0 -0
  698. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0044-indexes-on-an-existing-postgres-table-are-built-concurrently-and-ddl-waits-for-locks-under-a-timeout.md +0 -0
  699. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0045-the-test-harness-carries-the-targets-the-application-api-refuses.md +0 -0
  700. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0046-a-sqlite-table-rebuild-sits-in-its-phase-step-and-a-table-is-copied-once-per-phase.md +0 -0
  701. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0047-the-reconciliation-pass-honours-rename-hints.md +0 -0
  702. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0048-a-run-is-a-rust-object-holding-the-lock-the-directory-and-the-plan.md +0 -0
  703. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0049-the-auto-migrate-pass-reports-what-it-executed.md +0 -0
  704. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0050-a-plans-two-sides-are-adapters-and-a-down-is-the-ups-artifacts-planned-back.md +0 -0
  705. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0051-every-door-plans-a-redefined-index-and-a-removed-foreign-key.md +0 -0
  706. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0052-plan-reports-are-typed-and-the-generator-refuses-what-no-op-answers.md +0 -0
  707. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0054-a-steps-class-is-recorded-when-it-is-applied.md +0 -0
  708. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0055-the-change-summary-crosses-ffi-as-data.md +0 -0
  709. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0056-a-squash-is-planned-across-snapshots-and-a-database-that-ran-the-originals-adopts-it.md +0 -0
  710. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0057-sql-is-seen-through-the-statement-log-and-a-terminals-sql.md +0 -0
  711. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0058-a-generated-columns-value-comes-only-from-the-database.md +0 -0
  712. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0059-value-expressions-are-lambdas-over-a-closed-function-table-under-value-parity.md +0 -0
  713. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0060-postgres-prints-both-sides-of-a-sql-body-ferro-compares.md +0 -0
  714. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/agents/issue-tracker.md +0 -0
  715. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/agents/triage-labels.md +0 -0
  716. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/architecture-review-2026-07-08.html +0 -0
  717. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-04-29-named-connections-role-routing-requirements.md +0 -0
  718. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-08-typed-query-predicates-requirements.md +0 -0
  719. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-13-configurable-column-storage-types-requirements.md +0 -0
  720. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-14-autogenerate-support-for-db-type-requirements.md +0 -0
  721. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-25-annotated-strenum-cold-hydration-requirements.md +0 -0
  722. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-24-ir-p8-119-wire-automigrate-requirements.md +0 -0
  723. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-25-ir-p8-120-parity-gate-requirements.md +0 -0
  724. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-140-shared-lowering-requirements.md +0 -0
  725. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-143-db-type-drop-requirements.md +0 -0
  726. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-144-reconcile-indexes-requirements.md +0 -0
  727. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-28-ir-p8.5-141-single-schema-ir-producer-requirements.md +0 -0
  728. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-146-dialect-enum-unification-requirements.md +0 -0
  729. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-153-create-path-ir-requirements.md +0 -0
  730. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-155-deferred-annotations-requirements.md +0 -0
  731. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-158-check-renderer-requirements.md +0 -0
  732. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-154-datetime-tz-coarseness-requirements.md +0 -0
  733. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-162-typed-save-bind-requirements.md +0 -0
  734. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-165-blob-introspection-false-positive-requirements.md +0 -0
  735. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-02-ff-c1-codec-plan-design.md +0 -0
  736. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-06-upgrade-guide-consolidation-requirements.md +0 -0
  737. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_migrations_project.py +0 -0
  738. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/__init__.py +0 -0
  739. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/auto_migrate.py +0 -0
  740. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/concepts.py +0 -0
  741. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/invoices.py +0 -0
  742. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/jwt_claims.py +0 -0
  743. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/label_addition.py +0 -0
  744. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/queries.py +0 -0
  745. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/raw_sql.py +0 -0
  746. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/auto_migrate_errors.py +0 -0
  747. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/concepts.py +0 -0
  748. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/concepts_annotated.py +0 -0
  749. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/enum_labels.py +0 -0
  750. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/enum_labels_annotated.py +0 -0
  751. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/existence_tests.py +0 -0
  752. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/generated_columns.py +0 -0
  753. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/generated_columns_annotated.py +0 -0
  754. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migration_errors.py +0 -0
  755. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_adopting.py +0 -0
  756. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_backfill.py +0 -0
  757. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_backfill_annotated.py +0 -0
  758. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart.py +0 -0
  759. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart_annotated.py +0 -0
  760. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_rename.py +0 -0
  761. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_rename_annotated.py +0 -0
  762. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire.py +0 -0
  763. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire_annotated.py +0 -0
  764. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label.py +0 -0
  765. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label_annotated.py +0 -0
  766. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_squash.py +0 -0
  767. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_squash_annotated.py +0 -0
  768. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_testing.py +0 -0
  769. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_testing_annotated.py +0 -0
  770. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/multiple_databases.py +0 -0
  771. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/multiple_databases_annotated.py +0 -0
  772. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/mutations.py +0 -0
  773. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/mutations_annotated.py +0 -0
  774. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/pagination.py +0 -0
  775. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/pagination_annotated.py +0 -0
  776. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/partial_selects.py +0 -0
  777. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/raw_sql.py +0 -0
  778. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/raw_sql_annotated.py +0 -0
  779. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/readme_quickstart.py +0 -0
  780. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/readme_quickstart_annotated.py +0 -0
  781. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/row_level_security.py +0 -0
  782. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/row_level_security_annotated.py +0 -0
  783. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/soft_deletes.py +0 -0
  784. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/soft_deletes_annotated.py +0 -0
  785. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/table_checks.py +0 -0
  786. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/table_checks_annotated.py +0 -0
  787. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/testing_conftest.py +0 -0
  788. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/testing_conftest_postgres.py +0 -0
  789. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/timestamps.py +0 -0
  790. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/timestamps_annotated.py +0 -0
  791. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/transactions.py +0 -0
  792. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/transactions_annotated.py +0 -0
  793. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_account.py +0 -0
  794. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_account_annotated.py +0 -0
  795. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_foreign_default.py +0 -0
  796. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_keep.py +0 -0
  797. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_keep_annotated.py +0 -0
  798. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key.py +0 -0
  799. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key_annotated.py +0 -0
  800. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/includes/abbreviations.md +0 -0
  801. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/includes/field-types.md +0 -0
  802. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/connection.md +0 -0
  803. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/fields.md +0 -0
  804. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/migrations.md +0 -0
  805. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/model.md +0 -0
  806. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/raw-sql.md +0 -0
  807. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/transactions.md +0 -0
  808. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/changelog.md +0 -0
  809. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/architecture.md +0 -0
  810. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/backends.md +0 -0
  811. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/row-level-security.md +0 -0
  812. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/type-safety.md +0 -0
  813. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/contributing.md +0 -0
  814. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/getting-started/installation.md +0 -0
  815. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/aggregations.md +0 -0
  816. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/mutations.md +0 -0
  817. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/row-level-security.md +0 -0
  818. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/adopting-migrations.md +0 -0
  819. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/alembic.md +0 -0
  820. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/deploying.md +0 -0
  821. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/overview.md +0 -0
  822. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/squash.md +0 -0
  823. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/testing.md +0 -0
  824. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/transactions.md +0 -0
  825. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/multiple-databases.md +0 -0
  826. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/pagination.md +0 -0
  827. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/soft-deletes.md +0 -0
  828. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/timestamps.md +0 -0
  829. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/index.md +0 -0
  830. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/reference/cli.md +0 -0
  831. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/reference/configuration.md +0 -0
  832. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/reference/row-level-security.md +0 -0
  833. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/stylesheets/extra.css +0 -0
  834. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-04-24-001-refactor-multi-db-backend-architecture-plan.md +0 -0
  835. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-04-29-001-typed-null-binds-plan.md +0 -0
  836. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-04-29-002-feat-named-connections-plan.md +0 -0
  837. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-07-001-refactor-generic-model-connection-plan.md +0 -0
  838. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-08-001-feat-typed-query-predicates-plan.md +0 -0
  839. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-13-001-feat-configurable-column-storage-types-plan.md +0 -0
  840. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-25-001-fix-annotated-strenum-cold-hydration-plan.md +0 -0
  841. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-19-001-ir-first-roadmap.md +0 -0
  842. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-24-001-feat-ir-p8-119-wire-automigrate-plan.md +0 -0
  843. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-25-001-feat-ir-p8-120-parity-gate-plan.md +0 -0
  844. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-26-001-feat-ir-p8.5-140-shared-lowering-plan.md +0 -0
  845. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-26-002-feat-ir-p8.5-143-db-type-drop-plan.md +0 -0
  846. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-26-003-feat-ir-p8.5-144-reconcile-indexes-plan.md +0 -0
  847. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-28-001-feat-ir-p8.5-141-single-schema-ir-producer-plan.md +0 -0
  848. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-29-001-refactor-ir-p8.6-153-create-path-unification-plan.md +0 -0
  849. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-29-002-refactor-ir-p8.6-146-dialect-enum-unification-plan.md +0 -0
  850. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-30-001-refactor-ir-p8.6-158-check-renderer-plan.md +0 -0
  851. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-30-002-fix-ir-p8.6-155-deferred-annotations-plan.md +0 -0
  852. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-01-001-feat-ir-p8.6-162-typed-save-bind-plan.md +0 -0
  853. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-01-002-fix-ir-p8.6-154-datetime-tz-coarseness-plan.md +0 -0
  854. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-01-003-fix-ir-p8.6-165-blob-introspection-plan.md +0 -0
  855. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-001-fable-fixes-roadmap.md +0 -0
  856. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-002-feat-ff-a-172-typed-exceptions-plan.md +0 -0
  857. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-003-ff-c-native-decode-design.md +0 -0
  858. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-004-ff-c-c2-catalog-cache-design.md +0 -0
  859. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-005-ff-d-identity-routing-design.md +0 -0
  860. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-006-ff-d-identity-routing-plan.md +0 -0
  861. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-03-007-ff-e-registry-identity-design.md +0 -0
  862. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-03-008-ff-e-registry-identity-plan.md +0 -0
  863. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-009-ff-f-query-builder-1.0-design.md +0 -0
  864. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-010-ff-f-query-builder-1.0-plan.md +0 -0
  865. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-011-ff-g-hardening-design.md +0 -0
  866. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-012-ff-g-hardening-plan.md +0 -0
  867. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-013-ff-g2-operations-dedup-design.md +0 -0
  868. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-014-ff-g2-operations-dedup-plan.md +0 -0
  869. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-015-docs-upgrade-guide-consolidation-plan.md +0 -0
  870. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-18-016-existence-tests-design.md +0 -0
  871. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/ir-first-migration-guide.md +0 -0
  872. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/ir-first-release-checklist.md +0 -0
  873. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/migration-cli-config-prior-art.md +0 -0
  874. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/migration-prior-art.md +0 -0
  875. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/sqlite-schema-change-recipes.md +0 -0
  876. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/sqlx-migrate-internals.md +0 -0
  877. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/rfc/ir-contracts-v1.md +0 -0
  878. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/README.md +0 -0
  879. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-lowering-consolidation-audit.md +0 -0
  880. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-merge-readiness-review.md +0 -0
  881. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +0 -0
  882. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/alembic-create-table-reissues-enum-type.md +0 -0
  883. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +0 -0
  884. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/postgres-contention-was-a-guard-race.md +0 -0
  885. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/pydantic-slots-missing-after-ferro-hydration.md +0 -0
  886. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/pytest-examples-prefix-settings-need-quotes.md +0 -0
  887. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/query-ir-version-pin-sweep.md +0 -0
  888. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/sa-pk-column-nullable-divergence.md +0 -0
  889. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/self-fk-evicts-component-from-create-order.md +0 -0
  890. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-integer-decimal-hydrates-as-none.md +0 -0
  891. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-null-hydrates-as-int-zero.md +0 -0
  892. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/test-module-cleanup-disarms-alembic-bridge.md +0 -0
  893. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/typed-where-null-panics-is-null.md +0 -0
  894. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/ddl-on-live-engine.md +0 -0
  895. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/derived-type-and-naming-decision-table.md +0 -0
  896. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/docstring-conventions.md +0 -0
  897. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/historical-models-and-the-registry-swap.md +0 -0
  898. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/json-family-factory-migrate-backfill.md +0 -0
  899. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/one-planner-and-live-facts.md +0 -0
  900. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/persistence-state.md +0 -0
  901. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/position-paging-after.md +0 -0
  902. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/printed-pairs-drift.md +0 -0
  903. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/sqlite-alembic-reconnect-hydration-tests.md +0 -0
  904. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/justfile +0 -0
  905. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/codec_plan.rs +0 -0
  906. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ddl_exec.rs +0 -0
  907. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/_deprecations.py +0 -0
  908. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/_sql_log.py +0 -0
  909. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/__init__.py +0 -0
  910. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/exit_codes.py +0 -0
  911. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/migrate.py +0 -0
  912. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/output.py +0 -0
  913. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/composite_indexes.py +0 -0
  914. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/composite_uniques.py +0 -0
  915. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/fn.py +0 -0
  916. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/ir/__init__.py +0 -0
  917. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/__init__.py +0 -0
  918. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/_baseline.py +0 -0
  919. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/_chunk_loop.py +0 -0
  920. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/_drift.py +0 -0
  921. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/context.py +0 -0
  922. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/errors.py +0 -0
  923. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/historical.py +0 -0
  924. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/layout.py +0 -0
  925. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/report.py +0 -0
  926. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/rerecord.py +0 -0
  927. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/runner.py +0 -0
  928. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/scaffold.py +0 -0
  929. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/steps.py +0 -0
  930. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/target.py +0 -0
  931. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/testing.py +0 -0
  932. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/translate.py +0 -0
  933. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/pass_report.py +0 -0
  934. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/py.typed +0 -0
  935. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/query/__init__.py +0 -0
  936. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/query/rendered.py +0 -0
  937. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/query/rows.py +0 -0
  938. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/rowsecurity.py +0 -0
  939. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/session.py +0 -0
  940. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/live_ir.rs +0 -0
  941. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/migrations_ffi.rs +0 -0
  942. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/naming_ffi.rs +0 -0
  943. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/run.rs +0 -0
  944. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/schema_bind.rs +0 -0
  945. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/__init__.py +0 -0
  946. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_alembic_harness.py +0 -0
  947. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_docs_shared.py +0 -0
  948. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_docs_sql.py +0 -0
  949. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_docs_twins.py +0 -0
  950. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_pass_harness.py +0 -0
  951. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_pg_sequence.py +0 -0
  952. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/conftest.py +0 -0
  953. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/db_backends.py +0 -0
  954. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/README.md +0 -0
  955. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/codec_registry_core_v1.json +0 -0
  956. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_exists_v14.json +0 -0
  957. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_scoped_exists_v14.json +0 -0
  958. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_after_null_slot_v14.json +0 -0
  959. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_nulls_v14.json +0 -0
  960. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_nested_exists_v14.json +0 -0
  961. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_not_exists_v14.json +0 -0
  962. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_aggregate_v14.json +0 -0
  963. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_global_aggregate_v14.json +0 -0
  964. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_include_v14.json +0 -0
  965. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_left_join_v14.json +0 -0
  966. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_record_v14.json +0 -0
  967. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversal_v14.json +0 -0
  968. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversed_record_v14.json +0 -0
  969. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_columns_set_v14.json +0 -0
  970. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_literal_set_v14.json +0 -0
  971. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_after_v14.json +0 -0
  972. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_before_v14.json +0 -0
  973. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_compound_v14.json +0 -0
  974. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_literal_set_v14.json +0 -0
  975. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_m2m_exists_v14.json +0 -0
  976. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_merge_set_v14.json +0 -0
  977. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_mixed_set_v14.json +0 -0
  978. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_compound_v14.json +0 -0
  979. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_leaf_v14.json +0 -0
  980. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_now_set_v14.json +0 -0
  981. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_check_fn_v4.json +0 -0
  982. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_generated_column_v4.json +0 -0
  983. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_invoice_baseline_v1.json +0 -0
  984. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_phase1_fixture_models_v1.json +0 -0
  985. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_raw_str_pk_autoincrement_v1.json +0 -0
  986. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_rename_hints_v2.json +0 -0
  987. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_retired_column_v2.json +0 -0
  988. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_squash_witness_v3.json +0 -0
  989. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/static_fixtures/bad_updates.py +0 -0
  990. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/static_fixtures/good_migrations_api.py +0 -0
  991. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/static_fixtures/good_updates.py +0 -0
  992. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_aggregation.py +0 -0
  993. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_generated_columns.py +0 -0
  994. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_render_execute.py +0 -0
  995. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_type_mapping.py +0 -0
  996. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_typing.py +0 -0
  997. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_annotation_utils.py +0 -0
  998. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_auto_migrate_generated_columns.py +0 -0
  999. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_bulk_create_chunking.py +0 -0
  1000. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_bulk_update.py +0 -0
  1001. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_cli_help.py +0 -0
  1002. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_codec_plan.py +0 -0
  1003. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_connect_guard.py +0 -0
  1004. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_connection_redaction.py +0 -0
  1005. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_db_backends.py +0 -0
  1006. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_db_type_cross_emitter_parity.py +0 -0
  1007. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_db_type_integration.py +0 -0
  1008. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_deprecations.py +0 -0
  1009. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_cli_reference.py +0 -0
  1010. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_examples.py +0 -0
  1011. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_harness.py +0 -0
  1012. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_output.py +0 -0
  1013. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_shared.py +0 -0
  1014. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_site.py +0 -0
  1015. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_sql.py +0 -0
  1016. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_documentation_features.py +0 -0
  1017. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_enum_cold_hydration.py +0 -0
  1018. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_enum_removal.py +0 -0
  1019. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_enums.py +0 -0
  1020. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_primary_key_refusal.py +0 -0
  1021. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_row_security.py +0 -0
  1022. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_identity_scoped_invalidation.py +0 -0
  1023. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_import_budget.py +0 -0
  1024. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_isolated_imports.py +0 -0
  1025. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_label_addition.py +0 -0
  1026. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_live_table_checks.py +0 -0
  1027. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_metadata.py +0 -0
  1028. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_baseline.py +0 -0
  1029. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_down.py +0 -0
  1030. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_inherit.py +0 -0
  1031. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_replace.py +0 -0
  1032. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_up.py +0 -0
  1033. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_named_connections_integration.py +0 -0
  1034. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_operation_seam_sync.py +0 -0
  1035. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_postgres_floor.py +0 -0
  1036. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_postgres_isolation.py +0 -0
  1037. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_query_immutability.py +0 -0
  1038. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_registry_swap.py +0 -0
  1039. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_rls_end_to_end.py +0 -0
  1040. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_route_single_site.py +0 -0
  1041. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_row_security_orphans.py +0 -0
  1042. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_run_lock.py +0 -0
  1043. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_save_pk_edges.py +0 -0
  1044. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_schema_enum_annotations.py +0 -0
  1045. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_snapshot_witness.py +0 -0
  1046. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_sqlite_alembic_reconnect_hydration.py +0 -0
  1047. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_statement_log_run.py +0 -0
  1048. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_string_search.py +0 -0
  1049. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_temporal_types.py +0 -0
  1050. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_typed_save_bind.py +0 -0
  1051. {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_value_parity.py +0 -0
@@ -0,0 +1,394 @@
1
+ name: Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ prerelease:
7
+ description: 'Create a pre-release'
8
+ required: false
9
+ type: boolean
10
+ default: false
11
+ highlights:
12
+ description: 'Markdown prepended to the top of the GitHub Release body'
13
+ required: false
14
+ type: string
15
+ default: ''
16
+
17
+ concurrency:
18
+ group: release-${{ github.workflow }}-${{ github.ref }}
19
+ cancel-in-progress: true
20
+
21
+ jobs:
22
+ # Same maturin targets as build-wheels, but against the current ref *before*
23
+ # semantic-release mutates the repo. Runs in parallel with CI gate and
24
+ # packaging smoke so the wall-clock pipeline stays shorter.
25
+ preflight-build-wheels:
26
+ name: Preflight build wheels (${{ matrix.platform.name }})
27
+ runs-on: ${{ matrix.platform.runner }}
28
+ strategy:
29
+ fail-fast: false
30
+ matrix:
31
+ platform:
32
+ - name: linux-x86_64
33
+ runner: ubuntu-latest
34
+ target: x86_64
35
+ manylinux: auto
36
+ - name: linux-aarch64
37
+ runner: ubuntu-latest
38
+ target: aarch64
39
+ manylinux: auto
40
+ - name: macos-aarch64
41
+ runner: macos-latest
42
+ target: aarch64
43
+ manylinux: ''
44
+ - name: windows-x64
45
+ runner: windows-latest
46
+ target: x64
47
+ manylinux: ''
48
+
49
+ steps:
50
+ - name: Checkout repository
51
+ uses: actions/checkout@v4
52
+ with:
53
+ ref: ${{ github.sha }}
54
+
55
+ - name: Set up Python
56
+ uses: actions/setup-python@v5
57
+ with:
58
+ python-version: '3.13'
59
+
60
+ - name: Build wheels (preflight)
61
+ uses: PyO3/maturin-action@v1.48.0
62
+ env:
63
+ # ring (via rustls/sqlx): manylinux2014-cross gcc does not define __ARM_ARCH for .S asm.
64
+ # https://github.com/briansmith/ring/issues/1728
65
+ CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.name == 'linux-aarch64' && '-D__ARM_ARCH=8' || '' }}
66
+ with:
67
+ target: ${{ matrix.platform.target }}
68
+ args: --release --out dist --find-interpreter
69
+ manylinux: ${{ matrix.platform.manylinux }}
70
+ sccache: 'true'
71
+
72
+ ci-gate:
73
+ name: CI Gate
74
+ uses: ./.github/workflows/ci.yml
75
+ secrets: inherit
76
+
77
+ packaging-smoke:
78
+ name: Packaging Smoke Gate
79
+ uses: ./.github/workflows/packaging-smoke.yml
80
+
81
+ release:
82
+ name: Create Release
83
+ needs: [ci-gate, packaging-smoke, preflight-build-wheels]
84
+ runs-on: ubuntu-latest
85
+ outputs:
86
+ release_created: ${{ steps.verify_release.outputs.release_created }}
87
+ release_ref: ${{ steps.release_ref.outputs.release_ref }}
88
+ permissions:
89
+ contents: write
90
+ issues: write
91
+ pull-requests: write
92
+
93
+ steps:
94
+ - name: Checkout repository
95
+ uses: actions/checkout@v4
96
+ with:
97
+ fetch-depth: 0
98
+ ssh-key: ${{ secrets.RELEASE_DEPLOY_KEY }}
99
+ persist-credentials: false
100
+
101
+ - name: Set up Python
102
+ uses: actions/setup-python@v5
103
+ with:
104
+ python-version: '3.13'
105
+
106
+ - name: Install UV
107
+ uses: astral-sh/setup-uv@v5
108
+ with:
109
+ enable-cache: true
110
+
111
+ - name: Set up Rust
112
+ uses: dtolnay/rust-toolchain@stable
113
+
114
+ - name: Cache Rust dependencies
115
+ uses: Swatinem/rust-cache@v2
116
+ with:
117
+ prefix-key: "v1-rust"
118
+
119
+ - name: Install dependencies
120
+ run: |
121
+ uv sync --only-group release --no-install-project --python 3.13
122
+
123
+ - name: Configure Git
124
+ run: |
125
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
126
+ git config --local user.name "github-actions[bot]"
127
+ git remote set-url origin "git@github.com:${{ github.repository }}.git"
128
+
129
+ - name: Run semantic-release
130
+ env:
131
+ # Prefer a PAT so release events can trigger downstream workflows.
132
+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
133
+ run: |
134
+ # Use the --prerelease flag if requested via manual trigger
135
+ PRERELEASE_FLAG=""
136
+ if [ "${{ github.event.inputs.prerelease }}" == "true" ]; then
137
+ PRERELEASE_FLAG="--prerelease"
138
+ fi
139
+
140
+ # This command will:
141
+ # 1. Bump version in pyproject.toml, Cargo.toml and uv.lock
142
+ # 2. Update CHANGELOG.md
143
+ # 3. Create a commit and push it
144
+ # 4. Create a tag and push it
145
+ # 5. Create a GitHub Release (publishing is handled by the wheels/publish workflow)
146
+ uv run semantic-release version $PRERELEASE_FLAG
147
+
148
+ - name: Verify release commit updates changelog
149
+ id: verify_release
150
+ shell: bash
151
+ run: |
152
+ LAST_SUBJECT="$(git log -1 --pretty=%s)"
153
+ if [[ "$LAST_SUBJECT" != chore\(release\):* ]]; then
154
+ echo "No release commit created in this run; skipping changelog validation."
155
+ echo "release_created=false" >> "$GITHUB_OUTPUT"
156
+ echo "changelog_validated=skipped" >> "$GITHUB_OUTPUT"
157
+ echo "release_subject=$LAST_SUBJECT" >> "$GITHUB_OUTPUT"
158
+ exit 0
159
+ fi
160
+
161
+ echo "release_created=true" >> "$GITHUB_OUTPUT"
162
+ echo "release_subject=$LAST_SUBJECT" >> "$GITHUB_OUTPUT"
163
+
164
+ CHANGED_FILES="$(git show --name-only --pretty='' HEAD)"
165
+ if [[ "$CHANGED_FILES" != *"CHANGELOG.md"* ]]; then
166
+ echo "WARNING: release commit does not include CHANGELOG.md update."
167
+ echo "Changed files:"
168
+ echo "$CHANGED_FILES"
169
+ echo "changelog_validated=missing" >> "$GITHUB_OUTPUT"
170
+ exit 0
171
+ fi
172
+
173
+ echo "changelog_validated=passed" >> "$GITHUB_OUTPUT"
174
+ echo "Validated: release commit includes CHANGELOG.md."
175
+
176
+ - name: Capture released ref
177
+ id: release_ref
178
+ shell: bash
179
+ run: |
180
+ if [[ "${{ steps.verify_release.outputs.release_created }}" != "true" ]]; then
181
+ echo "release_ref=" >> "$GITHUB_OUTPUT"
182
+ exit 0
183
+ fi
184
+
185
+ RELEASE_TAG="$(git tag --points-at HEAD | head -n1)"
186
+ if [[ -z "$RELEASE_TAG" ]]; then
187
+ echo "ERROR: expected release tag on HEAD but none was found."
188
+ exit 1
189
+ fi
190
+
191
+ echo "release_ref=$RELEASE_TAG" >> "$GITHUB_OUTPUT"
192
+ echo "Using release ref: $RELEASE_TAG"
193
+
194
+ - name: Prepend highlights to GitHub Release
195
+ if: steps.verify_release.outputs.release_created == 'true' && inputs.highlights != ''
196
+ env:
197
+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
198
+ # Passed via env (not inline ${{ }}) so backticks, $, and quotes in the
199
+ # prose can't break the script or inject shell.
200
+ HIGHLIGHTS: ${{ inputs.highlights }}
201
+ shell: bash
202
+ run: |
203
+ TAG="${{ steps.release_ref.outputs.release_ref }}"
204
+ BODY="$(gh release view "$TAG" --json body -q .body)"
205
+ { printf '%s\n' "$HIGHLIGHTS"; printf '\n---\n\n'; printf '%s\n' "$BODY"; } > /tmp/notes.md
206
+ gh release edit "$TAG" --notes-file /tmp/notes.md
207
+
208
+ - name: Release summary
209
+ if: always()
210
+ shell: bash
211
+ run: |
212
+ {
213
+ echo "## Release workflow summary"
214
+ echo ""
215
+ echo "- Trigger: \`${{ github.event_name }}\`"
216
+ echo "- Ref: \`${{ github.ref_name }}\`"
217
+ echo "- Release commit created: \`${{ steps.verify_release.outputs.release_created || 'unknown' }}\`"
218
+ echo "- Changelog validation: \`${{ steps.verify_release.outputs.changelog_validated || 'unknown' }}\`"
219
+ echo "- Release ref: \`${{ steps.release_ref.outputs.release_ref || 'n/a' }}\`"
220
+ echo "- Last commit subject: \`${{ steps.verify_release.outputs.release_subject || 'n/a' }}\`"
221
+ } >> "$GITHUB_STEP_SUMMARY"
222
+
223
+ # Build and publish jobs are inlined here (not in a reusable workflow) so that
224
+ # PyPI Trusted Publishing sees workflow_ref = release.yml. Reusable workflows
225
+ # are not supported by PyPI Trusted Publishing.
226
+ build-wheels:
227
+ name: Build wheels (${{ matrix.platform.name }})
228
+ needs: [release]
229
+ if: needs.release.outputs.release_created == 'true'
230
+ runs-on: ${{ matrix.platform.runner }}
231
+ strategy:
232
+ fail-fast: false
233
+ matrix:
234
+ platform:
235
+ - name: linux-x86_64
236
+ runner: ubuntu-latest
237
+ target: x86_64
238
+ manylinux: auto
239
+ - name: linux-aarch64
240
+ runner: ubuntu-latest
241
+ target: aarch64
242
+ manylinux: auto
243
+ - name: macos-aarch64
244
+ runner: macos-latest
245
+ target: aarch64
246
+ manylinux: ''
247
+ - name: windows-x64
248
+ runner: windows-latest
249
+ target: x64
250
+ manylinux: ''
251
+
252
+ steps:
253
+ - name: Checkout repository
254
+ uses: actions/checkout@v4
255
+ with:
256
+ ref: ${{ needs.release.outputs.release_ref }}
257
+
258
+ - name: Set up Python
259
+ uses: actions/setup-python@v5
260
+ with:
261
+ python-version: '3.13'
262
+
263
+ - name: Build wheels
264
+ uses: PyO3/maturin-action@v1.48.0
265
+ env:
266
+ # ring (via rustls/sqlx): manylinux2014-cross gcc does not define __ARM_ARCH for .S asm.
267
+ # https://github.com/briansmith/ring/issues/1728
268
+ CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.name == 'linux-aarch64' && '-D__ARM_ARCH=8' || '' }}
269
+ with:
270
+ target: ${{ matrix.platform.target }}
271
+ args: --release --out dist --find-interpreter
272
+ manylinux: ${{ matrix.platform.manylinux }}
273
+ sccache: 'true'
274
+
275
+ - name: Upload wheels
276
+ uses: actions/upload-artifact@v4
277
+ with:
278
+ name: wheels-${{ matrix.platform.name }}
279
+ path: dist/*.whl
280
+
281
+ build-sdist:
282
+ name: Build sdist
283
+ needs: [release]
284
+ if: needs.release.outputs.release_created == 'true'
285
+ runs-on: ubuntu-latest
286
+ steps:
287
+ - name: Checkout repository
288
+ uses: actions/checkout@v4
289
+ with:
290
+ ref: ${{ needs.release.outputs.release_ref }}
291
+
292
+ - name: Build sdist
293
+ uses: PyO3/maturin-action@v1.48.0
294
+ with:
295
+ command: sdist
296
+ args: --out dist
297
+
298
+ - name: Upload sdist
299
+ uses: actions/upload-artifact@v4
300
+ with:
301
+ name: sdist
302
+ path: dist/*.tar.gz
303
+
304
+ test-wheels:
305
+ name: Test wheels (${{ matrix.os }})
306
+ needs: [release, build-wheels]
307
+ if: needs.release.outputs.release_created == 'true'
308
+ runs-on: ${{ matrix.os }}
309
+ strategy:
310
+ fail-fast: false
311
+ matrix:
312
+ os: [ubuntu-latest, windows-latest, macos-latest]
313
+ steps:
314
+ - name: Checkout repository
315
+ uses: actions/checkout@v4
316
+ with:
317
+ ref: ${{ needs.release.outputs.release_ref }}
318
+
319
+ - name: Set up Python
320
+ uses: actions/setup-python@v5
321
+ with:
322
+ python-version: '3.13'
323
+
324
+ - name: Download wheels
325
+ uses: actions/download-artifact@v4
326
+ with:
327
+ path: dist
328
+ pattern: wheels-*
329
+ merge-multiple: true
330
+
331
+ - name: Install wheel
332
+ shell: bash
333
+ run: |
334
+ python -m pip install --upgrade pip
335
+ python -m pip install --find-links dist ferro-orm
336
+
337
+ - name: Test import
338
+ shell: bash
339
+ run: |
340
+ python -c "import ferro; print('Ferro imported successfully')"
341
+
342
+ - name: Run basic smoke test
343
+ shell: bash
344
+ run: |
345
+ python -c "
346
+ import asyncio
347
+ from ferro import Model, FerroField, connect
348
+ from typing import Annotated
349
+
350
+ class TestModel(Model):
351
+ id: Annotated[int, FerroField(primary_key=True)]
352
+ name: str
353
+
354
+ async def test():
355
+ await connect('sqlite::memory:')
356
+ print('Connection test passed')
357
+
358
+ asyncio.run(test())
359
+ "
360
+
361
+ publish-pypi:
362
+ name: Publish to PyPI
363
+ needs: [release, build-wheels, build-sdist, test-wheels]
364
+ if: needs.release.outputs.release_created == 'true'
365
+ runs-on: ubuntu-latest
366
+ environment:
367
+ name: pypi
368
+ url: https://pypi.org/p/ferro-orm
369
+ permissions:
370
+ id-token: write
371
+ steps:
372
+ - name: Download all artifacts
373
+ uses: actions/download-artifact@v4
374
+ with:
375
+ path: dist
376
+ merge-multiple: true
377
+
378
+ - name: Publish to PyPI
379
+ uses: pypa/gh-action-pypi-publish@release/v1
380
+ with:
381
+ skip-existing: true
382
+ verbose: true
383
+
384
+ deploy-docs:
385
+ name: Deploy Documentation
386
+ needs: [release, publish-pypi]
387
+ if: needs.release.outputs.release_created == 'true'
388
+ uses: ./.github/workflows/publish-docs.yml
389
+ permissions:
390
+ contents: read
391
+ pages: write
392
+ id-token: write
393
+ with:
394
+ ref: ${{ needs.release.outputs.release_ref }}