6.1 Release Notes - Version 1.3.11

Introduction

This section contains release notes for changes that have taken place to Struts, since the Version 1.3.10 distribution. To keep up-to-date on all changes to the framework, subscribe to the (commits at struts.apache.org) list. To preview our plans for upcoming changes, please visit the Roadmap page.

  • Notes on upgrading are maintained in the Wiki Upgrade pages. The wiki is a community maintained resource - please feel free to add your input so that everyone can benefit from the collective experience.

For the version requirements of each library, see the Installation chapter.

Breaking changes

At some very rare situations: When you use the class org.apache.struts.mock.TestMockBase: This class is moved to test-classes.

The only real breaking change is for Maven-users:

Old Maven GroupId:

org.apache.struts

New Maven GroupId:

io.github.weblegacy

Issue Tracking

Bug

  • [STR-2700] - Validator validwhen cannot test between two different indices in array
  • [STR-2802] - File upload has 2GB limit
  • [STR-2959] - Sufficently filter HTML tag attribute names and values
  • [STR-3191] - SelectTag should single select when "multiple" attribute equals false
  • Correct SCM-addresses, url's, organization and distribution management
  • Correct javadoc-options for minimized output and no errors
  • Correct "struts-apps"

Improvement

  • [STR-1195] - MalformedURLException: You must specify exactly one of "forward", "href", or "page"
  • [STR-1638] - Enhance log error message for when the Action cannot instantiate
  • [STR-1809] - Warn if a form is not declared but used by an action
  • [STR-1819] - Tiles1 plugin should fail-fast when loaded twice
  • [STR-1870] - Spanish translations of message bundles
  • [STR-2013] - Improve error detail when form validation fails from absent ActionServlet
  • [STR-2020] - FormFile needs clarification about FileNotFoundException
  • [STR-2098] - Report the bean and property name when iteration fails
  • [STR-2153] - Validator validwhen comparisons of floats
  • [STR-2319] - Validator validwhen comparisons of doubles
  • [STR-2321] - Standardize exception rethrows to contain root cause
  • [STR-2437] - Cite the form name in validation exception message
  • [STR-2611] - Provide better error message for "No valid collection specified for size tag"
  • [STR-2779] - Validator plugin should fail-fast when loaded twice
  • [STR-2904] - Exception configuration should not require key
  • [STR-2924] - ValidatorForm to use dynamic page number
  • [STR-3042] - Warn about using the classic RequestProcessor
  • [STR-3068] - Standardize exception rethrows to contain root cause (initCause)
  • [STR-3119] - Configuration post-processing via plug-ins
  • Add "maven-scm-publish-plugin" to deploy site-documentation
  • Reorganize integration-tests
  • Centralize profile "pre-assembly"
  • Convert "testgen4web" to "Selenium" integration tests
  • Add "cargorun"-profile
  • Move "TestMockBase" in module "core" from main into test
  • Add "maven-resources-plugin": Define encoding
  • Add "maven-enforcer-plugin": Enforces required MAVEN-Version

New Feature

  • [STR-3085] - Upgrade Commons FileUpload
  • Add CHANGELOG, LICENSE, NOTICE and README.md

Task

  • [STR-3059] - Upgrade Commons Logging
  • [STR-3121] - Upgrade Commons Chain to 1.2
  • [STR-3150] - Migrate dependencies to Dependency Management
  • [STR-3152] - Struts 2.0.9 omnibus ticket
  • [WW-1974] - Struts 2.0.9 omnibus ticket
  • Upgrade "taglib-maven-plugin" to 2.6
  • Upgrade "webdrivermanager" to 5.2.1
  • Upgrade "selenium-java" to 4.3.0
  • Upgrade "htmlunit" to 2.63.0
  • Upgrade "cargo-maven3-plugin" to 1.9.13
  • Upgrade "maven-surefire-report-plugin" to 3.0.0-M7
  • Upgrade "maven-surefire-plugin" to 3.0.0-M7
  • Upgrade "maven-project-info-reports-plugin" to 3.3.0
  • Upgrade "maven-pmd-plugin" to 3.17.0
  • Upgrade "maven-failsafe-plugin" to 3.0.0-M7
  • Upgrade "maven-enforcer-plugin" to 3.1.0
  • Upgrade "maven-assembly-plugin" to 3.4.1
  • Upgrade "maven-site-plugin" to 3.12.0
  • Upgrade "maven-javadoc-plugin" to 3.4.0
  • Upgrade "checkstyle" to 9.3
  • Upgrade "maven-jxr-plugin" to 3.2.0
  • Upgrade "JUnit" to JUnit5 5.8.2 and upgrade tests
  • Update deprecated MAVEN-Vars
  • Upgrade and correct documentations

Next: Installation