Skip to content

Releases: Vertispan/j2clmavenplugin

v0.22.0

13 Nov 01:03
Compare
Choose a tag to compare

Updates include:

  • Updated to latest tagged j2cl release and corresponding closure-compiler version
  • Updated j2cl-compatible build of jsinterop-base, automatically backwards compatible to support older versions
  • Tested to confirm support for the elemental2 1.2.0
  • Successful builds will no longer log ClosedWatchServiceException when complete

What's Changed

  • Ready for 0.22 by @niloc132 in #230
  • Suppressed ClosedWatchServiceException and updated Java of Archetypes to 11 #188 by @jiakuan in #231
  • Fix version number of archetypes in documentation by @hpehl in #233
  • Update dependencies from Google repos by @niloc132 in #235

New Contributors

Full Changelog: v0.21...v0.22.0

v0.21

30 Aug 20:32
Compare
Choose a tag to compare

Incremental tasks

An important highlight of this release is an update to the task API to provide information about what has changed since the last successful run, enabling components of the build to incrementally build instead of starting from scratch each time. Only some tasks take advantage of this at this time, but more will be added soon. Note that this feature is disabled by default for now, but in a future release this will be enabled by default. Set system property j2cl.incremental or the plugin configuration <incrementalEnabled> to true to enable this in your project or environment.

Minimum supported Java version

As of this release Java 8 is no longer supported - a minimum of Java 11 is required to run this plugin.

Updated J2CL and Closure-Compiler

This version updates to a newer version of both J2CL and Closure-Compiler than the previous release, but these versions are from late 2022. A new release will follow soon to update to a release from Q2 2023.

What's Changed

  • Ready for 0.21 by @niloc132 in #195
  • Correct externs so the compiler avoids a warning by @niloc132 in #200
  • Update archetypes/tests to use jstype rather than break with j2cl changes by @niloc132 in #198
  • Update to a newer htmlunit that supports globalThis, fetch, etc by @niloc132 in #194
  • Suggested maven version/scope changes by @niloc132 in #199
  • 192 partial fix by @treblereel in #201
  • Fix a path in the (disabled) web component integration test by @niloc132 in #203
  • Drop support for Java 8, in anticipation of updating closure by @niloc132 in #204
  • Update circleci to a newer image format with Java 11 by @niloc132 in #206
  • Update J2CL and Closure dependencies by @niloc132 in #207
  • Java 11 upgrade by @niloc132 in #211
  • Validate compilationLevel string before building task by @niloc132 in #216
  • Incremental API and disk format for task caching by @niloc132 in #210

Full Changelog: v0.20...v0.21

v0.20

17 Jul 00:14
Compare
Choose a tag to compare

Our second public release of this plugin - still a work in progress, but this release improves stability and performance. Not everything we had planned worked out, for example closure-compiler's typed_ast feature doesn't quite work the way we were hoping (and there are effectively no docs/examples of how to use the feature), so that will be an item to follow up on. Additionally the final task for BUNDLE_JAR could still be a good deal faster. The groundwork has been laid to improve both of these in the future.

This will be the final release to support running on Java 8 since both google/closure-compiler and google/turbine are raising their minimum Java version to 11.

Highlights

  • Added support for .xtb-backed translation files, merging several files/locales on the project classpath into input to the Closure compiler.
  • Integrated https://github.com/google/turbine for faster builds and fewer rebuilds of Java bytecode and JS source. Note that this will not work on Java 8.
  • Fixed #161, where editing a file while the j2cl:watch was running could hang the build.
  • Fixed #121, where killing the build while it is running could force a clean before it could run again.
  • Changed final BUNDLE_JAR task to avoid copying unchanged bundled JS files.

Known regressions

  • #188: Watch service exception on shutdown. This only results in extra log lines, and doesn't represent an actual failure.

What's Changed

New Contributors

Full Changelog: v0.19...v0.20

v0.19

11 Mar 04:18
Compare
Choose a tag to compare

This is our first release to Maven Central - documentation is still lacking, testing is a bit rough around the edges, and performance could definitely be improved. The next two versions seek to tackle these issues, along with wider adoption to ensure that we've covered important use cases.

See https://github.com/Vertispan/j2clmavenplugin/milestone/1 for more details on what was specifically targeted for this release. Going forward we will use github release tracking to generate proper release notes, but it did not make sense to use the generated list for the initial tagged release.