Skip to content

Releases: Netflix-Skunkworks/rewrite

v0.12.1

12 Jan 18:38
Compare
Choose a tag to compare
v0.12.1 Pre-release
Pre-release
  • Make dependencies compile scope for the sake of Spark
  • Add jackson-annotations 2.8.5 as a first order dependency to rewrite-jackson

v0.12.0

11 Jan 23:30
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release
  • Two NPE bug fixes in TransformVisitor
  • Parser implementations now support relativizing sourcePath on Tr.CompilationUnit

v0.11.0

11 Jan 19:54
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release
  • Support strictfp class modifier
  • Support native modifier on method declarations
  • Fall back on nearest class declaration simple name if constructor name cannot be derived from it's method declaration symbol
  • Support default values on annotation parameters
  • Fix diff file relativization
  • Deal with null on the select portion of a method invocation
  • Make rewrite optional in rewrite-jackson so you can choose either the regular jar or jdkbundle jar.

v0.10.3

29 Dec 21:57
Compare
Choose a tag to compare
v0.10.3 Pre-release
Pre-release
  • Fix NPE that occurs when the inferred type expression of a lambda parameter is null

v0.10.2

29 Dec 00:57
Compare
Choose a tag to compare
v0.10.2 Pre-release
Pre-release
  • Synchronize on flyweights to prevent ConcurrentModificationException
  • Tr.ClassDecl is now properly marked as a Statement type
  • Performance nit: reuse TypeReference instance in rewrite-jackson

v0.10.1

28 Dec 23:25
Compare
Choose a tag to compare
v0.10.1 Pre-release
Pre-release
  • Member references are now Expression types.

v0.10.0

28 Dec 21:24
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release
  • Support for assert statements
  • Support for method references
  • Added diagnostic to dump path stack in the event of an unexpected conversion failure from Oracle JDK AST so we can more quickly identify the unusual code construct to recreate in a unit test

v0.9.1

24 Dec 01:31
Compare
Choose a tag to compare
v0.9.1 Pre-release
Pre-release
  • Support for lambda parameters with inferred types

v0.9.0

23 Dec 22:53
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release
  • Rename delete to deleteField
  • Entire AST is now immutable, including all Type and Formatting types
  • Package renaming
  • Introduce flyweights in Tr.Ident and Type to improve heap utilization
  • Experimental gradle plugin
  • Add rewrite-jackson module to standardize the serialization format around Smile with object identities.
  • Fixed conversion bug for annotations with a single non-'value' argument

v0.8.0

26 Nov 21:39
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release
  • Support for deleting method arguments
  • Support for finding type references
  • Support for changing type references
  • Extended AddImport to optionally only add import if type is used
  • Various bug fixes in TransformVisitor