Releases: Netflix-Skunkworks/rewrite
Releases · Netflix-Skunkworks/rewrite
v0.12.1
- 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
- Two NPE bug fixes in
TransformVisitor
Parser
implementations now support relativizingsourcePath
onTr.CompilationUnit
v0.11.0
- 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
- Fix NPE that occurs when the inferred type expression of a lambda parameter is null
v0.10.2
- Synchronize on flyweights to prevent
ConcurrentModificationException
Tr.ClassDecl
is now properly marked as aStatement
type- Performance nit: reuse
TypeReference
instance in rewrite-jackson
v0.10.1
- Member references are now
Expression
types.
v0.10.0
- 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
- Support for lambda parameters with inferred types
v0.9.0
- Rename
delete
todeleteField
- Entire AST is now immutable, including all
Type
andFormatting
types - Package renaming
- Introduce flyweights in
Tr.Ident
andType
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
- 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