Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

0.15.1

Compare
Choose a tag to compare
@mjancarik mjancarik released this 03 Apr 16:11
· 328 commits to master since this release

Changelog

  • Switch from superagent to the natvie fetch api #98
  • Added new rules for match route expressions in this order:
'/:catId-:catName' for path '/20089-white-roses'
  • Breaking changes: The optional param in route expression can be only at the end.
//BAD
'/home/:userId/something/:?optional/:somethingId'

//GOOD
'/home/:userId/something/:somethingId/:?optional'
  • Added support for two production bundle es5 and es. The es define you as EcmaScript features which are not transpiled in babelConfig.js. It cause improving development process and reduction client bundle size for majority users.
// bundle only esx version
npm run dev

// bundle es5 and esx versions 
npm run dev --legacy-compat-mode

// bundle es5 and esx versions for production
npm run build
  • Added onLoad and onError methods to $IMA.Runner for the reporting purpose.
  • Added ima-clientify and loose-envify transformations to browserify.
  • Added Event Dispatcher publicly accessible throught $IMA.$Dispatcher #105
  • Added support for the @server-side compilation flag which reduce client bundle size ima-clienify.
// @server-side class ServerPageManager extends __VARIABLE__ {__CLEAR__}\nexports.default = ServerPageManager;
  • Improved the performance of hydration application on the client (better in average by 100ms).
  • Removed useless layout recalculating.
  • The ima dependencies for libraries react, react-dom and eslint was moved to skeleton dependencies.
  • Default code formatter is set to prettier.
  • Updated documentation.
  • Fixed some bugs

Please see the wiki for a HOWTO on upgrading to 0.15.0.