Skip to content

v4.4.8, The "we don't talk about how it looked before" release

Latest

Choose a tag to compare

@IamKirbki IamKirbki released this 14 Mar 18:55
6237ef8

v4.4.8, The "we don't talk about how it looked before" release

This release is a full internal overhaul focused on code quality, type safety, and long-term maintainability. No new features — just the package finally having its life together.

What changed:

  • Join renamed to FetchJoined, buildJoinPart → buildSqlJoinPart, things are now named after what they actually do, revolutionary concept
  • Relation handling got alias support and smarter fallbacks for relation names, less silent mystery behavior
  • QueryComparisonParameters now used consistently across all query builders, no more every builder doing its own weird thing
  • Spatial distance parameters enhanced, InvalidWhereConditionError introduced, bad conditions now throw loudly instead of just silently producing garbage SQL
  • Table.ts and Record.ts deprecation started, these two are on death row, begin your migration now
  • JSON insertion fixed, objects and arrays are now properly serialized to JSON strings before hitting the database (yes, this was broken, no we don't talk about it. Also I have no idea if it really works but it should so hey :D)
  • Exports switched to default across the board
  • Unused model event types ripped out, dead code that was just vibing rent-free
  • New test suite added: Model.test.ts, JsonInsertion.test.ts, Repository.test.ts, and more, the package now actually has tests, which is a choice we're choosing to make