Skip to content

v0.29.0-alpha.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 26 Aug 18:42
· 154 commits to master since this release

Overview

This alpha release of the v0.29.0 release line fleshes out the available properties on the provided Request and Response properties and introduces support for Request.formData() method.

Note: not all Request properties are available yet, please see this two issues:

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.29.0+label%3Aalpha.3

  1. handle merging additional Request / Response instance properties

Breaking Changes

N / A

Known Issues

  1. handle URL encoded Netlify form params
  2. handle shared adapter bundles missing for API routes

Diff

$ git diff v0.29.0-alpha.2 v0.29.0-alpha.3 --stat | grep -v "www"
 lerna.json                                         |   2 +-
 packages/cli/package.json                          |   3 +-
 packages/cli/src/lib/api-route-worker.js           |  23 ++-
 packages/cli/src/lib/resource-utils.js             |  48 ++++-
 packages/cli/src/lifecycles/bundle.js              |   5 -
 packages/cli/src/lifecycles/compile.js             |   4 -
 packages/cli/src/lifecycles/serve.js               | 103 +++++-----
 .../cli/src/plugins/resource/plugin-api-routes.js  |  54 ++++--
 .../src/plugins/resource/plugin-standard-font.js   |   2 +-
 .../develop.default.hud-disabled.spec.js           |   2 +-
 .../develop.default.hud.spec.js                    |   2 +-
 .../cases/develop.default/develop.default.spec.js  | 208 ++++++++++++++++++---
 .../test/cases/develop.default/src/api/fragment.js |  18 ++
 .../test/cases/develop.default/src/api/missing.js  |   3 +
 .../test/cases/develop.default/src/api/nothing.js  |   6 +-
 .../develop.default/src/api/submit-form-data.js    |  11 ++
 .../cases/develop.default/src/api/submit-json.js   |  12 ++
 .../cases/develop.default/src/components/card.js   |  11 ++
 .../develop.plugins.context.spec.js                |   4 +-
 .../cli/test/cases/develop.spa/develop.spa.spec.js |  10 +-
 .../cli/test/cases/develop.ssr/develop.ssr.spec.js |   2 +-
 .../serve.config.static-router.spec.js             |   2 +-
 .../serve.default.api/serve.default.api.spec.js    | 145 +++++++++++++-
 .../cases/serve.default.api/src/api/fragment.js    |   8 +-
 .../cases/serve.default.api/src/api/missing.js     |   3 +
 .../cases/serve.default.api/src/api/nothing.js     |   4 +-
 .../serve.default.api/src/api/submit-form-data.js  |  11 ++
 .../cases/serve.default.api/src/api/submit-json.js |  12 ++
 .../serve.default.ssr-prerender-api-hybrid.spec.js |   4 +-
 .../serve.default.ssr-prerender.spec.js            |   2 +-
 .../serve.default.ssr-static-export.spec.js        |   2 +-
 .../serve.default.ssr/serve.default.ssr.spec.js    |   2 +-
 .../test/cases/serve.default/serve.default.spec.js |  12 +-
 .../cli/test/cases/serve.spa/serve.spa.spec.js     |   6 +-
 .../cases/theme-pack/theme-pack.develop.spec.js    |   4 +-
 packages/init/package.json                         |   2 +-
 .../cases/develop.default/develop.default.spec.js  |   2 +-
 packages/plugin-adapter-netlify/README.md          |   3 +
 packages/plugin-adapter-netlify/package.json       |   4 +-
 packages/plugin-adapter-netlify/src/index.js       |  30 ++-
 .../test/cases/build.default/build.default.spec.js |  91 ++++++++-
 .../build.default/src/api/submit-form-data.js      |  11 ++
 .../cases/build.default/src/api/submit-json.js     |  14 ++
 packages/plugin-adapter-vercel/package.json        |   4 +-
 packages/plugin-adapter-vercel/src/index.js        |  30 ++-
 .../test/cases/build.default/build.default.spec.js |  88 ++++++++-
 .../build.default/src/api/submit-form-data.js      |  11 ++
 .../cases/build.default/src/api/submit-json.js     |  14 ++
 packages/plugin-babel/package.json                 |   4 +-
 packages/plugin-google-analytics/package.json      |   4 +-
 packages/plugin-graphql/package.json               |   4 +-
 .../cases/develop.default/develop.default.spec.js  |   6 +-
 .../cases/qraphql-server/graphql-server.spec.js    |   4 +-
 packages/plugin-import-commonjs/package.json       |   4 +-
 packages/plugin-import-css/package.json            |   4 +-
 .../cases/develop.default/develop.default.spec.js  |   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 +-
 .../test/cases/serve.default/serve.default.spec.js |   2 +-
 packages/plugin-renderer-puppeteer/package.json    |   4 +-
 packages/plugin-typescript/package.json            |   4 +-
 .../cases/develop.default/develop.default.spec.js  |   2 +-
 yarn.lock                                          |  88 ++++++++-
 68 files changed, 996 insertions(+), 218 deletions(-)