Aurelia Release Notes - Late March 2018

Posted by Rob Eisenberg on March 29, 2018

We're excited to share that we've recently published a new version of the Aurelia CLI which is packed with bug fixes and new features.

Based on popularity, we have decided to set Webpack as the default bundler for the au new command. Don't worry. The RequireJS and SystemJS loader options are still supported and can be found under the "custom" option.

Speaking of Webpack 4, all Webpack projects are now using Webpack 4!

In addition to the above, we've also added a major new feature to the CLI, the Bundle Analyzer. New Webpack projects are now pre-configured to use the Webpack Bundle Analyzer. After starting au run --analyze your browser will open to the bundle analyzer page.

If your project uses RequireJS or SystemJS, a similar option is available. In your aurelia.json file, configure the bundleReport build option as follows:


  ...
  "build": {
    "options": {
      "minify": "stage & prod",
      "sourcemaps": "dev & stage",
      "bundleReport": "prod"
    }
  },
  ...
  

After this is configured, run the build (au build --env prod) and the bundle report will show up in your project directory.

In addition to the above, we've made tons of other improvements. You can read about those below along with the release notes for several other Aurelia libraries.

As always, we'd like to send out a huge thanks to the community for helping with these improvements. Keep it coming!

Major Releases

Major updates may include breaking changes, new features, fixes to bugs and performance improvements.

aurelia-cli 0.33.0

Bug Fixes

  • bundle: sort bundle files by path ( 77697b1 )
  • dependencies: add jest-matchers for karma tests using webpack ( 83c8bcf )
  • gitignore: track vscode workspace files ( 14f9bdd )
  • importer: support scoped packages ( 859df5b )
  • javascriptservices: update configuration to set public path for static resources ( 21e8a27 ), closes #741
  • jest: update aurelia-pal-nodejs ( 578f400 )
  • rjs-ts: add baseUrl to tsconfig ( ac020a1 )

Features

  • build: add support for external modules ( fc5f197 ), closes #802
  • bundle: sort module ids ( 5ed65ce )
  • cli-bundler: add --open flag ( 23fc079 )
  • new: switch default to webpack ( 15b1f1f )
  • vscode: karma debug profile ( 9911d4d )
  • webpack: add analyze flag to enable webpack bundle analyzer ( 6ac3260 )
  • webpack: update to webpack 4 ( 5838e15 )

Minor Releases

Minor updates include new features, updates to bugs and performance improvements.

aurelia-binding 1.7.1

Bug Fixes

  • doc: css-attribute without interpolation explained ( 3dcea9d )
  • EventManager: prevent stopPropagation stack overflow ( 011eca0 ), closes #649
  • EventManager: typing ( cb63a87 )
  • typings: add SelectValue/Checked Observers ( b06cbc2 )
  • typings: ICollectionObserverSplice support for Map and Set ( 49f46ce )
  • Unparser: fix typo in visitChain ( a90216c )
  • EventSubscriber: do nothing if disposed ( 449e105 )

Features

  • typescript: add getContextFor definition ( c7ab819 )
  • typescript: add ICollectionObserverSplice definition ( 4e1244e )
  • EventManager: Enable dispose() pattern for addEventListener

aurelia-templating-resources 1.6.0

Bug Fixes

  • analyze-view-factory: add else to lifecycleOptionalBehaviors ( 5958a65 )
  • analyze-view-factory: add hide to lifecycleOptionalBehaviors ( cd8df6d ), closes #334
  • debounce: debounce binding call instead updatesource ( e9fb62c )
  • throttle-test: remove early return ( b80ecc3 )
  • UpdateTrigger: sync with binding ( 3969dc6 )

aurelia-pal 1.7.0

Features

  • performance: update to the performance API ( c5adba7 )

aurelia-pal-browser 1.7.0

Features

  • performance: performance api update ( #32 ) ( b1b488f )

aurelia-pal-nodejs 1.0.0-beta.3.2.0

Features

  • performance: update performance API ( 1508a8b )

aurelia-pal-worker 0.3.0

Features

  • performance: update for the performance api ( d21c33d )

aurelia-framework 1.2.0

Features

  • log: support optional log level param to developmentLogging(). ( 7962912 )

aurelia-ux 0.8.0

Features

  • New Component: ux-select
  • CSS Fallback properties
  • events for two way binding
  • better configuration API, add checkbox

Bug Fixes

  • use Reflect instead Object
  • add missing exports from aurelia-binding
  • remove old style.inputinfo binding
  • change event suppress timing
  • various issues fixed for select, radio and checkbox

Patch Releases

Patch updates include only fixes to bugs and performance improvements.

aurelia-loader-default 1.0.4

Bug Fixes

  • fix commonjs build error in requirejs env ( 04f6d60 ), closes #47
  • improve compatibility with other AMD implementations. ( 0f8b5e8 ), closes #48

aurelia-validation 1.1.3

Bug Fixes

  • ValidateBindingBehavior: avoid conflicts ( e15b06b ), closes #470