Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.0 #12201

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
6676ac4
Enter prerelease mode
github-actions[bot] Dec 9, 2024
c2736db
Remove the deprecated hoc and query components (#12211)
jerelmiller Dec 13, 2024
d1a9054
Drop support for React 16 (#12222)
jerelmiller Dec 16, 2024
69c1cb6
Remove `subscribeAndCount` testing utility (#12223)
jerelmiller Dec 16, 2024
51e6c0f
Remove deprecated `partialRefetch` option (#12224)
jerelmiller Dec 16, 2024
0028ac0
Change default `Accept` header (#12254)
jerelmiller Jan 8, 2025
9b5e47e
Merge remote-tracking branch 'origin/main' into release-4.0
jerelmiller Jan 11, 2025
10ef733
Remove `itAsync` test function from `@apollo/client/testing` (#12262)
jerelmiller Jan 13, 2025
d1ba516
Merge branch 'main' into release-4.0
jerelmiller Jan 17, 2025
400e4e9
Merge branch 'main' into release-4.0
phryneas Jan 22, 2025
af3a90a
Merge branch 'main' into release-4.0
jerelmiller Jan 22, 2025
4d581e4
Move React-related exports to `@apollo/client/react` and out of the m…
jerelmiller Jan 23, 2025
4ea1622
Merge branch 'main' into release-4.0
jerelmiller Jan 24, 2025
3a60a6f
Merge branch 'main' into release-4.0
jerelmiller Jan 24, 2025
ae5d06a
Run Knip on 4.0 branch (#12291)
phryneas Jan 27, 2025
86469a2
Don't throw on missing results with `cache.diff` and other changes (#…
jerelmiller Jan 28, 2025
3623e28
Merge branch 'main' into release-4.0
jerelmiller Jan 28, 2025
b69d07b
some more knip reportings (#12314)
phryneas Jan 29, 2025
2a62324
remove dependency on `mocha` from memory tests (#12320)
phryneas Jan 29, 2025
6585f99
Clean up build scripts (#12305)
phryneas Jan 31, 2025
f88e807
Merge remote-tracking branch 'origin/main' into release-4.0
jerelmiller Jan 31, 2025
0429fb9
Fix tests affected by change to cache (#12330)
jerelmiller Jan 31, 2025
3e4beaa
Deprecate `partial` and ensure its correctness. Fix type of `data` in…
jerelmiller Feb 5, 2025
7733209
update `node-version` for React canary test cronjob
phryneas Feb 6, 2025
fa7e6b8
Merge remote-tracking branch 'origin/main' into release-4.0
jerelmiller Feb 7, 2025
bf37eef
Fix failing `fetchMore` test added in 3.12.11 (#12358)
jerelmiller Feb 7, 2025
ebb4d96
Remove `onCompleted` and `onError` callbacks from `useQuery` and `use…
jerelmiller Feb 10, 2025
84cc504
Merge remote-tracking branch 'origin/main' into release-4.0
jerelmiller Feb 13, 2025
0e00395
Fix failing tests due to changes in 4.0 branch (#12373)
jerelmiller Feb 13, 2025
a0c996a
Remove deprecated `ignoreResults` option from `useMutation` (#12376)
jerelmiller Feb 14, 2025
0fa4914
Remove deprecated `UpdateQueryFn` type (#12374)
jerelmiller Feb 14, 2025
9ed45c5
Merge remote-tracking branch 'origin/main' into release-4.0
jerelmiller Feb 14, 2025
ef892b4
Remove `addTypename` option from `InMemoryCache` and `MockedProvider`…
jerelmiller Feb 18, 2025
61febe4
Rework build process 1/? (#12329)
phryneas Feb 19, 2025
033723b
Rework build process 2/?: add babel transform (#12382)
phryneas Feb 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove subscribeAndCount testing utility (#12223)
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
Co-authored-by: phryneas <phryneas@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 16, 2024
commit 69c1cb6f831941598987185238a299b050a364bd
3 changes: 0 additions & 3 deletions .api-reports/api-report-testing.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1814,9 +1814,6 @@ Item
// @public (undocumented)
type StoreValue = number | string | string[] | Reference | Reference[] | null | undefined | void | Object;

// @public (undocumented)
export function subscribeAndCount<TResult>(reject: (reason: any) => any, observable: Observable<TResult>, cb: (handleCount: number, result: TResult) => any): Subscription;

// @public (undocumented)
type SubscribeToMoreOptions<TData = any, TSubscriptionVariables = OperationVariables, TSubscriptionData = TData> = {
document: DocumentNode | TypedDocumentNode<TSubscriptionData, TSubscriptionVariables>;
Expand Down
3 changes: 0 additions & 3 deletions .api-reports/api-report-testing_core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1771,9 +1771,6 @@ Item
// @public (undocumented)
type StoreValue = number | string | string[] | Reference | Reference[] | null | undefined | void | Object;

// @public (undocumented)
export function subscribeAndCount<TResult>(reject: (reason: any) => any, observable: Observable<TResult>, cb: (handleCount: number, result: TResult) => any): Subscription;

// @public (undocumented)
type SubscribeToMoreOptions<TData = any, TSubscriptionVariables = OperationVariables, TSubscriptionData = TData> = {
document: DocumentNode | TypedDocumentNode<TSubscriptionData, TSubscriptionVariables>;
Expand Down
5 changes: 5 additions & 0 deletions .changeset/shiny-carrots-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/client": major
---

Remove `subscribeAndCount` testing utility from `@apollo/client/testing`.
2 changes: 0 additions & 2 deletions src/__tests__/__snapshots__/exports.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ Array [
"itAsync",
"mockObservableLink",
"mockSingleLink",
"subscribeAndCount",
"tick",
"wait",
"withErrorSpy",
Expand All @@ -380,7 +379,6 @@ Array [
"itAsync",
"mockObservableLink",
"mockSingleLink",
"subscribeAndCount",
"tick",
"wait",
"withErrorSpy",
Expand Down
1 change: 0 additions & 1 deletion src/testing/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export {
mockObservableLink,
} from "./mocking/mockSubscriptionLink.js";
export { createMockClient } from "./mocking/mockClient.js";
export { default as subscribeAndCount } from "./subscribeAndCount.js";
export { itAsync } from "./itAsync.js";
export { wait, tick } from "./wait.js";
export * from "./withConsoleSpy.js";
32 changes: 0 additions & 32 deletions src/testing/core/subscribeAndCount.ts

This file was deleted.

Loading