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 3.0.0 #2892

Merged
merged 124 commits into from Jun 21, 2019
Merged
Changes from 1 commit
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
9b24d75
Remove deprecated `walkTree`
hwillson Mar 21, 2019
ade881f
Remove deprecated `GraphqlQueryControls` and `MutationFunc` types
hwillson Mar 21, 2019
f75c833
Update `peerDependencies` to their latest versions
hwillson Mar 21, 2019
78f0350
Adjust prettier config
hwillson Mar 21, 2019
b742ae6
Remove Preact support and compatibility
hwillson Mar 21, 2019
f264d81
Remove the out of date `ROADMAP`
hwillson Mar 21, 2019
1186726
Start using React's newer Context API internally
hwillson Mar 22, 2019
5c72f51
Remove all disabled tests
hwillson Mar 22, 2019
abe2503
Create useApolloClient.ts (#2872)
FredyC Mar 25, 2019
15b0f48
Merge branch 'master' into release-3.0.0
hwillson Mar 25, 2019
cfd22bb
Remove deprecated React lifecyle method use from Apollo Components
hwillson Apr 8, 2019
db54959
Remove tslint
hwillson Apr 8, 2019
b787af0
Remove dangerjs
hwillson Apr 8, 2019
a38ebee
Remove duplicate renovate config; Adjust to use parent defaults
hwillson Apr 8, 2019
969d97d
Copyright fix
hwillson Apr 8, 2019
29f9659
Support scripts cleanup
hwillson Apr 8, 2019
54beac6
Goodbye Probot!
hwillson Apr 8, 2019
e0d205c
Remove Apollo Bot config settings
hwillson Apr 8, 2019
29a4536
Lay the initial monorepo foundation
hwillson Apr 14, 2019
30d346a
Make sure lerna is set as a dev dep
hwillson Apr 14, 2019
b6da6a8
Fix Circle config typo
hwillson Apr 14, 2019
feb9b0c
Remove `lodash.isequal`; use `isEqual` from `apollo-utilities`
hwillson Apr 21, 2019
985679e
Exclude lib directories from git
hwillson Apr 21, 2019
5315dd1
Remove compiled JS
hwillson Apr 21, 2019
6fcc459
Exclude temporary CI junit files
hwillson May 5, 2019
b22e02c
Add default vscode prettier workspace settings
hwillson May 5, 2019
86d9046
Remove accidentally added compiled files
hwillson May 5, 2019
20cc6ef
Remove common test setup since we're no longer using enzyme
hwillson May 5, 2019
672e128
Remove child package jest configs since tests are run from root
hwillson May 5, 2019
54e24c2
No longer using `build` directories
hwillson May 6, 2019
fa34383
Initial data layer abstraction
hwillson May 6, 2019
ec9409b
Hooks package plumbing
hwillson May 6, 2019
d7c58cf
Overhaul testing infra with `act` / `react-testing-library`
hwillson May 6, 2019
f711d3f
Start moving common operation functionality into parent class
hwillson May 6, 2019
91006ea
Restore examples (we've decided to keep them here for now)
hwillson May 24, 2019
f1a1322
Merge branch 'master' into release-3.0.0
hwillson May 24, 2019
fdd7318
Merge branch 'master' into release-3.0.0
hwillson May 24, 2019
30edb1b
React Apollo Hooks integration
hwillson May 24, 2019
f79921e
Merge branch 'release-3.0.0' of https://github.com/apollographql/reac…
hwillson May 24, 2019
65935fa
Adjust build watching to trigger the postbuild step
hwillson May 24, 2019
3d138db
Subscription option type changes
hwillson May 24, 2019
def2f26
Small React Apollo Hooks + Typescript demo
hwillson May 24, 2019
95cc7de
Bump components bundlesize; Add bundlesize tracking for hooks
hwillson May 24, 2019
807d1ca
Remove commented code
hwillson May 24, 2019
4e517ec
package.json cleanup; prep for initial lerna beta publish
hwillson May 24, 2019
9a8e098
Lerna config changes to assist with beta publishing
hwillson May 24, 2019
1114020
Publish
hwillson May 24, 2019
16d80a7
Make sure lerna handles scoped packages as public
hwillson May 24, 2019
3c07f4b
Publish
hwillson May 24, 2019
837a5bc
Add `@types/graphql` to the Hooks demo app
hwillson May 24, 2019
7729212
Adjust lerna package content controls
hwillson May 24, 2019
1685909
Temporary package `README` placeholders
hwillson May 24, 2019
5c3632c
Publish
hwillson May 24, 2019
2a83998
Re-export Apollo Context components/helpers from all packages
hwillson May 25, 2019
f5adde6
Update the base example to use `@apollo/react-hoc`
hwillson May 25, 2019
f29013a
Update the `components` example to use `@apollo/react-components`
hwillson May 25, 2019
69369be
Update `mutation` example to use `@apollo/react-components`
hwillson May 25, 2019
b0ae6f7
Update the `rollup` example app to use `@apollo/react-hooks`
hwillson May 25, 2019
1888507
Re-export SSR utility functions via `@apollo/react-hoc`
hwillson May 25, 2019
bdd254b
Update the SSR example to use `@apollo/react-hoc`
hwillson May 25, 2019
5553835
Adjust SSR handling to properly reflect loading state in Hooks
hwillson May 25, 2019
6d47c79
Wire up a new Hooks SSR example app, mirroring the existing HOC one
hwillson May 25, 2019
3bec07f
Adjust `typescript` example app to use `@apollo/react-components`
hwillson May 25, 2019
c90aa62
Adjust SSR tests to handle loading state
hwillson May 25, 2019
9c7cd11
HOC bundlesize increase
hwillson May 25, 2019
15dea60
Publish
hwillson May 25, 2019
2d937a0
Fix broken useApolloClient is client in context check
hwillson May 27, 2019
350ca39
Make sure a returned `ApolloClient<object>` is enforced
hwillson May 27, 2019
dbdffdd
Publish
hwillson May 27, 2019
19b284d
Stop setting optional input to `null` when using the `graphql` HOC
hwillson Jun 3, 2019
7d4d4b1
Adjust `MockLink.request` signature to line up with `ApolloLink`
hwillson Jun 3, 2019
45767f6
Make `query` optional in the `fetchMore` signature
hwillson Jun 3, 2019
66d1e18
Pass result of mutation to the `graphql` HOC wrapped component
hwillson Jun 3, 2019
2c66b19
Use `invariant` instead of `InvariantError` for clarity
hwillson Jun 3, 2019
9fbb64b
Remove unnecessary `refetchQueries` temporary var
hwillson Jun 3, 2019
f1f5052
Unify README layout and metadata
hwillson Jun 3, 2019
a58279c
Placeholder / beta testing Hooks README content
hwillson Jun 3, 2019
469bfbd
Additional README formatting
hwillson Jun 3, 2019
660f04b
Add umbrella React Apollo `all` package
hwillson Jun 3, 2019
6bfaa61
Add breaking changes
hwillson Jun 3, 2019
f0e6e35
Tweak wording and formatting of Breaking Changes section.
benjamn Jun 4, 2019
73790bd
Match more than zero tests when 'npm test' run in root directory.
benjamn Jun 4, 2019
cda6b37
Avoid using npx in package.json scripts.
benjamn Jun 4, 2019
137ef2f
Help TypeScript infer {Query,Mutation,Subscription}.propTypes types.
benjamn Jun 4, 2019
0642050
Various minor tweaks not worth requesting as changes.
benjamn Jun 4, 2019
42a9b94
Merge branch 'master' into release-3.0.0
benjamn Jun 4, 2019
e765fa5
Simplify async wait(ms) helper function.
benjamn Jun 5, 2019
5f38184
Update dependencies of examples/rollup bundle analysis app.
benjamn Jun 6, 2019
8dd7663
Merge branch 'master' into release-3.0.0
hwillson Jun 10, 2019
2071a74
Drop getters/setters for simple properties
hwillson Jun 10, 2019
ad15e43
Add `test` and `test:watch` scripts to child packages
hwillson Jun 10, 2019
9a8f935
Re-arrange `if` logic to take advantage of `&&` short-circuiting
hwillson Jun 10, 2019
0baa4d7
Reverse `if` logic order to put expensive computations last
hwillson Jun 10, 2019
e6089a7
Stop exporting `compose`
hwillson Jun 10, 2019
2c3a262
Fully Remove `catchAsyncError`
hwillson Jun 11, 2019
7de864e
Replace `wrap` utility with try-catch
hwillson Jun 11, 2019
6069932
Exclude `react-dom/server` from default `react-native` bundling
hwillson Jun 11, 2019
751a70f
Remove all getters/setters from `OperationData`
hwillson Jun 11, 2019
fd81d05
Adjust SSR classes to use `getOptions`
hwillson Jun 11, 2019
0ce4628
Remove leftover `wrap` reference
hwillson Jun 11, 2019
f88dbb0
Breaking change list updates
hwillson Jun 11, 2019
bd71cb6
Compile ESM bundle to CJS using Babel instead of Rollup
hwillson Jun 11, 2019
c2e2e33
Start testing CJS and UMD bundles again during CI
hwillson Jun 12, 2019
6cf9f28
Replace static CJS/UMD test approach with something more dynamic
hwillson Jun 14, 2019
7e07f0e
Remove unnecessary -- separator from cjs and umd test scripts
hwillson Jun 14, 2019
fc18c41
Align to React version 16.8.3, fix build issues (#3098)
matthargett Jun 14, 2019
cfa014d
Pin exact versions of devDependencies in root package.json.
benjamn Jun 14, 2019
d430480
Merge branch 'master' into release-3.0.0
benjamn Jun 14, 2019
47ec92e
Match more than zero tests when 'npm test' run in root directory.
benjamn Jun 4, 2019
447d58d
Make Apollo packages (and graphql) external in rollup.config.js.
benjamn Jun 14, 2019
df079b3
Adjust bundle size limits after fixing rollup.config.js externals.
benjamn Jun 14, 2019
f0ad14e
Publish
benjamn Jun 14, 2019
d25b3ca
Update dependencies of examples/rollup bundle size app.
benjamn Jun 14, 2019
b8cee0a
Fix incorrect `BaseSubscriptionOptions` import
hwillson Jun 17, 2019
9c81487
Merge branch 'master' into release-3.0.0
hwillson Jun 17, 2019
dc1f06b
Bump typescript and related packages. Ends up saving a few hundred by…
matthargett Jun 17, 2019
c7cf7ae
Include 3.0 changes in the 3.0 section. Pull vNext header to top. (#3…
matthargett Jun 17, 2019
87b273c
Merge branch 'master' into release-3.0.0
hwillson Jun 17, 2019
876286f
Add React Native `react-dom/server` exclusion to all packages
hwillson Jun 17, 2019
7aad988
Ensure subscription state is set before calling `onSubscriptionData`
hwillson Jun 21, 2019
48213cb
Merge branch 'master' into release-3.0.0
hwillson Jun 21, 2019
f7c420a
Add error cleanup changes from #3107
hwillson Jun 21, 2019
b54b6a7
Merge branch 'master' into release-3.0.0
hwillson Jun 21, 2019
bb838f7
Sync graphql and apollo-* package versions. (#3142)
matthargett Jun 21, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Remove deprecated `GraphqlQueryControls` and `MutationFunc` types

  • Loading branch information...
hwillson committed Mar 21, 2019
commit ade881f07b1175d28b0aae79915bfc5ed8dd9e5a
@@ -69,16 +69,6 @@ export interface QueryControls<TData = any, TGraphQLVariables = OperationVariabl
updateQuery: (mapFn: (previousQueryResult: any, options: UpdateQueryOptions<any>) => any) => void;
}

// XXX remove in the next breaking semver change (3.0)
export interface GraphqlQueryControls<TGraphQLVariables = OperationVariables>
extends QueryControls<any, TGraphQLVariables> {}

// XXX remove in the next breaking semver change (3.0)
export type MutationFunc<TData = any, TVariables = OperationVariables> = MutationFn<
TData,
TVariables
>;

export type DataValue<TData, TGraphQLVariables = OperationVariables> = QueryControls<
TData,
TGraphQLVariables
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.