ao-encoding-taglib-5.0.0
Release Notes
- This is a major version bump for incompatible changes of Java API only. The taglib itself is completely backward compatible.
type
attributes are nowjava.lang.Object
instead ofjava.lang.String
.-
Improved support for taglib serialization: marked attribute fields
transient
and callinginit()
fromreadObject(…)
.
ao-encoding-taglib-4.0.0
Release Notes
- Implemented CSS encoding:
- New interface
NoClose
along with staticwrap(…)
methods to avoid duplicate wrapping. - More thorough internal character validation, with additional optimizations.
- Moved
FailOnWriteWriter
to AO Lang.
ao-encoding-taglib-3.0.1
Release Notes
- Updated dependencies.
ao-encoding-taglib-3.0.0
Release Notes
- <encoding:url> now trims the URL before validation.
- <encoding:url> now supports both RFC 3986 URI and RFC 3987 IRI.
ao-encoding-taglib-2.0.0
Release Notes
- Updated to Java™ EE 7 Web Profile (Servlet 3.1, JSP 2.3, EL 3.0, and JSTL 1.2).
-
Now supports Java 9+ modules. Due to still having filename-based automatic module dependencies,
*-SNAPSHOT versions include
module-info.class
while releases include theAutomatic-Module-Name
manifest entry. To minimize the difference between these modes,module-info.java
does not perform any transitive requires. - Maven artifact relocated from
com.aoindustries:ao-encoding-taglib
tocom.aoapps:ao-encoding-taglib
. - Package renamed from
com.aoindustries.encoding.taglib
tocom.aoapps.encoding.taglib
. - Taglib URL changed to
https://oss.aoapps.com/encoding/taglib/
to match project URL.
ao-encoding-taglib-1.0.2
Release Notes
-
Split development-only classes into a new sub-project in
devel/
. This sub-project is used only for development and is never deployed to artifact repositories. - Updated dependencies.
ao-encoding-taglib-1.0.1
Release Notes
- Attribute setters now throw
IllegalArgumentException
instead ofJspTagException
.
ao-encoding-taglib-1.0.0
Release Notes
- New project for character encoding in JSP split from AO Taglib.
- Added alternate implementation compatible with legacy JSP that use scriptlets.
- Added tags to fill-out all the currently supported media types:
Now registering exception types for use with
Throwables.newSurrogate(…)
that supports creating new instances of throwables in order to have caller stack trace. When wrapped, the original throwable is the cause of the new throwable. When not wrapped, the original throwable is used directly and caller stack trace is lost.This is used to maintain exception types and states across thread boundaries, such as when an exception cause is obtained from an
ExecutionException
.- New tag <encoding:encoding> that has a type defined in its type attribute.
EncodingNullTag
now setsMediaType.TEXT
context before invoking the JSP body. This means nested tags that attempt to produce valid output will not be limited by the parent encoding context of the tag.-
Cleaned-up use of
JspTagException
versusJspException
. Generally, methods declarethrows JspException
while actually throwing instances ofJspTagException
. The exceptions to this are attribute setters and private implementation methods that both declare and throwJspTagException
.