Skip to content

Commit

Permalink
Bundle polyfills to prevent breaking existing Node 6 setups (#3140)
Browse files Browse the repository at this point in the history
* Bump version to 0.16.4

* Hotfix polyfills for Node 6 in 0.16.5

* Remove unneeded upgrade instruction
  • Loading branch information
kibertoad committed Apr 11, 2019
1 parent 2072163 commit 892fc6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Master (Unreleased)

# 0.16.5 - 11 Apr, 2019

- Bundle polyfills with knex for 0.16.x line again #3139

# 0.16.4 - 11 Apr, 2019

### New features:
Expand Down
1 change: 0 additions & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* MSSQL: DB versions older than 2008 are no longer supported, make sure to update your DB;
* PostgreSQL|MySQL: it is recommended to use options object for `table.datetime` and `table.timestamp` methods instead of argument options. See documentation for these methods for more details;
* Node 6: There are known issues with duplicate event listeners when using knex.js with Node.js 6 (resulting in MaxListenersExceededWarning under certain use-cases (such as reusing single knex instance to run migrations or seeds multiple times)). Please upgrade to Node.js 8+ as soon as possible (knex 0.17.0 will be dropping Node.js 6 support altogether);
* Node 6: Please add '@babel/polyfill' production dependency to the project when using Node.js 6 (it will be loaded by knex automatically).

### Upgrading to version 0.15.0+

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "knex",
"version": "0.16.4",
"version": "0.16.5",
"description": "A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser",
"main": "knex.js",
"types": "types/knex.d.ts",
"engines": {
"node": ">=6"
},
"dependencies": {
"@babel/polyfill": "^7.4.3",
"@types/bluebird": "^3.5.26",
"bluebird": "^3.5.4",
"colorette": "1.0.7",
Expand All @@ -34,7 +35,6 @@
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@types/node": "^11.11.3",
"JSONStream": "^1.3.5",
Expand Down

0 comments on commit 892fc6b

Please sign in to comment.