Skip to content

Commit

Permalink
upgrade all dependencies, compatibility with latest Eslint and GraphQL
Browse files Browse the repository at this point in the history
- upgrade all dependencies to their latest version
- remove pretty-quick and husky (was misconfigured)

- ensure compatibility with Eslint 7 and 8
- ensure compatibility with GraphQL 16

BREAKING:

- drop compatibility with Node.js < 16
- drop compatibility with GraphQL < 14.2
- drop compatibility with Eslint < 7
  • Loading branch information
znarf committed Dec 4, 2023
1 parent b9485ed commit 73b1b44
Show file tree
Hide file tree
Showing 13 changed files with 4,753 additions and 7,657 deletions.
1 change: 0 additions & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = {
presets: ['@babel/preset-env'],
plugins: ['@babel/plugin-transform-runtime'],
};
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .tav.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

graphql:
versions: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0
versions: ^14.2.0 || ^15.0.0 || ^16.0.0
commands: mocha test/index.js
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: node_js
node_js:
- "10"
- "12"
- "16"
- "18"
- "20"
install:
- npm install

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

- _Nothing yet!_

### v5.0.0
- Upgrade all dependencies and compatibility with latest Eslint and GraphQL. [PR #342](https://github.com/apollographql/eslint-plugin-graphql/pull/342) by [François Hodierne](https://github.com/znarf).
**BREAKING**: Minimum supported Node.js version is now Node.js 16; Dropped support for Node.js 10, 11, 12, 13, 14 and 15.
**BREAKING**: Minimum supported Eslint version is now Eslint 7.0.0;
**BREAKING**: Minimum supported GraphQL version is now GraphQL 14.2.0;

### v4.0.0

- Improve identity template literal tag docs. [PR #254](https://github.com/apollographql/eslint-plugin-graphql/pull/254) by [Jayden Seric](https://github.com/jaydenseric).
Expand Down
Loading

0 comments on commit 73b1b44

Please sign in to comment.