Releases: RuedigerMoeller/kontraktor
Releases · RuedigerMoeller/kontraktor
v4.19
fixes
- support cyclic imports in .jsx files
bugfixes
- fixed some threading issue introduced with 4.15
- fixed a bug in JSX compiler
rest / failover / routing
- simple REST-to-Actor Adapter for async rest services
- "Krouter" for High Availability (hothot-, hotwarm failover, multiversion, zero downtime update etc. ). doc pending
minor improvements
JSX/JNPM implementation
new options jnpm.kson config:
- transformFunction (defaults to "React.createElement"). Enables use of jsx for other libs than react
- nodeLibraryMap. Globally patch require/imports to a distinct package. (e.g. patch react to preact)
general interop with non java via json
- improved Unknown implementation. A javascript client might send arbitrary json (without the need to adapt to java-object-serialization requirements), the server side java method then receives an Unknown object reflecting the json structure (see also doc+samples)
major improvements for SPA jsx/bundling implementation
numerous enhancements in jsx/SPA app support
- fixed various glitches in jsx processing/parsing
- support for bundling/importing npm-style 'require' libraries. kontraktor imports from node_modules like webpack/browserify
- jnpm - pure java implementation of npm => no nodejs stack required in order to run and bundle modern front-end frameworks
- support for 'export default xx;' statements
- 'kontraktor-client.js' is now usable both from browser and via npm / webpack (and kontraktor jnpm ofc) see example
fixes + enhancements
- properly process relative imports in .jsx files
- also accept tagnames like <XY.Z > in jsx
- performance fix: gzip compress index.html once when in production mode, not with each request
- example + fixes to run kontraktor + intrinsic react/jsx inside any servlet 3.1 container (tested with tomcat 8.5)
hotfixed a regression
Merge remote-tracking branch 'origin/trunk' into trunk # Conflicts: # examples/react-no-babel/README.MD
some jsx fixes
- error with '*' comments in certain places
- do not require '.jsx' in import statement
adds instrinsic React JSX transpiler
v4.05 Merge branches '4.05' and 'trunk' of https://github.com/RuedigerMoell…