Skip to content

Releases: Salesflare/hapi-plugin-mysql

v7.2.6

03 Jan 18:06
d162102
Compare
Choose a tag to compare

v7.0.0

09 Jan 17:16
v7.0.0
107cbbd
Compare
Choose a tag to compare

7.0.0 comes with hapi 17+ support.

Apart from the new hapi requirement this comes with some other changes:

  • Minimum node is now 12 (preferably >= 12.14.0)
  • No more cleanup on tail but on response as hapi 17 doesn't have tails anymore
  • Removed the once: true, if you register the plugin multiple times it will error instead of silently fail
  • .init, .stop are now an async functions
  • .getConnection still takes a callback since it just calls pool.getConnection

v2.0.0

01 Apr 15:51
Compare
Choose a tag to compare
  • Added server.getDb() to get a connection in plugins etc.
  • Removed useTranactions because the use of it enforced by the plugin is not prefered
  • 100% code coverage!