v0.28.1
thescientist13
released this
29 Apr 21:31
·
158 commits
to master
since this release
Overview
This patch release aims to fix a known issue coming out of the recent 0.28.0 release.
If using Yarn, you can can upgrade all your @greenwood packages at once
$ yarn upgrade --scope @greenwood --latest
Changelog
https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.28.1
- SSR pages with
prerender
configuration are not getting served from static HTML - align static server port being hardcoded for generic
URL
creation
Breaking Changes
N / A
Known Issues
- SSR pages are not getting their resources (
<link>
and<script>
tags) bundled and optimized with the serve command - imported modules in API routes not reloading changes in development mode
- not found static assets are returning 500 status code when running the
serve
command - browsers inconsistently serving incorrect / stale content from dev server
Diff
$ git diff v0.28.0 v0.28.1 --stat | grep -v "www"
lerna.json | 2 +-
packages/cli/package.json | 2 +-
packages/cli/src/lifecycles/bundle.js | 150 +++++++++--------
packages/cli/src/lifecycles/serve.js | 7 +-
.../src/plugins/copy/plugin-copy-user-templates.js | 21 ---
.../greenwood.config.js | 3 +
.../serve.default.ssr-prerender-api-hybrid.spec.js | 181 +++++++++++++++++++++
.../src/api/greeting.js | 11 ++
.../src/components/footer.js | 16 ++
.../src/pages/index.js | 7 +
.../src/templates/app.html | 13 ++
.../serve.default.ssr-prerender.spec.js | 14 ++
.../serve.default.ssr-static-export.spec.js | 8 +
.../serve.default.ssr/serve.default.ssr.spec.js | 28 ++++
packages/init/package.json | 2 +-
packages/plugin-babel/package.json | 4 +-
packages/plugin-google-analytics/package.json | 4 +-
packages/plugin-graphql/package.json | 4 +-
packages/plugin-import-commonjs/package.json | 4 +-
packages/plugin-import-css/package.json | 4 +-
packages/plugin-import-json/package.json | 4 +-
packages/plugin-import-jsx/package.json | 4 +-
packages/plugin-include-html/package.json | 4 +-
packages/plugin-polyfills/package.json | 4 +-
packages/plugin-postcss/package.json | 4 +-
packages/plugin-renderer-lit/package.json | 4 +-
packages/plugin-renderer-puppeteer/package.json | 4 +-
packages/plugin-typescript/package.json | 4 +-
29 files changed, 394 insertions(+), 125 deletions(-)