UNPKG

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