Skip to content

v3.0.0

Choose a tag to compare

@kfitzgerald kfitzgerald released this 09 Apr 07:50
· 10 commits to master since this release

Breaking Changes:

  • Node v10+ only (unless you polyfill Promise.prototype.finally support yourself)
  • Changed MySQL driver from mysqljs/mysql to mysql/mysql-connector-nodejs
  • MySQLService:
       * config argument has changed. See README.md for options.
       * pool property has been removed. A new property client basically replaces the pool.
       * query signature has changed from (query, options, callback) to (sql, args, callback, options)
       * wrapQuery has been removed
       * getConnection has been replaced with getSession
  • CrudService:
       * connection option in crud methods has been replaced with session.
       * CrudService.MAX_VALUE constant class has been replaced with a simple string version.

Other Changes:

  • Updated example app to work with v3 and demonstrated fields too
  • Tests: Updated tests to validate v3 changes
  • Updated dependencies and configurations
  • Updated docs
  • Updated travis-ci build to test both MySQL 5.7 and MySQL 8