v0.7.2
Overview
Fixed a bug where similar query calls in an app were causing Apollo invariant errors in production. Solution also supported another feature to cache / code split query files (cache.json) when built.
Breaking Changes
None
Key Changes
- similar query invariant error
- [code splitting / chunking of cache.json files](code splitting / chunking of cache.json files)
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3A0.7.2
Known Issues
Diff
$ git diff v0.7.1 v0.7.2 --stat
lerna.json | 2 +-
packages/cli/package.json | 5 +-
packages/cli/src/data/cache.js | 25 ++++----
packages/cli/src/data/client.js | 14 ++--
packages/cli/src/data/common.js | 46 ++++++++++++++
packages/cli/src/lifecycles/serialize.js | 30 +--------
.../build.data.graph-custom-frontmatter/build.data.graph-custom-frontmatter.spec.js | 16 +++--
packages/cli/test/cases/build.data.graph/build.data.graph.spec.js | 138 +++++++++++++++++++++++++---------------
.../cases/build.data.graph/src/pages/blog/{first-post.md => first-post/index.md} | 3 +-
packages/cli/test/cases/build.data.graph/src/pages/blog/index.md | 5 ++
.../cases/build.data.graph/src/pages/blog/{second-post.md => second-post/index.md} | 3 +-
packages/cli/test/cases/build.data.graph/src/templates/blog-template.js | 14 ++--
packages/cli/test/cases/build.data.graph/src/templates/post-template.js | 69 ++++++++++++++++++++
packages/cli/test/unit/data/common.spec.js | 71 +++++++++++++++++++++
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-polyfills/package.json | 4 +-
www/package.json | 2 +-
www/styles/page.css | 13 +++-
yarn.lock | 5 --
19 files changed, 338 insertions(+), 131 deletions(-)