We've got a number of bug fixes, enhancements and perf improvements this time around. In particular, we've made some substantial fixes to our CLI Webpack support.
After the release of the Webpack feature in the Aurelia CLI last week, we found several issues. We have worked hard on these issues since then and they have now been resolved in version 0.31.3 of the Aurelia CLI. If your Webpack project was created with Aurelia CLI 0.31.2 or earlier, we recommend you take the following action...
First, update the CLI globally using
npm install aurelia-cli@latest -g and locally using
npm install aurelia-cli@latest --save-dev in the project directory. Second, create a new project using
au new and choose the same options as for the existing project. After this completes copy the following files from the new project, into your existing project:
- the gulp tasks in the aurelia_project/tasks folder
npm install inside your existing project.
If you are using TypeScript, you should also:
- copy over the tsconfig.json file
- copy over the tests/e2e folder if you use Protractor
These steps are not necessary for new projects created with aurelia-cli 0.31.3. For the full list of features, fixes and other enhancements, please see the release notes below.
Minor updates include new features, updates to bugs and performance improvements.
- index: add missing semicolon ( f5336ab )
- whole-text: remove unnecessary wholeText polyfill ( 348a272 )
- dom: add createTemplateElement ( 8158b02 )
- dom: implement createAttribute ( e926bd9 )
- index: add reset function ( a33a116 )
- jsdom: update jsdom ( d8e6239 )
Patch updates include only fixes to bugs and performance improvements.
- webpack: explicitly load the webpack typings ( 2357a62 )
- deps: update esprima to 4.0.0 ( 48d2a48 )
- favicon: resolve favicon error in firefox ( 01a5bb6 )
- jest: resolve babel-jest error ( 3cfd956 )
- loader: rev should be applied to bundle for systemjs ( 691eec8 )
- watch: resolve issue where changes are not detected ( 9146da2 )
- watch: support array of source files ( 22a257e )
- webpack: clean dist folder before build ( 053ad98 )
- webpack: copy environment file on build ( b9c76e5 )
- webpack: enable sourcemaps by default ( 0525dca )
- webpack: pass env to webpack correctly ( 4880c19 )
- webpack: resolve typings issues ( efcbc27 )
- webpack: support au build --watch ( 4d31ce7 )
- protractor:* typescript errors when not using jest typings ( 1ee7b91 )
- webpack: remove comma from arguments ( 666d7c0 )
- fix style typo in error message that affected links displayed in editors
- container: improve dynamic construction of static depencies ( 01b2988 )