|
| 1 | +4.0.2 / 2015-04-23 |
| 2 | +================== |
| 3 | + * fixed; error thrown when calling .validate() on subdoc not in an array #2902 |
| 4 | + * fixed; rename define() to play nice with webpack #2900 [jspears](https://github.com/jspears ) |
| 5 | + * fixed; pre validate called twice with discriminators #2892 |
| 6 | + * fixed; .inspect() on mongoose.Types #2875 |
| 7 | + * docs; correct callback params for Model.update #2872 |
| 8 | + * fixed; setDefaultsOnInsert now works when runValidators not specified #2870 |
| 9 | + * fixed; Document now wraps EventEmitter.addListener #2867 |
| 10 | + * fixed; call non-hook functions in schema queue #2856 |
| 11 | + * fixed; statics can be mocked out for tests #2848 [ninelb](https://github.com/ninelb) |
| 12 | + * upgraded; mquery 1.4.0 for bluebird bug fix #2846 |
| 13 | + * fixed; required validators run first #2843 |
| 14 | + * docs; improved docs for new option to findAndMody #2838 |
| 15 | + * docs; populate example now uses correct field #2837 [swilliams](https://github.com/swilliams) |
| 16 | + * fixed; pre validate changes causing VersionError #2835 |
| 17 | + * fixed; get path from correct place when setting CastError #2832 |
| 18 | + * docs; improve docs for Model.update() function signature #2827 [irnc](https://github.com/irnc) |
| 19 | + * fixed; populating discriminators #2825 [chetverikov](https://github.com/chetverikov) |
| 20 | + * fixed; discriminators with nested schemas #2821 |
| 21 | + * fixed; CastErrors with embedded docs #2819 |
| 22 | + * fixed; post save hook context #2816 |
| 23 | + * docs; 3.8.x -> 4.x migration guide #2807 |
| 24 | + * fixed; proper _distinct copying for query #2765 [cdelauder](https://github.com/cdelauder) |
| 25 | + |
1 | 26 | 3.8.27 / 2015-04-22
|
2 | 27 | ===================
|
3 | 28 | * fixed; dont duplicate db calls on Q.ninvoke() #2864
|
|
0 commit comments