(tick) These are the notes for the Struts version 6.7.0 distribution.

(tick) For prior notes in this release series, see Version Notes 6.6.1

Maven users

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>6.7.0</version>
</dependency>

You can also use Struts Archetype Catalog like below

Struts Archetype Catalog
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/

Internal changes

A lot of classes have been marked as deprecated because of relocation of them into a new package. All classes from package com.opensymphony.xwork2  will be moved into org.apache.struts2  in Struts 7 and this deprecation can help you adapt to incoming changes. Please be aware that we are dropping support for DWR and Sitemesh plugins. In the case of DWR there is no more active development nor support for JakartaEE. Sitemesh can be integrated directly with the framework, please check sitemesh3 example.

Bug

  • [WW-5466] - Boundary condition NPE possible with JakartaMultiPartRequest
  • [WW-5468] - ModelDriven is not compatible with @StrutsParameter

Improvement

  • [WW-5471] - Deprecate the Struts Sitemesh plugin
  • [WW-5476] - Mark tags attributes as deprecated
  • [WW-5478] - Deprecate DefaultResultFactory
  • [WW-5480] - Warn against potential templating bug
  • [WW-5484] - Mark DWR plugin as deprecated

Task

  • [WW-3714] - Deprecate selected org.opensymphony.xwork2 APIs and provide org.apache.struts2 replacements

Dependency

  • [WW-5469] - Bump jackson.version from 2.17.2 to 2.18.0
  • [WW-5470] - Bump log4j2.version from 2.23.1 to 2.24.1
  • [WW-5477] - Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.17.0

Issue Detail

Issue List

Other resources