Skip to content

v0.8.0

Choose a tag to compare

@j4k4 j4k4 released this 26 Mar 20:47
· 11 commits to main since this release

Highlights

  • Created entities now reload through the same rehydration path as updates, so requested preloads and auto-preloaded relations are returned from persisted data immediately after create operations.
  • Repository and transaction write flows now hydrate belongs-to and many-to-many associations consistently after inserts, reducing follow-up queries and mismatched post-write state.

Improvements

  • Create operations now honor post-write preload behavior consistently with update operations, making relation loading after inserts more predictable.
  • Shared mutation preload validation and reload helpers reduce divergence between repository and transaction code paths.

API cleanup

  • No public API surface was removed, but create-time reload behavior now matches update semantics more closely when preloads or auto-preloads are configured.

Internal changes

  • Refactored mutation reload handling into shared helpers reused by both create and update flows.
  • Expanded repository, transaction, query builder, and association test coverage for create-side reload and preload scenarios.