We were using bluebird as a Promise implementation for Node.js versions
that did not provide a native Promise (i.e. Node.js 0.10 & 0.12). There
is no need for that anymore, since Node.js have been shipping native
Promise implementation for years by now.
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
regular deps:
- `async` to `^3.2.0`
- `debug` to `^4.1.1`
- `loopback-connector` to `^5.0.0`
- `strong-globalize` to `^6.0.4`
dev deps:
- `should` to `^13.2.3`
- `sinon` to `^9.0.3`
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
* Add DECIMAL to Number prop type (Tetsuo Seto)
* Fix fk docs to avoid constraint errors (ssh24)
* Document GeoPoint migration (biniam)
* Honor user specified datatype on PKs (ssh24)
* Require init on mocha args (ssh24)
* Add docs on FK integrity (ssh24)
* Create database on the docker script (ssh24)
* Handle null vals properly (biniam)
* Allow case sensitive regex operation (ssh24)
* switch long and lat for geopoint type (biniam)
* discovery.test: fix discoverModels tests (Kevin Delisle)
* Add http status code translations for errors (Kevin Delisle)
* Allow explicit data types (ssh24)
* Revert "switch long and lat for geopoint type" (biniam)
* switch long and lat for geopoint type (biniam)
* Escape index names (#280) (Sakib Hasan)
* Fix docker setup (#279) (Sakib Hasan)
* Add docker setup (#278) (Sakib Hasan)
* Adding support for fractional seconds. (Joost de Bruijn)
* fix compare of foreign keys for autoupdate (#272) (Sergey Nosenko)
* Update README.md (Antoine LA)
* Follow mysql recommendations for handling booleans (Carl Fürstenberg)
* Fix readme glitch (#231) (Rand McKinney)
* Update readme w info from docs (#229) (Rand McKinney)
* Fix expected column name when autoupdate (muhammad hasan)
* Update paid support URL (Siddhi Pai)
* Fix CI Failures (Loay Gewily)
* Drop support for Node v0.10 and v0.12 (Siddhi Pai)
* Start the development of the next major version (Siddhi Pai)
* Update README with correct doc links, etc (Amir Jafarian)
* Add connectorCapabilities global object (#201) (Nicholas Duffy)
* Remove unused prefix for test env vars (#203) (Simon Ho)
* Update translation files - round#2 (#199) (Candy)
* Add CI fixes (#197) (Loay)
* Add translated files (gunjpan)
* Update deps to loopback 3.0.0 RC (Miroslav Bajtoš)
* Remove Makefile in favour of NPM test scripts (Simon Ho)
* Fixing lint errors (Ron Lloyd)
* Autoupdate mysql.columnName bug fix (Ron Lloyd)
* Tests for autoupdate mysql.columnName bug fix (Ron Lloyd)
* Use juggler@3 for running the tests (Miroslav Bajtoš)
* Explictly set forceId:false in test model (Miroslav Bajtoš)
* Fix pretest and init test configs (Simon Ho)
* Fix to configure model index in keys field (deepakrkris)
* Update eslint infrastructure (Loay)
* test: use dump of original test DB as seed (Ryan Graham)
* test: skip cardinality, update sub_part (Ryan Graham)
* test: accept alternate test db credentials (Ryan Graham)
* test: use should for easier debugging (Ryan Graham)
* test: account for mysql version differences (Ryan Graham)
* test: match case with example/table.sql (Ryan Graham)
* test: separate assertions from test flow control (Ryan Graham)
* test: update tests to use example DB (Ryan Graham)
* test: seed test DB with example (Ryan Graham)
* test: fix undefined password (Ryan Graham)
* Add special handling of zero date/time entries (Carl Fürstenberg)
* Add globalization (Candy)
* Update URLs in CONTRIBUTING.md (#176) (Ryan Graham)
* Remove sl-blip from dependencies (Miroslav Bajtoš)
* Upgrade `should` module (Amir Jafarian)
* removed console.log (cgole)
* seperate env variable for test db (cgole)
* Changed username to user (cgole)
* Added db username password (cgole)
* Add mysql CI host (cgole)
* Refer to licenses with a link (Sam Roberts)
* Pass options to the execute command. (Diogo Correia)
* Use strongloop conventions for licensing (Sam Roberts)
Use `SqlConnector` from loopback-connector as the base class for the
MySQL connector.
Use `dataSource.modelBuilder` instead of `juggler.ModelBuilder` to
access the function for registering new schema type.
Note: the behaviour remains backwards compatible, the connector can be
used with both old 1.x and upcoming 2.x versions of
loopback-datasource-juggler.