- [Bug] Fix a potential crash for router.
- [Bug] Fix a potential crash for discovery.
- Add healthiness module:
- Add liveness http handler default path
__health/alive
. - Add readiness http handler default path
__health/functional
.
- Add liveness http handler default path
- Re-organize files and directories.
- Allow using
this
to reference service instance in api handlers. - Simplify
Scheduler
remove external dependencies. - One proxy instance per proxy handler.
- Rewrite asset implementation using pipelines.
- Cleanup bundle command and its options.
- Use socketmq as default rpc adapter.
- Bug fix for wrong proxy url.
- Close proxy after provider is removed.
- #15 Bug fix for proxying websocket requests.
- Expose page info to route.
- Quick fix: routes should be optional.
- 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
.
- [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.
- Make the layout middleware more friendly for isomorphic rendering.
- Expose more asset info in service announcement.
- Fix bugs for bundling asset.
- Support using
^
to overridebaseUrl
.
- Bundle static asset on the fly with option
-a
or--bundle-asset
.
- Add command
micromono asset
for building asset files.
- Bug fix for setting/getting upgrade url.
- Bug fix for proxying websockets request.
- Bug fix for
setHttpServer
- Bug fix for setting http server for services.
- Bug fix for merge and install jspm dependencies.
- Get micromono specific settings from property
micromono
of package.json.
- [Breaking] Functions will be treated as rpc only when they are defined under
property
api
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.
- Support mounting multiple
publicURL
to the same local asset directory.
- Upgrade jspm to version 0.16.2
- Use
jspm.directories.baseURL
instead ofjspm.directories.lib
as directory of local static asset.
- Allow setting upgrade url in service definition.
- Allow setting service name by using
Service#name
.
- Generate public path from
jspm.directories.lib
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
.
- Bug fix for asset/jspm.
- Expose http
server
instance to service. - Add WebSocket support (handle upgrade request).
- Add socket.io service example.
- Add server-side middleware support.
- [Breaking change] Use
startService
andrunServer
instead ofboot
to run service/server. - Add
Makefile
for example.
- Use socket.io as the default transporter for RPC.
- Only one micromono instance per process.
- Fully functional express+passport example.
- Use a separate connect instance for middleware.
- Some bug fixes.
- Load services with command line option
--service
. - Allow waiting for services with command line option
--allow-pending
.
- [Breaking Changes] Use
route
instead ofroutes
when define a service. - Bug fix for serving asset files.
- Bug fix for incorrect path of middleware router.
- Add remote middleware support.
The first usable version with following features:
- Load services locally/remotely with service discovery.
- Proxy remote asset requests and merge client side dependencies.
- Proxy page/rest routing requests.
- Compose partial html with local template on the fly.
- Simple RPC system