Unfortunately, Spincast hasn't gained a community, so I won't put as much effort into it as I did in the past. But I still want to keep an updated version for my own projects that use it. This version makes Spincast compatible with Java 17 instead of Java 8, and also contains multiple small fixes and improvements.
Note that the documentation may not have been updated to reflect all the new features. When in doubt, the code is of course the source of Truth.
One of the big changes coming with Java 17 is the requirements for the Spincast Hotswap plugin. The DCEVM library is not available as standard for JDK 17, so the currently suggested method of automatically reloading a Spincast application is to use a JetBrains JDK release, which already contains DCEVM. More information on the plugin page!
Two new Pebble
functions are now provided to easily bundle your Javascript files together and your CSS files together,
directly from an HTML template.
The jsBundle(...) function allows you to concatenate and optimize multiple .js files. The result can then be served as a single bundle that is quick to download for the client. This Pebble function is provided by the Spincast JS Closure Compiler plugin.
The cssBundle(...) is similar but target your .css files. It is provided by the Spincast CSS YUI Compressor plugin.
A few days ago, we released a plugin to minify your CSS
. We now release
Spincast JS Closure Compiler, a plugin made to
optimize your Javascript
!
As its name implies, this new plugin makes use of the well-supported Closure Compiler library, from Google.
All official flags and options are supported and easy to specify.
A new plugin, Spincast CSS YUI Compressor,
integrates YUI Compressor so you can easily
minify/compress your CSS
.
What else can we say? It is simple and it works!
A new plugin, Spincast CSS Autoprefixer,
integrates Autoprefixer to easily
add vendor prefixes to your CSS
.
The plugin allows you to serve CSS
that has been tweaked so browsers support is enhanced.
For example, you may use this plugin to be able to use CSS Grids
with good support for IE11!
Also, some methods of the Spincast Process Utils plugin
have been refactored to be more generic. If you are currently using the executeJar(...)
method, please
upgrade to one of the new executeAsync(...)
or executeSync(...)
methods! Those are more generic and provide way more control over the executed programs.
Read more about those new methods in the plugin's documentation.
Have a look at the Github commits page.
You can follow us on Twitter.