Skip to content

v4.2.0

Choose a tag to compare

@lehni lehni released this 18 Oct 15:42
· 20 commits to main since this release

All changes are in the changelog.

Changes

  • Running the same patchAndFetch() or updateAndFetch() query a second time, e.g. awaiting it twice, throws. The second run wrote back the row that the first one fetched, undoing other writes in between.

Fixes

  • patchAndFetch() and updateAndFetch() with an empty patch return the unchanged model instead of undefined
  • asFindQuery() in static after hooks runs the onBuild hooks of the query's context only once