Releases: lsm/micromono
Releases · lsm/micromono
0.1.35
0.1.35 (2015/11/30)
- Bug fix for route handler can't get
next
. - Escape unsafe characters when render template with layout middleware
web/middleware/express-layout.js
. - Accept using middleware name in route definition.
route: {
'/hello': ['layout', handlerFn]
}
- Fix incorrect parameter for express
router.param
.
0.1.34
0.1.34 (2015/11/25)
- [Breaking] Rename sub command
micromono asset
tomicromono bundle
. - [Breaking]
Service#use
now accepts http method prefix same as inroute
. 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
0.1.32
0.1.31
0.1.28
0.1.27
0.1.26
0.1.26 (2015/10/23)
- [Breaking] Functions will be treated as rpc only when they are defined under
propertyapi
when you extend a Service.
var MyService = Service.extend({
// functions defined under `api` property will be exposed through rpc.
api: {
// this function could be called remotely like this:
// myService.api.rpcMethod()
rpcMethod: function() {
// body...
}
}
// this will not be exposed as a rpc endpoint
myServiceFunc: function() {
// body...
}
})
- Rewrite and reorganize code to an adaptive style to support different web
frameworks and rpc transporters through adapters. - Add standalone service manager class.
- Add standalone scheduler class.
micromono()
now returns an instance ofMicroMonoServer
class.- Use
axon
as default rpc transporter. - Use
cmdenv
to unify settings from environment and command line options. - Change to no semicolon coding style.
- Add lots of debugging info.
0.1.23
0.1.22
0.1.22 (2015/08/26)
- Generate public path from
jspm.directories.lib
(package.json) if possible. Otherwise fall back to usejspm.directories.publicURL
. - [Breaking change] New format for defining server middleware in
Service.use
. - [Breaking change] Rename built-in middleware
partial-render
tolayout
.