Skip to content

Commit

Permalink
Version Packages (#243)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 24, 2023
1 parent dfb8bcc commit 8070943
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .changeset/gorgeous-timers-relax.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @apollo/datasource-rest

## 6.1.0

### Minor Changes

- [#242](https://github.com/apollographql/datasource-rest/pull/242) [`dfb8bcc`](https://github.com/apollographql/datasource-rest/commit/dfb8bccce5e26247e7d5f9428eb1ca8d5dfaef08) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add optional `url` parameter to `didEncounterErrors` hook

In previous versions of `RESTDataSource`, the URL of the request was available on the `Request` object passed in to the hook. The `Request` object is no longer passed as an argument, so this restores the availability of the `url` to the hook.

This is optional for now in order to keep this change forward compatible for existing `this.didEncounterErrors` call sites in userland code. In the next major version, this might become a required parameter.

## 6.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@apollo/datasource-rest",
"description": "REST DataSource for Apollo Server v4",
"version": "6.0.1",
"version": "6.1.0",
"author": "Apollo <[email protected]>",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 8070943

Please sign in to comment.