All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2023-02-15
This release upgrades Servlet API to version 6. Because this version includes the namespace change to jakarta and requires a JDK baseline of JDK 11 you may need to update other libraries, too.
- Because of Servlet API upgrade the JDK baseline is now JDK 11
- Because of the Servlet API namespace change to jakarta you may need to update/change some of your dependencies when updating complate-java.
- Upgrade Servlet API to jakarta namespace and update to version 6
We'd like to thank all the contributors who worked on this release!
0.3.0 - 2022-09-23
This release updates Nashorn to the open source
org.openjdk.nashorn branch and splits
the project into three separate modules:
complate-corecontains the API relevant classes and interfaces and some utilities.complate-graalcontains the GraalVM based implementation.complate-nashorncontains the Nashorn based implementation.
If you update from a previous release note that you need to change your dependency to one of the modules that contain your desired implementation!
NashornComplateRendererhas been updated to use the open sourceorg.openjdk.nashornbranch of Nashorn since Nashorn has been removed from newer JDK versions- The project is split into three modules
complate-core,complate-nashorn, andcomplate-graal.
- Upgrade to Graal 22.2.0
We'd like to thank all the contributors who worked on this release!
0.2.0 - 2020-07-07
This release contains a new renderer that uses the Graal JavaScript engine.
- Although we recommend using the new
GraalComplateRendererif you plan on using theNashornComplateRendereryou should add an exclusion toorg.graalvm.js:js. NashornComplateRendereris deprecated and will be removed in the near future. Please migrate to the newGraalComplateRenderer(592d7e3).GraalComplateRendereris not a drop-in replacement forNashornComplateRenderer- see the FAQ.
- New
GraalComplateRenderer(3d7ea5d).
We'd like to thank all the contributors who worked on this release!
0.1.0 - 2020-01-06
This release contains of the initial code extraction from complate-spring-mvc.
It contains a few breaking changes that you will need to change when upgrading:
- The parameter order of the JavaScript render method changed to
stream, view, params. - The
ViewResolverchanged fromcom.github.complate.ComplateViewResolvertoorg.complate.spring.mvc.ComplateViewResolver. - The
com.github.complate.ScriptingEnginechanged toorg.complate.core.ComplateRenderer. - The
com.github.complate.NashornScriptingBridgechanged toorg.complate.nashorn.NashornComplateRenderer.
If you rely on the previous behaviour that your JavaScript file is read on every
request you further need to wrap org.complate.nashorn.NashornComplateRenderer
within a org.complate.core.renderer.ComplateReEvaluatingRenderer. This may be
slower than before (because the ScriptingEngine is then recreated on every
request) but for production usage without wrapping the performance should be
increased.
- Multiple breaking changes as described above.
- JavaScript file can be read only once which enhances performance.
- Upgrade to Servlet 4.0.1
We'd like to thank all the contributors who worked on this release!