Skip to content

hibernated 0.8.2

Latest

Choose a tag to compare

@buggins buggins released this 29 Nov 14:20
88f0413

Patch release: hibernated no longer turns an Error into an exception. No API changes; it uses ddbc ~>0.16.0, as 0.8.1 did.

"dependencies": {
    "hibernated": "~>0.8.2"
}

Fixes

  • EntityInfo.findProperty uses an in lookup (#147, PR #148). It used to index the property map and catch the RangeError of a failed lookup (catch (Throwable)) to throw MappingException. Callers still get the MappingException for an unknown property; an Error from anywhere else is no longer hidden behind it.
  • The schema helpers in metadata.d catch Exception, not Throwable, before wrapping the failure in HibernatedException. An Error (a failed assert, a range error) now reaches the caller unchanged.

ddbc 0.16.1 makes the same change in its MySQL, ODBC and SQLite drivers, and registers its drivers once per process; ~>0.16.0 picks it up.

Also

  • AGENTS.md: guidance for AI coding agents and a quick reference for contributors (#143, #145, #147).

Full changelog: v0.8.1...v0.8.2

🤖 Generated with Claude Code