Commit Graph

139 Commits

Author SHA1 Message Date
Kevin Delisle f9ab75c1d9 4.0.0
* Replicate new issue_template from loopback (Siddhi Pai)
 * Replicate issue_template from loopback repo (Siddhi Pai)
 * fix linting problems (juanra)
 * Extract functions to base connector (ssh24)
 * Refactor alter table (ssh24)
 * Typo on README (#236) (Ctibor Laky)
 * Return if column is generated or not (#198) (Christiaan Westerbeek)
 * Upgrade to loopback-connector@4.x (Loay)
 * Refactor migration methods (ssh24)
 * Refactor Discovery Methods (Loay)
 * Remove old TODO and commented out code (Matthew Dickinson)
 * Fix autoupdate to create foreign keys after tables (Matthew Dickinson)
 * Add logging for errors encountered in discovery (Matthew Dickinson)
 * Update signature for alterTable (Matthew Dickinson)
 * Limit foreign key creation current connector (Matthew Dickinson)
 * Fix linting error (Matthew Dickinson)
 * Added test to validate foreign key handling (Matthew Dickinson)
 * Update foreign key creation table name handling (Matthew Dickinson)
 * Update alterTable to actually drop constraints (Matthew Dickinson)
 * Add rough handling for automatic foreign keys (Matthew Dickinson)
 * remove line not needed (#237) (ivy ho)
 * Update LB-connector version (Loay)
2017-03-31 17:36:48 -04:00
Loay 44bc9a99cb Upgrade to loopback-connector@4.x 2017-03-06 19:09:42 -05:00
Loay da0807faf6 Update LB-connector version 2017-01-26 10:48:36 -05:00
Miroslav Bajtoš 0fe22653e3 3.0.0
* 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)
2017-01-13 15:46:04 +01:00
Loay Gewily fce2207da3 Fix CI Failures 2016-12-07 23:53:46 -05:00
Siddhi Pai 0acd9ef15a Drop support for Node v0.10 and v0.12 2016-11-19 01:02:44 -08:00
Siddhi Pai 1a6e51a4a6 Start the development of the next major version 2016-11-19 00:55:50 -08:00
Miroslav Bajtoš 746ee48601 2.4.0
* 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)
2016-10-17 13:20:42 +02:00
Loay 6100a62461 Add CI fixes (#197) 2016-09-28 13:32:38 -07:00
Miroslav Bajtoš 97bf933fc9 Update deps to loopback 3.0.0 RC 2016-09-22 13:17:06 +02:00
Miroslav Bajtoš b13f501ef6 Use juggler@3 for running the tests 2016-09-05 16:01:45 +02:00
Loay 9c9b61e7dc Update eslint infrastructure 2016-08-10 20:04:26 -04:00
Ryan Graham acaa6b0bb9
test: seed test DB with example
Only run if the environment defines a test database to connect to.
2016-08-08 17:37:09 -07:00
Candy b55ae36e79 Add globalization 2016-07-28 17:20:03 -04:00
Simon Ho 1a9568514a 2.3.0
* Add function connect (juehou)
 * insert/update copyright notices (Ryan Graham)
 * relicense as MIT only (Ryan Graham)
 * Override other settings if url provided (juehou)
 * Add `connectorCapabilities ` (Amir Jafarian)
 * Implement ReplaceOrCreate (Amir Jafarian)
2016-06-21 13:58:45 -07:00
Miroslav Bajtoš 0f10ccdb37 2.2.1
* 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)
2016-02-19 10:40:12 +01:00
Miroslav Bajtoš c32155611d Remove sl-blip from dependencies 2016-02-19 10:31:18 +01:00
Amir Jafarian 551856b105 Upgrade `should` module 2016-01-21 15:59:41 -05:00
Sam Roberts b27d1ce32f Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Raymond Feng 730eaeecb5 2.2.0
* Clean up regexop tests (Simon Ho)

 * Add regexp operator tests (Simon Ho)

 * Fix RegExp unit test setup/teardown (Simon Ho)

 * Add support for RegExp operator (Simon Ho)
2015-07-30 11:55:07 -07:00
Simon Ho 22bebe3c4a Add support for RegExp operator 2015-07-28 17:24:31 -07:00
Raymond Feng eac6990836 2.1.1
* Fix the failing tests (Raymond Feng)
2015-05-29 12:26:27 -07:00
Raymond Feng e494ea76e4 2.1.0
* Update deps (Raymond Feng)

 * Start to add transaction support (Raymond Feng)
2015-05-18 14:32:33 -07:00
Raymond Feng 9c6d0c49ef Update deps 2015-05-18 14:31:04 -07:00
Raymond Feng 64e7bdc51a 2.0.1
* Fix the typo (Raymond Feng)
2015-05-14 08:39:51 -07:00
Raymond Feng 4c11dbfeb2 2.0.0
* Update deps (Raymond Feng)

 * Refactor the code to use base SqlConnector (Raymond Feng)
2015-05-13 16:18:26 -07:00
Raymond Feng e8a1b51e59 Update deps 2015-05-13 16:18:07 -07:00
Raymond Feng dac6d8491f 1.7.0
* Return isNewInstance from upsert (Raymond Feng)

 * Update rc dep (Raymond Feng)

 * Return count when updating or deleting models (Simon Ho)

 * Update README.md (Simon Ho)

 * Add test running instructions to readme (Simon Ho)

 * Fix mysql neq for NULL value. (ulion)

 * replace dataLength instead of adding length property (Partap Davis)

 * Allow models backed by MySQL to reference mongodb ObjectID (Raymond Feng)

 * Query string length for schema in characters in addition to bytes (Partap Davis)
2015-04-02 08:22:10 -07:00
Raymond Feng a1592a55bf Update rc dep 2015-03-26 14:24:58 -07:00
Raymond Feng dc72bb8696 1.6.0
* Update deps (Raymond Feng)

 * Include tests of persistence hooks from juggler. (Miroslav Bajtoš)
2015-02-20 17:11:00 -08:00
Raymond Feng 2422c4c6f0 Update deps 2015-02-20 16:15:15 -08:00
Miroslav Bajtoš 0e9740fc33 Include tests of persistence hooks from juggler. 2015-02-02 19:30:33 +01:00
Raymond Feng 4c46c6af2f v1.5.1 2015-01-15 14:33:09 -08:00
Raymond Feng ae989add21 v1.5.0 2015-01-09 09:21:14 -08:00
Raymond Feng a72b8d09e5 v1.4.9 2014-12-05 11:50:12 -08:00
Ryan Graham 9d04a9f0fe v1.4.8 2014-11-27 11:43:28 -08:00
Raymond Feng 04c10fdf03 Enhance error reporting for automigrate/autoupdate 2014-09-11 12:23:32 -07:00
Raymond Feng 74aa664ff1 Bump version 2014-09-10 23:45:51 -07:00
Raymond Feng 3051ad77d9 Bump version 2014-08-25 13:20:46 -07:00
Raymond Feng 934ec80571 Bump version 2014-08-20 16:35:00 -07:00
Raymond Feng 95442c8507 Bump version 2014-08-20 14:39:59 -07:00
Raymond Feng b892956575 Bump version 2014-08-15 16:29:51 -07:00
Raymond Feng 347b0a105e Bump version 2014-06-27 10:28:30 -07:00
Raymond Feng 7c16481f9e Bump version 2014-06-23 10:24:06 -07:00
Miroslav Bajtoš f349d4d721 v1.3.0 2014-06-04 09:58:02 +02:00
Miroslav Bajtoš b871f603b6 Remove peer dependency on datasource-juggler
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.
2014-06-03 08:46:52 +02:00
Raymond Feng fddf020bdd Bump version 2014-06-02 10:44:50 -07:00
Raymond Feng 8d657bf024 Bump version 2014-05-29 15:47:34 -07:00
Raymond Feng 0910d2aee9 Bump versions 2014-05-16 09:59:39 -07:00
Raymond Feng 159642e24a Bump version 2014-04-08 10:49:29 -07:00
Raymond Feng fa003bb267 Fix the table generation for string ids 2014-04-07 22:16:26 -07:00
Raymond Feng 4627bc40da Update deps 2014-03-21 08:35:17 -07:00
Raymond Feng 177207d6a5 Update to dual MIT/StrongLoop license 2014-02-17 16:35:08 -08:00
Ryan Graham a6debbcf13 Move mocha args to test/mocha.opts 2013-12-13 10:27:33 -08:00
Ryan Graham d5f6bf3a6f Make 'npm test' more useful to CI 2013-12-13 10:25:53 -08:00
Raymond Feng 588d13d37f Bump version 2013-12-06 10:36:25 -08:00
Raymond Feng d53c1d4ebf Update deps 2013-12-06 10:13:49 -08:00
Raymond Feng c7967f8825 Bump version 2013-11-27 09:46:51 -08:00
Raymond Feng 03cec48c85 Fix the regression caused by juggler 2013-11-20 10:54:01 -08:00
Raymond Feng 7b3a1fce23 Remove blanket 2013-11-15 14:02:22 -08:00
Raymond Feng b4b8c2055d Bump version and update deps 2013-11-11 12:59:04 -08:00
Raymond Feng b083525a08 Update the internal github dependency 2013-10-25 14:12:46 -07:00
Raymond Feng f7a410775f Remove unused dependency 2013-10-14 09:05:58 -07:00
Raymond Feng 7e06e5d7b0 Update package.json for the release 2013-10-08 14:05:54 -07:00
Raymond Feng e7786ff3ff Update dependencies 2013-09-24 14:10:17 -07:00
Raymond Feng 314673f22e Tidy up package.json for LoopBack 1.0.0 2013-09-04 16:53:54 -07:00
Raymond Feng 2b20ccdbd7 Use .loopback rc to load the config 2013-08-21 21:53:48 -07:00
Raymond Feng 044f629d7e Clean up the package.json 2013-08-15 14:21:59 -07:00
Raymond Feng e3950b9aaf Remove semicov dependency 2013-08-15 14:12:18 -07:00
cgole 3445338ad5 Add code coverage using blanket.js 2013-08-14 13:17:10 -07:00
Raymond Feng 9daf9ef91c Rename 'loopback-data' to 'loopback-datasource-juggler' 2013-07-30 14:21:10 -07:00
Raymond Feng 9674a0308e Bring up the test cases 2013-07-21 17:27:54 -07:00
Raymond Feng fb375fdcc8 Enable discovery 2013-07-21 10:36:26 -07:00
Raymond Feng 275405521b Migrate to loopback-data 2013-07-20 22:37:59 -07:00
dgsan b04d9466ef Merge https://github.com/jugglingdb/mysql-adapter
* https://github.com/jugglingdb/mysql-adapter:
  Update README.md
  Fixed typo in the require statement
  0.0.1-6
  Add checking for undefined in buildWhere
  Fix injection
2013-06-13 09:41:35 -07:00
dgsan bcee504d77 Proper tests and support for connection collation/charset. Added semicov as a dev dependency because of how tests are run. 2013-06-13 09:34:31 -07:00
Anatoliy Chakkaev 4612ba275d 0.0.1-6 2013-04-22 08:41:41 +04:00
S. Mikkel Wilson 8431ad4aef Specify required jugglingdb version. 2013-04-03 10:39:05 -07:00
Anatoliy Chakkaev 1f31c86169 0.0.1-5 2013-04-03 19:33:55 +04:00
Anatoliy Chakkaev cd0018f3a5 Upd test runner 2013-03-27 18:15:23 +04:00
Anatoliy Chakkaev 9f063c13c5 Moved to mocha 2013-03-27 04:37:13 +04:00
Anatoliy Chakkaev 70096afd1b Upd package and README 2013-03-07 03:10:20 +08:00
Anatoliy Chakkaev cfdd519f32 Update package.json 2013-03-07 02:49:06 +07:00
Anatoliy Chakkaev 5083c855a8 0.0.1-4 2013-02-22 01:26:13 +07:00
Anatoliy Chakkaev 73807276bc Updated deps 2013-02-12 17:10:15 +08:00
Anatoliy Chakkaev 80cae2d14f 0.0.1-2 2013-02-10 05:07:15 +08:00
Anatoliy Chakkaev 8c2781a214 0.0.1-1 2013-01-30 22:15:52 +07:00
Anatoliy Chakkaev 396393ce62 Added coffee as dev dependency 2012-12-14 18:08:56 +04:00
Anatoliy Chakkaev 2eed9a6e89 Init 2012-12-14 18:01:44 +04:00