Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The 

Javadoc resource link
rangeHigherVersion5.8
classNameinfo.magnolia.module.model.VersionRange
renderTypeasynchronous
 class supports the following notation to indicate version dependency.

Info

Only three parts are supported. The major, minor and security version positions. The build number is not supported. See Runtime.Version for more information.

  • * - Includes all versions - (warning) When using this option in a YAML file, please wrap * with quotes (version: "*")
  • 1.2 - Matches only 1.2 exactly.
  • 1.2/* - Matches all versions including and above 1.2.
  • 1.2/1.2.9 - Matches all versions including and between 1.2 and 1.2.9.
  • [1.2,1.2.9] - Inward square brackets mean inclusion. Same as above. Matches all versions including and between 1.2 and 1.2.9.
  • [1.2,1.2.9[ - Outward square brackets mean exclusion. Matches all versions between 1.2 and 1.2.9, including 1.2 but excluding 1.2.9.
  • [1.2,1.2.9) - Parentheses mean exclusion. Same as outward square brackets above. Matches all versions between 1.2 and 1.2.9, including 1.2 but excluding 1.2.9.

...