Skip to content

Commit

Permalink
Feature/remove unused @client meta (#3482)
Browse files Browse the repository at this point in the history
* Extended `removeDirectivesFromDocument` to consider the associated metadata, such as variables and fragment spreads. Added test coverage for the individual features (get/remove arguments/fragment spreads) as well as the integration point.

* Publish

 - apollo-boost@0.1.7-0
 - apollo-cache-inmemory@1.2.2-0
 - apollo-cache@1.1.9-0
 - apollo-client@2.3.2-0
 - apollo-utilities@1.0.13-0
 - graphql-anywhere@4.1.11-0

* Publish

 - apollo-boost@0.1.7-1
 - apollo-cache-inmemory@1.2.2-1
 - apollo-cache@1.1.9-1
 - apollo-client@2.3.2-1
 - apollo-utilities@1.0.13-1
 - graphql-anywhere@4.1.11-1

* Publish

 - apollo-boost@0.1.7-2
 - apollo-cache-inmemory@1.2.2-2
 - apollo-cache@1.1.9-2
 - apollo-client@2.3.2-2
 - apollo-utilities@1.0.13-2
 - graphql-anywhere@4.1.11-2

* fixed ts errors

* Added rollup-plugin-sourcemaps

* Added some extra logging, filtered the removed arguments array for nulls

* Updated package.json

* Force a specific version of apollo-utilities for now

* Remove `console.log`

* Fix shadowed `config` variable TS errors

* Fix shadowed `description` variable TS error

* Package lock updates

* Increase `apollo-utilities` bundle size max

* Formatting / prettier tweaks

* Changelog update
  • Loading branch information
justinmakaila authored and hwillson committed Nov 28, 2018
1 parent 7643b90 commit e6de4f4
Show file tree
Hide file tree
Showing 10 changed files with 726 additions and 46 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
**Note:** This is a cumulative changelog that outlines all of the Apollo Client project child package changes that were bundled into a specific `apollo-client` release.

## Apollo Client (vNext)

### Apollo Utilities (vNext)

- Schema/AST tranformation utilities have been updated to work properly with
`@client` directives. <br/>
[@justinmakaila](https://github.com/justinmakaila) in [#3482](https://github.com/apollographql/apollo-client/pull/3482)


## Apollo Client (2.4.7)

### Apollo Client (2.4.7)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{
"name": "apollo-utilities",
"path": "./packages/apollo-utilities/lib/bundle.min.js",
"maxSize": "4.25 kB"
"maxSize": "5 kB"
},
{
"name": "graphql-anywhere",
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-boost/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/apollo-cache-inmemory/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/apollo-cache/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/apollo-client/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/apollo-utilities/package-lock.json

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

Loading

0 comments on commit e6de4f4

Please sign in to comment.