UNPKG

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