From 38f01bb6fbe2e3e0fb3c225cca7a224c4f1b3ded Mon Sep 17 00:00:00 2001 From: Jason Robitaille Date: Wed, 12 Dec 2018 15:07:32 -0800 Subject: [PATCH] 2.0.0-alpha.1 release details --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2eae8ab..a11c0f9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +## 2.0.0-alpha.1 (December 12, 2018) + +Updated all dependencies to latest releases. + +### link + +* Improved handling and errors when linking into a non-Enact project. + +### pack + +* Refactored build procedure for Webpack 4 and Babel 7. +* Added support for stage-3 CSS via `postcss-preset-env`, with `custom-properties` temporarily disabled while a bug is being resolved. +* Added support for `.env` fileformat to declare environment variables for parsing/app-embedding. +* Additional CSS optimization applied via `optimize-css-assets-webpack-plugin`. +* Modified Babel configuration to use built-in APIs rather than transpiling mini re-implementations. +* Switched from `uglifyjs-webpack-plugin` to `terser-webpack-plugin` as Uglify is no longer actively developed. +* Switched from `extract-text-webpack-plugin` to `mini-css-extract-plugin` for CSS content output. +* Removed direct autoprefixer usage as `postcss-preset-env` contains embedded support. +* Removed support for `.__DEV__` CSS class and replaced it with `@__DEV__` LESS variable for usage as a CSS guard. +* Removed legacy custom browser targetting format and now following `browserslist` standard for desclaring supporting browsers. + +### test + +* Replaced Karma/PhantomJS/Mocha/DirtyChai testing stack with a Jest-based alternative implementation. + * Supports Jest options like `--watch` and `--coverage` as a result. +* Removed custom Enzyme webpack plugin since we can pre-setup Enyme directly for Jest usage. +* Removed Sinon in favour of Jest built-in mocking/spy functionality. + ## 1.2.0 (September 27, 2018) * Updated to latest `@enact/dev-utils` and `mocha-react-proptype-checker` dependency releases. diff --git a/package-lock.json b/package-lock.json index 543dd1bb..0d055b11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@enact/cli", - "version": "1.2.0", + "version": "2.0.0-alpha.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6909c716..f5196482 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@enact/cli", - "version": "1.2.0", + "version": "2.0.0-alpha.1", "description": "Full-featured build environment tool for Enact applications.", "main": "index.js", "author": "Jason Robitaille ",