Skip to content

v0.23.1

Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 24 Feb 02:47
· 315 commits to master since this release

Overview

This patch release fixes a small regression SPA prerendering from the last release and fixes a couple other small bugs related to the merging of app and page templates.

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.23.1

  1. SPA prerenders by default when no greenwood.config.js is present
  2. inline <script> tags in app templates are breaking page layouts with <script> tags
  3. inline optimization config is superseding static optimization attribute

Breaking Changes

N / A

Known Issues

N / A

Diff

% git diff v0.23.0 v0.23.1 --stat | grep -v "www/"
 .github/workflows/ci-win.yml                       |  2 +-
 lerna.json                                         |  2 +-
 packages/cli/package.json                          |  2 +-
 packages/cli/src/config/rollup.config.js           | 15 ++++---
 packages/cli/src/lifecycles/config.js              |  5 +++
 .../src/plugins/resource/plugin-standard-html.js   |  2 +-
 .../src/pages/index.html                           |  4 ++
 .../cases/build.default.spa/greenwood.config.js    |  3 --
 ...default.workspace-template-page-and-app.spec.js |  4 +-
 .../src/templates/app.html                         |  4 ++
 packages/init/package.json                         |  4 +-
 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-include-html/package.json          |  4 +-
 packages/plugin-polyfills/package.json             |  4 +-
 packages/plugin-postcss/package.json               |  4 +-
 packages/plugin-renderer-lit/package.json          |  6 +--
 packages/plugin-typescript/package.json            |  4 +-
 yarn.lock                                          | 49 ++++------------------
 30 files changed, 76 insertions(+), 84 deletions(-)