Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 72b222e
Merge: def116b afccbdb
Author: Gaston Morixe <gaston@gastonmorixe.com>
Date:   Fri Mar 10 18:23:57 2023 -0300

    Merge branch 'main' into gm/fix/merge-function-called-before-deepmerge-sep202022

commit afccbdb
Author: Trevin Avery <TrevinAvery@gmail.com>
Date:   Wed Mar 8 11:18:47 2023 -0800

    Fix snapshot with non-ascii character (apollographql#10611)

commit 02605bb
Author: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
Date:   Wed Mar 8 10:18:29 2023 +0100

    `useQuery`: delay unsubscribe to fix race conditions (apollographql#10629)

    * add test for current behavior
    * add failing test for polling
    * slightly delay unsubscribe
    * adjust tests to new behavior

commit 355dce8
Author: Jeff Auriemma <bignimbus@users.noreply.github.com>
Date:   Tue Mar 7 11:47:45 2023 -0500

    Bump date in roadmap

commit 3b504f7
Author: Jeff Auriemma <bignimbus@users.noreply.github.com>
Date:   Tue Mar 7 11:41:42 2023 -0500

    Update dates and notes for upcoming releases

commit c4daaf6
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Mar 6 15:34:20 2023 -0500

    chore(deps): update dependency graphql-ws to v5.12.0 (apollographql#10625)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Alessia Bellisario <alessia@apollographql.com>

commit 88993a2
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Mar 6 14:02:53 2023 -0500

    chore(deps): update dependency @types/node to v18.14.6 (apollographql#10622)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit aa81522
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Mar 6 14:01:45 2023 -0500

    chore(deps): update dependency rimraf to v4.3.0 (apollographql#10623)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit e4fb0ca
Author: Henry Q. Dineen <henryqdineen@users.noreply.github.com>
Date:   Fri Mar 3 12:14:58 2023 -0500

    remove obsolete @types/fast-json-stable-stringify dev dep (apollographql#10617)

commit 260914a
Author: Trevin Avery <TrevinAvery@gmail.com>
Date:   Fri Mar 3 08:43:01 2023 -0800

    Update batchLink tests to use fake timers (apollographql#10612)

    * Update batchLink tests to use fake timers

    * fix: refactor batch interval test to support fake timers

    ---------

    Co-authored-by: Alessia Bellisario <alessia@apollographql.com>

commit ebee40b
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Fri Mar 3 10:49:59 2023 -0500

    chore(deps): update dependency eslint to v8.35.0 (apollographql#10613)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 5161f09
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 17:41:57 2023 -0700

    chore(deps): update dependency @types/node to v18.14.4 (apollographql#10602)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 7823843
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 17:31:57 2023 -0700

    chore(deps): update cimg/node docker tag to v19.7.0 (apollographql#10605)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit f8fed6b
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 16:59:56 2023 -0700

    chore(deps): update dependency @babel/parser to v7.21.2 (apollographql#10606)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit e9f0dd5
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 16:45:50 2023 -0700

    chore(deps): update dependency @types/glob to v8.1.0 (apollographql#10607)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit bbb04b0
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 16:32:10 2023 -0700

    chore(deps): update dependency terser to v5.16.5 (apollographql#10603)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit f9868b8
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 16:03:25 2023 -0700

    chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.54.0 (apollographql#10608)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit ef13979
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 15:43:19 2023 -0700

    chore(deps): update jaywcjlove/github-action-package action to v1.3.1 (apollographql#10604)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit e6d552f
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 2 15:33:26 2023 -0700

    chore(deps): update dependency @typescript-eslint/parser to v5.54.0 (apollographql#10609)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit def116b
Merge: a32e0d2 6bd651b
Author: Gaston Morixe <gaston@gastonmorixe.com>
Date:   Tue Sep 20 11:57:40 2022 -0500

    Merge tag 'v3.6.8' into gm/fix/merge-function-called-before-deepmerge-sep202022

commit a32e0d2
Author: Gaston Morixe <gaston@gastonmorixe.com>
Date:   Tue Mar 8 17:38:31 2022 -0300

    custom version

commit 42a20f8
Author: Gaston Morixe <gaston@gastonmorixe.com>
Date:   Tue Mar 8 17:07:12 2022 -0300

    increatese maxSize to 28.65

commit 045a9d5
Author: Gaston Morixe <gaston@gastonmorixe.com>
Date:   Mon Mar 7 18:35:02 2022 -0300

    Run Policies's merge before cache merge

    adds test

    fix formatting
  • Loading branch information
gastonmorixe committed Mar 10, 2023
1 parent 1575a40 commit f15bb1c
Show file tree
Hide file tree
Showing 18 changed files with 713 additions and 215 deletions.
5 changes: 5 additions & 0 deletions .changeset/young-toes-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/client": patch
---

`useQuery`: delay unsubscribe to fix race conditions
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
Filesize:
docker:
- image: cimg/node:19.6.1
- image: cimg/node:19.7.0
steps:
- checkout
- run: npm version
Expand All @@ -12,7 +12,7 @@ jobs:

Lint:
docker:
- image: cimg/node:19.6.1
- image: cimg/node:19.7.0
steps:
- checkout
- run: npm version
Expand All @@ -21,7 +21,7 @@ jobs:

Tests:
docker:
- image: cimg/node:19.6.1
- image: cimg/node:19.7.0
steps:
- checkout
- run: npm run ci:precheck
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/exit-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
replace: ""

- name: Write previous version to package.json
uses: jaywcjlove/github-action-package@v1.3.0
uses: jaywcjlove/github-action-package@v1.3.1
with:
version: ${{ steps.formatversion.outputs.value }}

Expand Down
8 changes: 4 additions & 4 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🔮 Apollo Client Roadmap

**Last updated: 2023-01-30**
**Last updated: 2023-03-07**

For up to date release notes, refer to the project's [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md).

Expand All @@ -15,7 +15,7 @@ For up to date release notes, refer to the project's [Changelog](https://github.

## [3.8.0](https://github.com/apollographql/apollo-client/milestone/30)

_Approximate Date: 2023-03-31_
_Approximate Date: 2023-04-14_

Currently in active development and being shipped in a series alpha releases. React 18 users will get a lot out of this release since it introduces support for Suspense and (for you server-side rendering enthusiasts) `renderToPipeableStream`. There are also new features added to the core as well. Here's a brief overview:

Expand All @@ -24,7 +24,7 @@ Currently in active development and being shipped in a series alpha releases. R
- Introduce another new hook `useBackgroundQuery` with `Suspense` support
- Ability to use `Suspense` with `useFragment`
- Server-side rendering (SSR) upgrade: support `renderToPipeableStream` for streaming renders
- Add the (opt-in) ability to access fields with the `@client` directive in the link chain
- Support custom GraphQL document transforms

As we release each new feature we'll be looking for feedback from the community on performance, usage and developer experience of adopting and implementing these new concepts in your applications. Try it today: `npm i @apollo/client@alpha` and let us know what you think! Once new feature development is complete we'll move this to beta and then GA once stable.

Expand All @@ -36,7 +36,7 @@ The 3.8 release is a major milestone for the project's React support. Feedback

## Demo app: Spotify clone

_Approximate Date: 2023-02-23_
_Approximate Date: 2023-03-08_

We are working on a full-stack Spotify clone to showcase and test the capabilities of Apollo Client 3.8. Right now it's a private repository that we're using to dogfood the alpha branch internally. We will open-source it in the near future for use as a demonstration of how to use features like `useSuspenseQuery` and `useBackgroundQuery` in a nontrivial React app. It may also be useful as a bug reproduction template in the future.

Expand Down
Loading

0 comments on commit f15bb1c

Please sign in to comment.