Skip to content

Commit

Permalink
Update koa-bodyparser to ^4.2.1 (Fixes content-length mismatch) (#3229)
Browse files Browse the repository at this point in the history
* Update koa-bodyparser to ^4.2.1

* Update package-lock.json for updates in #3229.

* Add CHANGELOG.md for #3229.
  • Loading branch information
brendanmoore authored and abernix committed Aug 29, 2019
1 parent c758ebd commit 2dd0592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The version headers in this history reflect the versions of Apollo Server itself

> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the the appropriate changes within that release will be moved into the new section.
- `apollo-server-koa`: Update `koa-bodyparser` dependency from `v3.0.0` to `v4.2.1` to fix inaccurate `Content-length` calculation. [PR #3229](https://github.com/apollographql/apollo-server/pull/3229)
- `apollo-server-express`: Use explicit return type for new `getMiddleware` method, in an effort to resolve [Issue #3222](https://github.com/apollographql/apollo-server/issues/3222) [PR #3230](https://github.com/apollographql/apollo-server/pull/3230)

### v2.9.1
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/apollo-server-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"graphql-subscriptions": "^1.0.0",
"graphql-tools": "^4.0.0",
"koa": "2.8.1",
"koa-bodyparser": "^3.0.0",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"type-is": "^1.6.16"
},
Expand Down

0 comments on commit 2dd0592

Please sign in to comment.