Skip to content

v0.5.0

Choose a tag to compare

@j4k4 j4k4 released this 18 Mar 11:04
· 28 commits to main since this release

Highlights

  • Add fixture writer helpers for gosoline fixture sets, making it easier for applications built on sqlr to load deterministic integration-test data with caller-managed IDs and timestamps.
  • Add DisableAutoUpdates write controls so create and update flows can preserve caller-supplied IDs, timestamps, and association fields when needed.
  • Export schema parsing helpers and add type-based schema parsing, making it easier to build reflection-driven integrations on top of sqlr.
  • Introduce canonical relation path resolution so preloads, joins, and association sync follow the same nested path rules.

Improvements

  • Restore entity IDs, timestamps, and foreign keys after failed writes so in-memory entities do not remain partially mutated.
  • Tighten automatic relationship detection to reduce false positives for untagged value objects and incomplete foreign key setups.
  • Reject conflicting scalar join rows while still deduplicating exact duplicates for more predictable join hydration.

API cleanup

  • Standardize schema and relation-path handling around the exported parsing helpers for more consistent behavior across generic and reflection-based callers.
  • No breaking API removals are included in this release.

Internal changes

  • Split association internals into focused modules and centralize helper context handling to simplify maintenance.
  • Expand coverage for preload failures, transactional repository paths, prepared statement lifecycle errors, and fixture loading workflows.