diff --git a/changelog.md b/changelog.md index 275631a..bed3df1 100644 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,10 @@ - Replaced the test utility function `streamToString` with the function `text` from `node:stream/consumers` that’s available in modern Node.js. - Use the Node.js test runner API and remove the dev dependency [`test-director`](https://npm.im/test-director). +### Minor + +- Support Express v5 by updating the optional peer dependency [`@types/express`](https://npm.im/@types/express) to `4.0.29 - 5` and the dev dependency [`express`](https://npm.im/express) to v5, via [#389](https://github.com/jaydenseric/graphql-upload/pull/389). + ### Patch - Updated GitHub Actions CI config: diff --git a/package.json b/package.json index aff6568..976afe1 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "node": "^18.18.0 || ^20.9.0 || >=22.0.0" }, "peerDependencies": { - "@types/express": "^4.0.29", + "@types/express": "4.0.29 - 5", "@types/koa": "^2.11.4", "graphql": "^16.3.0" }, @@ -70,12 +70,12 @@ "object-path": "^0.11.8" }, "devDependencies": { - "@types/express": "^4.17.17", + "@types/express": "^5.0.0", "@types/koa": "^2.13.8", "coverage-node": "^8.0.0", "eslint": "^8.48.0", "eslint-plugin-simple-import-sort": "^10.0.0", - "express": "^4.18.2", + "express": "^5.0.0", "form-data-encoder": "^4.0.2", "graphql": "^16.8.0", "koa": "^2.14.2",