(tick) These are the notes for the Struts version 7.0.0-M8 distribution.

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

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>7.0.0-M8</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

  • Java 17 is used as minimal supported version
  • Migrated to JakartaEE
  • Stronger security options

Improvement

  • [WW-5310] Fixes broken support for Fragments in <s:url/> tag
  • [WW-5429] Log parameter annotation issues at ERROR level when in DevMode
  • [WW-5430] Uses Freemarker native support for JakartaEE instead of manually transforming the artifacts
  • [WW-5431] Marks unused constants as deprecated
  • [WW-5437] Swap order of sysStrSubstitutor and envStrSubstitutor in substitute method
  • [WW-5428] Allowlist capability should resolve Hibernate proxies when disableProxyObjects is not set
  • [WW-5439] Move DevMode security configuration to SecurityMemberAccess
  • [WW-5411] Delete deprecated method/classes
  • [WW-5428] Stop excessive logging in DevMode
  • [WW-5438] Fixes scope of Weld dependencies

Other resources