UNPKG

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