6.1 Release Notes - Version 1.4.1

Introduction

This section contains release notes for changes that have taken place to Struts, since the Version 1.4.0 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 J2EE 1.4 to JavaEE 5.
    • Upgrade java-version from 1.4 to 8.
    • Upgrade servlet-api from 2.3 to 2.5.
    • Upgrade jsp-api from 2.0 to 2.1.
    • Upgrade jsf from 1.0 to 1.2.
    • Upgrade jstl from 1.0 to 1.2.
  • Mailreader-DAO: Move it into struts-apps and adapt documentations.
  • Extras: Prepare struts-extras for JPMS --> change package-names from org.apache.struts.* to org.apache.struts.extras.*.
  • Scripting: Replace bsf-dependency with JSR-223 (javax.script).

Issue Tracking

Bug

  • Correct "tld"-files from "faces-examples" and add documentation for them
  • Fix groovy-compile-error
  • Apps-Blank: Add missing dependency
  • Fix: CVE-2016-1181 and CVE-2016-1182
  • Fix: CVE-2015-0899 with test-cases
  • Fix: CVE-2014-0114 with test-cases
  • Some corrections in examples-app
  • JavaDoc: Correct links and others

Improvement

  • Move "struts-mailreader-dao" into "struts-apps" and adapt documentations
  • Use "struts-mailreader-dao" in "faces-examples"
  • Resolve compiler- and javadoc-warnings
  • Set java-version to "1.8"
  • Apps: JDK8 - Add generics, serialVersionID, for-each-loop, ...
  • Change "StringBuffer" to "StringBuilder"
  • Apps: HTML5-Updates
  • Create "package-info.java" instead of old "package.html"
  • Adapt "EvalHelper" to jsp 2.1 and remove "tagObject"-parameter
  • Add version to checkin-comment to "maven-scm-publish-plugin"

New Feature

  • Prepare "struts-extras" for JPMS (add "extras" to package-name)
  • Add "Automatic-Module-Name" to "MANIFEST.MF"-files
  • Replace "bsf"-dependency with JSR-223 "javax.script"

Task

  • Remove unused dependencies
  • Upgrade "spotbugs-annotations" to 4.7.2
  • Upgrade "junit-jupiter-api" to 5.9.1
  • Upgrade "apache tiles" to 3.0.8, remove JDK-1.4 support dependencies
  • Upgrade "antlr" to 4.10.1 and always generate grammar
  • Upgrade "groovy" to 4.0.5
  • Upgrade "jsf" ("myfaces") to 1.2.12
  • Upgrade "webdrivermanager" to 5.3.0
  • Upgrade "taglibs" to 1.2.5
  • Upgrade "jsp-api" to 2.1
  • Upgrade "servlet-api" to 2.5
  • Upgrade "jstl" and "taglibs.standard" to 1.1.2
  • Upgrade "selenium-java" to 4.5.0
  • Upgrade "commons-digester" to 2.1
  • Upgrade "htmlunit" to 2.65.1
  • Upgrade "commons-fileupload" to 1.4
  • Upgrade "commons-io" to 2.11.0
  • Upgrade "commons-validator" to 1.7, add old commons-validator-js from 1.4
  • Upgrade "commons-logging" to 1.2
  • Upgrade "beanutils" to 1.9.4
  • Upgrade "Tomcat5x" to "Tomcat6x"

Next: Installation