Skip to content

Commit 82f26ca

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents f89a96a + 5e0d39f commit 82f26ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+47944
-12646
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ index.html
1313
index.jade
1414
bin/
1515
karma.*.js
16+
format_deps.js

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: node_js
22
node_js:
3-
- 0.10
3+
- "0.12"
4+
- "0.10"
5+
- "iojs"
46
services:
57
- mongodb

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To contribute to the [API documentation](http://mongoosejs.com/docs/api.html) ju
4747

4848
To contribute to the [guide](http://mongoosejs.com/docs/guide.html) or [quick start](http://mongoosejs.com/docs/index.html) docs, make your changes to the appropriate `.jade` files in the [docs](https://github.com/LearnBoost/mongoose/tree/master/docs) directory of the master branch and submit a pull request. Again, the [Edit](https://github.com/blog/844-forking-with-the-edit-button) button might work for you here.
4949

50-
If you'd like to preview your documentation changes, first commit your changes to your local 3.6.x branch, then execute `make docs` from the project root, which switches to the gh-pages branch, merges from the 3.6.x branch and builds all the static pages for you. Now execute `node static.js` from the project root which will launch a local webserver where you can browse the documentation site locally. If all looks good, submit a [pull request](https://help.github.com/articles/using-pull-requests/) to the 3.6.x branch with your changes.
50+
If you'd like to preview your documentation changes, first commit your changes to your local 3.8.x branch, then execute `make docs` from the project root, which switches to the gh-pages branch, merges from the 3.8.x branch and builds all the static pages for you. Now execute `node static.js` from the project root which will launch a local webserver where you can browse the documentation site locally. If all looks good, submit a [pull request](https://help.github.com/articles/using-pull-requests/) to the 3.8.x branch with your changes.
5151

5252
### Plugins website
5353

History.md

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,70 @@
1-
4.0.0-rc1 / 2014-02-01
1+
4.0.0-rc4 / 2015-03-14
2+
======================
3+
* fixed; toObject virtuals schema option handled properly #2751
4+
* fixed; update validators work on document arrays #2733
5+
* fixed; check for cast errors on $set #2729
6+
* fixed; instance field set for all schema types #2727 [csdco](https://github.com/csdco)
7+
* fixed; dont run other validators if required fails #2725
8+
* fixed; custom getters execute on ref paths #2610
9+
* fixed; save defaults if they were set when doc was loaded from db #2558
10+
* fixed; pre validate now runs before pre save #2462
11+
* fixed; no longer throws errors with --use_strict #2281
12+
13+
3.8.25 / 2015-03-13
14+
===================
15+
* fixed; debug output reverses order of aggregation keys #2759
16+
* fixed; $eq is a valid query selector in 3.0 #2752
17+
* fixed; upgraded node driver to 1.4.32 for handling non-numeric poolSize #2682
18+
* fixed; update() with overwrite sets _id for nested docs #2658
19+
* fixed; casting for operators in $elemMatch #2199
20+
21+
4.0.0-rc3 / 2015-02-28
22+
======================
23+
* fixed; update() pre hooks run before validators #2706
24+
* fixed; setters not called on arrays of refs #2698 [brandom](https://github.com/brandom)
25+
* fixed; use node driver 2.0.18 for nodejs 0.12 support #2685
26+
* fixed; comments reference file that no longer exists #2681
27+
* fixed; populated() returns _id of manually populated doc #2678
28+
* added; ability to exclude version key in toObject() #2675
29+
* fixed; dont allow setting nested path to a string #2592
30+
* fixed; can cast objects with _id field to ObjectIds #2581
31+
* fixed; on-the-fly schema getters #2360
32+
* added; strict option for findOneAndUpdate() #1967
33+
34+
3.8.24 / 2015-02-25
35+
===================
36+
* fixed; properly apply child schema transforms #2691
37+
* fixed; make copy of findOneAndUpdate options before modifying #2687
38+
* fixed; apply defaults when parent path is selected #2670 #2629
39+
* fixed; properly get ref property for nested paths #2665
40+
* fixed; node driver makes copy of authenticate options before modifying them #2619
41+
* fixed; dont block process exit when auth fails #2599
42+
* fixed; remove redundant clone in update() #2537
43+
44+
4.0.0-rc2 / 2015-02-10
45+
======================
46+
* added; io.js to travis build
47+
* removed; browser build dependencies not installed by default
48+
* added; dynamic refpaths #2640 [chetverikov](https://github.com/chetverikov)
49+
* fixed; dont call child schema transforms on parent #2639 [chetverikov](https://github.com/chetverikov)
50+
* fixed; get rid of remove option if new is set in findAndModify #2598
51+
* fixed; aggregate all document array validation errors #2589
52+
* fixed; custom setters called when setting value to undefined #1892
53+
54+
3.8.23 / 2015-02-06
55+
===================
56+
* fixed; unset opts.remove when upsert is true #2519
57+
* fixed; array saved as object when path is object in array #2442
58+
* fixed; inline transforms #2440
59+
* fixed; check for callback in count() #2204
60+
* fixed; documentation for selecting fields #1534
61+
62+
4.0.0-rc1 / 2015-02-01
263
======================
364
* fixed; use driver 2.0.14
465
* changed; use transform: true by default #2245
566

6-
4.0.0-rc0 / 2014-01-31
67+
4.0.0-rc0 / 2015-01-31
768
===================
869
* fixed; wrong order for distinct() params #2628
970
* fixed; handling no query argument to remove() #2627
@@ -18,7 +79,7 @@
1879
* fixed; undefined is now a valid argument to findOneAndUpdate #2272
1980
* changed; `new` option to findAndModify ops is false by default #2262
2081

21-
3.8.22 / 2014-01-24
82+
3.8.22 / 2015-01-24
2283
===================
2384
* upgraded; node-mongodb-native to 1.4.28 #2587 [Climax777](https://github.com/Climax777)
2485
* added; additional documentation for validators #2449

0 commit comments

Comments
 (0)