Skip to content

v0.28.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 20 Feb 15:11
· 202 commits to master since this release

Overview

This alpha release for the v0.28.0 line aims to fix some bugs identified with the previous release as well as including some refactoring and enhancements.

In development docs here, full release blog will come out with the final 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.0+label%3Aalpha.2

  1. API calls are getting treated as API routes with the serve command
  2. SPA fallback handling not working
  3. correctly name standard resource plugins
  4. remove setMaxListeners suppression call

Breaking Changes

N / A

Known Issues

  1. serve command not serving prerendered SSR content

Diff

git diff v0.28.0-alpha.1 v0.28.0-alpha.2 --stat | grep -v "www"
 lerna.json                                         |   2 +-
 packages/cli/package.json                          |   2 +-
 packages/cli/src/commands/serve.js                 |   3 +-
 packages/cli/src/index.js                          |   4 -
 packages/cli/src/lib/resource-utils.js             |   2 +-
 packages/cli/src/lifecycles/serve.js               |  21 ++-
 .../src/plugins/resource/plugin-standard-font.js   |   2 +-
 .../src/plugins/resource/plugin-standard-html.js   |   3 +-
 .../src/plugins/resource/plugin-standard-image.js  |   8 +-
 .../src/plugins/resource/plugin-standard-json.js   |   2 +-
 .../cli/test/cases/develop.spa/develop.spa.spec.js |  40 ++++-
 packages/cli/test/cases/develop.spa/src/main.css   |   3 +
 .../test/cases/serve.default/serve.default.spec.js |  35 ++++
 .../cli/test/cases/serve.spa/serve.spa.spec.js     | 192 +++++++++++++++++++++
 packages/cli/test/cases/serve.spa/src/index.html   |  12 ++
 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-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, 333 insertions(+), 50 deletions(-)