Spoon v7.4.0 Release Notes
Release Date: 2019-05-13 // almost 5 years ago-
🆕 New features
- ➕ Add CtType#toStringWithImports. (PR: #2945)
- Check if a CtType is an array type. (PR: #2882)
- CtBFSIterator: Add an iterator that explores a CtElement's children in breadth first order. (PR: #2904)
- CtElement: Add a method to get all direct children of an element. (PR: #2906)
- CtCommentImpl: Add _setRawContent to be able to bypass cleanComment. (PR: #2889)
🐛 Bug Fixes
- 🖐 Handle special cases in CtAnnotationType. (PR: #2947)
- ✅ Test and fix untested method createNewClass(). (PR: #2943)
- Give appropriate permissions of files in doc folder. (PR: #2949)
- 👌 Improve getCorrespondingRuntimeObject/convertElementToRuntimeObject to handle shadow fields. (PR: #2899)
- JarLauncher: Fix #2951, Really delete temporary decompiled source directory. (PR: #2952)
- 🌲 ContextBuilder: Catch PositionBuilder exception and log it instead of crashing. (PR: #2907)
- CtCompilationUnitImpl: ToString() no longer throws a NPE. (PR: #2918)
- position: Type of CtNewClass is implicit without position. (PR: #2834)
- 🗄 TypeFactory: Raise an exception for deprecated createTypeParameterReference wildcard. (PR: #2890)
📚 Documentation
- ➕ Add example for CtAssert#setExpressiont #2917. (PR: #2917)
- 🛠 Fix links in doc page "Examples of Spoon Usages". (PR: #2932)
- CONTRIBUTING.md mentions our architectural rules. (PR: #2929)
- ➕ Add & update links in the example page. (PR: #2925)
- 🛠 Fix jenkins badge. (PR: #2924)
- 🛠 Fix typos in slides. (PR: #2948)
- ➕ Add example for CtAssert#setExpression. (PR: #2917)
- 🛠 Fix broken documentation. (PR: #2968)
- 🛠 Fix remaining Javadoc issues. (PR: #2910)
- 🛠 Fix doc in JavadocDescription.java. (PR: #2909)
- 👌 Improve documentation on AST traversal. (PR: #2905)
- ➕ Add slide decks. (PR: #2937)
- 📚 Release.md: Improve documentation about releasing after release of 7.3.0. (PR: #2881)
- spoon-control-flow: Fix javadoc errors. (PR: #2916)
- 🚚 command_line.md: Remove link to decommissioned Gforge. (PR: #2900)
🔨 Refactoring
- JDTCommentBuilder: Improve error message with position of offending comment. (PR: #2908)
✅ Tests
- ✅ SourcePositionTest: Don't save temporary files in ./src. (PR: #2969)
- ✅ Rename ArchitectureTest into DecompilerArchitectureTest in spoon-decompiler to avoid confusion. (PR: #2930)
- ✅ CtTypeReference: Add test for methods CtTypeReference#unbox() and box(), fix #1842. (PR: #2919)
- ✅ FieldAccessTest: Nested field access, and example for #2884.
Other
- Exclude GUI from coverage. (PR: #2940)
- Switch to junit5. (PR: #2939)
- ➕ Add Sonar Quality Gate badge. (PR: #2935)
- 🛠 Fix javadoc and reporting config and check it in CI. (PR: #2911)
- Clean parent pom.xml. (PR: #2883)
- ⬆️ Bump to 7.4.0-snapshot. (PR: #2874)
Unknown
- Adopt dual licensing MIT-CECILL-C (#2950). (PR: #2950)
- Up. (PR: #2941)
- ⚡️ Update the list of contributors. (PR: #2912)
- Eclipse` in README. (PR: #2903)
Authors
Name Nb Commit Martin Monperrus 28 Nicolas Harrand 9 Alexander Shopov 2 Charm 1 Pavel Vojtechovsky 1 GluckZhang 1 Fabien DUMINY 1 Simon Urli 1 Mickael Istria 1