From 80709432d534f65dfdfa0e15804f849aa38376f4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 24 Aug 2023 10:42:59 -0700 Subject: [PATCH] Version Packages (#243) Co-authored-by: github-actions[bot] --- .changeset/gorgeous-timers-relax.md | 9 --------- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 .changeset/gorgeous-timers-relax.md diff --git a/.changeset/gorgeous-timers-relax.md b/.changeset/gorgeous-timers-relax.md deleted file mode 100644 index 2fc95f7..0000000 --- a/.changeset/gorgeous-timers-relax.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@apollo/datasource-rest': minor ---- - -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. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fef324c..6bec00a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 2b4ba07..7682dce 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "MIT", "repository": {