Skip to content

spoon-core-5.9.0

Compare
Choose a tag to compare
@surli surli released this 06 Sep 09:05
· 3041 commits to master since this release

Spoon release on this back-to-work times!

Thanks to all contributors 👍

Changelog

New features

  • Introduce NamedElementFilter (because NameFilter is ill-designed). (PR: #1500)
  • In auto-import mode, imports from original source code are reused. (PR: #1499)
  • Add automatically generated comments in template-produced code. (PR: #1465)
  • Add support for short pretty-printing of annotation value when appropriate. (PR: #1485)
  • prettyprinter: DefaultJavaPrettyPrinter#setLineSeparator(String). (PR: #1490)

Bug Fixes

  • Fix a stack overflow when calling getDeclaration in noclasspath. (PR: #1515)
  • Fix issue related to processing generic types. (PR: #1504)
  • Fix NPE in noclasspath mode. (PR: #1502)
  • Compute positions of elements. (PR: #1493)
  • Support substitution of references to target type in inner type. (PR: #1477)
  • setInputClassloader: Bug when using a URLClassLoader with standard URLs. (PR: #1507)
  • comment: Splitting of comment by EOL. (PR: #1455)
  • template: Object is not an template parameter implicitly. (PR: #1461)
  • reference: Fix getReference of an unknown class that has the same name as an existing class. (PR: #1480)

Documentation

  • Update usage of maven plugin to latest version 2.5. (PR: #1508)
  • Remove information about deleted stable branch. (PR: #1474)
  • release: Update release information in documentation. (PR: #1471)

Refactoring

  • Encoding is correctly handled in Environment. (PR: #1498)
  • Deprecate PrettyPrinter#getPackageDeclaration. (PR: #1489)
  • printer: Remove deprecated method from PrinterHelper. (PR: #1472)

Performance

  • Compile comments only if needed. (PR: #1487)
  • Collect list of source files only once. (PR: #1486)
  • No call to expensive toString in DoNotFurtherTemplateThisElement. (PR: #1478)

Tests

  • Fix CtRenameLocalVariableRefactoringTest#testRenameAllLocalVariablesOfRenameTestSubject. (PR: #1491)

Community

Other

  • Fix pom.xml to allow deploying snapshots. (PR: #1495)
  • Prepare for next development iteration.

Authors

Name Nb Commit
Pavel Vojtechovsky 11
Simon Urli 10
Wreulicke 1
Marcel Steinbeck 1
Lionel Seinturier 1
Thomas Durieux 1
Jan Galinski 1
Martin Monperrus 1