Skip to content

Commit

Permalink
Merge pull request #217 from apollographql/main
Browse files Browse the repository at this point in the history
Create a new pull request by comparing changes across two branches
  • Loading branch information
GulajavaMinistudio authored Aug 23, 2024
2 parents 40ab82f + 5a1985f commit 56de517
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 39 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

Lint:
docker:
- image: cimg/node:22.5.1
- image: cimg/node:22.6.0
steps:
- checkout
- run: npm version
Expand All @@ -24,15 +24,15 @@ jobs:

Formatting:
docker:
- image: cimg/node:22.5.1
- image: cimg/node:22.6.0
steps:
- checkout
- run: npm ci
- run: npm run check:format

Tests:
docker:
- image: cimg/node:22.5.1
- image: cimg/node:22.6.0
parameters:
project:
type: string
Expand All @@ -54,7 +54,7 @@ jobs:

BuildTarball:
docker:
- image: cimg/node:22.5.1
- image: cimg/node:22.6.0
steps:
- checkout
- run: npm run ci:precheck
Expand All @@ -73,7 +73,7 @@ jobs:
react:
type: string
docker:
- image: cimg/node:22.5.1-browsers
- image: cimg/node:22.6.0-browsers
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
externalPackage:
type: string
docker:
- image: cimg/node:22.5.1
- image: cimg/node:22.6.0
steps:
- checkout
- attach_workspace:
Expand Down
3 changes: 1 addition & 2 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🔮 Apollo Client Ecosystem Roadmap

**Last updated: 2024-07-29**
**Last updated: 2024-08-12**

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

Expand Down Expand Up @@ -40,7 +40,6 @@ _Release candidate - September 30, 2024_

### VSCode Extension

- Modernization
- Bug fixes and long-requested features

### GraphQL Tag
Expand Down
2 changes: 1 addition & 1 deletion docs/source/data/refetching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ await client.refetchQueries({

// Called once for every active query, allowing dynamic filtering:
onQueryUpdated(observableQuery) {
return !shouldIngoreQuery(observableQuery);
return !shouldIgnoreQuery(observableQuery);
},
});
```
Expand Down
2 changes: 1 addition & 1 deletion docs/source/data/suspense.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ const preloadedQueryRef = preloadQuery(GET_DOGS_QUERY);

function App() {
const { data } = useReadQuery(preloadedQueryRef);
const [queryRef, loadDog] = useLoadableQuery(GET_DOG_QUERY)
const [loadDog, queryRef] = useLoadableQuery(GET_DOG_QUERY)

return (
<>
Expand Down
6 changes: 6 additions & 0 deletions docs/source/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
title: Get started with Apollo Client
---

<SummitCallout
topic="Apollo Client"
workshopName="GraphQL for web: Going hands-on with Apollo Client"
URL="https://reg.summit.graphql.com/flow/apollo/summit24/AttendeePortal/page/catalog/session/1712947597337001S7vZ"
/>

Hello! 👋 This short tutorial gets you up and running with Apollo Client.

> For an introduction to the entire Apollo platform, [check out **Odyssey**, Apollo's interactive learning platform](https://www.apollographql.com/tutorials/?utm_source=apollo_docs&utm_medium=referral).
Expand Down
6 changes: 6 additions & 0 deletions docs/source/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ title: Introduction to Apollo Client

import { Link } from 'gatsby';

<SummitCallout
topic="Apollo Client"
workshopName="GraphQL for web: Going hands-on with Apollo Client"
URL="https://reg.summit.graphql.com/flow/apollo/summit24/AttendeePortal/page/catalog/session/1712947597337001S7vZ"
/>

**Apollo Client** is a comprehensive state management library for JavaScript. It enables you to manage both local and remote data with GraphQL. Use it to fetch, cache, and modify application data, all while automatically updating your UI.

Apollo Client helps you structure code in an economical, predictable, and declarative way that's consistent with modern development practices. The core `@apollo/client` library provides built-in integration with React, and the larger Apollo community maintains [integrations for other popular view layers](#community-integrations).
Expand Down
59 changes: 35 additions & 24 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"@changesets/cli": "2.27.7",
"@graphql-tools/merge": "9.0.4",
"@graphql-tools/schema": "10.0.4",
"@graphql-tools/utils": "10.3.2",
"@graphql-tools/utils": "10.5.0",
"@microsoft/api-extractor": "7.47.2",
"@rollup/plugin-node-resolve": "11.2.1",
"@size-limit/esbuild-why": "11.1.4",
Expand All @@ -129,7 +129,7 @@
"@types/hoist-non-react-statics": "3.3.5",
"@types/jest": "29.5.12",
"@types/lodash": "4.17.7",
"@types/node": "20.14.11",
"@types/node": "20.16.1",
"@types/node-fetch": "2.6.11",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
Expand All @@ -151,7 +151,7 @@
"eslint-plugin-local-rules": "2.0.1",
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-testing-library": "6.2.2",
"eslint-plugin-testing-library": "6.3.0",
"expect-type": "0.19.0",
"fetch-mock": "9.11.0",
"glob": "8.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/utilities/caching/sizes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export interface CacheSizes {
* will fall back to this configuration value if the option is not set.
*
* @defaultValue
* Defaults to `10000`.
* Defaults to `50000`.
*
* @remarks
* Every object that is read from the cache will be cached here, so it is
Expand All @@ -267,7 +267,7 @@ export interface CacheSizes {
* will fall back to this configuration value if the option is not set.
*
* @defaultValue
* Defaults to `5000`.
* Defaults to `10000`.
*
* @remarks
* Every array that is read from the cache will be cached here, so it is
Expand Down

0 comments on commit 56de517

Please sign in to comment.