Prateek
Prateek

Reputation: 4013

Why struts version 2.3.4.1 and not 2.4?

Having an argument with my team members on the api difference and versioning I was stucked when it came to struts with four periods i.e. 2.3.4.1 (a bit weird) . I want to know why it has not picked version 2.4 but 2.3.4.1 ?? Where does the api difference cam in?

Upvotes: 1

Views: 472

Answers (2)

linuxbuild
linuxbuild

Reputation: 16133

See this compatibility table for all struts API versions. There is a minor ABI break between 2.3.4 and 2.3.4.1 in the org.apache.struts2.util.TokenHelper class, but overall compatibility is still 99.9%.

enter image description here

enter image description here

Upvotes: 2

Thilo
Thilo

Reputation: 262474

Apache has guidelines on release numbering:

Minor Releases

Minor releases signify enhancements to a component that do not necessitate a major release. Developers may perform a minor release if the release is at least external-interface-compatible with the previous release.

Point Releases

A point release typically involves simple bug fixes or optimizations that do not introduce new features. Developers may perform a point release if the release is at least interface-compatible with the previous release.

So unless there are new API additions (which I have not looked at) you would not bump up the minor version number.

2.4 would be a "minor release".

2.3.4 (the last point release) only lists internal changes.

2.3.4.1 is not even a "point release", more like a patch, which seems to match the release notes, which say "Struts 2.3.4.1 includes important security fixes."

Upvotes: 3

Related Questions