v0.3.1
Bug Fixes
@Map decorator not applied on Model.create() (#commit)
When using Model.create() or factories with @map-decorated properties (e.g. @Map('published_at') declare publishedAt), the camelCase property name was being sent directly to the database instead of the mapped snake_case column name, causing errors like:
ERROR: column "publishedAt" of relation "posts" does not exist
Root cause: newInstance() copied attributes directly into _attributes without going through fill(), which is the only path that applied the columnMap translation.
Fix: newInstance() now translates attribute keys through columnMap before storing them, so { publishedAt: value } correctly becomes { published_at: value } in _attributes before the INSERT.
Tests
Added regression test: @Map decorator with Model.create — verifies that camelCase keys passed to Model.create() are correctly stored and retrieved using their mapped column names.