不要怂,就是干,撸起袖子干!

Commit 481bddd6 by Sushant Committed by GitHub

build: use node 10 (#11580)

1 parent 2b9baa2a
...@@ -42,40 +42,40 @@ script: ...@@ -42,40 +42,40 @@ script:
jobs: jobs:
include: include:
- stage: lint - stage: lint
node_js: '8' node_js: '10'
script: script:
- npm run lint - npm run lint
- npm run lint-docs - npm run lint-docs
- npm run test-typings - npm run test-typings
- stage: test - stage: test
node_js: '6' node_js: '10'
env: DIALECT=sqlite env: DIALECT=sqlite
- stage: test - stage: test
node_js: '6' node_js: '10'
sudo: required sudo: required
env: MARIADB_VER=mariadb-103 SEQ_MARIADB_PORT=8960 DIALECT=mariadb env: MARIADB_VER=mariadb-103 SEQ_MARIADB_PORT=8960 DIALECT=mariadb
- stage: test - stage: test
node_js: '6' node_js: '10'
sudo: required sudo: required
env: MYSQL_VER=mysql-57 SEQ_MYSQL_PORT=8980 DIALECT=mysql env: MYSQL_VER=mysql-57 SEQ_MYSQL_PORT=8980 DIALECT=mysql
- stage: test - stage: test
node_js: '6' node_js: '10'
sudo: required sudo: required
env: POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 DIALECT=postgres env: POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 DIALECT=postgres
- stage: test - stage: test
node_js: '6' node_js: '10'
sudo: required sudo: required
env: POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 SEQ_PG_MINIFY_ALIASES=1 DIALECT=postgres env: POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 SEQ_PG_MINIFY_ALIASES=1 DIALECT=postgres
script: script:
- npm run test-integration - npm run test-integration
- stage: test - stage: test
node_js: '6' node_js: '10'
sudo: required sudo: required
env: POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres-native env: POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres-native
- stage: release - stage: release
node_js: '8' node_js: '10'
script: script:
- npm run semantic-release - npm run lint-docs #change after v6 released
before_deploy: before_deploy:
- npm run docs - npm run docs
deploy: deploy:
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more. Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.
Sequelize follows [SEMVER](http://semver.org). Supports Node v6 and above to use ES6 features. Sequelize follows [SEMVER](http://semver.org). Supports Node v10 and above to use ES6 features.
New to Sequelize? Take a look at the [Tutorials and Guides](https://sequelize.org/master). You might also be interested in the [API Reference](https://sequelize.org/master/identifiers). New to Sequelize? Take a look at the [Tutorials and Guides](https://sequelize.org/master). You might also be interested in the [API Reference](https://sequelize.org/master/identifiers).
......
...@@ -10,7 +10,7 @@ shallow_clone: true ...@@ -10,7 +10,7 @@ shallow_clone: true
environment: environment:
matrix: matrix:
- { NODE_VERSION: 6, DIALECT: mssql, COVERAGE: true } - { NODE_VERSION: 10, DIALECT: mssql, COVERAGE: true }
install: install:
- ps: Install-Product node $env:NODE_VERSION x64 - ps: Install-Product node $env:NODE_VERSION x64
......
...@@ -20,9 +20,7 @@ ...@@ -20,9 +20,7 @@
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more. Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.
Sequelize follows [SEMVER](http://semver.org). Supports Node v6 and above to use ES6 features. Sequelize follows [SEMVER](http://semver.org). Supports Node v10 and above to use ES6 features.
**Sequelize v5** was released on March 13, 2019. [Official TypeScript typings are now included](manual/typescript).
You are currently looking at the **Tutorials and Guides** for Sequelize. You might also be interested in the [API Reference](identifiers). You are currently looking at the **Tutorials and Guides** for Sequelize. You might also be interested in the [API Reference](identifiers).
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"migrations.md", "migrations.md",
"resources.md", "resources.md",
"typescript.md", "typescript.md",
"upgrade-to-v5.md", "upgrade-to-v6.md",
"legacy.md", "legacy.md",
"whos-using.md", "whos-using.md",
"legal.md" "legal.md"
......
# Upgrade to v6
Sequelize v6 is the next major release after v5
## Breaking Changes
### Support for Node 10 and up
Sequelize v6 will only support Node 10 and up [#10821](https://github.com/sequelize/sequelize/issues/10821)
## Changelog
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
"name": "sequelize", "name": "sequelize",
"description": "Multi dialect ORM for Node.JS", "description": "Multi dialect ORM for Node.JS",
"version": "0.0.0-development", "version": "0.0.0-development",
"author": "Sascha Depold <sascha@depold.com>", "maintainers": [
"contributors": [
"Sascha Depold <sascha@depold.com>", "Sascha Depold <sascha@depold.com>",
"Jan Aagaard Meier <janzeh@gmail.com>", "Jan Aagaard Meier <janzeh@gmail.com>",
"Daniel Durante <me@danieldurante.com>", "Daniel Durante <me@danieldurante.com>",
...@@ -21,7 +20,7 @@ ...@@ -21,7 +20,7 @@
"main": "index.js", "main": "index.js",
"types": "types", "types": "types",
"engines": { "engines": {
"node": ">=6.0.0" "node": ">=10.0.0"
}, },
"files": [ "files": [
"lib", "lib",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!