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
Allen Boone
666f9c5d5b
Merge pull request #1477 from strongloop/tvtPIIUpdate
...
Update translations from TVT
2017-08-28 09:39:21 -04:00
Allen Boone
0ba720df03
Update translations from TVT
2017-08-25 16:19:11 -04:00
Loay
b17af8d583
Merge pull request #1474 from strongloop/hasAndBelongsToMany
...
Add test coverage for hasAndBelongsToMany
2017-08-24 11:29:27 -04:00
loay
e983f0c9e1
Add test coverage for hasAndBelongsToMany
2017-08-24 11:01:54 -04:00
Kevin Delisle
65f6beb00b
package: use qs@6.5.0 ( #1471 )
...
Fix for advisory: https://snyk.io/vuln/npm:qs:20170213
2017-08-23 15:17:00 -04:00
rashmihunt
1fa89d6fb9
3.11.0
...
* Flag id as updateOnly when forceId is in effect (#1453 ) (Rashmi Hunt)
* Add stalebot configuration (Kevin Delisle)
2017-08-22 13:47:21 -07:00
Rashmi Hunt
6c6df15286
Flag id as updateOnly when forceId is in effect ( #1453 )
...
* updateOnly, forceId changes
* support getUpdateOnlyProperties
* fixup! fix updateOrCreate in forceId mode
The contract of `updateOrCreate` is expecting a full object instance
to be passed to the callback.
The current implementation was creating an empty instance and
calling updateAttributes under the hood. As a result, the callback
was called with the attributes being updated only.
In order to preserve existing behaviour, we have to always build
a full initial instance by calling `findById`.
See the following discussion for more context:
https://github.com/strongloop/loopback-datasource-juggler/issues/966
* fixup! fix tests of upsert validation
* move forceId to model-builder
* remove TODO comment
* revert refactoring and test fixes
* Remove duplicate test
* change testcase names
* change to ModeClass.settingse
* forceId setup from datasource to model-builder
* fix inheritance of auto-generated forceId
* Fixed failing tests for auto change
* fixed a comment
2017-08-22 13:09:45 -07:00
Kevin Delisle
aebbcd2f15
Add stalebot configuration
2017-08-22 15:12:54 -04:00
Kevin Delisle
3128c9395c
3.10.0
...
* Catch err using Callback (loay)
* Update Issue and PR Templates (#1462 ) (Sakib Hasan)
* Update translated strings Q3 2017 (Allen Boone)
* test: call true/false in isValid checks (Tom Kirkpatrick)
* fix: support numbers in validatesFormatOf (Tom Kirkpatrick)
* Fix undefined properties in where (Raymond Feng)
* Honor backwards compatability with validate update (ssh24)
* Fix update validation callback (ssh24)
* Validate updateAll (ssh24)
* Sort arrays before testing (ssh24)
* update translation file (Diana Lau)
* Missing the option argument (#1426 ) (dmellonch)
* Add CODEOWNER file (Diana Lau)
* use connector flag throughout tests (biniam)
2017-08-21 14:11:24 -04:00
Loay
e4d598cc3e
Merge pull request #1464 from strongloop/cb-err
...
Catch err using Callback
2017-08-17 10:42:45 -04:00
loay
01b4c4a3a7
Catch err using Callback
2017-08-16 17:00:41 -04:00
Sakib Hasan
b96d40c028
Update Issue and PR Templates ( #1462 )
...
* update issue template
* update pr template
2017-08-16 15:07:56 -04:00
Allen Boone
4ccef202d3
Merge pull request #1460 from kallenboone/master
...
Update translated strings Q3 2017
2017-08-11 14:23:09 -04:00
Allen Boone
770838678d
Update translated strings Q3 2017
2017-08-10 16:02:08 -04:00
Loay
80f3e93367
Merge pull request #1416 from strongloop/feature/fix-2364
...
Fix undefined properties in where
2017-08-09 13:54:28 -04:00
Biniam Admikew
0ca56309ea
Merge pull request #1438 from fullcube/tkp/validatesFormatOf-numbers-1437
...
fix: support numbers in validatesFormatOf
2017-08-03 16:01:26 -04:00
Tom Kirkpatrick
1ebad655e4
test: call true/false in isValid checks
2017-08-03 14:47:11 -04:00
Tom Kirkpatrick
138b99c703
fix: support numbers in validatesFormatOf
...
Fix for #1437
2017-08-03 14:47:11 -04:00
Raymond Feng
03753b6fe2
Fix undefined properties in where
...
https://github.com/strongloop/loopback/issues/2364
2017-08-03 14:09:21 -04:00
Sakib Hasan
c813bf19fb
Merge pull request #1451 from strongloop/backwards-compatability-validate-update
...
Honor backwards compatibility with validate update
2017-08-03 13:43:01 -04:00
ssh24
80f015c2d2
Honor backwards compatability with validate update
2017-08-03 11:50:44 -04:00
Sakib Hasan
b8739cf80f
Merge pull request #1450 from strongloop/fix/validation-callback
...
Fix update validation callback
2017-08-02 16:08:51 -04:00
ssh24
9cd0108fc6
Fix update validation callback
2017-08-02 14:55:47 -04:00
Sakib Hasan
2f7dd90f1f
Merge pull request #1445 from strongloop/fix/validate-update
...
Add validation on update
2017-08-02 14:12:40 -04:00
ssh24
b1a0cb8c3b
Validate updateAll
2017-08-02 13:24:21 -04:00
Sakib Hasan
edf93fca17
Merge pull request #1449 from strongloop/fix/array-sort
...
Sort arrays before comparing
2017-08-02 11:14:22 -04:00
ssh24
aec1179a30
Sort arrays before testing
...
Sorting the array so the ordering is the same
2017-08-02 10:45:36 -04:00
Diana Lau
dcf83dc6af
Merge pull request #1447 from strongloop/translate
...
update translation file
2017-08-02 09:21:52 -04:00
Diana Lau
5c566274c0
update translation file
2017-08-01 22:53:25 -04:00