Skip to content

Commit

Permalink
2.0.0-alpha.1 release details
Browse files Browse the repository at this point in the history
  • Loading branch information
JayCanuck committed Dec 12, 2018
1 parent f9c4b4b commit 38f01bb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand Down

0 comments on commit 38f01bb

Please sign in to comment.