THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
These are the notes for the Struts 2.5.14 distribution.
For prior notes in this release series, see Version Notes 2.5.13
- If you are a Maven user, you might want to get started using the Maven Archetype.
Maven Dependency
<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.5.14</version> </dependency>
You can also use Struts Archetype Catalog like below
Struts Archetype Catalog
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Staging Repository
<repositories> <repository> <id>apache.nexus</id> <name>ASF Nexus Staging</name> <url>https://repository.apache.org/content/groups/staging/</url> </repository> </repositories>
Internal Changes
Bug
- [WW-4843] - DefaultUrlHelper().buildUrl() not outputting port when used as parameter
- [WW-4846] - Not able to convert Spring object to the JSON response
- [WW-4848] - The if test can accidently incorrectly assign a new value to an object
- [WW-4849] - ObjectFactory constructor signature change breaks extensions
- [WW-4853] - Snippets in Struts documentation are missing
- [WW-4855] - I am migrating my struts 2.2.x to 2.5.13 and where all used struts taglibs and tags UI is breaking where i have not used bootstrap there and all working fine
- [WW-4862] - Default Multipart validation regex is invalid due to charset encoding
- [WW-4863] - Exception starting filter struts-prepare: Unable to load configuration. - interceptor - vfs
- [WW-4868] - createInstance method signature change of TextProviderFactory from merged xwork-core code inside struts2-core-2.5.13.jar which was present with xwork-core jar
- [WW-4869] - Struts2.5.13 can't run in java9 win10
- [WW-4870] - StringConverter from OGNL 3.1.15 in Struts 2.5.13
- [WW-4871] - Decimal converters should avoid loss of user's data caused by rounding
- [WW-4882] - Struts text tag doesn't print value from Stack
- [WW-4885] - No validations happening after upgrading to Struts 2.5.12
Improvement
- [WW-4034] - Allow to use custom JSONwriter
- [WW-4857] - Implement Dependency Check in Maven build
- [WW-4861] - Fallback to ActionContext if container is null in ActionSupport
- [WW-4864] - Upgrade to the latest Jetty plugin in all examples
- [WW-4877] - Add missing header with license to all files reported by the Rat plugin
- [WW-4878] - Review available interceptors and document the missing ones
- [WW-4879] - Fetch docs from new locations
- [WW-4884] - Allow define only TextProvider instead of providing the whole TextProviderFactory
- [WW-4888] - HTML escaping on the text tag
Dependency
- [WW-4850] - Upgrade FreeMarker to version 2.3.26-incubating
- [WW-4851] - Upgrade to Log4j2 2.9.1
- [WW-4859] - Upgrade com.fasterxml.jackson to version 2.8.2
- [WW-4860] - Upgrade net.sf.json-lib to version 2.4
- [WW-4880] - Upgrade Spring to version 4.1.9
Issue Detail