Skip to content

v5.0.0

Latest

Choose a tag to compare

@Gabriel-Darbord Gabriel-Darbord released this 20 Nov 15:32

The first release of v5, a major version: it breaks code written for v4. MIGRATION.md says what to write instead, change by change.

v5 makes the model hold what Java writes and nothing else, and read the same text the same way wherever it stands:

  • Annotations are held in annotations, apart from the keywords in modifiers.
  • An array creation is no longer a class instance creation, and each pair of its brackets is an entity.
  • A type is no longer a variable expression, and no longer carries a name.
  • Eleven relations are typed as narrowly as the grammar allows.
  • A dotted name is a FASTJavaQualifiedName wherever it stands, and FASTJavaClassProperty is removed.
  • super and this are one entity each, and FASTJavaOuterThis and FASTJavaIdentifier are removed.
  • var is the inferred type only where Java infers it.
  • An element-value pair is a FASTJavaElementValuePair, not an assignment, and an element value that is not a constant is refused by JLS 9.7.1.
  • A text block is a FASTJavaTextBlock.
  • FAST-Java-Deprecated is removed.

v5.0.0 also holds every change of v4 up to v4.6.0.

Full Changelog: v4.6.0...v5.0.0