Skip to content

v2.0.0

Choose a tag to compare

@kfitzgerald kfitzgerald released this 09 Apr 07:49
· 12 commits to master since this release

Breaking Changes:

  • MySQLService:
       * query callback now returns a single parameter response object with properties: results and fields for compatibility with promises
  • CrudService:
       * _create arguments have changed to data, options, callback, suppressCollisionError has moved into options
       * _createWithRetry arguments have changed to data, objectClosure, options, callback (recursive attempt has been removed)
       * All crud methods return a Promise for async compatibility. Callback is an optional param. Fields have been removed as a response argument.
       * _update is now an async function

Other Changes:

  • Updated example app to work with v2 and demonstrated fields too
  • Tests: Updated tests to validate v2 changes
  • Updated dependencies and configurations
  • Updated docs
  • Removed yarn