Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72169ae

Browse files
committed
v1.5.0
1 parent 3eb59bd commit 72169ae

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

doc/includes/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 1.5.0
4+
5+
### What's new
6+
7+
* fix [#1131](https://github.com/Vincit/objection.js/issues/1131)
8+
* fix [#1114](https://github.com/Vincit/objection.js/issues/1114)
9+
* fix [#1185](https://github.com/Vincit/objection.js/issues/1185)
10+
* fix [#1109](https://github.com/Vincit/objection.js/issues/1109)
11+
* fix [#1110](https://github.com/Vincit/objection.js/issues/1110)
12+
* add eagerObject and eagerModifiers accessors to QueryBuilder.
13+
* complete rewrite of `insertGraph` and `upsertGraph` code. The rewrite brought a bunch of small performance optimizations and makes future development easier. No breaking changes.
14+
* Chaining `returning('*')` to `insertGraph` or `upsertGraph` now propagates the call to all insert, update and delete operations.
15+
* Code using objectio can now be transpilsed to ES5. No need to add babel workarounds anymore.
16+
317
## 1.4.0
418

519
### What's new

lib/objection.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ const { raw } = require('./queryBuilder/RawBuilder');
2929

3030
const { inherit } = require('../lib/utils/classUtils');
3131

32-
// We wrap the classes that people can inherit, with ES5 classes
33-
// so that babel is able to use ES5 inheritance. sigh...
32+
// We need to wrap the classes, that people can inherit, with ES5 classes
33+
// so that babel is able to use ES5 inheritance. sigh... Maybe people
34+
// should stop transpiling node apps to ES5 in the year 2019? Node 6
35+
// with full class support was released three years ago.
3436

3537
function Model() {
3638
// Nothing to do here.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "objection",
3-
"version": "1.5.0-rc.5",
3+
"version": "1.5.0",
44
"description": "An SQL-friendly ORM for Node.js",
55
"main": "lib/objection.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)