javaparser-parent-3.27.0
- fix(deps): update dependency org.junit:junit-bom to v5.13.1 (PR #4775 by @renovate[bot])
- chore(deps): update dependency maven to v3.9.10 (PR #4774 by @renovate[bot])
- fix(deps): update dependency org.checkerframework:checker-qual to v3.49.4 (PR #4770 by @renovate[bot])
- fix(deps): update dependency org.junit:junit-bom to v5.13.0 (PR #4766 by @renovate[bot])
- chore(deps): update codecov/codecov-action action to v5.4.3 (PR #4755 by @renovate[bot])
- fix(deps): update dependency org.checkerframework:checker-qual to v3.49.3 (PR #4745 by @renovate[bot])
- chore(deps): update codecov/codecov-action action to v5.4.2 (PR #4731 by @renovate[bot])
- fix(deps): update dependency org.junit:junit-bom to v5.12.2 (PR #4728 by @renovate[bot])
- fix(deps): update dependency com.google.guava:guava to v33.4.7-jre (PR #4719 by @renovate[bot])
- 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)
Thank You to all contributors who worked on this release!
javaparser-parent-3.26.4
- 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])
- 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)
Thank You to all contributors who worked on this release!
javaparser-parent-3.26.3
- Fixes #4599 making B.class for testing non-empty (PR #4600 by @JiriOndrusek)
- 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)
- fix(deps): update byte-buddy.version to v1.15.11 (PR #4635 by @renovate[bot])
- chore(deps): update codecov/codecov-action action to v5.1.0 (PR #4629 by @renovate[bot])
- chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.11.1 (PR #4605 by @renovate[bot])
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 (PR #4604 by @renovate[bot])
- chore(deps): update actions/checkout action to v4.2.2 (PR #4594 by @renovate[bot])
- chore(deps): update junit5 monorepo to v5.11.3 (PR #4589 by @renovate[bot])
- fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.15.5 (PR #4586 by @renovate[bot])
- fix(deps): update dependency com.google.guava:guava to v33.3.1-jre (PR #4558 by @renovate[bot])
- chore(deps): update dependency org.hamcrest:hamcrest to v3 (PR #4510 by @renovate[bot])
Thank You to all contributors who worked on this release!
javaparser-parent-3.26.2
- Move formatting workflows into separate file (PR #4480 by @johannescoetzee)
- Exclude unavailable macos <-> java version combinations from github tests (PR #4479 by @johannescoetzee)
- 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)
- fix(deps): update byte-buddy.version to v1.15.1 (PR #4547 by @renovate[bot])
- fix(deps): update byte-buddy.version to v1.15.0 (PR #4543 by @renovate[bot])
- fix(deps): update dependency com.google.guava:guava to v33.3.0-jre (PR #4532 by @renovate[bot])
- fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.14.19 (PR #4531 by @renovate[bot])
- chore(deps): update junit5 monorepo to v5.11.0 (PR #4528 by @renovate[bot])
- fix(deps): update byte-buddy.version to v1.14.18 (PR #4493 by @renovate[bot])
- chore(deps): update actions/checkout action to v4.1.7 (PR #4486 by @renovate[bot])
- chore(deps): update actions/checkout action to v4.0.0 (PR #4485 by @renovate[bot])
- chore(deps): update junit5 monorepo to v5.10.3 (PR #4483 by @renovate[bot])
- Add better instructions for re-formatting the project (PR #4540 by @johannescoetzee)
Thank You to all contributors who worked on this release!
javaparser-parent-3.26.1
- Fix record declarations nested in annotation declarations (PR #4460 by @johannescoetzee)
- Format code with spotless (PR #4465 by @johannescoetzee)
- Simplifying the search for types in compilation unit (PR #4459 by @jlerbsc)
- Add spotless plugin configuration (PR #4409 by @johannescoetzee)
- 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)
- 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)
- Add link to the guide to adding nodes in CONTRIBUTING.md (PR #4453 by @johannescoetzee)
Thank You to all contributors who worked on this release!
javaparser-parent-3.26.0
- [JEP 440] Add support for record patterns (PR #4432 by @johannescoetzee)
- PatternExpr -> TypePatternExpr refactor in preparation for record pattern implementation (PR #4387 by @johannescoetzee)
- [JEP441] Add support for switch pattern matching (PR #4375 by @johannescoetzee)
- Add support for
case null, default
in switch and fix concrete syntax model for new switch syntax (PR #4364 by @johannescoetzee)
- Fixes SYSTEM_EOL warnings (PR #4412 by @matthieu-vergne)
- Refact: Adds a find node by range method in Node class (PR #4377 by @jlerbsc)
- 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)
- chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (PR #4415 by @dependabot[bot])
- Minor refactoring on Concrete syntax model (PR #4405 by @jlerbsc)
- chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 (PR #4381 by @dependabot[bot])
Thank You to all contributors who worked on this release!
javaparser-parent-3.25.10
- 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)
- chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (PR #4341 by @dependabot[bot])
Thank You to all contributors who worked on this release!
javaparser-parent-3.25.8
- 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)
- 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)
- 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)
- chore(deps): bump com.google.guava:guava from 32.1.3-jre to 33.0.0-jre (PR #4264 by @dependabot[bot])
Thank You to all contributors who worked on this release!
javaparser-parent-3.25.7
- [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)
- 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)
- 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)
- chore(deps): update actions/setup-java action to v4 (PR #4241 by @renovate[bot])
- chore(deps): bump org.codehaus.mojo:build-helper-maven-plugin from 3.4.0 to 3.5.0 (PR #4223 by @dependabot[bot])
- Adds sponsor link to help the project live and grow (PR #4204 by @jlerbsc)
- chore(deps): bump org.codehaus.mojo:templating-maven-plugin from 1.0.0 to 3.0.0 (PR #4195 by @dependabot[bot])
- chore(deps): update junit5 monorepo to v5.10.1 (PR #4193 by @renovate[bot])
- Added unit tests for visitors (PR #4239 by @4everTheOne)
- Unit tests for class GenericListVisitorAdapter (PR #4237 by @4everTheOne)
- Update readme.md (PR #4222 by @jlerbsc)
Thank You to all contributors who worked on this release!