UNPKG

131 kBMarkdownView Raw
12023-05-15, Version 4.28.5
2==========================
3
4 * chore: lock file maintenance (renovate[bot])
5
6 * chore: update dependency eslint to ^8.40.0 (renovate[bot])
7
8 * chore: update commitlint monorepo to ^17.6.3 (renovate[bot])
9
10 * chore: update dependency eslint to ^8.39.0 (renovate[bot])
11
12 * chore: update commitlint monorepo to ^17.6.1 (renovate[bot])
13
14 * chore: update dependency loopback-connector to ^5.3.0 (renovate[bot])
15
16 * chore: update commitlint monorepo to ^17.6.0 (renovate[bot])
17
18
192023-04-13, Version 4.28.4
20==========================
21
22 * chore: update dependency eslint to ^8.38.0 (renovate[bot])
23
24 * chore: lock file maintenance (renovate[bot])
25
26 * chore: update dependency eslint to ^8.37.0 (renovate[bot])
27
28 * chore: update dependency @commitlint/cli to ^17.5.1 (renovate[bot])
29
30 * chore: update dependency nanoid to ^3.3.6 (renovate[bot])
31
32 * chore: update dependency @commitlint/cli to ^17.5.0 (renovate[bot])
33
34 * chore: update dependency eslint to ^8.36.0 (renovate[bot])
35
36 * chore: update dependency eslint to ^8.35.0 (renovate[bot])
37
38 * chore: update dependency loopback-connector to ^5.2.2 (renovate[bot])
39
40 * chore: update dependency qs to ^6.11.1 (renovate[bot])
41
42
432023-03-08, Version 4.28.3
44==========================
45
46 * fix: isolate context for each createAll call (akshatdubeysf)
47
48 * chore: update dependency uuid to v9 (renovate[bot])
49
50 * chore: update commitlint monorepo to ^17.4.4 (renovate[bot])
51
52 * chore: update commitlint monorepo to ^17.4.3 (renovate[bot])
53
54 * chore: lock file maintenance (renovate[bot])
55
56 * chore: update dependency eslint to ^8.34.0 (renovate[bot])
57
58 * chore: update dependency typescript to ^4.9.5 (renovate[bot])
59
60
612023-01-30, Version 4.28.2
62==========================
63
64 * chore: lock file maintenance (renovate[bot])
65
66 * chore: update dependency eslint to ^8.33.0 (renovate[bot])
67
68 * fix: return correct model instance in createAll (Samarpan Bhattacharya)
69
70 * chore: update dependency minimatch to ^5.1.6 (renovate[bot])
71
72 * chore: update dependency minimatch to ^5.1.4 (renovate[bot])
73
74 * chore: update dependency eslint to ^8.32.0 (renovate[bot])
75
76 * chore: update commitlint monorepo to ^17.4.2 (renovate[bot])
77
78 * chore: update dependency bson to ^4.7.2 (renovate[bot])
79
80 * chore: update dependency loopback-connector to ^5.2.1 (renovate[bot])
81
82
832023-01-09, Version 4.28.1
84==========================
85
86 * chore: update dependency @commitlint/cli to ^17.4.1 (renovate[bot])
87
88 * chore: lock file maintenance (renovate[bot])
89
90 * chore: update dependency bson to ^4.7.1 (renovate[bot])
91
92 * chore: update commitlint monorepo to ^17.4.0 (renovate[bot])
93
94 * chore: update dependency eslint to ^8.31.0 (renovate[bot])
95
96 * chore: update dependency loopback-connector to ^5.2.0 (renovate[bot])
97
98 * chore: update dependency minimatch to ^5.1.2 (renovate[bot])
99
100 * chore: update dependency eslint to ^8.30.0 (renovate[bot])
101
102 * chore: update dependency typescript to ^4.9.4 (renovate[bot])
103
104 * chore: update dependency typescript to ^4.9.3 (renovate[bot])
105
106 * chore: update commitlint monorepo to ^17.3.0 (renovate[bot])
107
108 * chore: update dependency minimatch to ^5.1.1 (renovate[bot])
109
110 * chore: update dependency eslint to ^8.29.0 (renovate[bot])
111
112 * chore: update dependency eslint to ^8.27.0 (renovate[bot])
113
114 * chore: update dependency loopback-connector to ^5.1.1 (renovate[bot])
115
116
1172022-11-07, Version 4.28.0
118==========================
119
120 * chore: update github/codeql-action action to v2 (Renovate Bot)
121
122 * fix: add missing property in model generated (Muhammad Aaqil)
123
124 * feat: add capability for insert multiple rows in single query (Samarpan Bhattacharya)
125
126 * chore: update commitlint monorepo to ^17.2.0 (renovate[bot])
127
128 * chore: lock file maintenance (renovate[bot])
129
130 * chore: update dependency eslint to ^8.26.0 (renovate[bot])
131
132 * chore: update dependency traverse to ^0.6.7 (renovate[bot])
133
134 * chore: update dependency eslint to ^8.25.0 (renovate[bot])
135
136 * chore: update dependency loopback-connector to ^5.1.0 (renovate[bot])
137
138 * chore: update dependency typescript to ^4.8.4 (renovate[bot])
139
140 * chore: update dependency eslint to ^8.24.0 (renovate[bot])
141
142 * chore: update dependency inflection to ^1.13.4 (renovate[bot])
143
144 * chore: update dependency eslint to ^8.23.1 (renovate[bot])
145
146 * chore: update dependency typescript to ^4.8.3 (renovate[bot])
147
148 * chore: update dependency @commitlint/cli to ^17.1.2 (renovate[bot])
149
150 * chore: update commitlint monorepo (renovate[bot])
151
152 * chore: update dependency eslint to ^8.23.0 (renovate[bot])
153
154 * chore: update dependency typescript to ^4.8.2 (renovate[bot])
155
156 * fix: missing serialisation for `Connector.update` (Rifa Achrinza)
157
158 * chore: update dependency bson to ^4.7.0 (renovate[bot])
159
160 * chore: update dependency eslint to ^8.22.0 (renovate[bot])
161
162 * chore: update dependency eslint to ^8.21.0 (renovate[bot])
163
164 * chore: update dependency eslint-plugin-mocha to ^10.1.0 (renovate[bot])
165
166 * chore: update dependency eslint to ^8.20.0 (renovate[bot])
167
168 * chore: update dependency eslint to ^8.19.0 (renovate[bot])
169
170 * chore: update dependency bson to ^4.6.5 (renovate[bot])
171
172 * chore: update dependency eslint to ^8.18.0 (renovate[bot])
173
174 * chore: update dependency typescript to ^4.7.4 (renovate[bot])
175
176 * chore: update dependency qs to ^6.10.5 (renovate[bot])
177
178 * chore: update dependency async to ^3.2.4 (renovate[bot])
179
180 * chore: update commitlint monorepo to ^17.0.3 (renovate[bot])
181
182 * chore: update lint packages (Renovate Bot)
183
184 * chore: update dependency typescript to ^4.7.2 (Renovate Bot)
185
186 * chore: update commitlint monorepo to v17 (Renovate Bot)
187
188 * chore: update dependency minimatch to ^5.1.0 (Renovate Bot)
189
190 * chore: update dependency nanoid to ^3.3.4 (Renovate Bot)
191
192 * chore: lock file maintenance (Renovate Bot)
193
194 * chore: update dependency bson to ^4.6.4 (Renovate Bot)
195
196 * chore: update commitlint monorepo (Renovate Bot)
197
198 * chore: update dependency bson to ^4.6.3 (Renovate Bot)
199
200 * chore: update dependency nanoid to ^3.3.3 (Renovate Bot)
201
202 * chore: update dependency minimatch to v5 (Renovate Bot)
203
204 * chore: update dependency typescript to ^4.6.3 (Renovate Bot)
205
206 * chore: update dependency nanoid to 3.1.31 [security] (Renovate Bot)
207
208 * chore: update dependency nanoid to ^3.3.2 (Renovate Bot)
209
210 * chore: update actions/setup-node action to v3 (Renovate Bot)
211
212 * chore: update actions/checkout action to v3 (Renovate Bot)
213
214 * chore: update dependency minimatch to ^3.1.2 (Renovate Bot)
215
216 * chore: update dependency bson to ^4.6.2 (Renovate Bot)
217
218 * chore: update dependency qs to ^6.10.3 (Renovate Bot)
219
220 * chore: update dependency loopback-connector to ^5.0.1 (Renovate Bot)
221
222 * docs: add SECURITY.md (Diana Lau)
223
224 * chore: update dependency uuid to ^8.3.2 (Renovate Bot)
225
226 * chore: update dependency lodash to ^4.17.21 (Renovate Bot)
227
228 * chore: update dependency inflection to ^1.13.2 (Renovate Bot)
229
230 * chore: update dependency debug to ^4.3.4 (Renovate Bot)
231
232 * chore: update dependency change-case to ^4.1.2 (Renovate Bot)
233
234 * chore: update dependency async to ^3.2.3 (Renovate Bot)
235
236 * ci: use shared renovate config (Rifa Achrinza)
237
238 * ci: add renovate config (Rifa Achrinza)
239
240 * docs: update coc (Diana Lau)
241
242 * docs: add code of conduct (Diana Lau)
243
244
2452022-02-22, Version 4.27.1
246==========================
247
248 * fix: remove `geo.d.ts` (Rifa Achrinza)
249
250
2512022-02-19, Version 4.27.0
252==========================
253
254 * ci: enable Node.js v17 testing (Rifa Achrinza)
255
256 * feat: add built-in model property types typdef (Rifa Achrinza)
257
258 * chore: replace shortid with nanoid (Mario Estrada)
259
260 * ci: restrict GITHUB_TOKEN permissions (Rifa Achrinza)
261
262 * ci: update pipelines (Rifa Achrinza)
263
264 * chore: update 3.x LTS to End-of-Life (#1888) (Rifa Achrinza)
265
266 * chore: sync v4 EOL withh Node.js v14 EOL (#1876) (Rifa Achrinza)
267
268
2692020-11-02, Version 4.26.0
270==========================
271
272 * Fix value equality test to avoid toString (Raymond Feng)
273
274
2752020-10-19, Version 4.25.0
276==========================
277
278 * Update dev dependencies to latest (Miroslav Bajtoš)
279
280 * Update dependencies to latest (Miroslav Bajtoš)
281
282
2832020-09-25, Version 4.20.1
284==========================
285
286 * chore: add test for atomic upsertWithWhere (#1864) (Matteo Padovano)
287
288 * chore: update PR template (#1863) (Diana Lau)
289
290 * update PR template to include DCO (#1859) (Diana Lau)
291
292 * chore: add contributing section to readme (#1858) (Diana Lau)
293
294
2952020-08-04, Version 4.24.0
296==========================
297
298 * Update .travis.yml (#1841) (karanssj4)
299
300 * Add more `dataSource.execute()` flavors (Miroslav Bajtoš)
301
302
3032020-07-28, Version 4.23.0
304==========================
305
306 * types: support no-SQL styles of `ds.execute` (Miroslav Bajtoš)
307
308
3092020-07-27, Version 4.22.0
310==========================
311
312 * types: add `DataSource.definitions` property (khlilturki97@gmail.com)
313
314
3152020-05-12, Version 4.21.2
316==========================
317
318 * types: allow no `models` argument for automigrate (Miroslav Bajtoš)
319
320
3212020-04-28, Version 4.21.1
322==========================
323
324 * types: make DataSource.stop compatible with LB4 (Miroslav Bajtoš)
325
326
3272020-04-27, Version 4.21.0
328==========================
329
330 * feat: implement DataSource.stop() (Miroslav Bajtoš)
331
332 * Add __parent reference to embedded models (Dimitris Xalatsis)
333
334
3352020-04-17, Version 4.20.0
336==========================
337
338 * Add mocharc, remove mocha.opts (Miroslav Bajtoš)
339
340 * Update dev dependencies (Miroslav Bajtoš)
341
342 * Drop support for Node 8.x (Miroslav Bajtoš)
343
344 * Add support for Node.js 13.x (Miroslav Bajtoš)
345
346 * mark idColumnName as a deprecated function (Agnes Lin)
347
348 * Move List.prototype.toItem out of inner init (#1828) (Dimitris Halatsis)
349
350 * deps: update uuid to v7 (Miroslav Bajtoš)
351
352
3532020-03-05, Version 4.19.2
354==========================
355
356 * README: move 3.x to Maintenance LTS (Miroslav Bajtoš)
357
358 * README: extend 4.x LTS to match Node.js 12.x (Miroslav Bajtoš)
359
360
3612020-03-05, Version 4.19.1
362==========================
363
364 * chore: improve Listener signature (Hage Yaapa)
365
366
3672020-03-05, Version 4.19.0
368==========================
369
370 * fixup! improve comment for `this` & static members (Miroslav Bajtoš)
371
372 * Add ObserverMixin members to ModelBase typings (Miroslav Bajtoš)
373
374 * Add default generic arg value to `Listener` type (Miroslav Bajtoš)
375
376 * feat: add OperationHookContext interface (Hage Yaapa)
377
378
3792020-01-29, Version 4.18.1
380==========================
381
382 * allows diff db cols naming conventions 4 discover (Agnes Lin)
383
384
3852020-01-21, Version 4.18.0
386==========================
387
388 * Update copyright year and CODEOWNERS (#1818) (Diana Lau)
389
390 * add warning strict cannot be false with SQL dbs (Agnes Lin)
391
392 * feat: add persistDefaultValues (#1813) (Hage Yaapa)
393
394
3952019-12-06, Version 4.17.0
396==========================
397
398 * Fix typo introduced by 19048cd7 (Miroslav Bajtoš)
399
400 * [BUGFIX] Fix issue with with array constructor (Jeremy Nagel)
401
402 * Fix Promise/Callback variants in datasource types (Miroslav Bajtoš)
403
404 * chore: update async to v3.x (Miroslav Bajtoš)
405
406 * chore: update strong-globalize to 5.x (Miroslav Bajtoš)
407
408 * chore: update eslint to 6.x (Miroslav Bajtoš)
409
410 * return failed promise on error (Dimitris Xalatsis)
411
412
4132019-11-28, Version 4.16.0
414==========================
415
416 * feat: applyDefaultOnWrites in nested properties (Hage Yaapa)
417
418 * chore: disable security issue reporting (Nora)
419
420
4212019-11-18, Version 4.15.0
422==========================
423
424 * Fix generated string id's (Francisco Buceta)
425
426 * Remove loopback-connector-ibmi from downstream (Miroslav Bajtoš)
427
428
4292019-10-21, Version 4.14.0
430==========================
431
432 * fix #1781 (#1782) (Dimitris Halatsis)
433
434 * Introduce issue templates for bugs, features, etc. (Miroslav Bajtoš)
435
436 * Improve PULL_REQUEST_TEMPLATE (Miroslav Bajtoš)
437
438
4392019-09-19, Version 4.13.0
440==========================
441
442 * Fix typescript typing for DataSource.getModel (Raymond Feng)
443
444
4452019-09-04, Version 4.12.1
446==========================
447
448 * chore: reduce identifier length (Hage Yaapa)
449
450
4512019-08-19, Version 4.12.0
452==========================
453
454 * feat: add applyDefaultOnWrites property (Hage Yaapa)
455
456 * Fix polymorphic hasMany inverse relation (#1621) (Ayeni Olusegun)
457
458
4592019-08-09, Version 4.11.0
460==========================
461
462 * fix: prevent max listeners warning (Dominique Emond)
463
464
4652019-07-26, Version 4.10.1
466==========================
467
468 * Fix coercion of PK value in `replaceById` method (Miroslav Bajtoš)
469
470 * Fix autoupdate queueing automigrate instead (#1762) (darthmaim)
471
472
4732019-07-23, Version 4.10.0
474==========================
475
476 * fix: use only promises for beginTransaction (Biniam Admikew)
477
478 * feat: add DataSource.deleteAllModels() API (Miroslav Bajtoš)
479
480
4812019-07-15, Version 4.9.0
482=========================
483
484 * fix: report errors from automigrate/autoupdate (Miroslav Bajtoš)
485
486 * feat: add beginTransaction API on datasource (Biniam Admikew)
487
488 * Revert "chore: expose beginTransaction API" (Biniam Admikew)
489
490
4912019-06-24, Version 4.8.2
492=========================
493
494 * chore: expose beginTransaction API (Biniam Admikew)
495
496 * update LTS in README (#1751) (Diana Lau)
497
498
4992019-06-20, Version 4.8.1
500=========================
501
502 * test: add property index to support cloudant (#1750) (Janny)
503
504
5052019-06-13, Version 4.8.0
506=========================
507
508 * Fix types to describe native Promise (Miroslav Bajtoš)
509
510 * feat: after operation hook in case of errors (spurreiter)
511
512 * Fix for #1724 - Added options to attribute updates (#1725) (Bill Matson)
513
514
5152019-05-14, Version 4.7.1
516=========================
517
518 * Fix "access" hook for unoptimized "near" queries (Miroslav Bajtoš)
519
520 * Fix "loaded" hook for unoptimized "near" queries (Miroslav Bajtoš)
521
522 * Test "near" queries executed in memory (Miroslav Bajtoš)
523
524 * Fix DateString ctor to accept DateString instances (Miroslav Bajtoš)
525
526 * datasource: copy settings object in constructor (Miroslav Bajtoš)
527
528 * chore: update copyrights years (#1737) (Agnes Lin)
529
530 * chore: update LTS status (#1734) (Diana Lau)
531
532
5332019-05-03, Version 4.7.0
534=========================
535
536 * fix: allow coercion of nested properties (biniam)
537
538
5392019-05-03, Version 4.6.4
540=========================
541
542 * Fix tests for empty/default values to pass on SQL (Miroslav Bajtoš)
543
544 * Update nyc to 14.0.0 (Miroslav Bajtoš)
545
546 * test: define models in before hooks (biniam)
547
548 * Update `should` to `13.2.3` (Miroslav Bajtoš)
549
550 * Update `mocha` to `6.1.4` (Miroslav Bajtoš)
551
552
5532019-04-30, Version 4.6.3
554=========================
555
556 * Add support for Node.js 12.x (Miroslav Bajtoš)
557
558 * fix: coerce primitive properties on update (biniam)
559
560 * fix: coerce date array properties (biniam)
561
562 * fix: normalize include with boolean or number (spurreiter)
563
564
5652019-04-10, Version 4.6.2
566=========================
567
568 * chore: update CODEOWNERS (#1712) (Diana Lau)
569
570 * fix: ignore git file (#1714) (Janny)
571
572 * remove kv-extreme-scale ctor from downstream test (#1710) (Diana Lau)
573
574
5752019-04-09, Version 4.6.1
576=========================
577
578 * Improve tests for empty vs. default values (Miroslav Bajtoš)
579
580 * Do not apply default values on data from database (Miroslav Bajtoš)
581
582 * Update datasource-connector.md (#1703) (Jam Risser)
583
584 * feat: support array within array (Hage Yaapa)
585
586 * fix: update lodash (#1696) (Janny)
587
588
5892019-02-26, Version 4.6.0
590=========================
591
592 * feat: Support "type" key in sub-properties (Hage Yaapa)
593
594 * fix: use correct callback for geo find queries (biniam)
595
596 * fix: update typescript declarations (biniam)
597
598
5992019-01-29, Version 4.5.3
600=========================
601
602 * Support nested properties with class type (Miroslav Bajtoš)
603
604
6052019-01-24, Version 4.5.2
606=========================
607
608 * Improve Model type definitions (Miroslav Bajtoš)
609
610 * fix: use existing field in exclude test (biniam)
611
612
6132018-12-14, Version 4.5.0
614=========================
615
616 * Revert "5.0.0". It was released accidentally. (Diana Lau)
617
618 * Upgrade eslint-config-loopback to latest (Miroslav Bajtoš)
619
620 * manually fix remaining problems (Miroslav Bajtoš)
621
622 * autofix eslint errors (Miroslav Bajtoš)
623
624 * eslint: enable no-var and prefer-const rules (Miroslav Bajtoš)
625
626 * Update eslint-config-loopback to latest (Miroslav Bajtoš)
627
628 * Update dependencies to latest versions (Miroslav Bajtoš)
629
630 * Upgrade bson to 4.x (latest) (Miroslav Bajtoš)
631
632 * feat: dataSource.execute(cmd, args, opts, cb) (Miroslav Bajtoš)
633
634 * eslint: enable ES2017 (async functions) (Miroslav Bajtoš)
635
636
6372018-11-15, Version 4.4.0
638=========================
639
640 * Use options from request for settings (Raymond Feng)
641
642
6432018-11-12, Version 4.3.0
644=========================
645
646 * Allow flags to be passed via options (Raymond Feng)
647
648 * chore: update file list for apidocs (biniam)
649
650
6512018-11-07, Version 4.2.1
652=========================
653
654 * [ BUGFIX ] maxDepthOfQuery config (leon3s)
655
656
6572018-10-31, Version 4.2.0
658=========================
659
660 * Allow configuration of maxDepthOfQuery (Raymond Feng)
661
662
6632018-10-29, Version 4.1.2
664=========================
665
666 * Check composite keys containing hidden props (Raymond Feng)
667
668 * Improve hidden/protected property checks (Raymond Feng)
669
670
6712018-10-27, Version 4.1.1
672=========================
673
674 * Allow hidden/protected props as an object (Raymond Feng)
675
676
6772018-10-26, Version 4.1.0
678=========================
679
680 * Ren handleUndefined to normalizeUndefinedInQuery (Raymond Feng)
681
682 * Report circular or deep query objects (Raymond Feng)
683
684 * Hide offending properties from the error object (Raymond Feng)
685
686 * Tidy up extended operator check (Raymond Feng)
687
688 * Prevent hidden/protected props from being searched (Raymond Feng)
689
690 * Report errors for missing id props for include (Raymond Feng)
691
692 * fix: add test coverage, correct typo that exposed (Matthew Gabeler-Lee)
693
694 * fix: accelerate unique id checking (Matthew Gabeler-Lee)
695
696 * remove null in embedded doc properties updates (Dimitris)
697
698
6992018-10-08, Version 4.0.0
700=========================
701
702 * Update LTS versions in README (Miroslav Bajtoš)
703
704 * Switch from Bluebird to native Promise (Miroslav Bajtoš)
705
706 * Start 4.0 development, drop support for Node 6 (Miroslav Bajtoš)
707
708
7092018-09-17, Version 3.24.0
710==========================
711
712 * Add IBM copyright and MIT license headers (Raymond Feng)
713
714 * Allow List to take items as instances of a class (Raymond Feng)
715
716 * fix: ignore extra properties when strict=filter (#1423) (Tom Kirkpatrick)
717
718 * Add EventEmitter type info to DataSource type (shimks)
719
720
7212018-07-16, Version 3.23.0
722==========================
723
724 * fix: update TypeScript declaration for KV (Raymond Feng)
725
726 * Upgrade eslint-config-loopback + fix formatting (Miroslav Bajtoš)
727
728 * Hide nyc coverage from test output (Miroslav Bajtoš)
729
730 * Configure Mocha to use dot reporter (Miroslav Bajtoš)
731
732
7332018-07-09, Version 3.22.2
734==========================
735
736 * assertation of undefined could be null (shenghu)
737
738 * fix: regression on Operation Hooks (virkt25)
739
740
7412018-07-02, Version 3.22.1
742==========================
743
744 * [WebFM] cs/pl/ru translation (#1600) (tangyinb)
745
746 * fixup! address code review comments (Miroslav Bajtoš)
747
748 * Fix type definitions for PersistedModel API (Miroslav Bajtoš)
749
750 * Fix Operation Hooks to propagate data changes (Miroslav Bajtoš)
751
752 * Fix stalebot config to ignore "good first issue" (Miroslav Bajtoš)
753
754
7552018-06-12, Version 3.22.0
756==========================
757
758 * Update strong-globalize to 4.x (Miroslav Bajtoš)
759
760 * Update remaining dev-dependencies to latest (Miroslav Bajtoš)
761
762 * Update eslint + config to latest (Miroslav Bajtoš)
763
764 * Disable package-lock feature of npm (Miroslav Bajtoš)
765
766 * Travis: add Node.js 10.x to the build matrix (Miroslav Bajtoš)
767
768 * Drop support for Node 4.x (Miroslav Bajtoš)
769
770
7712018-05-24, Version 3.21.1
772==========================
773
774 * Fix tests to ensure compatibility w/ should@10 (Raymond Feng)
775
776
7772018-05-22, Version 3.21.0
778==========================
779
780 * Fix datasource state management (Raymond Feng)
781
782
7832018-05-11, Version 3.20.2
784==========================
785
786 * Remove node ref (Raymond Feng)
787
788
7892018-05-11, Version 3.20.1
790==========================
791
792 * Update deps (Raymond Feng)
793
794
7952018-05-10, Version 3.20.0
796==========================
797
798 * Fix typescript definitions to be compatible with LB4 (Raymond Feng)
799
800 * Allow toObject() to accept an 'options' argument (Raymond Feng)
801
802
8032018-05-10, Version 3.19.0
804==========================
805
806 * Add typescript type definitions (Raymond Feng)
807
808 * Tidy up datasource (Raymond Feng)
809
810
8112018-04-19, Version 3.18.1
812==========================
813
814 * Polyfill Number.isFinite() to support PhantomJS (Miroslav Bajtoš)
815
816
8172018-04-17, Version 3.18.0
818==========================
819
820 * feat: remove a Model from all registries (Miroslav Bajtoš)
821
822
8232018-04-16, Version 3.17.0
824==========================
825
826 * feat: omit default fn for embedsMany (#1532) (Janny)
827
828
8292018-03-22, Version 3.16.0
830==========================
831
832 * Pass options argument to custom validators (bmatson)
833
834 * chore: update CODEOWNERS (#1566) (Diana Lau)
835
836
8372018-03-16, Version 3.15.5
838==========================
839
840 * Exclude .nyc_output from being published (Raymond Feng)
841
842 * CODEOWNERS: add nitro404 (Miroslav Bajtoš)
843
844
8452018-02-13, Version 3.15.4
846==========================
847
848 * fix: allow `new DataSource(connector, settings)` (Raymond Feng)
849
850
8512018-02-09, Version 3.15.3
852==========================
853
854 * fix: add more tests to verify new DataSource() (Raymond Feng)
855
856
8572018-02-07, Version 3.15.2
858==========================
859
860 * feat(datasource): seperate name and connector name (Nguyen Truong Minh)
861
862 * Fix datasource not correctly retaining name value (Kevin Scroggins)
863
864
8652018-02-06, Version 3.15.1
866==========================
867
868 * Added error handling for persist operation hook (#1531) (Kevin Scroggins)
869
870 * Add warning for datasources with mismatched names (Kevin Scroggins)
871
872
8732018-01-19, Version 3.15.0
874==========================
875
876 * fix unauthorized fk change (#1538) (Taranveer Virk)
877
878 * Set model constructor name to model name (Miroslav Bajtoš)
879
880
8812017-12-14, Version 3.14.0
882==========================
883
884 * Allow new transaction method in postgresql (#1493) (zbarbuto)
885
886 * Fix bug in utils uniq function (#1526) (Peter Bouda)
887
888 * Fix query for related models (#1522) (Joost de Bruijn)
889
890 * chore:update license (#1521) (Diana Lau)
891
892 * Allow customizing embedded relation property (#1513) (zbarbuto)
893
894 * :book: Typo on README.md (#1517) (JP Ventura)
895
896 * CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš)
897
898
8992017-10-17, Version 3.13.0
900==========================
901
902 * update strong-globalize to 3.1.0 (#1505) (Kyusung Shim)
903
904 * Fix basic-querying (#1509) (Janny)
905
906 * translation return for Q4 drop1 (tangyinb)
907
908 * Allow passing null to base model ctor (Zak Barbuto)
909
910 * CODEOWNERS: add zbarbuto (Miroslav Bajtoš)
911
912 * update globalize string (Diana Lau)
913
914
9152017-09-07, Version 3.12.0
916==========================
917
918 * Add a better way to handle transactions (Jürg Lehni)
919
920 * validations: use new regex per evaluation (#1479) (Joost de Bruijn)
921
922 * Transaction: Bind timeout to tx instance (#1484) (Jürg Lehni)
923
924 * CODEOWNERS: add lehni (#1483) (Miroslav Bajtoš)
925
926 * Add node8 support for travis (loay)
927
928 * Add nyc coverage, report data to coveralls.io (Miroslav Bajtoš)
929
930 * Update translations from TVT (Allen Boone)
931
932 * Add test coverage for hasAndBelongsToMany (loay)
933
934 * package: use qs@6.5.0 (#1471) (Kevin Delisle)
935
936
9372017-08-22, Version 3.11.0
938==========================
939
940 * Flag id as updateOnly when forceId is in effect (#1453) (Rashmi Hunt)
941
942 * Add stalebot configuration (Kevin Delisle)
943
944
9452017-08-21, Version 3.10.0
946==========================
947
948 * Catch err using Callback (loay)
949
950 * Update Issue and PR Templates (#1462) (Sakib Hasan)
951
952 * Update translated strings Q3 2017 (Allen Boone)
953
954 * test: call true/false in isValid checks (Tom Kirkpatrick)
955
956 * fix: support numbers in validatesFormatOf (Tom Kirkpatrick)
957
958 * Fix undefined properties in where (Raymond Feng)
959
960 * Honor backwards compatability with validate update (ssh24)
961
962 * Fix update validation callback (ssh24)
963
964 * Validate updateAll (ssh24)
965
966 * Sort arrays before testing (ssh24)
967
968 * update translation file (Diana Lau)
969
970 * Missing the option argument (#1426) (dmellonch)
971
972 * Add CODEOWNER file (Diana Lau)
973
974 * use connector flag throughout tests (biniam)
975
976
9772017-07-26, Version 3.9.3
978=========================
979
980 * Catch errors using cb (loay)
981
982 * Rename getAsync() methods to find() and get() (Jürg Lehni)
983
984 * #1386 Allow empty values when allowBlank is true (Simo Moujami)
985
986 * Skip imcompatible tests (#1420) (Janny)
987
988 * Run juggler tests for Cloudant (#1414) (Janny)
989
990
9912017-06-22, Version 3.9.2
992=========================
993
994 * Fix the case where qWhere[idKey] is null (Tetsuo Seto)
995
996 * test/helpers: annotate skipped tests (Kevin Delisle)
997
998 * Fix mixins/validatable docs (ssh24)
999
1000
10012017-06-01, Version 3.9.1
1002=========================
1003
1004 * Update translated strings Q2 2017 (Allen Boone)
1005
1006 * Fix updateAttributes cb (ssh24)
1007
1008 * Apply iteration on the model object (ssh24)
1009
1010 * Remove spurious extra options arg (#1390) (Rand McKinney)
1011
1012 * include: remove JSDoc refs to recursive calls (Kevin Delisle)
1013
1014 * Fix count of properties (ssh24)
1015
1016 * hooks: add JSDoc for .trigger (Kevin Delisle)
1017
1018 * model-builder: JSDoc tidy-up (Kevin Delisle)
1019
1020
10212017-05-19, Version 3.9.0
1022=========================
1023
1024 * Return promise for batch create (Raymond Feng)
1025
1026 * Use correct data on replace callback (ssh24)
1027
1028
10292017-05-15, Version 3.8.0
1030=========================
1031
1032 * fix assert, make the test case more clear (rashmihunt)
1033
1034 * code review, better asserts (rashmihunt)
1035
1036 * test case to exclude base props (rashmihunt)
1037
1038 * handle excludeBaseProperties (rashmihunt)
1039
1040
10412017-05-15, Version 3.7.0
1042=========================
1043
1044 * Remove unnecessary tests for adhocSort !== false (Tetsuo Seto)
1045
1046 * Fix the test case to avoid duplicate userId (Tetsuo Seto)
1047
1048 * Support include rework for C* connector (Tetsuo Seto)
1049
1050 * Overall review of polymorphic relations (ebarault)
1051
1052 * configurable model merge (ebarault)
1053
1054 * Fix assertion errors (Loay)
1055
1056 * Update modelbaseclass api docs (Loay)
1057
1058 * Add caseInsensitive opt to validatesUniquenessOf (Bram Borggreve)
1059
1060
10612017-05-02, Version 3.6.1
1062=========================
1063
1064 * docs: add DateString definition (Kevin Delisle)
1065
1066
10672017-05-02, Version 3.6.0
1068=========================
1069
1070 * create sequence for nosql id (#1354) (Janny)
1071
1072 * Fix order of query results (Loay)
1073
1074 * Add DateString type (Kevin Delisle)
1075
1076 * datatype.test: use predefined date (Kevin Delisle)
1077
1078 * Update api documents (Loay)
1079
1080 * Datasource documentation tune-up (Kevin Delisle)
1081
1082 * Added unit tests specific to DateType where null (#1349) (Andrew McDonnell)
1083
1084 * Fix/geo null (#1334) (paulussup)
1085
1086 * replace exception thrown for invalid dates (Diana Lau)
1087
1088 * Revert PR #1326 (#1336) (Sakib Hasan)
1089
1090 * Make lib peerDepend on loopback-connector (#1326) (Russ Tyndall)
1091
1092 * Add test case using updateAttributes (Loay)
1093
1094 * Fix forceId bug for updateOrCreate (Loay)
1095
1096 * Fix typo in description (jannyHou)
1097
1098 * Fix relations test case (loay)
1099
1100
11012017-04-17, Version 3.5.0
1102=========================
1103
1104 * Add instructions for running the tests (#1330) (Andrew McDonnell)
1105
1106 * handle deep geo-near queries (#1314) (Eric Barault)
1107
1108 * Unskip test case (Loay)
1109
1110 * Make tests work for other connectors as well as C* (Tetsuo Seto)
1111
1112 * Remove debugger statement (Tetsuo Seto)
1113
1114 * Fixup test support for Cassandra connector (Tetsuo Seto)
1115
1116 * Add test support for Cassandra connector (Tetsuo Seto)
1117
1118 * package: use loopback-connector@^4.0.0 (Kevin Delisle)
1119
1120 * Revert "handle deep geo-near queries (#1216)" (Sakib Hasan)
1121
1122 * Revert "Allow `after save` hook to see count of records changed (#1231)" (Sakib Hasan)
1123
1124 * Allow `after save` hook to see count of records changed (#1231) (Joshua Chaitin-Pollak)
1125
1126 * handle deep geo-near queries (#1216) (Corentin H)
1127
1128 * Fix model def column name method (#1224) (destillat)
1129
1130 * Added notify flag for create and upsert (#1277) (Jonathan Sheely)
1131
1132 * Custom Table Names on rels (#1303) (Waldemar Zahn)
1133
1134 * Support multiple fk relations (#1308) (Sakib Hasan)
1135
1136 * #1261 Property name "constructor" is not allowed in 'Model' data (#1284) (Thaer Abbas)
1137
1138
11392017-04-04, Version 3.4.1
1140=========================
1141
1142 * Use dataSource.connect to avoid duplicate connects (Raymond Feng)
1143
1144 * remove equality value for user defined id (#1293) (Matteo Padovano)
1145
1146
11472017-04-04, Version 3.4.0
1148=========================
1149
1150 * Fix in-mem connector file operation racing condition (Raymond Feng)
1151
1152
11532017-03-31, Version 3.3.0
1154=========================
1155
1156 * make geo nearFilter support minDistance (#987) (Vincent Wen)
1157
1158 * Disallow regexp string in arrays for coerce (#1279) (Mikhail)
1159
1160 * Fix - `_targetClass` on scope function (#1280) (Clark Wang)
1161
1162 * Fixes #1275. `Include` filter transforms fields property into array. (#1276) (Nick Oikonomou)
1163
1164 * Included models from include operations do not change defined `strict` model option (#1259) (Dimitris)
1165
1166 * Using a filter with exclusion of a non existent property, removes an existing one (#1257) (Dimitris)
1167
1168 * Clean version of PR 1272 (#1273) (Sakib Hasan)
1169
1170 * Replicate new issue_template from loopback (Siddhi Pai)
1171
1172 * Replicate issue_template from loopback repo (Siddhi Pai)
1173
1174 * Update README.md (Rand McKinney)
1175
1176 * FindOrCreate missing error callback (Diana Lau)
1177
1178 * Fixes #1230 coerceArray converts empty Objects (#1269) (Dimitris)
1179
1180 * override collection name for arangodb (#1243) (Matteo Padovano)
1181
1182 * Add test coverage for `validatesInclusionOf` (#1249) (Rémi Bèges)
1183
1184 * dao: catch errors on Model creation in find (Kevin Delisle)
1185
1186 * dao: catch sync errors on setAttributes (Kevin Delisle)
1187
1188 * Update error message (Loay)
1189
1190 * Fix Order query test case (Loay)
1191
1192 * Doc:Add option for discoverModelDefinitions (jannyHou)
1193
1194 * Add tests for validatesExclusionOf (#1248) (Rémi Bèges)
1195
1196 * Fix id update error message formatting (Rémi Bèges)
1197
1198 * Add test case for all connectors (jannyHou)
1199
1200 * Add proper statusCode for duplicate (Loay)
1201
1202 * Fix datasource to report connector-loading errors (Miroslav Bajtoš)
1203
1204 * Ensure replaceById returns 404 when id not found (Loay)
1205
1206 * Upgrade eslint-config, fix new violations (Miroslav Bajtoš)
1207
1208 * Fix option propagation in relation methods (Miroslav Bajtoš)
1209
1210 * Refactor logic of options.allowExtendedOperators (Matteo Padovano)
1211
1212 * Fix forceId validation error (Loay)
1213
1214 * Add two basic tests for "inq" operator (Miroslav Bajtoš)
1215
1216
12172017-01-19, Version 3.2.0
1218=========================
1219
1220 * Fix should dep (Raymond Feng)
1221
1222 * Upgrade dependencies to remove npm install warnings (Raymond Feng)
1223
1224 * Add missing return for KVAO delete all (Simon Ho)
1225
1226 * Add missing return in KVAO keys test suite (Simon Ho)
1227
1228 * Detect deleteAll support in KVAO tests (Simon Ho)
1229
1230 * Coerce array-like objects into arrays (Heath Morrison)
1231
1232 * Refactor flush to deleteAll (Simon Ho)
1233
1234 * Upgrade eslint-config to 7.x (Miroslav Bajtoš)
1235
1236 * Throw error when model relation name is trigger (Brian Schemp)
1237
1238 * Add flush operation to KVAO (Simon Ho)
1239
1240 * Fix block padding (Siddhi Pai)
1241
1242
12432016-12-21, Version 3.1.1
1244=========================
1245
1246 * Update package.json for LB3 release (Simon Ho)
1247
1248 * Fix eslint errors reported by the latest eslint (Miroslav Bajtoš)
1249
1250 * Fix HasOne.update to propagate options arg (Miroslav Bajtoš)
1251
1252 * Fix linter errors for CI (Simon Ho)
1253
1254 * Replicate .github from loopback repo (Siddhi Pai)
1255
1256 * Update ko translation file (Candy)
1257
1258 * Honour allowExtendedOperators in "DAO.find" (Miroslav Bajtoš)
1259
1260 * Fix MySql CI server Failure (Loay)
1261
1262 * Upgrade eslint & config to latest (Miroslav Bajtoš)
1263
1264
12652016-12-05, Version 3.1.0
1266=========================
1267
1268 * Apply hasManyThrough filter on target model (jannyHou)
1269
1270 * Remove valid connectors from downstream ignores (Simon Ho)
1271
1272 * Add some connectors to ignoreList (jannyHou)
1273
1274 * Tests cleanup (Amir Jafarian)
1275
1276 * Fixed example for creating ValidationError (Boštjan Pišler)
1277
1278 * Correct tests for DAO.Create (Amir Jafarian)
1279
1280 * Add downstream ignore list config (Simon Ho)
1281
1282 * Remove duplicate "engines" from package.json (Miroslav Bajtoš)
1283
1284 * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
1285
1286 * Fix a test (Amir Jafarian)
1287
1288 * Add more robust OH tests for find method (Amir Jafarian)
1289
1290 * Add support for `loaded` hook (Amir Jafarian)
1291
1292 * Use imperative mood for tests (Amir Jafarian)
1293
1294 * Continue _coerce after logical operators (Heath Morrison)
1295
1296 * Make variable names more clear (Amir Jafarian)
1297
1298 * test/kvao: add connectorCapabilities options (Miroslav Bajtoš)
1299
1300 * Fix validateNumericality, nullCheck & add tests (CerealGuy)
1301
1302 * Add test for operation hooks (Amir Jafarian)
1303
1304 * Add ilike and nilike operators (Nick Duffy)
1305
1306 * Fix JSDoc issue (Amir Jafarian)
1307
1308 * Update ja translation file (Candy)
1309
1310 * Remove 3.0 RELEASE-NOTES (Miroslav Bajtoš)
1311
1312 * Fix linting errors (Simon Ho)
1313
1314 * Update validations.js (Rand McKinney)
1315
1316 * Update translation files - round#2 (Candy)
1317
1318 * Fix CI Failures in MySQL (Loay)
1319
1320 * Add code review fixups (Simon Ho)
1321
1322 * More descriptive name for model with shortid (Tim De Pauw)
1323
1324 * Polish PR (Tim De Pauw)
1325
1326 * Support {defaultFn: 'shortid'} (Tim De Pauw)
1327
1328
13292016-09-22, Version 3.0.0
1330=========================
1331
1332 * Describe the change of forceId (jannyHou)
1333
1334 * Add translation files (Amir Jafarian)
1335
1336 * Add 'isNewInstance' for updateAttributes (Amir Jafarian)
1337
1338 * Strict mode now always return validationError (David Cheung)
1339
1340 * Add docs for KVAO (Simon Ho)
1341
1342 * Skip test temporarily (Loay)
1343
1344 * Fix BSON Object ID errors for CI (Simon Ho)
1345
1346
13472016-09-08, Version 3.0.0-alpha.8
1348=================================
1349
1350 * Add missing "done" arg in test/kvao/ttl.suite (Miroslav Bajtoš)
1351
1352 * Support nested queries for arrays (pponugo)
1353
1354 * Refactor TTL tests for KV memory connector (Simon Ho)
1355
1356 * Fix test case for expire (Simon Ho)
1357
1358 * Fix failures of upsertWithWhere (Amir Jafarian)
1359
1360 * Remove expired item before executing expire (Simon Ho)
1361
1362 * Disable `strict` for a few files (Amir Jafarian)
1363
1364
13652016-08-26, Version 3.0.0-alpha.7
1366=================================
1367
1368 * test/memory: remove dummy findOrCreate impl (Miroslav Bajtoš)
1369
1370 * Fix CI introduced by `use strict` (Amir Jafarian)
1371
1372 * Fix manually (Amir Jafarian)
1373
1374 * Auto-update by eslint --fix (Amir Jafarian)
1375
1376 * Update eslint (Amir Jafarian)
1377
1378 * kvao: implement key filter (Miroslav Bajtoš)
1379
1380 * kvao: add iterateKeys() and keys() (Miroslav Bajtoš)
1381
1382 * Globalize KeyValue Memory connector (Simon Ho)
1383
1384 * upsertWithWhere feature support in juggler DAO (Sonali Samantaray)
1385
1386 * Fix typo (Amir Jafarian)
1387
1388 * Rename get test suite to match other test suites (Simon Ho)
1389
1390 * Add TTL for KeyValue related features (Simon Ho)
1391
1392
13932016-08-11, Version 3.0.0-alpha.6
1394=================================
1395
1396 * Return error if the connector does not implement (Amir Jafarian)
1397
1398 * kv-memory: fix crash in regular cleanup (Miroslav Bajtoš)
1399
1400 * test/relation: add missing error handlers (Miroslav Bajtoš)
1401
1402 * forceId=true with auto-increment db (jannyHou)
1403
1404 * Fixup globalization (Amir Jafarian)
1405
1406 * kvao: return 404 when expiring unknown key (Miroslav Bajtoš)
1407
1408 * Implement KeyValue API and memory connector (Miroslav Bajtoš)
1409
1410 * Disallow bulk updateOrCreate. (Richard Pringle)
1411
1412 * Update globalization (Amir Jafarian)
1413
1414 * Use g.f instead of utils.format (Amir Jafarian)
1415
1416 * Optimize related model queries (Horia Radu)
1417
1418 * Support for globalization (Amir Jafarian)
1419
1420 * Update include.js (Rand McKinney)
1421
1422 * Fix test case typo (Supasate Choochaisri)
1423
1424 * Remove unused variables in model.js (Amir Jafarian)
1425
1426 * Declare `definition` (Amir Jafarian)
1427
1428 * Add test to catch invalid date property (Supasate Choochaisri)
1429
1430 * Update URLs in CONTRIBUTING.md (#1002) (Ryan Graham)
1431
1432 * Ensure stable order of items in DAO.find() (Miroslav Bajtoš)
1433
1434 * Add test for updateOrCreate (Amir Jafarian)
1435
1436 * Update validations.js (Rand McKinney)
1437
1438 * Remove DataSource.registerType() (gunjpan)
1439
1440 * give options to validators #984 (RobinBiondi)
1441
1442 * Throw Error for property names with dots (gunjpan)
1443
1444 * Update datasource.js (Ritchie Martori)
1445
1446
14472016-06-13, Version 3.0.0-alpha.5
1448=================================
1449
1450 * Give warning if PK is changed in hooks (Amir Jafarian)
1451
1452 * Remove model events (Candy)
1453
1454 * Persist changes on parent for embedsOne (Dimitris Halatsis)
1455
1456 * Fix (Amir Jafarian)
1457
1458 * Fix error message (Amir Jafarian)
1459
1460 * ModelBuilder: add new setting strictEmbeddedModels (Dimitris Halatsis)
1461
1462 * Retun err for UPSERT if the connector returns err (Amir Jafarian)
1463
1464 * fix error handling when applying undefined mixins (Alex Pitigoi)
1465
1466 * Add test's description (Amir Jafarian)
1467
1468 * Fix incompatibility between different connectors (Amir Jafarian)
1469
1470 * travis: add v4, v6, drop io.js (Miroslav Bajtoš)
1471
1472 * fix avoid duplicate record on scope with promise (Alex Pitigoi)
1473
1474 * Document promise support for DAO::find (Sequoia McDowell)
1475
1476 * Set ESLint as devdep (Simon Ho)
1477
1478 * Use mocha instead of Makefile for testing (Simon Ho)
1479
1480 * DAO.create: don't return the instance (Miroslav Bajtoš)
1481
1482 * RELEASE-NOTES: describe 30283291 (Miroslav Bajtoš)
1483
1484 * Implement operation hooks for EmbedsMany methods (Miroslav Bajtoš)
1485
1486 * Implement operation hooks for EmbedsOne methods (Miroslav Bajtoš)
1487
1488 * eslint config 2.0 + remove extra empty lines (Miroslav Bajtoš)
1489
1490 * Test coverages for hashed password (Amir Jafarian)
1491
1492 * Fix `forceId` check for `replaceById` (Amir Jafarian)
1493
1494 * Fix `notify` bugs for `find` (Amir Jafarian)
1495
1496 * test: extract hook-monitor helper (Miroslav Bajtoš)
1497
1498 * test: extract uid-generator helper (Miroslav Bajtoš)
1499
1500 * test: extract context-test-helpers (Miroslav Bajtoš)
1501
1502 * Define `patch` aliases (Amir Jafarian)
1503
1504
15052016-04-07, Version 3.0.0-alpha.4
1506=================================
1507
1508 * Partition by foreign key for pagination (Raymond Feng)
1509
1510 * Fix style errors (Raymond Feng)
1511
1512 * fix remaining eslint issues (Miroslav Bajtoš)
1513
1514 * eslint --fix (Miroslav Bajtoš)
1515
1516 * Add eslint as "npm run lint" and "posttest" hook (Miroslav Bajtoš)
1517
1518 * Remove unused support/ files (Miroslav Bajtoš)
1519
1520 * Insert copyright headers (Ryan Graham)
1521
1522 * Relicense as MIT only (Ryan Graham)
1523
1524 * Fix Mongo compatibility issue (Amir Jafarian)
1525
1526 * Add automigrate to setup tables for replace test cases (Amir Jafarian)
1527
1528 * Allow test folder to be published (Amir Jafarian)
1529
1530 * support custom field settings under the connector's namespace (bitmage)
1531
1532 * Update error message for missing connector (gunjpan)
1533
1534 * Fix tests for mysql (Amir Jafarian)
1535
1536 * Add forgotten unit test (Miroslav Bajtoš)
1537
1538 * fix nin support for in memory datasource (Horia Radu)
1539
1540 * Improve error message on connector init error (Miroslav Bajtoš)
1541
1542 * discoverSchemas returns an error when modelName is not found, discoverSchema forwards that error and does not hang when no columns, no errors are returned (bitmage)
1543
1544
15452016-02-22, Version 3.0.0-alpha.3
1546=================================
1547
1548 * Fix missing connector error msg for db2, cloudant (Candy)
1549
1550 * Update describe-operation-hooks (Miroslav Bajtoš)
1551
1552
15532016-02-05, Version 3.0.0-alpha.2
1554=================================
1555
1556 * Implementtaion of replace (Amir Jafarian)
1557
1558 * Fix conversion for `updateAttributes` (Amir Jafarian)
1559
1560 * Prevent constructor to be property name (Jue Hou)
1561
1562 * Revert "Change "npm test" to call mocha directly" (Miroslav Bajtoš)
1563
1564 * Change "npm test" to call mocha directly (Hans(Zhenghan) Zhang)
1565
1566 * Refactor `updateAttributes` (Amir Jafarian)
1567
1568 * Update README.md (Simon Ho)
1569
1570 * Add unit test to verify fix for #754 (Tom Kirkpatrick)
1571
1572 * Update package.json (Janny)
1573
1574 * Try mocha test (Janny)
1575
1576 * Implement `findOrCreate` for memory connector (Amir Jafarian)
1577
1578 * Fix a bug when validation is off for findOrCreate (Amir Jafarian)
1579
1580 * Use bluebird in utils.js Replace `global.Promise` with `bluebird` (Jue Hou)
1581
1582 * Fix broken code fencings in the docs (Farid Nouri Neshat)
1583
1584 * Revert "Correct syntax for should and more" (Simon Ho)
1585
1586 * Fix test for shouldjs 8.0.2 upgrade (Simon Ho)
1587
1588 * Upgrade shouldjs to 8.0.2 (Simon Ho)
1589
1590 * Enhance "persist" hook in DAO.updateOrCreate (Miroslav Bajtoš)
1591
1592 * Enhance "persisted" hook in DAO.updateAttributes (Miroslav Bajtoš)
1593
1594 * "loaded" hook in DAO.find: ctx.data, not instance (Miroslav Bajtoš)
1595
1596 * describe-operation-hooks: add "loaded" hook (Miroslav Bajtoš)
1597
1598
15992015-12-22, Version 3.0.0-alpha.1
1600=================================
1601
1602 * Start development of 3.0 (Miroslav Bajtoš)
1603
1604 * Correct syntax for should and more (Amir Jafarian)
1605
1606
16072015-12-13, Version 2.44.0
1608==========================
1609
1610 * Fix failing test for MongoDB connector (Simon Ho)
1611
1612 * Make automatic validation optional (Bert Casier)
1613
1614 * Add refresh script (Simon Ho)
1615
1616 * Add clean scripts (Simon Ho)
1617
1618 * Refactor Makefile (Simon Ho)
1619
1620
16212015-11-27, Version 2.43.0
1622==========================
1623
1624 * Explicitly initialize column of partition by clause and pass it in find()'s options argument (eugene-frb)
1625
1626 * Fix for issue #774 (Pradeep Kumar Tippa)
1627
1628 * silence a warning that introduced in bluebird 3.0 (Clark Wang)
1629
1630 * fixed a bug where an error was sent to the updateAttributesCallback and then ignored (Abe BW)
1631
1632 * Capture includeHasMany() as a find()'s caller by findCaller option (eugene-frb)
1633
1634 * UpdateAttributes: Raises an error if database fails (Wilson Júnior)
1635
1636 * fixes #753 (Joseph M. Persie)
1637
1638 * typo fix (nennad)
1639
1640 * Fix foreignKey length issue (nennad)
1641
1642
16432015-11-23, Version 2.42.0
1644==========================
1645
1646 * Correction of a regression introduced by commit 632898b: when querying an empty array ([]) with a 'neq' filter, there were no matching. (Michael Diguet)
1647
1648 * dropped unused functions and tests fixed (Wert_Lex)
1649
1650 * One more comment (Wert_Lex)
1651
1652 * Looks better now (Wert_Lex)
1653
1654 * home-written map extended with proper .set() method (Wert_Lex)
1655
1656 * on the halfway to keeping original keys (Wert_Lex)
1657
1658 * with updated map which stores original key and tests for them (Wert_Lex)
1659
1660 * Moved inst initialization to place where it used (Wert_Lex)
1661
1662 * All tests passed (Wert_Lex)
1663
1664 * Dirty merge. Tests are broken (Wert_Lex)
1665
1666 * include utils add. Tests ported to should.js (Wert_Lex)
1667
1668
16692015-11-17, Version 2.41.2
1670==========================
1671
1672 * Fix the typo (Raymond Feng)
1673
1674 * fix typo (Clark Wang)
1675
1676 * fix global leak that mocha complains (Clark Wang)
1677
1678 * Refer to licenses with a link (Sam Roberts)
1679
1680
16812015-10-28, Version 2.41.1
1682==========================
1683
1684 * Added missing callback when a model is not found (Federico Rampazzo)
1685
1686 * Rewrite of variable (mdartic)
1687
1688 * Filtering relations of a model with an order specified (mdartic)
1689
1690
16912015-10-07, Version 2.41.0
1692==========================
1693
1694 * Ability to define normalization of undefined query (Ryan Schumacher)
1695
1696 * findByIds would fail when an array of 0 length was passed as its first argument (James Cooke)
1697
1698 * Use strongloop conventions for licensing (Sam Roberts)
1699
1700
17012015-09-11, Version 2.40.1
1702==========================
1703
1704 * Fix the test so that it works across DBs (Raymond Feng)
1705
1706
17072015-09-10, Version 2.40.0
1708==========================
1709
1710 * Fix id comparision in tests so that they work with mongodb object id (Raymond Feng)
1711
1712 * Update validations.js (Rand McKinney)
1713
1714 * Add support for using UUID V4 as defaultFn (Bram Borggreve)
1715
1716 * primaryKey for hasMany and belongsTo relations (sklyukin)
1717
1718 * primaryKey to hasOne relation (sklyukin)
1719
1720 * Add direct copmarison value for array matching (Laurent Villeneuve)
1721
1722 * Add support for matching array values à la mongo. (Laurent Villeneuve)
1723
1724 * Fixed ReferencesMany .findById to check the given id in the ids array of the model instance (Satyadeep)
1725
1726
17272015-08-27, Version 2.39.0
1728==========================
1729
1730 * Optimze automigrate() to cut the test time signicantly (Raymond Feng)
1731
1732 * Fix primary key checks (Simon Ho)
1733
1734 * travis: drop 0.6 and 0.8, add iojs (Miroslav Bajtoš)
1735
1736 * Upgrade Travis to container-based infrastructure (Miroslav Bajtoš)
1737
1738 * Relax id requirement for basic query operations (Simon Ho)
1739
1740
17412015-08-18, Version 2.38.0
1742==========================
1743
1744 * Support embedded query in memory connector. Fix memory connector bug (Laurent Villeneuve)
1745
1746 * Use idEquals when comparing ids in relation definitions (Laurent Villeneuve)
1747
1748 * Handle possible undefined id (Laurent Villeneuve)
1749
1750 * Fix id copmarison by using strings (Laurent Villeneuve)
1751
1752 * Refactor idEquals to utils (Raymond Feng)
1753
1754
17552015-08-14, Version 2.37.0
1756==========================
1757
1758 * Do not coerce RegExp objects to strings (Simon Ho)
1759
1760 * Indicate result of destroyById/protototype.destroy (Fabien Franzen)
1761
1762 * Removed extra ")" (Chris Finn)
1763
1764 * Fixed typo & added the filter units (Chris Finn)
1765
1766
17672015-08-05, Version 2.36.0
1768==========================
1769
1770 * Report deferred exceptions via callback (Raymond Feng)
1771
1772 * fixes issue 673: Include hasMany of relation does not return empty array (Kenta Fried)
1773
1774
17752015-07-30, Version 2.35.3
1776==========================
1777
1778 * Fix the test case with automigrate (Raymond Feng)
1779
1780
17812015-07-30, Version 2.35.2
1782==========================
1783
1784 * Fix regexp error for the memory connector (Simon Ho)
1785
1786
17872015-07-29, Version 2.35.1
1788==========================
1789
1790 * Fix error handling (Raymond Feng)
1791
1792
17932015-07-29, Version 2.35.0
1794==========================
1795
1796 * Remove test for unused utility function (Simon Ho)
1797
1798 * Remove try/catch from find function (Simon Ho)
1799
1800 * Add support for regex operator (Simon Ho)
1801
1802 * Async 'loaded' hook for find (Pradnya Baviskar)
1803
1804 * Promisify all 'discover' methods (Pradnya Baviskar)
1805
1806 * Fix 'persist' hook for updateAttributes() (Pradnya Baviskar)
1807
1808
18092015-07-22, Version 2.34.0
1810==========================
1811
1812 * Don't enforce strictness if allowExtendedOperators: true (MongoDB) (Fabien Franzen)
1813
1814 * Take strict: validate and throw settings into account (Fabien Franzen)
1815
1816 * Filter attributes when strict: true (Fabien Franzen)
1817
1818
18192015-07-21, Version 2.33.3
1820==========================
1821
1822 * Make sure done() is called within the callback (Raymond Feng)
1823
1824
18252015-07-18, Version 2.33.2
1826==========================
1827
1828 * Add NOTICE (Raymond Feng)
1829
1830 * prevent upsert overwriting default values with applyDefaultValues option (Bryan Clark)
1831
1832 * use fromDb to deserialize data after save in Memory connector (Bryan Clark)
1833
1834 * Correctly handle validatesUniquenessOf(idName) (Fabien Franzen)
1835
1836
18372015-07-10, Version 2.33.1
1838==========================
1839
1840 * Fix object merge (Raymond Feng)
1841
1842
18432015-07-10, Version 2.33.0
1844==========================
1845
1846 * Make sure base property definitions are cloned (Raymond Feng)
1847
1848
18492015-07-03, Version 2.32.0
1850==========================
1851
1852 * Fix the regression for date conversion (Raymond Feng)
1853
1854 * Don't cache static scope method results #575 (Fabien Franzen)
1855
1856
18572015-07-02, Version 2.31.1
1858==========================
1859
1860 * Fix the regexp value for like/nlike (Raymond Feng)
1861
1862
18632015-07-02, Version 2.31.0
1864==========================
1865
1866 * Assert the existence of instance (Raymond Feng)
1867
1868 * Make sure operator/options are honored (Raymond Feng)
1869
1870 * Fix coercion from ObjectID to String (Raymond Feng)
1871
1872 * Fix #623 - use actual id order (Fabien Franzen)
1873
1874 * test: fix persistence-hooks failures in MySQL (Miroslav Bajtoš)
1875
1876 * Includes with transaction support (Rus1)
1877
1878 * Fix updateOrCreate transaction propagation (Rus1)
1879
1880 * Fix promise chaining in case of error (Rus1)
1881
1882 * Promisify 'autoupdate' (Pradnya Baviskar)
1883
1884 * Add new hook 'loaded' (Pradnya Baviskar)
1885
1886
18872015-06-16, Version 2.30.1
1888==========================
1889
1890 * Ping async to 1.0.0 to work around context propagation (Raymond Feng)
1891
1892 * Fix the test case (Raymond Feng)
1893
1894
18952015-06-16, Version 2.30.0
1896==========================
1897
1898 * Promisify 'automigrate' (Pradnya Baviskar)
1899
1900 * check object exists before setting __cachedRelations (ningsuhen)
1901
1902 * Fix the test case as updateAll takes `where` directly (Raymond Feng)
1903
1904 * Fix for issues #622 & #623 (ningsuhen)
1905
1906 * Add new hook 'persist' (Pradnya Baviskar)
1907
1908 * Create a script to describe operation hooks (Miroslav Bajtoš)
1909
1910 * Allow 0 as the FK (Raymond Feng)
1911
1912 * fix typo (Clark Wang)
1913
1914 * Dedupe ids args of inq for include (Raymond Feng)
1915
1916
19172015-05-29, Version 2.29.2
1918==========================
1919
1920 * Fix the test case (Raymond Feng)
1921
1922
19232015-05-28, Version 2.29.1
1924==========================
1925
1926 * Update deps (Raymond Feng)
1927
1928 * Don't silently swallow db errors on validation. (Samuel Reed)
1929
1930 * adapt coding style @bajtos (mamboer)
1931
1932 * addressing #603 (Patrick Perini)
1933
1934 * enhancement on #588 (mamboer)
1935
1936 * fix issue #587 (mamboer)
1937
1938 * add test suit for scope - dynamic function (Nemo)
1939
1940
19412015-05-27, Version 2.29.0
1942==========================
1943
1944 * Enhance the apis and add more tests (Raymond Feng)
1945
1946 * Fix for https://github.com/strongloop/loopback/issues/1401 (Raymond Feng)
1947
1948 * Fix ReferenceError: definition is not defined (Dmitry Manannikov)
1949
1950 * Mix in observer apis to the connector (Raymond Feng)
1951
1952 * Enhance fieldsToArray to consider strict mode (Raymond Feng)
1953
1954
19552015-05-20, Version 2.28.1
1956==========================
1957
1958 * Remove dep on sinon (Raymond Feng)
1959
1960 * Update deps (Raymond Feng)
1961
1962
19632015-05-18, Version 2.28.0
1964==========================
1965
1966 * Make sure promise is returned (Raymond Feng)
1967
1968 * Update deps to loopback-connector (Raymond Feng)
1969
1970 * Fix comments (Raymond Feng)
1971
1972 * Enable docs (Raymond Feng)
1973
1974 * Add an optional `options` argument to relation methods (Raymond Feng)
1975
1976 * Add transaction apis (Raymond Feng)
1977
1978 * Refactor the observer functions into a plugin (Raymond Feng)
1979
1980 * Add transaction (Raymond Feng)
1981
1982
19832015-05-16, Version 2.27.1
1984==========================
1985
1986 * Make sure relation scope is applied during include (Raymond Feng)
1987
1988 * Updated JSdoc for Datasource constructor (crandmck)
1989
1990
19912015-05-13, Version 2.27.0
1992==========================
1993
1994 * Fix the target id resolution (Raymond Feng)
1995
1996 * DB Call Optimization in relation includes - Fixes #408 & #166 (ningsuhen)
1997
1998 * Conditionally pass options to connector CRUD methods (Raymond Feng)
1999
2000 * Pass-through options from save to create (Fabien Franzen)
2001
2002
20032015-05-05, Version 2.26.4
2004==========================
2005
2006 * dao: support validateUpsert:false (Miroslav Bajtoš)
2007
2008 * Changes to API docs per Dennis (Rand McKinney)
2009
2010 * Add unit-test for "array" type (Miroslav Bajtoš)
2011
2012
20132015-04-24, Version 2.26.3
2014==========================
2015
2016 * Fix the test cases (Raymond Feng)
2017
2018 * Add support for merging include filters (ningsuhen)
2019
2020 * add test case for hasmanythrough bi-drectional relations (ningsuhen)
2021
2022 * Fix for bug - https://github.com/strongloop/loopback-datasource-juggler/issues/571 (ningsuhen)
2023
2024
20252015-04-24, Version 2.26.2
2026==========================
2027
2028 * Allow leading slash for `path` in model settings (Raymond Feng)
2029
2030
20312015-04-22, Version 2.26.1
2032==========================
2033
2034 * validations: treat `NaN` as a blank value (Miroslav Bajtoš)
2035
2036
20372015-04-22, Version 2.26.0
2038==========================
2039
2040 * Allow custom name mapping for discovered models (Raymond Feng)
2041
2042
20432015-04-17, Version 2.25.1
2044==========================
2045
2046 * Validate model on updateOrCreate (upsert). (Miroslav Bajtoš)
2047
2048
20492015-04-16, Version 2.25.0
2050==========================
2051
2052 * Extend findById to accept an optional filter object (Raymond Feng)
2053
2054
20552015-04-14, Version 2.24.0
2056==========================
2057
2058 * Add new strict mode "validate" (Miroslav Bajtoš)
2059
2060 * Promisify model relation methods (Partap Davis)
2061
2062 * Deprecate property names containing a dot (Miroslav Bajtoš)
2063
2064 * Allow nesting properties to be queried for memory connector (Raymond Feng)
2065
2066
20672015-04-01, Version 2.23.0
2068==========================
2069
2070 * Fix test for "after save" called on save/CREATE (Miroslav Bajtoš)
2071
2072 * Code cleanup in lib/dao.js (Miroslav Bajtoš)
2073
2074 * Save parent model of embedded relations (Fabien Franzen)
2075
2076 * Pass options in operation hooks context. (Fabien Franzen)
2077
2078 * check if id does not exist a bit more explicitly (Pulkit Singhal)
2079
2080 * Fix persistUndefinedAsNull tests w/ SQL connectors (Miroslav Bajtoš)
2081
2082 * Implement scope.updateAll (Fabien Franzen)
2083
2084 * Fix the test cases so that they be run with the mssql connector (Raymond Feng)
2085
2086 * Add model setting "persistUndefinedAsNull" (Miroslav Bajtoš)
2087
2088 * Add abilities to remove and clear observers - Operation Hooks. (0angelic0)
2089
2090
20912015-03-27, Version 2.22.0
2092==========================
2093
2094 * Code cleanup in updateAll/deleteAll (Miroslav Bajtoš)
2095
2096 * Return scope object from DAO.scope (Fabien Franzen)
2097
2098 * Remove all usages of lodash. (Miroslav Bajtoš)
2099
2100 * Clean up delete and update tests (Simon Ho)
2101
2102 * Clean up wording in update/delete tests (Simon Ho)
2103
2104 * Fix wording in update test (Simon Ho)
2105
2106 * Properly support embedsMany destroyAll (Fabien Franzen)
2107
2108 * Clean up update/delete manipulation tests (Simon Ho)
2109
2110 * test: fix test failure in MySQL connector (Miroslav Bajtoš)
2111
2112 * Improve test failure messages (Miroslav Bajtoš)
2113
2114 * Fix regression in prototype.save (Miroslav Bajtoš)
2115
2116 * Enable more CRUD remoting methods for embedsOne (Fabien Franzen)
2117
2118 * Implement scope.findOne (Fabien Franzen)
2119
2120 * use findOrCreate for HasManyThrough#create (Clark Wang)
2121
2122 * Enhance id comparision for updateAttributes (Raymond Feng)
2123
2124 * Enable custom methods on singular relations (Fabien Franzen)
2125
2126 * Implement scope.findById (Fabien Franzen)
2127
2128 * Fix updateAll callback in "transient" connector (Miroslav Bajtoš)
2129
2130 * Memory connector returns updated records count (Simon Ho)
2131
2132 * Add ctx.isNewInstance for "save" hooks (Miroslav Bajtoš)
2133
2134 * deleteAll returns number of deleted records (Miroslav Bajtoš)
2135
2136 * Use the correct way to iterate over an array (Raymond Feng)
2137
2138 * DAO: Fix updateOrCreate to set persisted:true (Miroslav Bajtoš)
2139
2140 * Reject CREATE with a duplicate id (Miroslav Bajtoš)
2141
2142 * add tests for between in memory connector (Daniel B. Vasquez)
2143
2144 * enable between filter for memory db connector (Daniel B. Vasquez)
2145
2146 * fix #429 Multiple Models can't mixin same class (Clark Wang)
2147
2148
21492015-03-16, Version 2.21.0
2150==========================
2151
2152 * Fix the test case so that at least one property is to be changed (Raymond Feng)
2153
2154 * Make sure id properties cannot be changed (Raymond Feng)
2155
2156
21572015-03-12, Version 2.20.0
2158==========================
2159
2160 * Remove trailing spaces. (Miroslav Bajtoš)
2161
2162 * Improve instance-level operation hooks (Fabien Franzen)
2163
2164 * Fix the test case (Raymond Feng)
2165
2166 * fix foreign key dataType bug (didikeke)
2167
2168 * Reformat notifyObserversOf context argument (Fabien Franzen)
2169
2170 * Implement operation hooks' context (Fabien Franzen)
2171
2172 * Allow submodel to hide base properties (Raymond Feng)
2173
2174
21752015-03-04, Version 2.19.2
2176==========================
2177
2178 * Improved and corrected API docs (crandmck)
2179
2180 * Fix problems in annotations that prvented validateAsync and validate functions from appearing in API docs. (crandmck)
2181
2182
21832015-03-03, Version 2.19.1
2184==========================
2185
2186 * Make sure inclusion filter is applied to the target model (Raymond Feng)
2187
2188
21892015-03-02, Version 2.19.0
2190==========================
2191
2192 * Deprecate DAO events (Miroslav Bajtoš)
2193
2194 * Deprecate Model hooks (Miroslav Bajtoš)
2195
2196 * Add Promises to DAO (Partap Davis)
2197
2198 * test for updateAll (rudzon)
2199
2200 * enhance the coercion for boolean/date types (rudzon)
2201
2202 * enhance updateAll to coerce the data per property definitions (rudzon)
2203
2204 * relation-definition: remove trailing whitespace (Miroslav Bajtoš)
2205
2206
22072015-02-20, Version 2.18.1
2208==========================
2209
2210 * Make sure models are migrated to avoid conflicts (Raymond Feng)
2211
2212 * Add err checks (Raymond Feng)
2213
2214 * Fix findByIds test cases (Raymond Feng)
2215
2216
22172015-02-20, Version 2.18.0
2218==========================
2219
2220 * Fix the idType so that it works with both MongoDB and RDBs (Raymond Feng)
2221
2222 * Tidy up tests so that they will work with RDBs (Raymond Feng)
2223
2224 * Fix JS style issues (Raymond Feng)
2225
2226 * Add a new property option `defaultFn` (Miroslav Bajtoš)
2227
2228 * Fix the null/undefined check (Raymond Feng)
2229
2230 * Fix createdAt type so that it won't overflow SQL server int (Raymond Feng)
2231
2232 * ModelBaseClass: promise mode for notifyObserversOf (Miroslav Bajtoš)
2233
2234 * ModelBaseClass: support promise-based observers (Miroslav Bajtoš)
2235
2236 * use lodash to update the findBelongsTo which now returns an array of matches (Bryan Clark)
2237
2238 * Add $now as shortcut default value for date property (Pradnya Baviskar)
2239
2240 * Fix `deleteById(id)` and other test failures (Miroslav Bajtoš)
2241
2242
22432015-02-11, Version 2.17.0
2244==========================
2245
2246 * Add an optional `options` argument to all CRUD methods (Raymond Feng)
2247
2248 * Upgrade deps (Raymond Feng)
2249
2250 * Remove workaround for perfomance degradation (Denis Bardadym)
2251
2252 * Change equal to eql to support mongodb ObjectID (Raymond Feng)
2253
2254 * Enhance the coercion for boolean/date types (Raymond Feng)
2255
2256 * Make sure base properties/settings are merged into the submodel (Raymond Feng)
2257
2258 * support optimized findOrCreate (Clark Wang)
2259
2260 * Fix the perf around should.not.equal for complex objects (Raymond Feng)
2261
2262 * testcase for #420 (Andrey Loukhnov)
2263
2264 * use findOrCreate in hasOne#create (Clark Wang)
2265
2266 * Create model foreign key matching type of opposite part of relation (even if it has a custom field type) (Andrey Loukhnov)
2267
2268 * minor formatting issues (trailing spaces and such) and .editorconfig (Andrey Loukhnov)
2269
2270
22712015-02-05, Version 2.16.0
2272==========================
2273
2274 * Return 400 when client provides an incorrect value (Pradnya Baviskar)
2275
2276 * Relax "id" checks in test/manipulation.test.js (Miroslav Bajtoš)
2277
2278 * Fix typo (Raymond Feng)
2279
2280 * test: undefined property values are preserved (Miroslav Bajtoš)
2281
2282 * Remove undefined properties for create (Raymond Feng)
2283
2284 * Update to `should` to the latest version 4.6.3 (Miroslav Bajtoš)
2285
2286 * Relax the id equality test for mongodb object ids (Raymond Feng)
2287
2288
22892015-02-02, Version 2.15.0
2290==========================
2291
2292 * Fix id type issue for update (Raymond Feng)
2293
2294 * Rename hook "query" to "access" (Miroslav Bajtoš)
2295
2296 * Implement intent hook `before delete` (Miroslav Bajtoš)
2297
2298 * Remove redundant `.toObject()` call from `upsert` (Miroslav Bajtoš)
2299
2300 * Fix regression in `.save()` from 1fd6eff1 (Miroslav Bajtoš)
2301
2302 * Fix hasOne remoting (Raymond Feng)
2303
2304 * Make sure batch create calls back with correct data (Raymond Feng)
2305
2306 * Intent-based hooks for persistence (Miroslav Bajtoš)
2307
2308 * ModelBaseClass: implement async observe/notify (Miroslav Bajtoš)
2309
2310 * Upgrade `should` to the latest 1.x version (Miroslav Bajtoš)
2311
2312 * Fixed nullCheck in validations to correct behavior when dealing with undefined attributes (James Billingham)
2313
2314 * Supply target to applyProperties function (Fabien Franzen)
2315
2316 * fix id property for composite ids (Clark Wang)
2317
2318 * fix id properties should sort by its index (Clark Wang)
2319
2320 * Fixed typos and logic for protected properties (Christian Enevoldsen)
2321
2322 * adds support for protected properties. (Christian Enevoldsen)
2323
2324 * support embeds data for belongsTo relation Signed-off-by: Clark Wang <clark.wangs@gmail.com> (Clark Wang)
2325
2326
23272015-01-15, Version 2.14.1
2328==========================
2329
2330 * Fix detection of `util.inspect` version (Miroslav Bajtoš)
2331
2332 * fix recursive calls if create belongsTo model in beforeCreate hook (Clark Wang)
2333
2334
23352015-01-14, Version 2.14.0
2336==========================
2337
2338 * Remove console.log (Raymond Feng)
2339
2340 * Fix for #369 (Dallon Feldner)
2341
2342 * Fix virtual id get function. (Berkeley Martinez)
2343
2344 * Fix Model.prototype.inspect (Miroslav Bajtoš)
2345
2346 * Include property value in the error message (Miroslav Bajtoš)
2347
2348 * Update datasource.js (Rand McKinney)
2349
2350 * Change Model to BaseModel for clarity (Fabien Franzen)
2351
2352 * Don't coerce nested objects into Model instances (Fabien Franzen)
2353
2354
23552015-01-07, Version 2.13.0
2356==========================
2357
2358 * added test for sorting undefined values (Christian Vette)
2359
2360 * Fix the floating number comparison (Raymond Feng)
2361
2362 * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)
2363
2364 * replace deprecated function __defineGetter__ (bitmage)
2365
2366 * add a flag to callback of findOrCreate to indicate find or create (Clark Wang)
2367
2368 * fix sorting of undefined values with multiple columns (Christian Vette)
2369
2370 * code style (cvette)
2371
2372 * fix sorting with undefined in memory connector (cvette)
2373
2374 * Added support for inline parameters like: new GeoPoint(-34, 150) (Simo Moujami)
2375
2376 * fix default include in default scope fails findById (Clark Wang)
2377
2378 * Added test for toString() (Simo Moujami)
2379
2380 * Additional formatting (Simo Moujami)
2381
2382 * Fixed constructor parameters and added bdd tests for constructor validation (Simo Moujami)
2383
2384 * Fixed indentation (Simo Moujami)
2385
2386 * Added mocha tests for GeoPoint (Simo Moujami)
2387
2388 * renamed intermediary variable (Simo Moujami)
2389
2390 * Fixed the haversine formula to calculate distance between 2 points properly (Simo Moujami)
2391
2392
23932014-12-08, Version 2.12.0
2394==========================
2395
2396 * Relax the id comparison (Raymond Feng)
2397
2398 * Allow more flavors of nullable values from DB discovery (Raymond Feng)
2399
2400 * Fix a typo (Raymond Feng)
2401
2402 * docs.json: add lib/model.js (Miroslav Bajtoš)
2403
2404 * Update README.md (Rand McKinney)
2405
2406 * fix embedsOne error when embed instance is undefined or null (Clark Wang)
2407
2408 * Be explicit: set RelationDefinition multiple flag (Fabien Franzen)
2409
2410 * Allow hasOne relation to have a scope option (Clark Wang)
2411
2412 * fix skipping async validator will always fail if condition is un-fulfilled (Clark Wang)
2413
2414
24152014-11-13, Version 2.11.0
2416==========================
2417
2418 * Bump version (Raymond Feng)
2419
2420 * handle relationship create with [array] (bitmage)
2421
2422 * #350: Creating a batch via hasMany relation is failing. Added handling of array argument. (Alex Voitau)
2423
2424 * #350: Creating a batch via hasMany relation is failing. Added context 'with scope' to allow individual execution of tests. (Alex Voitau)
2425
2426
24272014-11-04, Version 2.10.3
2428==========================
2429
2430 * Bump version (Raymond Feng)
2431
2432 * Add support for multiple includes that use relation syntax (Raymond Feng)
2433
2434 * Tests for non standard id - hasOne and polymorphic (Pandaiolo)
2435
2436 * Fix HasOne PK on modelFrom instead of modelTo (Pandaiolo)
2437
2438 * Remove "Suite" (Rand McKinney)
2439
2440 * Tiny fix: default __persisted to false (Fabien Franzen)
2441
2442 * Don't apply defaults when fields are specified (Fabien Franzen)
2443
2444
24452014-10-21, Version 2.10.2
2446==========================
2447
2448 * Bump version (Raymond Feng)
2449
2450 * Fix the automigrate issue (Raymond Feng)
2451
2452
24532014-10-15, Version 2.10.1
2454==========================
2455
2456 * Bump version (Raymond Feng)
2457
2458 * Enable include scope for belongsTo (Fabien Franzen)
2459
2460 * Call relation methods in the right context (Fabien Franzen)
2461
2462
24632014-10-13, Version 2.10.0
2464==========================
2465
2466 * Bump version (Raymond Feng)
2467
2468 * Don't inherit settings.base when extending a model (Miroslav Bajtoš)
2469
2470 * Allow include syntax without scope param (Fabien Franzen)
2471
2472 * Allow 'rel' and 'relation' (Fabien Franzen)
2473
2474 * Refactored inclusion (Fabien Franzen)
2475
2476 * Implement include scopes (Fabien Franzen)
2477
2478 * Fix failing test (Fabien Franzen)
2479
2480 * Allow `attributes` as an alias for `properties` (for LDL) (Fabien Franzen)
2481
2482 * Cleanup, consistency: allow properties to be a function (Fabien Franzen)
2483
2484 * applyProperties => properties (object/false) (Fabien Franzen)
2485
2486 * Test default scope with relations (Fabien Franzen)
2487
2488 * Allow default scope to be a function (Fabien Franzen)
2489
2490 * Full test CRUD suite for default scope (Fabien Franzen)
2491
2492 * Properly reset Memory connector cache on automigrate (Fabien Franzen)
2493
2494 * Implemented collection setting for Memory connector (Fabien Franzen)
2495
2496 * Extract mergeQuery and setScopeValuesFromWhere (Fabien Franzen)
2497
2498 * Add contribution guidelines (Ryan Graham)
2499
2500 * Fix camel-case issue where relation is 'hasAndBelongsToMany' #304 (Khashayar Hajian)
2501
2502 * Test improvement, shows _targetClass camelCase bug (Khashayar Hajian)
2503
2504 * Tidy up model building from data sources (Raymond Feng)
2505
2506
25072014-09-12, Version 2.9.0
2508=========================
2509
2510 * Bump version (Raymond Feng)
2511
2512 * Fix to handle new isNewRecord implementation (Fabien Franzen)
2513
2514 * Add test case for Numeric ids (with optional forceId) (Fabien Franzen)
2515
2516 * Allow embedsOne to use auto-generated id (from connector) (Fabien Franzen)
2517
2518 * Implemented persistent: true option for embedsOne (Fabien Franzen)
2519
2520 * Introduce embedsMany persistent: true option (Fabien Franzen)
2521
2522 * More tests for embedsMany with persistent model (Fabien Franzen)
2523
2524 * Only check id as part of embedsMany relation (Fabien Franzen)
2525
2526 * Fix multi-property validation definitions (Fabien Franzen)
2527
2528 * Tiny fixes (Fabien Franzen)
2529
2530 * DAO save() now uses isNewRecord() (Fabien Franzen)
2531
2532 * More fixes/tests (Fabien Franzen)
2533
2534 * Enforce id (prevent user-set value), fix isNewRecord (Fabien Franzen)
2535
2536 * Test .value() method - as used by scope getter (Fabien Franzen)
2537
2538 * embedsMany - implement sync scope getter (Fabien Franzen)
2539
2540 * hasAndBelongsToMany - test sync scope getter (Fabien Franzen)
2541
2542 * polymorphic hasMany - test sync scope getter (Fabien Franzen)
2543
2544 * hasOne - test sync scope getter (Fabien Franzen)
2545
2546 * hasMany through - sync scope getter (Fabien Franzen)
2547
2548 * Scope method should return cached relation value (sync) (Fabien Franzen)
2549
2550 * Export RelationClasses (Fabien Franzen)
2551
2552
25532014-09-04, Version 2.8.0
2554=========================
2555
2556 * Bump version (Raymond Feng)
2557
2558 * Simplify the id lookup (Raymond Feng)
2559
2560 * Remove legacy Schema references (Fabien Franzen)
2561
2562 * getTransientSchema => getTransientDataSource (Fabien Franzen)
2563
2564 * Re-use modelBuilder - correctly fixes lookup (Fabien Franzen)
2565
2566 * Polymorphic lookup from all registered dataSources (Fabien Franzen)
2567
2568 * Fix #283 (Fabien Franzen)
2569
2570 * Isolate transient schema helper (Fabien Franzen)
2571
2572 * tidy codes (Clark Wang)
2573
2574 * Refector tests and codes (Clark Wang)
2575
2576 * Refactor tests and codes (Clark Wang)
2577
2578 * Refactor codes into same if condition (Clark Wang)
2579
2580 * Remove only (Clark Wang)
2581
2582 * Add tests for hasMany through between same model (Clark Wang)
2583
2584 * Fix hasMany through can't custom relation name (Clark Wang)
2585
2586 * Added a test case for neq (Raymond Feng)
2587
2588 * Fix typo of keyThrough and get from params (Clark Wang)
2589
2590 * Remove unnecessary console.log (Clark Wang)
2591
2592 * Fix options for hasManyThrough doesn't apply (Clark Wang)
2593
2594 * revert eof (Clark Wang)
2595
2596 * Revert leading spaces (Clark Wang)
2597
2598 * revert change to ReferencesMany.prototype.add (Clark Wang)
2599
2600 * add jsdoc and fix add data to referencesMany.add (Clark Wang)
2601
2602 * Allow to add connection with through data for HasManyThrough relation (Clark Wang)
2603
2604 * fix polymorphicName var scope (Clark Wang)
2605
2606 * Reset json when building model definition (Fabien Franzen)
2607
2608 * Add hint, minor cleanup (Fabien Franzen)
2609
2610 * Enable dynamic modelTo for scopes (Fabien Franzen)
2611
2612 * Updated embedded relations to use transient connector (Fabien Franzen)
2613
2614 * Implemented Transient connector (Fabien Franzen)
2615
2616 * Fix error messages, should be lowercase (Fabien Franzen)
2617
2618 * Add neq operator support for memory connector (Raymond Feng)
2619
2620 * Remove iteration of config args (Fabien Franzen)
2621
2622 * Validations configuration as object (Fabien Franzen)
2623
2624 * Applied Coobaha's PR fix - prevents undefined values (Fabien Franzen)
2625
2626 * Expose validation metadata (Fabien Franzen)
2627
2628
26292014-08-27, Version 2.7.0
2630=========================
2631
2632 * Bump version (Raymond Feng)
2633
2634 * Make sure timeout handle is cleared (Raymond Feng)
2635
2636 * Make sure error events are emitted by data source (Raymond Feng)
2637
2638 * Implement where arg on scoped count and destroyAll (Fabien Franzen)
2639
2640
26412014-08-25, Version 2.6.1
2642=========================
2643
2644 * Bump version (Raymond Feng)
2645
2646 * Tweak the model names used by tests to avoid mssql conflicts (Raymond Feng)
2647
2648 * Use the correct dataSource for modelFrom/modelTo (Fabien Franzen)
2649
2650
26512014-08-22, Version 2.6.0
2652=========================
2653
2654 * Bump version (Raymond Feng)
2655
2656 * Emit deleted event on delete for embedsMany relations (Jaka Hudoklin)
2657
2658 * Add ping() to test connections (Raymond Feng)
2659
2660
26612014-08-21, Version 2.5.2
2662=========================
2663
2664 * Bump version (Raymond Feng)
2665
2666 * Make sure falsy value is kept for properties not predefined (Raymond Feng)
2667
2668
26692014-08-21, Version 2.5.1
2670=========================
2671
2672 * Bump version (Raymond Feng)
2673
2674 * Fix side-effects of PR #237 - see #242 (Fabien Franzen)
2675
2676
26772014-08-20, Version 2.5.0
2678=========================
2679
2680 * Bump version (Raymond Feng)
2681
2682 * Save the instance even the callback is not present (Raymond Feng)
2683
2684 * Fix the embedsOne test cases (Raymond Feng)
2685
2686 * Fix test cases (Raymond Feng)
2687
2688 * Validate embedded models by default (Fabien Franzen)
2689
2690 * Implemented embedsOne (Fabien Franzen)
2691
2692 * Coerce embedded model types (Fabien Franzen)
2693
2694 * Implement DAO unsetAttribute (Fabien Franzen)
2695
2696 * Implemented belongsTo update/destroy on scope (Fabien Franzen)
2697
2698 * Implemented hasOne destroy() (Fabien Franzen)
2699
2700 * Implemented hasOne update() (Fabien Franzen)
2701
2702 * Implement update() on embedsOne scope (Fabien Franzen)
2703
2704 * Fix relations for RDBMS connectors (mysql, postgresql) (Fabien Franzen)
2705
2706
27072014-08-18, Version 2.4.2
2708=========================
2709
2710 * Bump version (Raymond Feng)
2711
2712 * Prevent failure with null in List toObject (Fabien Franzen)
2713
2714 * Fix ModelDefinition toJSON bug (Fabien Franzen)
2715
2716 * Add ability to apply a plugin multiple times from LDL (Fabien Franzen)
2717
2718 * HasMany exists should use internal findById (Fabien Franzen)
2719
2720 * Tiny fix: obsolete i8n require (Fabien Franzen)
2721
2722 * Properly handle LDL for polymorphic relations (Fabien Franzen)
2723
2724
27252014-08-15, Version 2.4.1
2726=========================
2727
2728 * Bump version (Raymond Feng)
2729
2730 * Check null (Raymond Feng)
2731
2732
27332014-08-15, Version 2.4.0
2734=========================
2735
2736 * Bump version (Raymond Feng)
2737
2738 * Fix the test cases to avoid hard-coded ids (Raymond Feng)
2739
2740 * Add strict flag to sortObjectsByIds (Fabien Franzen)
2741
2742 * Fix conflicts (Fabien Franzen)
2743
2744 * Moved DataAccessObject.sortByIds to utils.js (Fabien Franzen)
2745
2746 * Remove redundant test (Fabien Franzen)
2747
2748 * Allow partial list of ids for sortByIds (Fabien Franzen)
2749
2750 * Fixed duplicate code (Fabien Franzen)
2751
2752 * Implement embedded.destroy() integration (Fabien Franzen)
2753
2754 * Refactor embedsMany - auto-save parent (Fabien Franzen)
2755
2756 * Refactor polymorphic relations, fix inverse #215 (Fabien Franzen)
2757
2758 * Clarified tests, fixed BelongsTo.prototype.create (Fabien Franzen)
2759
2760 * Handle toObject in updateAttributes (Fabien Franzen)
2761
2762 * Fix formatting (Fabien Franzen)
2763
2764 * Fix scopeMethods closure issue (Fabien Franzen)
2765
2766 * Refactored embedsMany (relationName vs. propertyName) (Fabien Franzen)
2767
2768 * Enable DL definition of embedsMany + referencesMany (Fabien Franzen)
2769
2770 * Refactor modelTo logic into lookupModelTo (Fabien Franzen)
2771
2772 * Allow runtime override of scope/relation order query param (Fabien Franzen)
2773
2774 * Implement scope.defineMethod/relation.defineMethod (Fabien Franzen)
2775
2776 * add count to relations (Jaka Hudoklin)
2777
2778 * Fix links to confluence docs (Rand McKinney)
2779
2780 * Tiny fix: use setAttributes (Fabien Franzen)
2781
2782 * Cleanup mixin tests (Fabien Franzen)
2783
2784
27852014-08-08, Version 2.3.1
2786=========================
2787
2788 * Fix a name conflict in scope metadata (Raymond Feng)
2789
2790
27912014-08-08, Version 2.3.0
2792=========================
2793
2794 * Fix the test case so that it works with other DBs (Raymond Feng)
2795
2796 * Bump version (Raymond Feng)
2797
2798 * Pass options into scope (Raymond Feng)
2799
2800 * Add scope definitions to the model class (Raymond Feng)
2801
2802 * Clean up the mixin processing (Raymond Feng)
2803
2804 * Fix bug when using multiple include keys (Laurent)
2805
2806 * Unified plugins into mixins (Fabien Franzen)
2807
2808 * Fix typo: loadPlugin(s) (Fabien Franzen)
2809
2810 * Minor touch-ups (Fabien Franzen)
2811
2812 * Basic plugin architecture (Fabien Franzen)
2813
2814
28152014-08-07, Version 2.2.2
2816=========================
2817
2818 * Bump version (Raymond Feng)
2819
2820 * Upgrade qs (Raymond Feng)
2821
2822 * Upgrade qs version (Raymond Feng)
2823
2824
28252014-08-04, Version 2.2.1
2826=========================
2827
2828 * Bump version (Raymond Feng)
2829
2830 * Changed options.path to option.http.path (Fabien Franzen)
2831
2832 * Removed normalization (see strong-remoting) (Fabien Franzen)
2833
2834 * Emit dataAccessConfigured events during attach (Raymond Feng)
2835
2836 * Changed normalization api - enabled hasOne remoting (Fabien Franzen)
2837
2838 * Customize/Normalize class-level remoting http path (Fabien Franzen)
2839
2840 * Add test to protect the use of include in related method (Laurent Chenay)
2841
2842 * Do not overwrite inclusion but scope them. Needed in relation hasManyThrought (Laurent Chenay)
2843
2844
28452014-07-30, Version 2.2.0
2846=========================
2847
2848 * fix datasources to support new model parameters (Jaka Hudoklin)
2849
2850 * Bump version (Raymond Feng)
2851
2852 * Correctly handle remoting of scope methods (Fabien Franzen)
2853
2854 * Handle remoting of custom scope methods (Fabien Franzen)
2855
2856 * ReferencesMany fixes after LB integration tests (Fabien Franzen)
2857
2858 * Fixed embedsMany after LB integration (Fabien Franzen)
2859
2860 * Fix the test failure for mongodb (Raymond Feng)
2861
2862 * Allow custom scopeMethods option (obj/fn) for relation scopes (Fabien Franzen)
2863
2864 * Renamed EmbedsMany 'reference' option to 'belongsTo' (Fabien Franzen)
2865
2866 * Implemented referencesMany (Fabien Franzen)
2867
2868 * Added option: reference to enable embedsMany add/remove (Fabien Franzen)
2869
2870 * Implemented findByIds (Fabien Franzen)
2871
2872 * Minor touchups (Fabien Franzen)
2873
2874 * Tests for polymorphic embedsMany (Fabien Franzen)
2875
2876 * Implemented more complex scenaro: embedsMany + relations (Fabien Franzen)
2877
2878 * Convenience embedsMany accessors: at(idx), get(id), set(id, data) (Fabien Franzen)
2879
2880 * Fix test cases (Raymond Feng)
2881
2882 * Increase the max number of model listeners (Raymond Feng)
2883
2884 * Remove unused data (Raymond Feng)
2885
2886 * Export GeoPoint class (Raymond Feng)
2887
2888 * Fix HEAD on relation hasMany (Laurent Chenay)
2889
2890 * Updated remaining relations to use polymorphicParams (Fabien Franzen)
2891
2892 * polymorphics can now be declared using object (Fabien Franzen)
2893
2894 * typeTo => discriminator (Fabien Franzen)
2895
2896 * Require unique ids for embedded items (Fabien Franzen)
2897
2898 * Test build of embedsMany (Fabien Franzen)
2899
2900 * Minor fix (Fabien Franzen)
2901
2902 * Added validation for embedded items (optional) (Fabien Franzen)
2903
2904 * Implemented embedsMany relation (Fabien Franzen)
2905
2906 * Minor tweaks; pass-through properties/scope for hasAndBelongsToMany (Fabien Franzen)
2907
2908 * Implemented polymorphic hasMany through inverse (Fabien Franzen)
2909
2910 * More hasAndBelongsToMany tests (Fabien Franzen)
2911
2912 * Minor cleanup (Fabien Franzen)
2913
2914 * Implemented polymorphic hasOne (Fabien Franzen)
2915
2916 * Implemented polymorphic hasAndBelongsToMany (Fabien Franzen)
2917
2918 * Implemented polymorphic hasMany (Fabien Franzen)
2919
2920
29212014-07-27, Version 2.1.1
2922=========================
2923
2924 * Bump version (Raymond Feng)
2925
2926 * Fix a regression where undefined id should not match any record (Raymond Feng)
2927
2928
29292014-07-27, Version 2.1.0
2930=========================
2931
2932 * Bump version (Raymond Feng)
2933
2934 * datasource: support connectors without `getTypes` (Miroslav Bajtoš)
2935
2936 * relation: add `scope._target` for `hasOne` (Miroslav Bajtoš)
2937
2938 * Fix scoped destroyAll: only use 'where', not full 'filter' args (Fabien Franzen)
2939
2940 * Added test for belongsTo scope/properties (Fabien Franzen)
2941
2942 * Implement scope/properties for BelongsTo (+ fix foreign key matching) (Fabien Franzen)
2943
2944
29452014-07-22, Version 2.0.0
2946=========================
2947
2948 * add support for disabling relationship includes (Jaka Hudoklin)
2949
2950 * add support for relationship options (Jaka Hudoklin)
2951
2952 * Move relation remoting to loopback (Raymond Feng)
2953
2954
29552014-07-21, Version 2.0.0-beta5
2956===============================
2957
2958 * Bump version (Raymond Feng)
2959
2960 * Expose base model class as `base` property (Raymond Feng)
2961
2962
29632014-07-16, Version 2.0.0-beta4
2964===============================
2965
2966 * Add missing inflection dep back (Raymond Feng)
2967
2968
29692014-07-15, Version 2.0.0-beta3
2970===============================
2971
2972 * Bump version (Raymond Feng)
2973
2974 * 2.0.0-beta2 (Miroslav Bajtoš)
2975
2976 * validations: support non-V8 browsers (Miroslav Bajtoš)
2977
2978 * Remove remoting metadata (Raymond Feng)
2979
2980 * Fix the forEach closure (Raymond Feng)
2981
2982 * ModelBuilder: add `prototype.defineValueType` (Miroslav Bajtoš)
2983
2984 * Replace connector base with loopback-connector (Miroslav Bajtoš)
2985
2986 * Remove unsupported connectors (Miroslav Bajtoš)
2987
2988 * 2.0.0-beta1 (Ritchie Martori)
2989
2990 * Keep undefined/null values for the array type (Raymond Feng)
2991
2992 * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck)
2993
2994 * Copy info from api-model.md to JSDoc (crandmck)
2995
2996 * !fixup Remove additional remoting (Ritchie Martori)
2997
2998 * !fixup Require ._delegate for fn override (Ritchie Martori)
2999
3000 * Remove relation remoting (Ritchie Martori)
3001
3002 * Remove remoting metadata (Ritchie Martori)
3003
3004
30052014-07-15, Version 1.7.0
3006=========================
3007
3008 * Make sure related properties are defined for RDBMS (Raymond Feng)
3009
3010 * Test instance or id by the model type (Raymond Feng)
3011
3012 * Bump version (Raymond Feng)
3013
3014 * Allow before hooks to pass arguments to next() (Raymond Feng)
3015
3016 * Remoting methods for hasMany through (Raymond Feng)
3017
3018 * Fix the error message (Raymond Feng)
3019
3020 * Sign-off (Fabien Franzen)
3021
3022 * Renamed mapping to properties (Fabien Franzen)
3023
3024 * Fix validateUniqueness/nextTick (Fabien Franzen)
3025
3026 * Handle custom error codes (Fabien Franzen)
3027
3028 * More validations and tests (Fabien Franzen)
3029
3030 * Don't check uniqueness of blank values (Fabien Franzen)
3031
3032 * RelationDefinition applyScope/applyMapping (Fabien Franzen)
3033
3034 * Allows default model class to be configured (Raymond Feng)
3035
3036 * DAO.prototype.exists should return 'boolean' type. (Samuel Reed)
3037
3038
30392014-07-03, Version 1.6.3
3040=========================
3041
3042 * Make sure 'deleteById' is used as the remote operation name (Miroslav Bajtoš)
3043
3044 * Make sure 'upsert' is used as the remote operation name (Raymond Feng)
3045
3046
30472014-06-27, Version 1.6.2
3048=========================
3049
3050 * Bump version and update deps (Raymond Feng)
3051
3052 * Normalize filter.order and enforce more checks (Raymond Feng)
3053
3054 * Make sure type of the foreign key match the primary key (Raymond Feng)
3055
3056 * Add "hasOne" to relationTypes (Ritchie Martori)
3057
3058 * Update link to doc (Rand McKinney)
3059
3060
30612014-06-24, Version 2.0.0-beta2
3062===============================
3063
3064 * validations: support non-V8 browsers (Miroslav Bajtoš)
3065
3066 * Work around for Date default (Raymond Feng)
3067
3068 * Synchronize with cachedRelations (Raymond Feng)
3069
3070 * Remove remoting metadata (Raymond Feng)
3071
3072 * Fix the forEach closure (Raymond Feng)
3073
3074 * ModelBuilder: add `prototype.defineValueType` (Miroslav Bajtoš)
3075
3076 * Replace connector base with loopback-connector (Miroslav Bajtoš)
3077
3078 * Remove unsupported connectors (Miroslav Bajtoš)
3079
3080 * 2.0.0-beta1 (Ritchie Martori)
3081
3082 * Keep undefined/null values for the array type (Raymond Feng)
3083
3084 * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck)
3085
3086 * Copy info from api-model.md to JSDoc (crandmck)
3087
3088 * !fixup Remove additional remoting (Ritchie Martori)
3089
3090 * !fixup Require ._delegate for fn override (Ritchie Martori)
3091
3092 * Remove relation remoting (Ritchie Martori)
3093
3094 * Remove remoting metadata (Ritchie Martori)
3095
3096
30972014-06-20, Version 1.6.1
3098=========================
3099
3100 * Bump version (Raymond Feng)
3101
3102 * Fix the test case (Raymond Feng)
3103
3104 * Use async for flow control (Raymond Feng)
3105
3106 * Clean up comments (Raymond Feng)
3107
3108 * Fix the error msg (Raymond Feng)
3109
3110 * More clean up for the scope processing (Raymond Feng)
3111
3112 * Add more jsdocs (Raymond Feng)
3113
3114 * Optimize model instantiation and conversion (Raymond Feng)
3115
3116 * Add hooks remove dao (Rand McKinney)
3117
3118 * Add hooks and include mixins (crandmck)
3119
3120 * Enhance the wildcard to regexp conversion (Raymond Feng)
3121
3122 * Add like/nlike support for memory connector (Raymond Feng)
3123
3124 * Add support for updating multiple instances with query (Raymond Feng)
3125
3126 * Minor JSDoc cleanup (crandmck)
3127
3128 * Initial JSDoc cleanup (crandmck)
3129
3130 * Add ModelBuilder class (crandmck)
3131
3132 * Allows skip or offset (Raymond Feng)
3133
3134 * Adding back the remoting metadata (Raymond Feng)
3135
3136 * Clean up scope implementation (Raymond Feng)
3137
3138 * Add support for hasOne (Raymond Feng)
3139
3140 * Fix the hasMany through connection (Raymond Feng)
3141
3142 * Refactor relation into classes (Raymond Feng)
3143
3144 * Add properties and other doc cleanup (crandmck)
3145
3146 * Convert null to NotFoundError for remoting call to DataAccessObject.findOne. (Alberto Leal)
3147
3148 * Fix the comparison for null/boolean values (Raymond Feng)
3149
3150 * More JSDoc cleanup (crandmck)
3151
3152 * Add boolean tests (Raymond Feng)
3153
3154 * Fix the typo (Raymond Feng)
3155
3156 * Make sure the records are sorted by seq (Raymond Feng)
3157
3158 * Add more tests (Raymond Feng)
3159
3160 * Enhance comparators for memory connector (Raymond Feng)
3161
3162 * Update datasource.js (Rand McKinney)
3163
3164 * Update docs.json (Rand McKinney)
3165
3166
31672014-06-04, Version 1.5.5
3168=========================
3169
3170 * Bump version (Raymond Feng)
3171
3172 * Fix the logical operator check (Raymond Feng)
3173
3174 * Fix JS doc for private methods (Raymond Feng)
3175
3176 * Normalize/validate the query filter object (Raymond Feng)
3177
3178 * Use connector's buildWhere to implement count (Raymond Feng)
3179
3180 * JSDoc improvements (Rand McKinney)
3181
3182 * validations: include more details in `err.message` (Miroslav Bajtoš)
3183
3184
31852014-05-27, Version 1.5.4
3186=========================
3187
3188 * Bump version (Raymond Feng)
3189
3190 * Keep undefined/null values for the array type (Raymond Feng)
3191
3192 * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck)
3193
3194 * Copy info from api-model.md to JSDoc (crandmck)
3195
3196 * validations: include more details in `err.message` (Miroslav Bajtoš)
3197
3198 * Add a path to show customer.orders(query, cb) (Raymond Feng)
3199
3200 * Add support for logical operator (AND/OR) (Raymond Feng)
3201
3202
32032014-05-20, Version 1.5.2
3204=========================
3205
3206 * validations: include more details in `err.message` (Miroslav Bajtoš)
3207
3208
32092014-05-16, Version 1.5.1
3210=========================
3211
3212 * Bump version (Raymond Feng)
3213
3214 * Add a path to show customer.orders(query, cb) (Raymond Feng)
3215
3216 * Fix typo "Unkown" => "Unknown" (Adam Schwartz)
3217
3218 * Updated JSDoc comments with content from .md file (crandmck)
3219
3220 * Add support for logical operator (AND/OR) (Raymond Feng)
3221
3222
32232014-05-15, Version 1.5.0
3224=========================
3225
3226 * validations: support multi-key unique constraint (Miroslav Bajtoš)
3227
3228 * Update JSDoc comments with content from api-model.md (crandmck)
3229
3230 * Add JSDoc for lat and lng properties. (Rand McKinney)
3231
3232 * Add missing changed event (Ritchie Martori)
3233
3234 * Local Storage (Ritchie Martori)
3235
3236 * Do not .toObject if already Object (Ritchie Martori)
3237
3238 * Fix bug where invalid relations in include filters would hang the server (Zack Bloom)
3239
3240 * Update deps (Raymond Feng)
3241
3242
32432014-05-13, Version 1.3.13
3244==========================
3245
3246 * Bump version (Raymond Feng)
3247
3248 * Add test cases for updateOrCreate/save and fix related issues (Raymond Feng)
3249
3250 * Remove undefined for the data to be saved (Raymond Feng)
3251
3252 * Remove the undefined property to avoid mongodb upsert overwrite (Raymond Feng)
3253
3254 * Make sure ObjectID type is not parsed as object (Raymond Feng)
3255
3256 * Fix JSDoc - remove newlines from function alias declarations, etc. (crandmck)
3257
3258 * Correct JSDoc for discoverModelDefinitions (Rand McKinney)
3259
3260 * Fix remoting for IDs in URLs (Ritchie Martori)
3261
3262 * Add hidden property support (Ritchie Martori)
3263
3264 * scope-like remotable metadata for belongsTo (Miroslav Bajtoš)
3265
3266
32672014-04-04, Version 1.3.10
3268==========================
3269
3270 * Bump version (Raymond Feng)
3271
3272 * Fix the method for belongsTo with correct receiver (Raymond Feng)
3273
3274
32752014-04-04, Version 1.3.9
3276=========================
3277
3278 * scope: improve description of shared methods (Miroslav Bajtoš)
3279
3280 * Re-enable skipped test. (Miroslav Bajtoš)
3281
3282 * scope: add _targetClass to scope property (Miroslav Bajtoš)
3283
3284
32852014-03-27, Version 1.3.8
3286=========================
3287
3288 * Bump version (Raymond Feng)
3289
3290 * Remove the disconnect to avoid race condition (Raymond Feng)
3291
3292 * Fix the base sql connector to correct escape id values (Raymond Feng)
3293
3294 * Set the relation property correctly (Raymond Feng)
3295
3296
32972014-03-19, Version 1.3.7
3298=========================
3299
3300 * Bump version (Raymond Feng)
3301
3302 * Simplify the inclusion processing (Raymond Feng)
3303
3304 * Create scoped methods for belongsTo and improve docs (Raymond Feng)
3305
3306 * Fix the connector resolver to make sure known connectors are used (Raymond Feng)
3307
3308 * Refactor the serialize/deserialize into two functions (Raymond Feng)
3309
3310 * Fix some small errors (crandmck)
3311
3312 * Updates for JSDoc changes for API doc. (Rand McKinney)
3313
3314 * Updates to JSDoc comments for API doc (crandmck)
3315
3316
33172014-03-04, Version 1.3.6
3318=========================
3319
3320 * Bump version (Raymond Feng)
3321
3322 * Use debug module for logging (Raymond Feng)
3323
3324 * Fix the parameter name (Raymond Feng)
3325
3326 * Allows scopes to be defined in LDL (Raymond Feng)
3327
3328 * Check the Array type (Raymond Feng)
3329
3330 * Make the belongsTo relation remotable (Raymond Feng)
3331
3332 * Fix the example for scope (Raymond Feng)
3333
3334
33352014-02-27, Version 1.3.5
3336=========================
3337
3338 * Bump version (Raymond Feng)
3339
3340 * Fix, model builder setter will not try to cast value if already the proper type (Aurelien Chivot)
3341
3342
33432014-02-25, Version 1.3.4
3344=========================
3345
3346 * Bump version (Raymond Feng)
3347
3348 * Allows unknown properties to be saved for non-strict models (Raymond Feng)
3349
3350
33512014-02-21, Version 1.3.3
3352=========================
3353
3354 * Bump version and update deps (Raymond Feng)
3355
3356 * Refactor mixin and always redefine proxy/delegate methods (Ritchie Martori)
3357
3358 * Override existing methods when mixing in DAO methods (Ritchie Martori)
3359
3360 * Update license to dual MIT/StrongLoop (Raymond Feng)
3361
3362 * Leave the item type introspection for List (Raymond Feng)
3363
3364 * Rewrite the List class for typed array (Raymond Feng)
3365
3366 * Fix the include with array value (Raymond Feng)
3367
3368
33692014-02-13, Version 1.3.2
3370=========================
3371
3372 * Bump version (Raymond Feng)
3373
3374 * Simplify the test case (Raymond Feng)
3375
3376 * Add unit test for datatype handling in updateAttributes. (arlaneenalra)
3377
3378 * Move new var into thunk. (arlaneenalra)
3379
3380 * Use type converted data when writing back to database. (arlaneenalra)
3381
3382
33832014-02-11, Version 1.3.1
3384=========================
3385
3386 * Bump version (Raymond Feng)
3387
3388 * Revert the inflection version due to regression in camelize (Raymond Feng)
3389
3390
33912014-02-11, Version 1.3.0
3392=========================
3393
3394 * Bump version and update deps (Raymond Feng)
3395
3396 * Add a test case (Raymond Feng)
3397
3398 * Clean up the options for model constructor (Raymond Feng)
3399
3400 * Enhance the assertions (Raymond Feng)
3401
3402 * Make sure own properties are copied by toObject for non-strict mode (Raymond Feng)
3403
3404 * Use String[] for types and add test for supported types (Raymond Feng)
3405
3406 * Add getType/getDefaultIdType from connectors (Raymond Feng)
3407
3408 * Fix the write closure to use the correct task info (Raymond Feng)
3409
3410 * Add a file option for the memeory connector to persist data (Raymond Feng)
3411
3412 * Add tests for change / delete events (Ritchie Martori)
3413
3414 * Add more comments (Raymond Feng)
3415
3416 * Clean up lookupModel (Raymond Feng)
3417
3418 * Handle hasMany.though (Raymond Feng)
3419
3420 * Add change / delete events (Ritchie Martori)
3421
3422 * Make sure __cachedRelations is not enumerable (Raymond Feng)
3423
3424 * Add tests (Raymond Feng)
3425
3426 * Promote the included relations as properties (Raymond Feng)
3427
3428
34292014-01-27, Version 1.2.13
3430==========================
3431
3432 * Reformat the code (Raymond Feng)
3433
3434 * Improve links to docs (Rand McKinney)
3435
3436 * Use the primary key type for the generated foreign key (Raymond Feng)
3437
3438 * Fill ModelClass.http.path (Miroslav Bajtoš)
3439
3440 * Fix jsdoc code examples formatting (Giustino Borzacchiello)
3441
3442
34432014-01-13, Version 1.2.12
3444==========================
3445
3446 * Bump version (Raymond Feng)
3447
3448 * Make the code testable following the review comments (Raymond Feng)
3449
3450 * Allows the full module name for connectors (Raymond Feng)
3451
3452
34532013-12-20, Version 1.2.11
3454==========================
3455
3456 * Bump version (Raymond Feng)
3457
3458 * Add more comments (Raymond Feng)
3459
3460 * Fix the remote delegation (Raymond Feng)
3461
3462 * Fix the remoting method with the current receiver (this) (Raymond Feng)
3463
3464 * Add a EOL (Raymond Feng)
3465
3466 * Add models to LDL options (Raymond Feng)
3467
3468 * Fix a bug in merging ACLs (Raymond Feng)
3469
3470
34712013-12-16, Version 1.2.10
3472==========================
3473
3474 * Bump version (Raymond Feng)
3475
3476 * Make the identation consistent for now (Raymond Feng)
3477
3478 * Split the tests (Raymond Feng)
3479
3480 * Fix a regression in mongodb connector (Raymond Feng)
3481
3482 * Add more comments (Raymond Feng)
3483
3484 * Check for null & undefined values (Raymond Feng)
3485
3486 * Fix the coercion issue related to GeoPoint near (Raymond Feng)
3487
3488
34892013-12-14, Version 1.2.9
3490=========================
3491
3492 * Bump version (Raymond Feng)
3493
3494 * Dedupe the alias methods during mixin (Raymond Feng)
3495
3496
34972013-12-13, Version 1.2.8
3498=========================
3499
3500 * Always call inherits to ensure prototypes are setup (Ritchie Martori)
3501
3502
35032013-12-10, Version 1.2.7
3504=========================
3505
3506 * Bump version (Raymond Feng)
3507
3508 * Add more tests to address the PR comments (Raymond Feng)
3509
3510 * Add a test case (Raymond Feng)
3511
3512 * Coerce types for values of where clause (Raymond Feng)
3513
3514
35152013-12-06, Version 1.2.6
3516=========================
3517
3518 * Enhance the test case with more assertions (Raymond Feng)
3519
3520 * Fix belongsTo relation (Raymond Feng)
3521
3522 * Attach models to the data source (Raymond Feng)
3523
3524 * Make all methods proxied for DAO (Raymond Feng)
3525
3526 * Clone shared methods so that they can be customized per model (Raymond Feng)
3527
3528
35292013-12-04, Version 1.2.5
3530=========================
3531
3532 * Bump version (Ritchie Martori)
3533
3534 * Improve properties of ValidationError (Miroslav Bajtos)
3535
3536 * Removed most text that's in docs.strongloop.com (Rand McKinney)
3537
3538 * REST call of DataAccessObject.findById returns 404 (Miroslav Bajtos)
3539
3540 * Add .jshintignore (Miroslav Bajtos)
3541
3542
35432013-11-20, Version 1.2.4
3544=========================
3545
3546 * Bump version (Raymond Feng)
3547
3548 * Add properties/methods to DataSource from ModelBuilder (Raymond Feng)
3549
3550 * Update docs.json (Rand McKinney)
3551
3552
35532013-11-19, Version 1.2.3
3554=========================
3555
3556 * Bump the version (Raymond Feng)
3557
3558 * Fix the model attachment to data source (Raymond Feng)
3559
3560 * Replace all with find to make it consistent (Raymond Feng)
3561
3562
35632013-11-18, Version 1.2.2
3564=========================
3565
3566 * Rename association to relation (Raymond Feng)
3567
3568 * Bump version and remove blanket (Raymond Feng)
3569
3570 * Fix the reference to modelBuilder/dataSource (Raymond Feng)
3571
3572 * Separate the modelBuilder ref from dataSource (Raymond Feng)
3573
3574 * Wrap README.md at 78 characters where possible (Ryan Graham)
3575
3576 * Bump version (Raymond Feng)
3577
3578 * Fix the relation lazy setup (Raymond Feng)
3579
3580 * Stop overwriting the static methods (Raymond Feng)
3581
3582 * Ensure the model is attached to DataSource for relations (Raymond Feng)
3583
3584 * Remove inheritence from DataSource to ModelBuilder (Raymond Feng)
3585
3586 * Update to 1.2.0 (Raymond Feng)
3587
3588 * Add travis (Ritchie Martori)
3589
3590 * Add more assertions (Raymond Feng)
3591
3592 * Allow settings.base to specify the base model (Raymond Feng)
3593
3594 * Extract the relation types (Raymond Feng)
3595
3596 * Add a test case for relations during attach (Raymond Feng)
3597
3598 * Refactor the relation handling and enable it with attach (Raymond Feng)
3599
3600 * Redefine the existing class if it's resolved (Raymond Feng)
3601
3602 * Add support for hasMany-through and more tests (Raymond Feng)
3603
3604 * Enable deferred type/relation resolutions (Raymond Feng)
3605
3606 * Add model.getDataSource() method (Ritchie Martori)
3607
3608 * Fix removeUndefined to bypass non-plain objects (Raymond Feng)
3609
3610 * Fix the regression when 1st arg is the connector module (Raymond Feng)
3611
3612 * Improve the docs for model relations using diagrams (Raymond Feng)
3613
3614 * Add a relation example following Ruby on Rails active records (Raymond Feng)
3615
3616 * Honor the model plural name (Raymond Feng)
3617
3618 * Support datasource/connector configuration using URL string (Raymond Feng)
3619
3620 * Create remote functions for predefined scopes/relations (Raymond Feng)
3621
3622 * Check undefined/null data (Raymond Feng)
3623
3624 * Add 'plural' setting (Raymond Feng)
3625
3626 * Add index to name prop (Raymond Feng)
3627
3628 * Move resolveType to ModelBuilder (Raymond Feng)
3629
3630 * Fix prototype mixin bug (Ritchie Martori)
3631
3632 * Make sure model definition is built when attaching to a DS (Raymond Feng)
3633
3634 * Remove undefined values from the query object (Raymond Feng)
3635
3636 * Log more information for the connection failure (Raymond Feng)
3637
3638 * Handle connection errors (Raymond Feng)
3639
3640 * Fix EventEmitter mixin (Ritchie Martori)
3641
3642 * Make sure foreign key properties are fully registered (Raymond Feng)
3643
3644 * Use for-in loop to support properties from the super class (Raymond Feng)
3645
3646 * Allow the id(s) to be redefined by subclass (Raymond Feng)
3647
3648 * Allow to reference a model as type by name (Raymond Feng)
3649
3650 * Code clean up (Raymond Feng)
3651
3652 * Add more tests and fix toJSON (Raymond Feng)
3653
3654 * Fix the foreign key definition (Raymond Feng)
3655
3656 * Add settings property back to the model class (Raymond Feng)
3657
3658 * Set name and settings (Raymond Feng)
3659
3660 * Reset _ids for rebuild (Raymond Feng)
3661
3662 * Fix the columnName (Raymond Feng)
3663
3664 * Use super_ to call the base class (Raymond Feng)
3665
3666 * Fix copy of model definitions (Raymond Feng)
3667
3668 * Export Connector class (Raymond Feng)
3669
3670 * Use ModelDefinition to access model name/properties/settings (Raymond Feng)
3671
3672 * Refactor/cleanup the data source juggler implementation (Raymond Feng)
3673
3674 * Add a ModelDefinition class (Raymond Feng)
3675
3676 * Make sure schemaless property value is honored over __data (Raymond Feng)
3677
3678 * Update LDL doc for the strict mode (Raymond Feng)
3679
3680
36812013-09-12, Version strongloopsuite-1.0.0-5
3682===========================================
3683
3684
3685
36862013-09-12, Version strongloopsuite-1.0.0-4
3687===========================================
3688
3689 * Allow connector to report failure during initialization (Raymond Feng)
3690
3691 * Add error stack trace for ValidationError (Raymond Feng)
3692
3693
36942013-09-11, Version strongloopsuite-1.0.0-3
3695===========================================
3696
3697 * Set up assets to support embedded diagrams (Raymond Feng)
3698
3699 * Add keywords to package.json (Raymond Feng)
3700
3701
37022013-09-10, Version strongloopsuite-1.0.0-2
3703===========================================
3704
3705 * Finalize package.json for sls-1.0.0 (Raymond Feng)
3706
3707
37082013-09-09, Version strongloopsuite-1.0.0-1
3709===========================================
3710
3711 * Check the filter param to make sure we have a default value (Raymond Feng)
3712
3713
37142013-09-04, Version 1.2.0
3715=========================
3716
3717
3718
37192013-09-04, Version strongloopsuite-1.0.0-0
3720===========================================
3721
3722 * Tidy up package.json for LoopBack 1.0.0 (Raymond Feng)
3723
3724 * Update license file (Raymond Feng)
3725
3726 * Fix the conflicts between MongoDB _id & juggler's internal prefix (Raymond Feng)
3727
3728 * Set default value (Raymond Feng)
3729
3730 * Fix the property population for schemaless models (Raymond Feng)
3731
3732 * Adjust the lines to fit into width of 80 (Raymond Feng)
3733
3734 * Check the existence of id (Raymond Feng)
3735
3736 * Allows custom name of the id property for the memory connector (Raymond Feng)
3737
3738 * Mark id arguments to be required (Raymond Feng)
3739
3740 * Update titles (Raymond Feng)
3741
3742 * Clean up the test case based on PR reviews (Raymond Feng)
3743
3744 * Set strict to false by default for non-relational data sources (Raymond Feng)
3745
3746 * Disable remoting for reload (Raymond Feng)
3747
3748 * Add descriptions for remote method paramters (Raymond Feng)
3749
3750 * Fix the remote method descriptions (Raymond Feng)
3751
3752 * Update guides (Raymond Feng)
3753
3754 * Track the greatest id to prevent records from being overriden (Raymond Feng)
3755
3756 * Update descriptions to use data source (Raymond Feng)
3757
3758 * Refactor the shared method declaration and add descriptions (Raymond Feng)
3759
3760 * Update docs (Raymond Feng)
3761
3762 * Update header levels (Raymond Feng)
3763
3764 * Fix the message (Raymond Feng)
3765
3766 * Update LDL guide (Raymond Feng)
3767
3768 * Fix the test description (Raymond Feng)
3769
3770 * Use DEBUG or NODE_DEBUG env to override the debug flag (Raymond Feng)
3771
3772 * Fix the where option for delete (Raymond Feng)
3773
3774 * Update the remote methods (Raymond Feng)
3775
3776 * Update ldl.md (Raymond Feng)
3777
3778 * Start to add LDL guide (Raymond Feng)
3779
3780 * Remove the deletion of property type as the instane is shared by the base model class (Raymond Feng)
3781
3782 * Remove the semicov dependency as now we use blanket (Raymond Feng)
3783
3784 * Add LICENSE (Raymond Feng)
3785
3786 * Fix the id references to allow custom name other than 'id' (Raymond Feng)
3787
3788 * Add missing declaration (Raymond Feng)
3789
3790 * Update jsdocs (Raymond Feng)
3791
3792 * Added blanket.js for code coverage (cgole)
3793
3794 * Refactor the docs into one (Raymond Feng)
3795
3796 * Add docs.json and jsdocs (Raymond Feng)
3797
3798 * Add an optional models argument to automigrate/autoupdate (Raymond Feng)
3799
3800 * Refactor introspection to ModelBuilder (Raymond Feng)
3801
3802 * Rename 'loopback-data' to 'loopback-datasource-juggler' (Raymond Feng)
3803
3804 * Allows connector property to be a string (Raymond Feng)
3805
3806 * Add a diagram (Raymond Feng)
3807
3808 * Add required validation (Ritchie Martori)
3809
3810 * Add a schemaless example (Raymond Feng)
3811
3812 * Bring up json object introspection to build models (Raymond Feng)
3813
3814 * Fix the constructor (Raymond Feng)
3815
3816 * Add precision/scale for sync discovery (Raymond Feng)
3817
3818 * Add precision/scale (Raymond Feng)
3819
3820 * Remove validations (Ritchie)
3821
3822 * Remove old model documentation (Ritchie)
3823
3824 * Fix typo (Ritchie)
3825
3826 * Removed hooks documentation (Ritchie)
3827
3828 * Refactor types out (Raymond Feng)
3829
3830 * Rename the test case (Raymond Feng)
3831
3832 * Fix the ref to dataSource (Raymond Feng)
3833
3834 * Allows non-strict mode to accept unknown properties (Raymond Feng)
3835
3836 * Fix id references (Raymond Feng)
3837
3838 * Add root true to remote methods (Ritchie)
3839
3840 * Update docs for loopback-data (Raymond Feng)
3841
3842 * Rename adapters to connectors (Raymond Feng)
3843
3844 * Set up connector from the data source (Raymond Feng)
3845
3846 * Rename dataSource() to avoid conflicts with the property (Raymond Feng)
3847
3848 * Fix schema references (Raymond Feng)
3849
3850 * Set up connector/adapter when postInit is not called (Raymond Feng)
3851
3852 * More renames: schema -> dataSource, adapter -> connector (Raymond Feng)
3853
3854 * Clean up docs (Raymond Feng)
3855
3856 * Update README (Raymond Feng)
3857
3858 * ADL --> LDL (Raymond Feng)
3859
3860 * Add the id arg (Raymond Feng)
3861
3862 * Add static deleteById (Raymond Feng)
3863
3864 * Fix the model prop lookup (Raymond Feng)
3865
3866 * Allow queries to filter fields (Ritchie Martori)
3867
3868 * Add filter.fields support to dao and memory connector (Ritchie Martori)
3869
3870 * README updates (Ritchie Martori)
3871
3872 * Rename jugglingdb to loopback-data (Raymond Feng)
3873
3874 * README.md renames (Ritchie Martori)
3875
3876 * Remove updateAttribute as remote method (Ritchie Martori)
3877
3878 * Fix inherit bug (Ritchie Martori)
3879
3880 * Fix extend by using util.inherits (Ritchie Martori)
3881
3882 * Fix typos (Raymond Feng)
3883
3884 * Only flatten array/object for relational DBs (Raymond Feng)
3885
3886 * Add support for nesting objects with an array (Raymond Feng)
3887
3888 * Add plain string array (Raymond Feng)
3889
3890 * Fix the array data population (Raymond Feng)
3891
3892 * Add http mapping for create/updateAttributes methods (Raymond Feng)
3893
3894 * Fix the ref to getSchemaType (Raymond Feng)
3895
3896 * Add support for nesting schema (Raymond Feng)
3897
3898 * Add Object type (Raymond Feng)
3899
3900 * Add support to use adapter constructor for initialization (Raymond Feng)
3901
3902 * Change default create method from save to create for remoting (Ritchie Martori)
3903
3904 * Add event emitter methods to models. (Ritchie Martori)
3905
3906 * Add support for extending models (Ritchie Martori)
3907
3908 * Revert adapter serialization. Remove geo point distance indicator. (Ritchie Martori)
3909
3910 * Add properties to ModelClass during definition (Ritchie Martori)
3911
3912 * Fix global leak and incorrect var (Ritchie)
3913
3914 * Add alias to destroy/destroyAll (Raymond Feng)
3915
3916 * Alias destroy/destroyAll (Raymond Feng)
3917
3918 * Add in memory geo filtering. (Ritchie Martori)
3919
3920 * Move geo filter creation into reusable module. (Ritchie Martori)
3921
3922 * Rename long to lng (Ritchie Martori)
3923
3924 * Add geo filtering for memory adapter (Ritchie Martori)
3925
3926 * model.find => model.findById, model.all => model.find (Ritchie Martori)
3927
3928 * Fix incorrect variable name in updateAttributes (Ritchie Martori)
3929
3930 * Fix memory adapter updateAttributes issue. (Ritchie Martori)
3931
3932 * Fix the schema building (Raymond Feng)
3933
3934 * Normalize the schema definition (Raymond Feng)
3935
3936 * Update the discover apis to take options (Raymond Feng)
3937
3938 * Removed a stray log. (Michael Schoonmaker)
3939
3940 * Move the _operations={} up (Raymond Feng)
3941
3942 * Work around the JDB test coverage tool limitation. See https://github.com/1602/semicov (Raymond Feng)
3943
3944 * Pass in the options (Raymond Feng)
3945
3946 * Support string types when defining properties (Ritchie)
3947
3948 * Rename discoverModels to discoverModelDefinitions (Ritchie)
3949
3950 * Handle separate settings and adapter objects (Ritchie)
3951
3952 * Remove console log (Ritchie)
3953
3954 * Fix missing settings (Ritchie)
3955
3956 * Fix missing connector alias (Ritchie)
3957
3958 * Fixed memory adapter filtering + asteroid compatibility upddates (Ritchie Martori)
3959
3960 * Update inflection (Raymond Feng)
3961
3962 * Make sure options is present (Raymond Feng)
3963
3964 * Fix remoteEnabled bug (Ritchie)
3965
3966 * Revert "Asteroid 0.7 updates" (Ritchie Martori)
3967
3968 * Asteroid 0.7 updates (Ritchie Martori)
3969
3970 * Adjust the mixins (Raymond Feng)
3971
3972 * Allow dao.find() and exists() to take any type for id (Ritchie Martori)
3973
3974 * Fix the receiver (Raymond Feng)
3975
3976 * Add discoverExportedForeignKeys (Raymond Feng)
3977
3978 * Add sync versions of discovery (Raymond Feng)
3979
3980 * Avoid duplicate connecting (Raymond Feng)
3981
3982 * Improve connect/disconnect (Raymond Feng)
3983
3984 * Add plural name to models (Ritchie)
3985
3986 * Update buildModels and support associations via foreign keys (Raymond Feng)
3987
3988 * Add support to discover related schemas by foreign keys (Raymond Feng)
3989
3990 * Add more debugging info (Raymond Feng)
3991
3992 * Enhance support for composite keys (Raymond Feng)
3993
3994 * Update column type info (Raymond Feng)
3995
3996 * Fix mixin (Raymond Feng)
3997
3998 * Add options including default (Raymond Feng)
3999
4000 * Add test cases for loading json doc (Raymond Feng)
4001
4002 * Adding more tests (Raymond Feng)
4003
4004 * Refactor more functions into mixins (Raymond Feng)
4005
4006 * Update remoting signatures for dao. (Ritchie Martori)
4007
4008 * Add pluralized name to model and remoting method signatures (Ritchie)
4009
4010 * Add docs (Raymond Feng)
4011
4012 * Rename adl to be ModelBuilder (Raymond Feng)
4013
4014 * Add more methods to map column/property names (Raymond Feng)
4015
4016 * Add data source attach example (Ritchie)
4017
4018 * Add ability to attach data source to an existing model (Ritchie)
4019
4020 * Fix the mapping (Raymond Feng)
4021
4022 * Fix the column mapping (Raymond Feng)
4023
4024 * Fix the id column name (Raymond Feng)
4025
4026 * Start to add discoverSchema and name mapping (Raymond Feng)
4027
4028 * Fix the capitalize (Raymond Feng)
4029
4030 * Transform the names (Raymond Feng)
4031
4032 * Add discoverSchema (Raymond Feng)
4033
4034 * Fix the delegation for discover (Raymond Feng)
4035
4036 * Fix the discover methods (Raymond Feng)
4037
4038 * Bring up the schema loading from json docs (Raymond Feng)
4039
4040 * Remove schema.js (Raymond Feng)
4041
4042 * Fix the on-demand connection (Raymond Feng)
4043
4044 * Fix the datasource.define (Raymond Feng)
4045
4046 * Start to refactor ADL and DataSource (Raymond Feng)
4047
4048 * 0.2.0-33 (Anatoliy Chakkaev)
4049
4050 * Fail uniqueness check in case of db error (Anatoliy Chakkaev)
4051
4052 * Refactor the CRUD operations to DataAccessObject (Raymond Feng)
4053
4054 * Fix the discover keys (Raymond Feng)
4055
4056 * Add discover primary/foreign keys (Raymond Feng)
4057
4058 * Safer include (Anatoliy Chakkaev)
4059
4060 * Fix Problem with DataType Text, closes #278 (Anatoliy Chakkaev)
4061
4062 * 0.2.0-32 (Anatoliy Chakkaev)
4063
4064 * Temp. disable test for validation (Anatoliy Chakkaev)
4065
4066 * Add context info to validation error (Anatoliy Chakkaev)
4067
4068 * Only save schema props (Anatoliy Chakkaev)
4069
4070 * 0.2.0-31 (Anatoliy Chakkaev)
4071
4072 * Fix tick (Anatoliy Chakkaev)
4073
4074 * Safe connect call (Anatoliy Chakkaev)
4075
4076 * Support define fk with class name (Anatoliy Chakkaev)
4077
4078 * Fix find with NaN id in base-sql (Anatoliy Chakkaev)
4079
4080 * Added skip/limit to memory adapter (Anatoliy Chakkaev)
4081
4082 * Relations passed to belongsTo.add (Anatoliy Chakkaev)
4083
4084 * Fix injection in ids (Anatoliy Chakkaev)
4085
4086 * Adds test for limit and skip + limit on `all()` queries as in docs. (Currently not all adapters may pass.) (dgsan)
4087
4088 * Accept related objects when creating instance #247 (Anatoliy Chakkaev)
4089
4090 * Allow null properties for headless models (Anatoliy Chakkaev)
4091
4092 * Check types of sync and async getters created by belongsTo, close #266 (Anatoliy Chakkaev)
4093
4094 * Fix m2m: only add fk when hasMany have no "through" (Anatoliy Chakkaev)
4095
4096 * Upd readme (Anatoliy Chakkaev)
4097
4098 * Many-to-many relation (Anatoliy Chakkaev)
4099
4100 * Some tests for scope (Anatoliy Chakkaev)
4101
4102 * Organize model.js (Anatoliy Chakkaev)
4103
4104 * 0.2.0-30 (Anatoliy Chakkaev)
4105
4106 * Upd changelog (Anatoliy Chakkaev)
4107
4108 * Datatypes casting (Anatoliy Chakkaev)
4109
4110 * Add discover methods for model names and properties (Raymond Feng)
4111
4112 * Only call the orginal method once (Raymond Feng)
4113
4114 * Revert "Fix the test case so that it passes in the same filter" (Raymond Feng)
4115
4116 * Set up the connected handler before connect (Raymond Feng)
4117
4118 * The connecting flag should be set to false initially (Raymond Feng)
4119
4120 * Fix the test case so that it passes in the same filter (Raymond Feng)
4121
4122 * Update README.md (mhupman)
4123
4124 * Do not assign enumerable schema to object #256 (Anatoliy Chakkaev)
4125
4126 * Manually require init (Anatoliy Chakkaev)
4127
4128 * Fix dates in memory adapter (Anatoliy Chakkaev)
4129
4130 * Added datatypes tests (Anatoliy Chakkaev)
4131
4132 * Fix merged schema test (Anatoliy Chakkaev)
4133
4134 * Allow database.js to export function(compound) (Anatoliy Chakkaev)
4135
4136 * ValidationError instead Error (Anatoliy Chakkaev)
4137
4138 * Update README.md (Anatoliy Chakkaev)
4139
4140 * 0.2.0-29 (Anatoliy Chakkaev)
4141
4142 * Find on hasMany scope method (Anatoliy Chakkaev)
4143
4144 * Added map-reduce and find methods to list (Anatoliy Chakkaev)
4145
4146 * 0.2.0-28 (Anatoliy Chakkaev)
4147
4148 * Return valid in case of sync validations (Anatoliy Chakkaev)
4149
4150 * Test update (Anatoliy Chakkaev)
4151
4152 * Fix validation issue (Anatoliy Chakkaev)
4153
4154 * Transactions (Anatoliy Chakkaev)
4155
4156 * Schemas switching (Anatoliy Chakkaev)
4157
4158 * Automigrate before relation tests (Anatoliy Chakkaev)
4159
4160 * Update makefile (Anatoliy Chakkaev)
4161
4162 * Add more love to tests, pr #249 (Anatoliy Chakkaev)
4163
4164 * 0.2.0-27 (Anatoliy Chakkaev)
4165
4166 * Fix validations (Anatoliy Chakkaev)
4167
4168 * Batch create (Anatoliy Chakkaev)
4169
4170 * tests only: no afterCreate/afterUpdate on errors (Scott Nonnenberg)
4171
4172 * afterDestroy not called on adapter error (Scott Nonnenberg)
4173
4174 * 0.2.0-26 (Anatoliy Chakkaev)
4175
4176 * Ignore npm-debug.log (Anatoliy Chakkaev)
4177
4178 * Fix memory adapter: broken upd attrs (Anatoliy Chakkaev)
4179
4180 * Return instance of object when create (Anatoliy Chakkaev)
4181
4182 * Turn off ignoring tests (Anatoliy Chakkaev)
4183
4184 * Upd tests (Anatoliy Chakkaev)
4185
4186 * Validation amends (Anatoliy Chakkaev)
4187
4188 * Test hooks and object lifecycle as per #242 (Anatoliy Chakkaev)
4189
4190 * Tests for data manipulation (Anatoliy Chakkaev)
4191
4192 * Rewrite save and create for correct hooks order (Anatoliy Chakkaev)
4193
4194 * Rename validation hooks (Anatoliy Chakkaev)
4195
4196 * Update hooks.md (Mansur S)
4197
4198 * Upd node version for travis (Anatoliy Chakkaev)
4199
4200 * Uncomment tests (Anatoliy Chakkaev)
4201
4202 * Mongodb tolerance (Anatoliy Chakkaev)
4203
4204 * Enable growl (Anatoliy Chakkaev)
4205
4206 * 0.2.0-25 (Anatoliy Chakkaev)
4207
4208 * Update attribute additional test (Anatoliy Chakkaev)
4209
4210 * Fix memory adapter and test (Anatoliy Chakkaev)
4211
4212 * Removed include test from common (Anatoliy Chakkaev)
4213
4214 * Test destroy (Anatoliy Chakkaev)
4215
4216 * Migration-friendly tests (Anatoliy Chakkaev)
4217
4218 * Fixes in belongsTo relation definition syntax (Anatoliy Chakkaev)
4219
4220 * Docs: hooks, footer fix (Anatoliy Chakkaev)
4221
4222 * Include test (Anatoliy Chakkaev)
4223
4224 * Update jugglingdb.md (Mansur S)
4225
4226 * Query testing: findOne (Anatoliy Chakkaev)
4227
4228 * Added test case for #238: password hashing before save (Anatoliy Chakkaev)
4229
4230 * Added short syntax for belongsTo (Anatoliy Chakkaev)
4231
4232 * Docs for hooks and model (Anatoliy Chakkaev)
4233
4234 * Beautify things (Anatoliy Chakkaev)
4235
4236 * Fix memory adapter to support lowercase desc order (Anatoliy Chakkaev)
4237
4238 * Rewriting tests (Anatoliy Chakkaev)
4239
4240 * Make tests importable (Anatoliy Chakkaev)
4241
4242 * Docs amends (Anatoliy Chakkaev)
4243
4244 * Another way to define belongsTo (Anatoliy Chakkaev)
4245
4246 * 0.2.0-24 (Anatoliy Chakkaev)
4247
4248 * Added man pages to package (Anatoliy Chakkaev)
4249
4250 * Docs for models (Anatoliy Chakkaev)
4251
4252 * Added footer (Anatoliy Chakkaev)
4253
4254 * Upd readme and changelog (Anatoliy Chakkaev)
4255
4256 * Fix test (Anatoliy Chakkaev)
4257
4258 * Switch to mocha testing in travis (Anatoliy Chakkaev)
4259
4260 * Rewrite validations in mocha (Anatoliy Chakkaev)
4261
4262 * Rename files (Anatoliy Chakkaev)
4263
4264 * Minor test amends (Anatoliy Chakkaev)
4265
4266 * Remove old hooks tests (Anatoliy Chakkaev)
4267
4268 * Upd memory adapter to work with undefined in dataset (Anatoliy Chakkaev)
4269
4270 * Rename essentials (Anatoliy Chakkaev)
4271
4272 * Rewrite hooks API (Anatoliy Chakkaev)
4273
4274 * Started docs for model, changelog (Anatoliy Chakkaev)
4275
4276 * Makefile for mocha testing (Anatoliy Chakkaev)
4277
4278 * Defaults test and fixes (Anatoliy Chakkaev)
4279
4280 * Added changelog (Anatoliy Chakkaev)
4281
4282 * Added GA (Anatoliy Chakkaev)
4283
4284 * Added docs (Anatoliy Chakkaev)
4285
4286 * Added some initial docs (Anatoliy Chakkaev)
4287
4288 * Makefile with man/html docs generation (Anatoliy Chakkaev)
4289
4290 * Settings always set (Anatoliy Chakkaev)
4291
4292 * Added json test (Anatoliy Chakkaev)
4293
4294 * Added filter, fix [] as type (Anatoliy Chakkaev)
4295
4296 * 0.2.0-23 (Anatoliy Chakkaev)
4297
4298 * Upd gitignore (Anatoliy Chakkaev)
4299
4300 * Initializer for compound 1.1.5-16 (Anatoliy Chakkaev)
4301
4302 * http adapter: pre/postProcess, fix destroy and all (Scott Nonnenberg)
4303
4304 * This is the smash with blunt object fix for #215, since the more flexible #213 was rejected. (dgsan)
4305
4306 * 0.2.0-22 (Anatoliy Chakkaev)
4307
4308 * FIxes in async validations (in sync case), closes 214 (Anatoliy Chakkaev)
4309
4310 * 0.2.0-21 (Anatoliy Chakkaev)
4311
4312 * Browserify-proof railway init (Anatoliy Chakkaev)
4313
4314 * .version as getter (Anatoliy Chakkaev)
4315
4316 * 0.2.0-20 (Anatoliy Chakkaev)
4317
4318 * Add proper type registration (Anatoliy Chakkaev)
4319
4320 * 0.2.0-19 (Anatoliy Chakkaev)
4321
4322 * List support for non-object values (Anatoliy Chakkaev)
4323
4324 * Coding style in helper (Anatoliy Chakkaev)
4325
4326 * Fix package version exposing (Anatoliy Chakkaev)
4327
4328 * Add some array methods for List (Anatoliy Chakkaev)
4329
4330 * Absolute paths in README.md, fixes #208 (Anatoliy Chakkaev)
4331
4332 * Eliminated global leak (Anatoliy Chakkaev)
4333
4334 * Described custom validations (Anatoliy Chakkaev)
4335
4336 * 0.2.0-18 (Anatoliy Chakkaev)
4337
4338 * Remove logging (Anatoliy Chakkaev)
4339
4340 * Organize test with Log and Dog (Anatoliy Chakkaev)
4341
4342 * If property is array (List) need to convert it to JSON (Anatoliy Chakkaev)
4343
4344 * FIxed test for belongsTo (Anatoliy Chakkaev)
4345
4346 * Unit test for bug fix related to belongsTo relation. It declares a Schema, uses memory. If it should be run for ALL DBs it will need to be changed. (dgsan)
4347
4348 * This fixes the apparent scope and comparison issues when calling a foreign key relation. (dgsan)
4349
4350 * Fixing Railway Hoisting Issue (Dan Shultz)
4351
4352 * Revert validatable fix (Anatoliy Chakkaev)
4353
4354 * 0.2.0-17 (Anatoliy Chakkaev)
4355
4356 * Add attr param to custom validator, closes #200 (Anatoliy Chakkaev)
4357
4358 * Removed unused experimental stuff (Anatoliy Chakkaev)
4359
4360 * 0.2.0-16 (Anatoliy Chakkaev)
4361
4362 * Update broken test case (Anatoliy Chakkaev)
4363
4364 * 0.2.0-15 (Anatoliy Chakkaev)
4365
4366 * Make pathTo available in db/schema (Anatoliy Chakkaev)
4367
4368 * 0.2.0-14 (Anatoliy Chakkaev)
4369
4370 * Fix uniqueness validation (mongo ids) (Anatoliy Chakkaev)
4371
4372 * Throw error when model is not configured for webservice (Anatoliy Chakkaev)
4373
4374 * Update test for #128 (Anatoliy Chakkaev)
4375
4376 * Return null when findOne could not find record, closes #128 (Anatoliy Chakkaev)
4377
4378 * 0.2.0-13 (Anatoliy Chakkaev)
4379
4380 * Work with cs-compound (Anatoliy Chakkaev)
4381
4382 * One more fix in updateAttribute test with uniqueness validation (1602)
4383
4384 * Update validations test (Anatoliy Chakkaev)
4385
4386 * Implement schema.extendModel, closes #157 (Anatoliy Chakkaev)
4387
4388 * Add adapter (memory-bogus) test (Anatoliy Chakkaev)
4389
4390 * Make memory adapter async (Anatoliy Chakkaev)
4391
4392 * Implement findOrCreate, requested in #190 (Anatoliy Chakkaev)
4393
4394 * Added test for #191 (Anatoliy Chakkaev)
4395
4396 * Revert hasMany change (Anatoliy Chakkaev)
4397
4398 * Update readme: clienside, describe built-in adapters (Anatoliy Chakkaev)
4399
4400 * 0.2.0-12 (Anatoliy Chakkaev)
4401
4402 * Added schema::model::set for railway (Anatoliy Chakkaev)
4403
4404 * 0.2.0-11 (Anatoliy Chakkaev)
4405
4406 * Added http (WebService) adapter (Anatoliy Chakkaev)
4407
4408 * 0.2.0-10 (Anatoliy Chakkaev)
4409
4410 * Accept adapter as first argument of Schema constructor (Anatoliy Chakkaev)
4411
4412 * fix lost callback (Erin Noe-Payne)
4413
4414 * attempted to write a test for hasmany all function. this commit has it commented out (Robb Lovell)
4415
4416 * added 'all' method to hasMany in abstract-class.js to correctly support a 'many' collection. added .idea to .gitignore to ignore WebStorm projects. (Robb Lovell)
4417
4418 * Updated readme (Anatoliy Chakkaev)
4419
4420 * fix typo :) (Asp3ctus)
4421
4422 * app.enable('autoupdate') option support (Asp3ctus)
4423
4424 * Travis env update, compare ids as strings (Anatoliy Chakkaev)
4425
4426 * 0.2.0-9 (Anatoliy Chakkaev)
4427
4428 * Fix for reading yml files (Anatoliy Chakkaev)
4429
4430 * 0.2.0-8 (Anatoliy Chakkaev)
4431
4432 * Only update id if it does not present in resulting dataset (Anatoliy Chakkaev)
4433
4434 * 0.2.0-7 (Anatoliy Chakkaev)
4435
4436 * Strict adapter checking (Anatoliy Chakkaev)
4437
4438 * Do not throw on missing adapter, just display warning (Anatoliy Chakkaev)
4439
4440 * updateAttributes data defaults to {} (Sascha Gehlich)
4441
4442 * 0.2.0-4 (Anatoliy Chakkaev)
4443
4444 * merge (Anatoliy Chakkaev)
4445
4446 * 0.2.0-3 (Anatoliy Chakkaev)
4447
4448 * Update railwayjs name, add ability to skip tests (Anatoliy Chakkaev)
4449
4450 * allow database.js config (Sascha Gehlich)
4451
4452 * remove unused (nano specific) files (Nicholas Westlake)
4453
4454 * added filter on schema though I am not sure it will be used (Sébastien Drouyer)
4455
4456 * added some documentation for include and all function (Sébastien Drouyer)
4457
4458 * cleaned some old comments (Sébastien Drouyer)
4459
4460 * Small copy-paste error :) (Sébastien Drouyer)
4461
4462 * merged + removed preprocessdata callback as it seems it isn't usefull (Sébastien Drouyer)
4463
4464 * removed unused console log and comments (Sébastien Drouyer)
4465
4466 * small fix on relations (Sébastien Drouyer)
4467
4468 * added tests for the include functionnality (Sébastien Drouyer)
4469
4470 * added include functionnality to abstract class and mysql (Sébastien Drouyer)
4471
4472 * add additional types stored in Schema.types to schema context (Sascha Gehlich)
4473
4474 * let the adapter decide when to load the schema (Sascha Gehlich)
4475
4476 * fixed railway integration (Sascha Gehlich)
4477
4478 * Update readme (Anatoliy Chakkaev)
4479
4480 * Added mysql icon (Anatoliy Chakkaev)
4481
4482 * Added some adapters descriptions (Anatoliy Chakkaev)
4483
4484 * Added coffee-script as dev dependency (Anatoliy Chakkaev)
4485
4486 * Arrange contributors, remove coffee-script (Anatoliy Chakkaev)
4487
4488 * Fix broken yml config, closes #159 (Anatoliy Chakkaev)
4489
4490 * 0.2.0-2 (Anatoliy Chakkaev)
4491
4492 * Allow extend tests (Anatoliy Chakkaev)
4493
4494 * Package.json updated (Anatoliy Chakkaev)
4495
4496 * added relations key (Sébastien Drouyer)
4497
4498 * Remove sql adapters and tests (Anatoliy Chakkaev)
4499
4500 * 0.2.0-1 (Anatoliy Chakkaev)
4501
4502 * Remove sqlite3 adapter (Anatoliy Chakkaev)
4503
4504 * Removed nosql adapters (moved to own repos) (Anatoliy Chakkaev)
4505
4506 * allow socketPath for mysql config (Tim Griesser)
4507
4508 * Fix cradle+railwayjs (Anatoliy Chakkaev)
4509
4510 * added nano settings for travis-ci (Nicholas Westlake)
4511
4512 * added nano adapter (Nicholas Westlake)
4513
4514 * Fixed bug for CoffeeScript and MongoDB (Sebastian del Valle)
4515
4516 * Log Redis connection errors instead of crashing (Dominik Krejcik)
4517
4518 * Docs and style in lib/list (Anatoliy Chakkaev)
4519
4520 * 0.1.27-3 (Anatoliy Chakkaev)
4521
4522 * Namespace adapters (Anatoliy Chakkaev)
4523
4524 * when using cradle if we don't wait for the schema to be connected, the models fails to load correctly. (Muneeb Samuels)
4525
4526 * 0.1.27-2 (Anatoliy Chakkaev)
4527
4528 * Better docs, no warning (Anatoliy Chakkaev)
4529
4530 * update mongodb adapter (Nathan Cartwright)
4531
4532 * Cast id to string before creation, fix #145 (Anatoliy Chakkaev)
4533
4534 * remove commentouted source (taiyoh)
4535
4536 * fixed type check strictly (taiyoh)
4537
4538 * 0.1.27-1 (Anatoliy Chakkaev)
4539
4540 * Fix id:null issue #98 (Anatoliy Chakkaev)
4541
4542 * - fixed typo in updateOrCreate method. (Muneeb Samuels)
4543
4544 * - added views to do .all queries, it speeds up the query. (Muneeb Samuels)
4545
4546 * - fixed typo in updateOrCreate method. - added views to do .all queries, it speeds up the query. (Muneeb Samuels)
4547
4548 * limited tests to the one I know (Sébastien Drouyer)
4549
4550 * trying a fix for redis (Sébastien Drouyer)
4551
4552 * fixed regression for postgres (Sébastien Drouyer)
4553
4554 * fixed tests for mongodb (Sébastien Drouyer)
4555
4556 * fixed issue for sqlite (Sébastien Drouyer)
4557
4558 * added log to data (TEMPORARY) to debug on travis (Sébastien Drouyer)
4559
4560 * fixed indentation + adapted to markdown syntax (Sébastien Drouyer)
4561
4562 * corrected indentation issues (Sébastien Drouyer)
4563
4564 * small sentence fixes + added usage examples in belongsTo comments (Sébastien Drouyer)
4565
4566 * add test cases for caching in hasMany and fixed test cases for caching in belongsTo (Sébastien Drouyer)
4567
4568 * fixed and enhanced caching in getters and setters in abstract-class (Sébastien Drouyer)
4569
4570 * added test case for the cache of belongsTo (Sébastien Drouyer)
4571
4572 * cradle adapter update (Muneeb Samuels)
4573
4574 * using views speeds up the query by only fetching the documents for the model being queried. (Muneeb Samuels)
4575
4576 * Globally published models for railway 1.0 (Anatoliy Chakkaev)
4577
4578 * added caching functionnality (Sébastien Drouyer)
4579
4580 * Models publishing for both railway stable and unstable (Anatoliy Chakkaev)
4581
4582 * Fix railway 1.0 support (Anatoliy Chakkaev)
4583
4584 * Fix instanceof checking (Anatoliy Chakkaev)
4585
4586 * Remove globals, read yaml (Anatoliy Chakkaev)
4587
4588 * added test cases for IN and NOT IN. Only in mysql and postgres for the moment (Sébastien Drouyer)
4589
4590 * generalize escape on IN and NOT IN values (Sébastien Drouyer)
4591
4592 * Fixed postgres adapter for IN and NIN when values are strings and where there is 0 value (Sébastien Drouyer)
4593
4594 * Fixed IN and NOT IN when searching on strings (Sébastien Drouyer)
4595
4596 * Fixed bug for IN on NOT IN - corrected (Sébastien Drouyer)
4597
4598 * Fix inheritance (Anatoliy Chakkaev)
4599
4600 * Fix broken mysql adapter after merging pull request (Anatoliy Chakkaev)
4601
4602 * Ignored v8.log (Anatoliy Chakkaev)
4603
4604 * Remove unused cached relations, closes #134 (Anatoliy Chakkaev)
4605
4606 * Fixed bug (oversight ?) on alter table (Sébastien Drouyer)
4607
4608 * Update lib/adapters/cradle.js (Muneeb Samuels)
4609
4610 * limit + skip (Muneeb Samuels)
4611
4612 * Fix typo, start new release preview (Anatoliy Chakkaev)
4613
4614 * Print properly formatted object (Anatoliy Chakkaev)
4615
4616
46172012-10-16, Version 0.1.23
4618==========================
4619
4620 * Remove lazy collections, remove unused caching stuff, unsupport node 0.4 (travis) (Anatoliy Chakkaev)
4621
4622 * Further optimizations: remove hasOwnProperty backward compat (Anatoliy Chakkaev)
4623
4624 * Switch test coverage reporting off for travis (Anatoliy Chakkaev)
4625
4626 * Proper collection caching (Anatoliy Chakkaev)
4627
4628
46292012-10-13, Version 0.1.21
4630==========================
4631
4632 * Specify collection length (Anatoliy Chakkaev)
4633
4634 * Optimize collection (Anatoliy Chakkaev)
4635
4636 * Better performance on big datasets read (Anatoliy Chakkaev)
4637
4638 * Fix for redis adapter when finding records filtered with multiple attributes (Mikko Lehtinen)
4639
4640 * Better safeRequire (Anatoliy Chakkaev)
4641
4642 * Fix memory adapter tests (Anatoliy Chakkaev)
4643
4644 * Update lib/adapters/postgres.js (clarktlaugh)
4645
4646 * Added cradle adapter (Anatoliy Chakkaev)
4647
4648 * Configure travis services (Anatoliy Chakkaev)
4649
4650 * Update mysql to 2.0 (Anatoliy Chakkaev)
4651
4652 * Fix redis2 indexes cleanup (Anatoliy Chakkaev)
4653
4654 * Not strict equal when matching ids in embedded lists (Anatoliy Chakkaev)
4655
4656 * Mongoose Adapter Single Index support-Spacing Fix (Nashad Alam)
4657
4658 * Mongoose Adapter Single Index support (Nashad Alam)
4659
4660 * Allow for IN, NOT IN, and != queries in postgres (Matt Huggins)
4661
4662 * Prevent redis pussy riot (Anatoliy Chakkaev)
4663
4664 * Fix standard_conforming_strings for postgres (Anatoliy Chakkaev)
4665
4666 * Update lib/adapters/memory.js (Mikxail)
4667
4668 * Make property configurable to pass tests (Anatoliy Chakkaev)
4669
4670 * List API improvements (Anatoliy Chakkaev)
4671
4672 * List improvements (Anatoliy Chakkaev)
4673
4674 * Fix postgres (Anatoliy Chakkaev)
4675
4676 * Added typed lists support (Anatoliy Chakkaev)
4677
4678 * fix global leak in postgres adapter (Sam Taylor)
4679
4680 * Revert sort-only indexes (Anatoliy Chakkaev)
4681
4682 * Redis sort-only indexes (Anatoliy Chakkaev)
4683
4684 * Fix in-memory adapter tests (Anatoliy Chakkaev)
4685
4686 * Fix typo, tune redis2 (Anatoliy Chakkaev)
4687
4688 * Rewritten redis (Anatoliy Chakkaev)
4689
4690 * Refactored and optimized redis adapter (Anatoliy Chakkaev)
4691
4692 * Fix postgres offset feature (Anatoliy Chakkaev)
4693
4694 * Bump 0.1.14. Fix typo in redis adapter (Anatoliy Chakkaev)
4695
4696 * Callback called only once + database selection (Anatoliy Chakkaev)
4697
4698 * Changed validatable inheritance, fixed issue with belongsTo #113 (Anatoliy Chakkaev)
4699
4700 * More information about alter in isActual (Anatoliy Chakkaev)
4701
4702 * Fix autoupdate for mysql ; (Anatoliy Chakkaev)
4703
4704 * Autoupdate multicolumn indexes (Anatoliy Chakkaev)
4705
4706 * I put the delete in the wrong line, moved down.. (Mike P)
4707
4708 * re-adding fix to not save id as a property on update (Mike P)
4709
4710 * Update lib/adapters/neo4j.js (Mike P)
4711
4712 * Update lib/abstract-class.js (Mike P)
4713
4714 * Single-column indexes in mysql (autoupdate) (Anatoliy Chakkaev)
4715
4716 * Unnecessary error on mongodb authentication. Skip checking (Anatoliy Chakkaev)
4717
4718 * Fix typo, bump version (Anatoliy Chakkaev)
4719
4720 * Provide additional info about collection (Anatoliy Chakkaev)
4721
4722 * Freeze postgres version (Anatoliy Chakkaev)
4723
4724 * Move to latest mongoose / fix api (Anatoliy Chakkaev)
4725
4726 * Remove JSON serialization test case (Anatoliy Chakkaev)
4727
4728 * Adds replica-set support to the mongodb native driver. (Timothy Marks)
4729
4730 * Adds authenticate to db.open if a username and password are set. (Timothy Marks)
4731
4732 * Update postgres (Anatoliy Chakkaev)
4733
4734 * JSON in tests, Schema.JSON published (Anatoliy Chakkaev)
4735
4736 * Adds Replica Set Support to JugglingDB Mongoose Adapter (Timothy Marks)
4737
4738 * Fixes issue where only id would be saved when updating an existing object for mongodb driver. (Timothy Marks)
4739
4740 * Added stricter value checking on number. (Dombi Attila)
4741
4742 * modified destroyAll (Taner Topal)
4743
4744 * Added fix to the abstract-class.js file for issue #72. The fix is resolved by by5739. (Jude Lam)
4745
4746 * Allow relative driver paths, adopt for node 0.8 (Anatoliy Chakkaev)
4747
4748 * The updateAttribute callback doesn't behaves as its described. It should send the object instance alongside the error too. (Dombi Attila)
4749
4750 * Wrap database name with quotes (Anatoliy Chakkaev)
4751
4752 * fix sql error when initializing models with empty Number property. It should return NULL when a number is empty (Dombi Attila)
4753
4754 * Fix PostgreSQL query offset (Matt Huggins)
4755
4756 * First version of a cradle adapter (Aurélien Thieriot)
4757
4758 * https://groups.google.com/d/msg/railwayjs/4YWICL6EAOg/ebCxGkQ5eQcJ (Wizek)
4759
4760 * Fix coding style (Anatoliy Chakkaev)
4761
4762 * Adopt postgres stuff (Anatoliy Chakkaev)
4763
4764 * Coverage added to gitignore (Anatoliy Chakkaev)
4765
4766 * added custom collection name to mongoose (Jonathan Spies)
4767
4768 * heavily modified sections of postgres adapter, postgres is now passing all tests (Joseph Junker)
4769
4770 * ran into some confusion with default values while changing postgres adapter, added postgres default values test (Joseph Junker)
4771
4772 * migration_test is mysql specific, added postgres migration test (Joseph Junker)
4773
4774 * added multiple sort for mongoose (Jonathan Spies)
4775
4776 * Fixes mysql adapter 'neq' condition. (Rob Scott)
4777
4778 * added double quotes to field names (bitmage)
4779
4780 * Support modular railway (Anatoliy Chakkaev)
4781
4782 * Upsert with setters (Anatoliy Chakkaev)
4783
4784 * Added semicov dependency (Anatoliy Chakkaev)
4785
4786 * Fix sql adapters (Anatoliy Chakkaev)
4787
4788 * Setters enabled in new and create (Anatoliy Chakkaev)
4789
4790 * Jslinize if blocks, not strict equal for ids on uniqueness checking (Anatoliy Chakkaev)
4791
4792 * Prevent data from leaking to global (Henri Bergius)
4793
4794 * Fix mongoose adapter find (Anatoliy Chakkaev)
4795
4796 * Tune propertyChanged behavior (Anatoliy Chakkaev)
4797
4798 * Fix 'undefined is not a function' problem at postgres adapter (Kelvin Wong)
4799
4800 * Fix test: not strict equal when comparing ids (Anatoliy Chakkaev)
4801
4802 * Update version (Anatoliy Chakkaev)
4803
4804 * Turn off caching (Anatoliy Chakkaev)
4805
4806 * Some safeties to URL handling (Henri Bergius)
4807
4808 * Enable setting up Redis with URL (Henri Bergius)
4809
4810 * Add warning for validations in schema.js (Anatoliy Chakkaev)
4811
4812 * Not strict equal for scoped find, trigger beforeUpdate with data (Anatoliy Chakkaev)
4813
4814 * Fix scoped find method (Anatoliy Chakkaev)
4815
4816 * Postgres migrations fix #54 (Anatoliy Chakkaev)
4817
4818 * Documentation, railway tweaks (Anatoliy Chakkaev)
4819
4820 * Document (Anatoliy Chakkaev)
4821
4822 * Fix multiple queries issue #51 (Anatoliy Chakkaev)
4823
4824 * Delayed database calls (Anatoliy Chakkaev)
4825
4826 * upsert for redis (Anatoliy Chakkaev)
4827
4828 * Support upsert (Anatoliy Chakkaev)
4829
4830 * Implemented destroyAll for sub-scopes (Taner Topal)
4831
4832 * Tune sqlite3 dependency version (2.0.18) (Anatoliy Chakkaev)
4833
4834 * Added contributors, MRU cache cleanup, closes #46 (Anatoliy Chakkaev)
4835
4836 * Pass DEFAULT to autoincrement values in PG (Felipe Sateler)
4837
4838 * Bump version 0.1.3 (Anatoliy Chakkaev)
4839
4840 * Correctly handle callback after blank automigration (Anatoliy Chakkaev)
4841
4842 * Support node 0.4 in mongodb adapter (Anatoliy Chakkaev)
4843
4844 * Mongodb adapter (Anatoliy Chakkaev)
4845
4846 * Fix executable for neo4j travis (Anatoliy Chakkaev)
4847
4848 * Added neo4j support for travis ci (Anatoliy Chakkaev)
4849
4850 * Remove sequelize tests (Anatoliy Chakkaev)
4851
4852 * Removed sequelize adapter (Anatoliy Chakkaev)
4853
4854 * Remove frozen neo4j lib, add neo4j database setup for travis-ci (Anatoliy Chakkaev)
4855
4856 * Custom table name for sqlite3 (Anatoliy Chakkaev)
4857
4858 * Added sql for common parts (Anatoliy Chakkaev)
4859
4860 * DRY sql adapters (Anatoliy Chakkaev)
4861
4862 * Unhashish, escape names, start moving common parts to sql.js (Anatoliy Chakkaev)
4863
4864 * Allow custom table name in postgres too (Felipe Sateler)
4865
4866 * Allow custom table name in mysql (Anatoliy Chakkaev)
4867
4868 * Don't add a WHERE if there are no constraints (Henri Bergius)
4869
4870 * Support reverse sort for redis (Anatoliy Chakkaev)
4871
4872 * Model.findOne, mongoose reverse sort, closes #38 (Anatoliy Chakkaev)
4873
4874 * Fix unnecessary _was attributes issue, closes #36, #31, #34, #35 (Anatoliy Chakkaev)
4875
4876 * Reverse sort order in redis and memory, test (Anatoliy Chakkaev)
4877
4878
48792012-03-01, Version 0.1.1
4880=========================
4881
4882 * Bump version 0.1.1 (Anatoliy Chakkaev)
4883
4884 * Test belongsTo (Anatoliy Chakkaev)
4885
4886 * MySQL shouldn't break on null Date values (Henri Bergius)
4887
4888 * Safety: there might not be any indexes to use (Henri Bergius)
4889
4890 * Update README.md (1602)
4891
4892 * Default should not be handled by database engine (Anatoliy Chakkaev)
4893
4894 * Add schema.isActual and automigrate on sqlite start (Anatoliy Chakkaev)
4895
4896 * Fix sorting by id in redis (Mansur)
4897
4898 * changed belongsTo so grabs the belongs to relationship properly (Rick O'Toole)
4899
4900 * Fixing some bugs, which fix default values and length of fields in mysql adapter (Amir M. Mahmoudi)
4901
4902 * Remove unnecesare code from test helper (Anatoliy Chakkaev)
4903
4904 * modify README.md (Shunsuke Watanabe)
4905
4906 * Add alias for skip/offet (mongoose) (Anatoliy Chakkaev)
4907
4908 * Add some features to advanced queries (Amir M. Mahmoudi)
4909
4910 * Disable advanced queries for redis and memory (Anatoliy Chakkaev)
4911
4912 * Advanced queries for sql-s and mongodb (Anatoliy Chakkaev)
4913
4914 * Emit logging event (Anatoliy Chakkaev)
4915
4916 * Disable neo4j for travis (Anatoliy Chakkaev)
4917
4918 * Added utils module (Anatoliy Chakkaev)
4919
4920 * Mongoose order/limit/offset and more (Anatoliy Chakkaev)
4921
4922 * Fix sqlite3 verion in dependency (Anatoliy Chakkaev)
4923
4924 * SQLite3 adapter (Anatoliy Chakkaev)
4925
4926 * Fix postgres adapter (Anatoliy Chakkaev)
4927
4928 * Added hashish dependency (Anatoliy Chakkaev)
4929
4930 * Setup postgres for travis (Anatoliy Chakkaev)
4931
4932 * Added pg dependency (Anatoliy Chakkaev)
4933
4934 * Model.count with params support, fix time in mysql (Anatoliy Chakkaev)
4935
4936 * Allow to call create without callback (Anatoliy Chakkaev)
4937
4938 * Get version (Anatoliy Chakkaev)
4939
4940 * Remove unnecessary logging (Anatoliy Chakkaev)
4941
4942 * Update version reading (Anatoliy Chakkaev)
4943
4944 * Remove node07 (Anatoliy Chakkaev)
4945
4946 * Adjust test (Anatoliy Chakkaev)
4947
4948 * Mysql sort, where and limit (Anatoliy Chakkaev)
4949
4950 * Update test comand (Anatoliy Chakkaev)
4951
4952 * Rewrite redis test to make possible filter and sort simultaneously (Anatoliy Chakkaev)
4953
4954 * Implement first-round sorting in memory adapter (Anatoliy Chakkaev)
4955
4956 * Redis-adapter: test sorting, support alpha-sort, fix destroyAll issue (Anatoliy Chakkaev)
4957
4958 * Update readme (Anatoliy Chakkaev)
4959
4960 * Return name of type (Anatoliy Chakkaev)
4961
4962 * Update package (Anatoliy Chakkaev)
4963
4964 * Added nodeunit dep (Anatoliy Chakkaev)
4965
4966 * Travis (Anatoliy Chakkaev)
4967
4968 * Safe require package.json (Anatoliy Chakkaev)
4969
4970 * Do not store null values (Anatoliy Chakkaev)
4971
4972 * Postgresql adapter (buggy) (Anatoliy Chakkaev)
4973
4974 * Describe consturctor calling without "new" (Anatoliy Chakkaev)
4975
4976 * Allow constructor to be called without "new" (Anatoliy Chakkaev)
4977
4978 * limit/offset and order clause for redis adapter (Julien Guimont)
4979
4980 * Describe test case (Anatoliy Chakkaev)
4981
4982 * Fix non-schema data saving (Anatoliy Chakkaev)
4983
4984 * Allow override sette and getters (Anatoliy Chakkaev)
4985
4986 * Remove non-schema properties on reload (Anatoliy Chakkaev)
4987
4988 * Drop and add columns (Anatoliy Chakkaev)
4989
4990 * Automigrade/update (Anatoliy Chakkaev)
4991
4992 * Reset changes method (Anatoliy Chakkaev)
4993
4994 * Fix test for updateAttribute (Anatoliy Chakkaev)
4995
4996 * Validation should return undefined in case of async validations (Anatoliy Chakkaev)
4997
4998 * Some errors in the previous PR (Julien Guimont)
4999
5000 * Async validations should not trump previous validations. Previous validations should be true as well as async validations (Julien Guimont)
5001
5002 * Keep dirty state for cached objects (Anatoliy Chakkaev)
5003
5004 * Fixed/Improved mysql escaping in the fields names (redvulps)
5005
5006 * Use events module (Anatoliy Chakkaev)
5007
5008 * Make all args in .save optional (Anatoliy Chakkaev)
5009
5010 * Update attribute + hooks (Anatoliy Chakkaev)
5011
5012 * Tune async validation hooks (Anatoliy Chakkaev)
5013
5014 * Describe object livecycle, update isValid usage (1602)
5015
5016 * Async flow for hooks (Anatoliy Chakkaev)
5017
5018 * updated mysql adapter to support boolean definition (redvulps)
5019
5020 * Updated mysql adapter to support fields that have internal names like "key" or "order" (redvulps)
5021
5022 * Async validations hooks (Anatoliy Chakkaev)
5023
5024 * Async validations (Anatoliy Chakkaev)
5025
5026 * Rewrite custom validation (Anatoliy Chakkaev)
5027
5028 * Pass instance as callback second arg when validation fails (Anatoliy Chakkaev)
5029
5030 * Hookable validations without breaking functionality (Anatoliy Chakkaev)
5031
5032 * Some coding style fixes (Anatoliy Chakkaev)
5033
5034 * Added active record style callbacks and hooks. Before and after create, save, update, destroy and after initialization. (Julien Guimont)
5035
5036 * Add the ability to create custom validation on fields (Julien Guimont)
5037
5038 * Save where conds (Anatoliy Chakkaev)
5039
5040 * Bump 0.0.6 (Anatoliy Chakkaev)
5041
5042 * Run schema callback on nextTick (Anatoliy Chakkaev)
5043
5044 * Fix NaN-NaN... in dates (Anatoliy Chakkaev)
5045
5046 * Logging in mysql and redis (Anatoliy Chakkaev)
5047
5048 * bugfix: class is a reserved word in V8 / node 0.6 (Justinas Stankevičius)
5049
5050 * phony test (Anatoliy Chakkaev)
5051
5052 * Added Makefile (Anatoliy Chakkaev)
5053
5054
50552011-11-05, Version 0.0.4
5056=========================
5057
5058 * Version 0.0.4 (Anatoliy Chakkaev)
5059
5060 * Accept non-url format in mongoose adapter (Anatoliy Chakkaev)
5061
5062 * Run callbacks on schema ready (Anatoliy Chakkaev)
5063
5064 * Move conditions to `where` section, fix neo4j (Anatoliy Chakkaev)
5065
5066 * Neo4j cypher query support (Anatoliy Chakkaev)
5067
5068 * Mysql (Anatoliy Chakkaev)
5069
5070 * Ability to transparently close connection with database (Anatoliy Chakkaev)
5071
5072 * Tune indexes in redis (Anatoliy Chakkaev)
5073
5074 * Only save to database attributes that listed in schema (Anatoliy Chakkaev)
5075
5076 * Update neo4j: safe callbacks, update indexes on save (Anatoliy Chakkaev)
5077
5078 * Bump version (Anatoliy Chakkaev)
5079
5080
50812011-10-16, Version 0.0.2
5082=========================
5083
5084 * First release!