-
-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Description
Release to come, what a nice changelog, thanks a lot to all contributors!
New features
- Print minimal amount of round brackets in sniper mode. (PR: feat: print minimal amount of round brackets in sniper mode #3823)
- Make sniper printer infer indentation style of compilation unit. (PR: review: feat: Make sniper printer infer indentation style of compilation unit #3717)
- Add CtModifiable#isTransient and related methods. (PR: feature: add CtModifiable#isTransient and related methods #3670)
- Add support for pretty-printing Java 15 text blocks. (PR: feature: add support for pretty-printing Java 15 text blocks #3664)
- spoon-smpl: Initial support for the semantic patch language (Credits: Mikael Forsberg). (PR: feat(spoon-smpl): initial support for the semantic patch language (Credits: Mikael Forsberg) #3282)
Breaking changes
- Use slf4j API instead of log4j-api. (PR: refactor: use slf4j API instead of log4j-api #3755) / Use self-defined logging level instead of org.slf4j.event.Level. (PR: fix: Use self-defined logging level instead of org.slf4j.event.Level #3796)
- Consolidate a consistent behavior for CtElement#getParent. (PR: fix: consolidate a consistent behavior for CtElement#getParent #3793)
Bug fixes
- Fix sniper printing of comments when changing modifiers. (PR: fix: Fix sniper printing of comments when changing modifiers #3701)
- Fix unqualified type reference in catch block becoming qualified. (PR: fix: Fix unqualified type reference in catch block becoming qualified #3800)
- Prevent ImportCleaner from importing inherited static methods. (PR: fix: Prevent ImportCleaner from importing inherited static methods #3798)
- Fix NPE due to duplicated package-info.java with setIgnoreDuplicateDeclarations(true). (PR: fix: Fix NPE due to duplicated package-info.java with setIgnoreDuplicateDeclarations(true) #3791)
- Search for packages in all available Java modules. (PR: fix: Search for packages in all available Java modules #3771)
- Correctly sniper-print type member comments after removal of all modifiers. (PR: fix: correctly sniper-print type member comments after removal of all modifiers #3747)
- ParentNotInitializedException in AbstractTypingContext. (PR: fix: ParentNotInitializedException in AbstractTypingContext #3741)
- Classpath mode logging in MavenLauncher. (PR: fix: classpath mode logging in MavenLauncher #3750)
- Fix sniper-printing of method imports. (PR: fix: Fix sniper-printing of method imports #3744)
- Custom URLClassLoaders are now actually used. (PR: fix: custom URLClassLoaders are now actually used #3818)
- Fix NPE in ReferenceBuilder#tryRecoverTypeArguments. (PR: fix: fix NPE in ReferenceBuilder#tryRecoverTypeArguments #3737)
- Avoid import duplication on unresolved imports. (PR: fix: Avoid import duplication on unresolved imports #3730)
- Source position when there is a comment character in annotation. (PR: Fix: source position when there is a comment character in annotation #3720)
- Fix pretty-printing of imports for static methods. (PR: Fix: fix pretty-printing of imports for static methods #3716)
- Dependency rg.tukaani:xz should have a test scope. (PR: fix: dependency rg.tukaani:xz should have a test scope #3832)
- Fix NullPointerException when allowing duplicate classes. (PR: fix: Fix NullPointerException when allowing duplicate classes #3709)
- Fix incorrect parent for type reference of a CtParameter. (PR: fix: fix incorrect parent for type reference of a CtParameter #3696)
- Fix Sniper printer failing to put added import statement on separate line. (PR: fix: Fix Sniper printer failing to put added import statement on separate line #3702)
- Fix NullPointerException in SniperJavaPrettyPrinter.printTypes. (PR: fix: Fix NullPointerException in SniperJavaPrettyPrinter.printTypes #3676)
- More resilient wrt to errors during shadow class building. (PR: fix: more resilient wrt to errors during shadow class building #3655)
- CtCase: Add fix for missing parents. (PR: Review: Fix(CtCase): add fix for missing parents #3695)
- pom.xml: Fix jar execution on Java 11. (PR: fix Jar execution on Java 11 #3678)
- sniper: Fix rounding error in indentation detection on single type member. (PR: review: fix(sniper): Fix rounding error in indentation detection on single type member #3722)
Refactoring
- Improve error message when sniper printer is set after building model. (PR: refactor: improve error message when sniper printer is set after building model #3694)
- Throw informative exception when sniper printing cannot be done. (PR: refactor: throw informative exception when sniper printing cannot be done #3764)
- Add support for malformed files through inheritance. (PR: refactor: add support for malformed files through inheritance #3668)
- Better name for spoon-control-flow. (PR: refactor: better name for spoon-control-flow #3665)
- ArchitectureEnforcer: Replace treeSet with hashset. (PR: refactor(ArchitectureEnforcer): replace treeSet with hashset #3661)
- javadoc: Remove old pair class and replace it with commons-lang3 class Review: refactor(javadoc): remove old pair class and replace it with commons-lang3 class #3660. (PR: Review: refactor(javadoc): remove old pair class and replace it with commons-lang3 class #3660)
Performance
- Move code outside loop in FileCompilerConfig.initializeCompiler. (PR: perf: move code outside loop in FileCompilerConfig.initializeCompiler #3815)
- Handle some concurrency in ModelSet. (PR: perf: handle some concurrency in ModelSet #3736)
Authors
Name | Nb Commit |
---|---|
renovate[bot] | 28 |
Simon Larsén | 27 |
andrewbwogi | 7 |
MartinWitt | 6 |
Martin Monperrus | 6 |
dya-tel | 4 |
Artamm | 3 |
Mikael Forsberg | 2 |
César Soto Valero | 2 |
Lakshya A Agrawal | 1 |
Maxim Stefanov | 1 |
Horia Constantin | 1 |
Darius Sas | 1 |
Rick Kellogg | 1 |
Benjamin DANGLOT | 1 |
seintur, surli and lapplislazuliseintur and lapplislazuli
Metadata
Metadata
Assignees
Labels
No labels