Skip to content

Improvements to logging and some new additions

Choose a tag to compare

@thetutlage thetutlage released this 27 Apr 10:22

Bug Fixes

  • Fix SimplePaginator.toJSON static type

Improvements

  • Do not register health checker, until one or more connections have health checks enabled
  • Improvements to the query debugging. Now debugging can be control globally, at connection level or at query level.

Additions

  • Added findBy and findByOrFail methods to model

Commits

  • improvement: serialize datetime to iso string 7091bab
  • feat: query.delete method, it is an alias for the existing .del method ea7166c
  • improvement: protect preload method to be called from a deleted instance eaff60a
  • feat: add findBy and findByOrFail methods 3d3a8f4
  • improvement: streamline query logging by disabling knex logger and user event emitter 21f01d6
  • improvement: register health checker only when one or more connections are using it 117ec61
  • chore: update dependencies 7611427
  • fix(types): fix type returned by SimplePaginator.toJSON (#535) e386e94

v8.0.2...v8.0.3