Skip to content

v0.12.3

Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 27 May 17:23
· 571 commits to master since this release

Overview

This release aims to fix a few newly reported / discovered bugs including ensuring cross platform support for Windows.

Changelog

https://github.com/ProjectEvergreen/greenwood/issues?q=label%3Av0.12.3

  1. CLI is not handling export * ... (wildcard) export formats
  2. fetching any JSON file that is not graph.json always returns an ES module
  3. TypeError: Cannot read property 'replace' of undefined (path separator checks breaking on Windows) - thanks for reporting @anlexN !

Breaking Changes

Not a breaking change, but going forward, using import syntax for anything but ESM (e.g. CSS, JSON) will require an explicit opt-in by users, as is being discussed in #606

Known Issues

None

Diff

$ git diff v0.12.2 v0.12.3 --stat
 .github/workflows/ci-win.yml                                 | 33 ++++++++++++
 .github/workflows/ci.yml                                     |  8 ++-
 .github/workflows/master.yml                                 |  8 ++-
 .github/workflows/release.yml                                |  6 +--
 greenwood.config.js                                          | 10 ++--
 lerna.json                                                   |  2 +-
 package.json                                                 |  3 +-
 packages/cli/package.json                                    |  4 +-
 packages/cli/src/config/rollup.config.js                     | 19 ++++++-
 packages/cli/src/lifecycles/graph.js                         | 22 ++++----
 packages/cli/src/lifecycles/serve.js                         |  5 ++
 packages/cli/src/plugins/resource/plugin-node-modules.js     | 27 +++++++---
 packages/cli/src/plugins/resource/plugin-optimization-mpa.js |  5 +-
 packages/cli/src/plugins/resource/plugin-standard-html.js    | 36 ++++++-------
 packages/cli/src/plugins/resource/plugin-standard-json.js    | 31 +++++------
 .../build.default.workspace-getting-started.spec.js          |  4 +-
 .../build.default.workspace-javascript-css.spec.js           | 18 ++++++-
 .../src/assets/data.json                                     |  4 ++
 .../src/pages/index.html                                     | 11 ++++
 .../src/scripts/main.js                                      |  5 ++
 .../build.default.workspace-nested.spec.js                   |  8 ++-
 packages/plugin-babel/package.json                           |  4 +-
 packages/plugin-google-analytics/package.json                |  4 +-
 packages/plugin-graphql/package.json                         |  4 +-
 .../query-custom-frontmatter.spec.js                         |  4 +-
 .../plugin-graphql/test/cases/query-menu/query-menu.spec.js  |  4 +-
 packages/plugin-import-commonjs/package.json                 |  4 +-
 packages/plugin-import-css/package.json                      |  4 +-
 packages/plugin-polyfills/package.json                       |  4 +-
 packages/plugin-postcss/package.json                         |  4 +-
 www/components/footer/footer.js                              |  2 +-
 www/package.json                                             |  2 +-
 yarn.lock                                                    | 80 +++++++++++++++++++---------
 33 files changed, 265 insertions(+), 124 deletions(-)