javaparser/javaparser
 Watch   
 Star   
 Fork   
19 days ago
javaparser

javaparser-parent-3.27.0

Developer Changes

Uncategorised

  • Fix resolution for method refs used as varargs (PR #4759 by @johannescoetzee)
  • Fix IndexOutOfBoundsException resulting from empty varargs call as method usage (PR #4754 by @johannescoetzee)
  • Fix resolution of lambdas used as varargs (PR #4752 by @johannescoetzee)
  • Fix: issue 4747 Lexical preserving fails after replacing MarkerAnnotationExpr name (PR #4748 by @jlerbsc)
  • Fix: issue 4503 Unable to find the method declaration corresponding to a method reference (PR #4739 by @jlerbsc)
  • Fix issue 4724 Duplicate fields returned by JavaParserEnumDeclaration.getAllFields() (PR #4735 by @jlerbsc)
  • Make some helper methods protected in DefaultPrettyPrinterVisitor (PR #4729 by @johanneskloos)
  • Fix constructor resolution issue 4703 (PR #4727 by @johannescoetzee)
  • Fix MethodAmbiguityException for methods with varargs (PR #4725 by @johannescoetzee)
  • Fix range for cast expression with lambda child (PR #4721 by @johannescoetzee)
  • Add Javadoc to the various parts of the DefaultPrettyPrinterVisitor (PR #4718 by @johanneskloos)
  • Make JarTypeSolver and ReflectionTypeSolver a bit more versatile. (PR #4716 by @johanneskloos)
  • Fix formatting issues (PR #4715 by @jlerbsc)
  • Fix Switch toString to LexicalPreservingPrinter when configured (PR #4712 by @jlerbsc)
  • Fix: issue 4697 Updating the com.google.guava:guava dependency to v334.5-jre fails. (PR #4711 by @jlerbsc)
  • Implement MethodResolutionCapability in JavassistRecordDeclaration (PR #4709 by @johanneskloos)
  • Fix: issue 4707 Upgrading from junit 5.11.4 -> 5.12.1 causes junit exception (PR #4708 by @jlerbsc)
  • Fix for #3710 by cutting off resolution loops involving object creation steps. (PR #4704 by @johanneskloos)
  • [SECURITY] Fix Zip Slip Vulnerability (PR #3684 by @JLLeitschuh)

❤️ Contributors

Thank You to all contributors who worked on this release!

2025-04-01 15:47:21
javaparser

javaparser-parent-3.26.4

Developer Changes

  • fix(deps): update byte-buddy.version to v1.17.5 (PR #4702 by @renovate[bot])
  • chore(deps): update dependency com.puppycrawl.tools:checkstyle to v10.22.0 (PR #4700 by @renovate[bot])
  • chore(deps): update dependency org.apache.maven.plugins:maven-install-plugin to v3.1.4 (PR #4689 by @renovate[bot])
  • chore(deps): update codecov/codecov-action action to v5.4.0 (PR #4688 by @renovate[bot])
  • chore(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3.1.4 (PR #4687 by @renovate[bot])
  • chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.44.3 (PR #4682 by @renovate[bot])
  • chore(deps): update dependency org.apache.maven.plugins:maven-clean-plugin to v3.4.1 (PR #4681 by @renovate[bot])
  • chore(deps): update dependency org.assertj:assertj-core to v3.27.2 (PR #4644 by @renovate[bot])
  • fix(deps): update dependency com.google.guava:guava to v33.4.0-jre (PR #4637 by @renovate[bot])

Uncategorised

  • Fix: issue 4554 Import added through CompilationUnit.addImport should not have a range (PR #4693 by @jlerbsc)
  • Improving documentation on SwithEntry (PR #4685 by @jlerbsc)
  • Fix issue 4670 LexicalPreservingPrinter removed incorect token when removing modifier of a Parameter with annotations (PR #4674 by @jlerbsc)
  • Fix: issue 4668 Issue with FieldAccessExpr resolving for custom class (PR #4671 by @jlerbsc)
  • #4664 remove misleading javadoc (PR #4666 by @verhasi)
  • #4653 use report-aggregate of jacoco instead of report to use the dep… (PR #4658 by @verhasi)

❤️ Contributors

Thank You to all contributors who worked on this release!

2024-12-16 23:01:28
javaparser

javaparser-parent-3.26.3

Changed

Fixed

  • Fix: issue 3990 Local Enum and Interface (Java 16) (PR #4626 by @jlerbsc)
  • Fix bug in VisitorSet.toString() (PR #4615 by @Laughh)
  • Fix issue #4607: don't forget to clone guard when cloning stmt.SwitchEntry (PR #4608 by @DaniilSuchkov)
  • Fixed return within void method (PR #4587 by @Universe-E)
  • Fix: issue 4579 Switch expr and var incompatibility (PR #4581 by @jlerbsc)
  • Fix: issue 4568 Resolution of ObjectCreationExprs broken (PR #4577 by @jlerbsc)
  • Fix issue 4560 Does not solve String.format on multiline strings (PR #4561 by @jlerbsc)

Developer Changes

Uncategorised

❤️ Contributors

Thank You to all contributors who worked on this release!

2024-09-02 21:49:02
javaparser

javaparser-parent-3.26.2

Changed

Fixed

  • Fixes #4526. Fix Node.PostOrderIterator for roots without children (PR #4538 by @ktul)
  • Add missing copyright notice to RecordPatternExpr.java (PR #4527 by @johannescoetzee)
  • Add missing type erasure in ClassOrInterfaceType.toDescriptor (PR #4522 by @johanneskloos)
  • Allow primitive types for patterns (PR #4506 by @johannescoetzee)
  • Fix project formatting (PR #4499 by @johannescoetzee)
  • Fix: issue 4492 resolve LambdaExpr has NullPointException (PR #4497 by @jlerbsc)
  • Fix: issue 2738 UnsolvedSymbolException while trying to ResolvedMethodDeclaration from MethodCallExpr (PR #4482 by @jlerbsc)

Developer Changes

Uncategorised

❤️ Contributors

Thank You to all contributors who worked on this release!

2024-06-21 23:44:58
javaparser

javaparser-parent-3.26.1

Added

Changed

Fixed

  • Disable spotless ratcheting and fix formatting (PR #4478 by @johannescoetzee)
  • Fix: issue 4450 Endless recursion (-> StackOverflow) with cyclic static references (PR #4477 by @jlerbsc)
  • Fix: issue 4399 MethodCallExpr inside lambda in assignment expression cannot be resolved (PR #4462 by @jlerbsc)
  • Fix crash on SwitchExpr entries if tokens are not stored (PR #4461 by @johannescoetzee)
  • Fix lookahead for pattern expression in switch entries [Issue 4455] (PR #4458 by @johannescoetzee)

Developer Changes

  • Automatically format code after codegen and validate with a github action (PR #4468 by @johannescoetzee)
  • Add git-blame-ignore-revs file to ignore the reformatting commit in git blame (PR #4466 by @johannescoetzee)

Uncategorised

❤️ Contributors

Thank You to all contributors who worked on this release!

2024-06-02 23:29:38
javaparser

javaparser-parent-3.26.0

Added

Changed

Fixed

  • Fix: issue 3277 StackOverflow issue while parse MethodCallExpr/FieldAccessExpr, their ancestor/child node is ObjectCreation expression which contain .new (PR #4447 by @jlerbsc)
  • Fix expressions in the body of switch expression entries (Issue 4440) (PR #4446 by @johannescoetzee)
  • Fix: issue 4442 LexicalPreservingPrinter does not support unexpected token (PR #4444 by @jlerbsc)
  • Fix: issue 3100 JavaSymbolSolver unable to resolve an inner class defined in a base class (PR #4441 by @jlerbsc)
  • Fix: 4330 Method 'forEach' cannot be resolved in certain context (PR #4436 by @jlerbsc)
  • Fix: 'permits' and 'sealed' Contextual keyworlds usage (PR #4434 by @jlerbsc)
  • Fixes an error in jbehave tests when they are run in a Windows os (PR #4433 by @jlerbsc)
  • Make resolution of implements and extends types start with the parent… (PR #4430 by @eldapiiro)
  • Fix: solveMethodAsUsage() for implicit method ::values() (PR #4424 by @Kimmmey)
  • Fix: ::values() is a static method, was not static (PR #4417 by @Kimmmey)
  • Fix missed generated code from PatternExpr refactor (PR #4414 by @johannescoetzee)
  • Fixes #4410 (PR #4411 by @matthieu-vergne)
  • Fix issue 2368 Unable to calculate the type of a varargs parameter (PR #4402 by @jlerbsc)
  • Fix: Fixes the version currently supported by Javaparser. (PR #4393 by @jlerbsc)
  • ?? make mvnw command runnable by copy-pasting (PR #4382 by @cravingPixels)

Developer Changes

Uncategorised

❤️ Contributors

Thank You to all contributors who worked on this release!

2024-04-04 16:36:08
javaparser

javaparser-parent-3.25.10

Fixed

  • Fix issue 4345 Strange error when trying to find erasure of generic t… (PR #4362 by @jlerbsc)
  • fix: issue 4358 prevent infinite cycles with static imports (PR #4359 by @kdunee)
  • Refactor ResolvedReferenceType#equals (PR #4351 by @freya022)
  • fix: issue 4331 Cannot be 'abstract' and also 'private'. for a private method in an interface (PR #4332 by @jlerbsc)

Developer Changes

❤️ Contributors

Thank You to all contributors who worked on this release!

2024-03-05 00:38:11
javaparser
2024-01-01 22:46:04
javaparser

javaparser-parent-3.25.8

Added

  • feat: creates cache statistics and moves Cache interface to javaparser-core (PR #4278 by @jlerbsc)
  • feat: Add parseArrayInitializerExpr to JavaParser API (PR #4276 by @iMashtak)
  • feat: A visitor looking for a node by its position in an AST (PR #4258 by @jlerbsc)

Changed

  • fix: Partial removal of the use of instanceof in favour of the use of the API (PR #4280 by @jlerbsc)
  • [GHA] Run on java 18 (PR #4252 by @hazendaz)

Fixed

  • fix: issue 4240 Calling resolve on catch block parameter throws exception (PR #4279 by @jlerbsc)
  • Fix: issue 4270 Exception when resolving ObjectCreationExpr with nested varargs (PR #4273 by @jlerbsc)
  • add Java_18 to yieldSupport (PR #4262 by @Kimmmey)
  • fix: issue #4245 UnsupportedOperationException with LexicalPreservingPrinter when removing a sealed modified (PR #4253 by @jlerbsc)
  • [ci] Fix change log released version as 3.25.7 (PR #4251 by @hazendaz)
  • Fix: issue 3278 Lazy types cause stack overflow when trying to find the least upper bound type (PR #4246 by @jlerbsc)

Developer Changes

Uncategorised

  • Revert "Refactoring: Move cache features to javaparser-core" (PR #4274 by @jlerbsc)

❤️ Contributors

Thank You to all contributors who worked on this release!

2023-12-04 01:34:45
javaparser

javaparser-parent-3.25.7

Added

  • [GHA] Remove old comment that is no longer valid around jdks and add jdk 17 (PR #4226 by @hazendaz)
  • Fix: issue 3833 No enum constant com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_18 (PR #4221 by @jlerbsc)

Changed

  • Refactoring: Move cache features to javaparser-core (PR #4238 by @jlerbsc)
  • Fix: removes reference to coveralls plugin which is not useful because codecov is used to track code coverage (PR #4235 by @jlerbsc)
  • Uses jakarta.json api, upgrades jakarta.json-api to the latest version & uses new default Eclipse Parsson (PR #4234 by @jlerbsc)
  • Move mockito to 4.11.0 and handle byte buddy consistently as well as properly define its agent in argLine for surefire (PR #4228 by @hazendaz)
  • Cleanup poms, use jakarta provided (javax namespace), hamcrest follow up, and switch coveralls plugin - Fixes #4111 (PR #4225 by @hazendaz)
  • [pom] Switch from hamcrest-library (deprecated) to hamcrest (PR #4200 by @hazendaz)
  • Putting code in the .orElse that has a side effect that can affect performance (PR #4199 by @jlerbsc)

Fixed

  • Fix: issue 3650 unreproducible MAVEN_BUILD_TIMESTAMP (PR #4243 by @jlerbsc)
  • Fix: issue 3972 StackOverflowError when resolving type of scope of a MethodCall (PR #4236 by @jlerbsc)
  • [fix] Jdk 18 enum stub was extended off java 16 post processor not java17 (PR #4227 by @hazendaz)
  • Fix: issue #4047 Symbol Solver mixes name with type (PR #4206 by @jlerbsc)
  • Fix grammar (PR #4203 by @mernst)
  • Minor changes : corrupted format, useless cast, javadoc (PR #4198 by @jlerbsc)

Developer Changes

Uncategorised

❤️ Contributors

Thank You to all contributors who worked on this release!