Skip to content

Commit af5c2dc

Browse files
committed
Fixes #12
1 parent a6e119a commit af5c2dc

File tree

11 files changed

+1571
-1027
lines changed

11 files changed

+1571
-1027
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": ["es2015-rollup"]
33
}

.npmignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ data/
3434
doc/
3535
test/
3636
.babelrc
37-
webpack.config.js
38-
circle.yml
37+
mocha.start.js
38+
rollup.config.js
39+
circle.yml
40+
conf.json

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
##### 0.7.0 - 19 February 2016
2+
3+
###### Backwards compatible API changes
4+
- Decomposed eager loading functionality into overridable methods for greater flexibility
5+
- New methods: loadHasMany, loadBelongsTo, loadHasOne, makeBelongsToForeignKey, makeHasManyForeignKey, toObjectID
6+
- Example use case: Override makeBelongsToForeignKey because your foreignKeys are saved as ObjectIDs, but the default is to assume they are plain a string/number
7+
8+
###### Backwards compatible bug fixes
9+
- #12 - eager loading relations doesn't check for ObjectID
10+
11+
###### Other
12+
- Added some JSDoc comments
13+
- Cleaned up some code style
14+
115
##### 0.6.0 - 18 February 2016
216

317
- Upgraded dependencies

conf.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"source": {
3+
"includePattern": ".*js$"
4+
},
5+
"plugins": ["plugins/markdown"],
6+
"opts": {
7+
"template": "./node_modules/ink-docstrap/template",
8+
"destination": "./doc/",
9+
"recurse": true,
10+
"verbose": true,
11+
"readme": "./README.md",
12+
"package": "./package.json"
13+
},
14+
"templates": {
15+
"theme": "lumen",
16+
"systemName": "js-data-mongodb",
17+
"copyright": "js-data-mongodb Copyright © 2014-2016 Jason Dobry",
18+
"outputSourceFiles": true,
19+
"syntaxTheme": "dark",
20+
"linenums": true,
21+
"footer": "<div style=\"text-align:center\">Back to <a href=\"http://js-data.io\">js-data.io</a></div>"
22+
}
23+
}

0 commit comments

Comments
 (0)