Releases: dreamhead/moco
Releases · dreamhead/moco
v1.6.0
APIs
sseAPI for Server-Sent Events streaming supporteventfor named SSE eventdatafor anonymous SSE eventsse(...).delay(ms)for global delay between all eventssse(...).delay(duration, TimeUnit)for global delay with time unit- Event modifiers:
id,retry,delay event.delay(duration, TimeUnit)for event delay with time unit
- SSE events from file
- SSE proxy: proxy forwards SSE streams from remote server
- SSE JSON API
- Array format for inline events
- Object format with
delayandevents - Object format with
delayas{duration, unit}for time unit - File format with
delay
Implementation Details
- Replace logback with tinylog
- Optimize ProGuard configuration to exclude unused resources
v1.5.0
APIs
req.client.portis supported in templatesameSitecookie attribute is supportedcorsin response is supported for CORSallowOrigin(Access-Control-Allow-Credentials)allowCredentials(Access-Control-Allow-Credentials)exposeHeaders(Access-Control-Expose-Headers)maxAge(Access-Control-Max-Age)allowMethods(Access-Control-Allow-Methods)allowHeaders(Access-Control-Allow-Headers)