diff --git a/HISTORY.md b/HISTORY.md index af56bc0..e0b6ab9 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,14 @@ +0.1.34 (2015/11/25) +=================== +- [Breaking] Rename sub command `micromono asset` to `micromono bundle`. +- [Breaking] `Service#use` now accepts http method prefix same as in `route`. e.g. `post::/user/update`. +- [Breaking] Rename `-a` to `-b` for `--bundle-asset`. +- Make main export stateless and export `MicroMonoServer` to support multipe micromono instances in one process. + +0.1.33 (2015/11/18) +=================== +- Make the layout middleware more friendly for isomorphic rendering. + 0.1.32 (2015/11/13) =================== - Expose more asset info in service announcement. diff --git a/example/home/index.js b/example/home/index.js index 9cb75e4..b19d299 100644 --- a/example/home/index.js +++ b/example/home/index.js @@ -24,7 +24,7 @@ var Home = module.exports = Service.extend({ use: { // tell micromono to use `layout` middleware at the server side // for request urls in the array. - 'layout': ['/private$', '^/public$', '^/$', '/:username/:project'] + 'layout': ['get::/private$', '^/public$', '^/$', '/:username/:project'] }, route: { diff --git a/package.json b/package.json index b3b5f5d..267aafb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "micromono", - "version": "0.1.33", + "version": "0.1.34", "description": "Monolithic micro-services framework", "main": "lib/index.js", "bin": {