added hot reloading for react jsx transpiler / bundling stack
integrated google clojure compiler option for kontraktor-http production mode (transpiles down to ES5)
v4.18
6 years ago
support cyclic imports in .jsx files
v4.16
6 years ago
fixed some threading issue introduced with 4.15
fixed a bug in JSX compiler
v4.14
6 years ago
simple REST-to-Actor Adapter for async rest services
"Krouter" for High Availability (hothot-, hotwarm failover, multiversion, zero downtime update etc. ). doc pending
v4.13
6 years ago
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)
v4.12
6 years ago
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
v4.10
6 years ago
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)