6.1 Release Notes - Version 1.5.0 Release Candidate 1

Introduction

This section contains release notes for changes that have taken place to Struts, since the Version 1.4.5 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

  • General: Upgrade from JakartaEE 8 to JakartaEE 9.
    • Upgrade servlet-api from 4.0 to 5.0.
    • Upgrade jsp-api from 2.3 to 3.0.
    • Upgrade el-api from 3.0 to 4.0.
    • Upgrade jsf from 2.3 to 3.0.
    • Upgrade jstl from 1.2 to 2.0.
    • All javax.*-properties are renamed to jakarte.*-properties
  • Upgrade commons-fileupload 1.5 to commons-fileupload2 2.0.0-M1:
    • Method FormFile.destroy: throws an IOException.
    • Method MultipartRequestHandler.elementsAll: returns HashMap<String, Object> instead Hashtable<String, Object>
    • Method MultipartRequestHandler.elementsFile: returns HashMap<String, List<FormFile>> instead Hashtable<String, Object>
    • Method MultipartRequestHandler.elementsText: returns HashMap<String, String[]> instead Hashtable<String, Object>
    • Method MockMultipartRequestHandler.elementsAll: returns HashMap<String, Object> instead Hashtable<String, Object>
    • Method MockMultipartRequestHandler.elementsFile: returns HashMap<String, List<FormFile>> instead Hashtable<String, Object>
    • Method MockMultipartRequestHandler.elementsText: returns HashMap<String, String[]> instead Hashtable<String, Object>

Issue Tracking

Bug

  • Skip "bnd-maven-pluin" in integration-tests
  • Remove duplicate slf4j-providers in "taglib"
  • Correct Javadoc-warnings
  • Fix links in "preface"-doc

Improvement

  • Replace "maven-bundle-plugin" 5.1.9 with "bnd-maven-plugin" 7.0.0
  • Centralize Javadoc-configurations
  • Better Javadoc-Dependency-Links
  • New Servelt-Attributes for MultipartRequestHandler.ATTRIBUTE_MAX_BYTE_LENGTH_EXCEEDED and MultipartRequestHandler.ATTRIBUTE_MAX_FILE_COUNT_EXCEEDED

Task

  • Update minimum MAVEN-Version from 3.5.4 to 3.8.1
  • Bump "maven-compiler-plugin" from 3.11.0 to 3.12.1
  • Bump "webdrivermanager" from 5.6.1 to 5.6.2
  • Bump "spotbugs-annotations" from 4.8.0 to 4.8.3
  • Bump "htmlunit" from 3.7.0 to 3.9.0
  • Bump "commons-validator" from 1.7 to 1.8.0
  • Bump "commons-io" from 2.15.0 to 2.15.1
  • Bump "cargo-maven3-plugin" from 1.10.10 to 1.10.11
  • Bump "maven-project-info-reports-plugin" from 3.4.5 to 3.5.0
  • Bump "checkstyle" from 10.12.4 to 10.12.6
  • Bump "maven-javadoc-plugin" from 3.6.0 to 3.6.3
  • Bump "junit-jupiter-api" from 5.10.0 to 5.10.1
  • Bump "selenium-api" and "selenium-java" from 4.15.0 to 4.16.1
  • Bump "groovy" from 4.0.15 to 4.0.17
  • Bump "maven-failsafe/surefire-[report]-plugin" from 3.2.1 to 3.2.3
  • Bump "weld-servlet-shaded" from 3.1.9.Final to 4.0.3.Final
  • Change "tiles-request-servlet" to "tiles-request-jakarta-servlet" 1.0.0
  • Change ".gitignore"
  • Upgrade "fileupload" 1.5 to "fileupload2" 2.0.0-M1
  • Change all "javax.*"- to "jakarta.*"-namespaces and properties
  • Upgrade "jsf" from 2.3.18 to 3.0.5
  • Bump "jstl" from 1.2.7 to 2.0.0
  • Bump "el-api" from 3.0.3 to 4.0.0
  • Upgrade "jsp-api" from 2.3.6 to 3.0.0
  • Upgrade "servlet-api" from to 4.0.4 to 5.0.0
  • Use "tomcat" 10.0.27 instead 9.0.68 for integration-tests
  • Update "README.md" to version 1.5.0-RC1
  • Update documentation to version 1.5.0-RC1
  • Set Version to 1.5.0-RC1

Next: Installation