Raymond Feng
c2920c9f9b
3.15.4
...
* fix: allow `new DataSource(connector, settings)` (Raymond Feng)
2018-02-13 09:43:24 -08:00
Raymond Feng
5dc6a1cd13
Merge pull request #1558 from strongloop/fix-ds-constructor
...
fix: allow `new DataSource(connector, settings)`
2018-02-13 09:43:01 -08:00
Raymond Feng
87e1e217c3
fix: allow `new DataSource(connector, settings)`
2018-02-13 09:42:41 -08:00
Raymond Feng
310b9489d3
3.15.3
...
* fix: add more tests to verify new DataSource() (Raymond Feng)
2018-02-09 15:01:32 -08:00
Raymond Feng
8dd86c31a5
Merge pull request #1557 from strongloop/add-datasource-tests
...
fix: add more tests to verify new DataSource()
2018-02-09 15:00:57 -08:00
Raymond Feng
4be2ea8afb
fix: add more tests to verify new DataSource()
2018-02-09 14:33:42 -08:00
Raymond Feng
54143dfa37
3.15.2
...
* feat(datasource): seperate name and connector name (Nguyen Truong Minh)
* Fix datasource not correctly retaining name value (Kevin Scroggins)
2018-02-07 17:14:05 -08:00
Raymond Feng
bbff92c13f
Merge pull request #1555 from strongloop/truongminh-set-datasource-name
...
Use more meaningful names for dataSource and connector
2018-02-07 17:11:48 -08:00
Raymond Feng
9d3e6cd8f5
Merge branch 'set-datasource-name' of https://github.com/truongminh/loopback-datasource-juggler into truongminh-set-datasource-name
2018-02-07 16:50:57 -08:00
Raymond Feng
598effcabc
Merge pull request #1548 from nitro404/hotfix/retain-datasource-name
...
Fix datasource not correctly retaining name value
2018-02-07 16:05:43 -08:00
Nguyen Truong Minh
80f9364edc
feat(datasource): seperate name and connector name
2018-02-07 16:25:25 +07:00
Diana Lau
1ec2b4d17c
3.15.1
...
* Added error handling for persist operation hook (#1531 ) (Kevin Scroggins)
* Add warning for datasources with mismatched names (Kevin Scroggins)
2018-02-06 11:19:41 -05:00
Kevin Scroggins
25b1aa5abc
Fix datasource not correctly retaining name value
2018-01-31 11:30:24 -05:00
Miroslav Bajtoš
309b422425
Merge pull request #1542 from nitro404/hotfix/datasource-name-mismatch-warning
...
Add warning for datasources with mismatched names
2018-01-25 07:57:25 +01:00
Kevin Scroggins
07f0310d34
Added error handling for persist operation hook ( #1531 )
...
Unrelated CI failures. -.-
2018-01-24 11:37:30 -05:00
Kevin Scroggins
92595b4348
Add warning for datasources with mismatched names
2018-01-23 14:18:49 +01:00
Kevin Delisle
943fed851e
3.15.0
...
* fix unauthorized fk change (#1538 ) (Taranveer Virk)
* Set model constructor name to model name (Miroslav Bajtoš)
2018-01-19 12:55:16 -05:00
Taranveer Virk
cc60ef8202
fix unauthorized fk change ( #1538 )
...
Downstream failures are unrelated.
2018-01-17 13:34:37 -05:00
Miroslav Bajtoš
9189dba001
Merge pull request #1534 from strongloop/feature/correct-model-ctor-name
...
Set model constructor name to model name
2018-01-09 09:36:40 +01:00
Miroslav Bajtoš
b0b377af0c
Set model constructor name to model name
...
Rework the code building model constructors to leverage `Function` class
and dynamically emit a constructor function named after the model.
Before this change, all model classes were called "ModelConstructor",
which made debugging difficult.
After this change, a model class for model "User" is called "User.
Because not all valid model names are also valid JavaScript identifiers,
we implement a simple sanitization technique (replacing characters like
"-", "." and ":" with underscore "_") and fall back to legacy
"ModelConstructor" if the model name is still not a valid JS identifier.
2018-01-08 09:37:23 +01:00
Kevin Delisle
00cf01f901
3.14.0
...
* Allow new transaction method in postgresql (#1493 ) (zbarbuto)
* Fix bug in utils uniq function (#1526 ) (Peter Bouda)
* Fix query for related models (#1522 ) (Joost de Bruijn)
* chore:update license (#1521 ) (Diana Lau)
* Allow customizing embedded relation property (#1513 ) (zbarbuto)
* 📖 Typo on README.md (#1517 ) (JP Ventura)
* CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš)
2017-12-14 11:33:39 -05:00
zbarbuto
f5de99b249
Allow new transaction method in postgresql ( #1493 )
...
kv-extreme-scale needs fixing, unrelated.
2017-12-12 10:56:42 -05:00
Peter Bouda
6bd9fca080
Fix bug in utils uniq function ( #1526 )
...
The uniq function does currently not work when the database is mongodb.
In the case of mongodb, the function will receive an array of bson
object of bson type ObjectID. The indexOf function will return a
different index, even if the mongodb ID is the same, as it is wrapped
in the ObjectID. This commit first transforms any ObjectID in the array
to a string representation. We can then use indexOf to check for
uniqueness.
2017-12-04 15:39:58 -05:00
Joost de Bruijn
7a4c6ca2f9
Fix query for related models ( #1522 )
2017-11-14 14:22:48 -05:00
Diana Lau
994ec98b48
chore:update license ( #1521 )
2017-11-13 12:50:36 -05:00
zbarbuto
1d8603c491
Allow customizing embedded relation property ( #1513 )
2017-10-31 10:55:54 -04:00
JP Ventura
7373476fd8
📖 Typo on README.md ( #1517 )
2017-10-30 22:52:38 -04:00
Miroslav Bajtoš
9e5897a25f
Merge pull request #1511 from strongloop/good-bye-lehni
...
CODEOWNERS: move @lehni to Alumni section
2017-10-19 10:49:37 +02:00
Miroslav Bajtoš
145ab8530f
CODEOWNERS: move @lehni to Alumni section
2017-10-19 10:48:41 +02:00
Diana Lau
a9051ef991
3.13.0
...
* update strong-globalize to 3.1.0 (#1505 ) (Kyusung Shim)
* Fix basic-querying (#1509 ) (Janny)
* translation return for Q4 drop1 (tangyinb)
* Allow passing null to base model ctor (Zak Barbuto)
* CODEOWNERS: add zbarbuto (Miroslav Bajtoš)
* update globalize string (Diana Lau)
2017-10-17 23:24:07 -04:00
Kyusung Shim
b926f28c74
update strong-globalize to 3.1.0 ( #1505 )
...
* update strong-globalize to 3.1.0
* update other dependencies
2017-10-17 15:57:00 -04:00
Janny
e85e0f600b
Fix basic-querying ( #1509 )
...
* Fix basic-querying
* Fix duplicate MyModel
2017-10-16 16:07:01 -04:00
Diana Lau
c13f35ad49
Merge pull request #1499 from candytangnb/master
...
translation return for Q4 drop1
2017-10-13 12:14:03 -04:00
tangyinb
3c24dd9a00
translation return for Q4 drop1
...
translation return for Q4 drop1
2017-10-09 17:16:00 +08:00
Miroslav Bajtoš
3a6ddf927d
Merge pull request #1492 from NextFaze/fix/1486-null-data
...
Allow passing null to base model ctor
2017-10-04 12:14:55 +02:00
Zak Barbuto
99cea38fd0
Allow passing null to base model ctor
2017-09-28 09:42:30 +09:30
Diana Lau
d213c8304a
Merge pull request #1490 from strongloop/welcome-zbarbuto
...
CODEOWNERS: add zbarbuto
2017-09-26 16:11:49 -04:00
Miroslav Bajtoš
ed21707cf0
CODEOWNERS: add zbarbuto
2017-09-25 09:55:03 +02:00
Diana Lau
7423283f5d
Merge pull request #1488 from strongloop/globalize
...
update globalize string
2017-09-22 14:46:23 -04:00
Diana Lau
6fe3ba9153
update globalize string
2017-09-20 14:33:44 -04:00
Kevin Delisle
6d4cb6c3ad
3.12.0
...
* Add a better way to handle transactions (Jürg Lehni)
* validations: use new regex per evaluation (#1479 ) (Joost de Bruijn)
* Transaction: Bind timeout to tx instance (#1484 ) (Jürg Lehni)
* CODEOWNERS: add lehni (#1483 ) (Miroslav Bajtoš)
* Add node8 support for travis (loay)
* Add nyc coverage, report data to coveralls.io (Miroslav Bajtoš)
* Update translations from TVT (Allen Boone)
* Add test coverage for hasAndBelongsToMany (loay)
* package: use qs@6.5.0 (#1471 ) (Kevin Delisle)
2017-09-07 10:27:15 -04:00
Jürg Lehni
12c3e3aadb
Merge pull request #1472 from lehni/feature/better-transactions
...
Add a better way to handle transactions by binding them to models
2017-09-06 09:56:25 +02:00
Jürg Lehni
0ce1fa9f87
Add a better way to handle transactions
2017-09-06 07:10:57 +02:00
Joost de Bruijn
f18d3487c6
validations: use new regex per evaluation ( #1479 )
...
The RegExp is cloned before executing the test. Fixing issue #1475 .
2017-09-01 12:48:29 -04:00
Jürg Lehni
94a602d17e
Transaction: Bind timeout to tx instance ( #1484 )
2017-08-31 11:10:17 -04:00
Miroslav Bajtoš
37e7f0c8ab
CODEOWNERS: add lehni ( #1483 )
2017-08-31 10:40:10 -04:00
Loay
c897c24974
Merge pull request #1482 from strongloop/travis-8
...
Add node8 support for travis
2017-08-30 10:01:01 -04:00
loay
542c6e885c
Add node8 support for travis
2017-08-30 09:27:05 -04:00
Miroslav Bajtoš
2ab4a26396
Merge pull request #1481 from strongloop/enable/coveralls
...
Add nyc coverage, report data to coveralls.io
2017-08-30 14:25:16 +02:00
Miroslav Bajtoš
d49806a78b
Add nyc coverage, report data to coveralls.io
2017-08-30 14:17:27 +02:00