THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Tapestry 5.8.3 is a new release with a number of enhancements and bug fixes.
Tapestry 5.8.3 is a drop-in replacement and recommended upgrade for Tapestry 5.7.0+ projects.
Highlights:
- Smarter page cache validation (also known as multiple classloader mode). Besides collecting dependencies between page, component, mixin and base classes, this enhancement, when turned on, allows Tapestry to invalidate just the cached page instances that need to be rebuilt when a class, template, messages properties or asset is changed. It's documented in the Multiple Classloader Mode/Smarter Page Class Invalidation section of the class reloading page.
- Tapestry no longer logs an OperationException when a client submits a form using a method other than POST. Previously, the log entry would explain that "Forms require that the request method be POST and that the t:formdata query parameter have values." Likewise, in production mode, instead of displaying the error page, Tapestry silently redirects back to the page containing the form.
-
The YUI CssCompressor got updated to the latest available code, which fixes multiple issues (TAP5-2753, TAP5-2708, TAP5-2600).
As Yahoo doesn't develop the Compressor further, a better testing environment was added totapestry-webresources
to fix any upcoming CSS compression issues faster. - The Tree component now gracefully handles an empty list of root nodes instead of throwing an NPE.
PerThreadValue
for easier use: Convenience methods added toT computeIfAbsent(Supplier<? extends T> fn)
T computeIfPresent(Function<? super T, ? extends T> fn)
T compute(Function<? super T, ? extends T> fn)
void ifSet(Consumer<? super T> action)
CookieBuilder
now acceptsjava.time.Duration
for its maxAge-related operation.
Also, aTypeCoercion
forTimeInterval
->Duration
was added, so Duration is usable forSymbolConstants.COOKIE_MAX_AGE
.setNonPersistentLocaleFromRequest(Request request)
added toLocalizationSetter
to expose all of the locale handling through the service. New method voidorg.apache.tapestry5.ioc.internal.util.JDKUtils
andorg.apache.tapestry5.ioc.internal.util.DummyLock
. Remnants from Java 5->6 transitions removed:org.apache.tapestry5.modules
fixed (ComnpressedModules
->CompressedModules
) Misspelt internally used id in
Improvements made
Bugs fixed