All Versions
203
Latest Version
Avg Release Cycle
19 days
Latest Release
-
Changelog History
Page 18
Changelog History
Page 18
-
v3.1.0-beta.1 Changes
This version is a beta because there are a lot of new features that may still change.
This version needs a minor version increase because of a backwards compatability issue:
- 719
getJavadoc
,getJavadocComment
andgetComment
could return null. Our promise was to returnOptional
, so that is what they do now.
๐ New:
- 658 718 736 737 we have created a metamodel.
It gives information about the structure of the various AST nodes, as if you are introspecting them.
๐ You can find it in
javaparser-metamodel
, the main class isJavaParserMetaModel
- 353 365 visitors are no longer hand made, they are now generated from the metamodel. This should make them 100% reliable.
๐ฏ Affected visitors are:
GenericVisitorAdapter
,EqualsVisitor
,VoidVisitorAdapter
,VoidVisitor
,GenericVisitor
,HashCodeVisitor
,CloneVisitor
.
๐ If you want to generate your own visitors, you can use the
VisitorGenerator
class fromjavaparser-core-generators
๐ If you want to reuse the code generation utilities, look at module
javaparser-generator-utils
- there is a very usefulSourceRoot
class in there that takes away a lot of file management troubles.- 538 735
TreeStructureVisitor
has been added, which should be considered beta. - ๐ 220 733 717 749 745 750 743 748 666 732 746 734 733 smaller improvements and fixes
- 719
-
v3.0.1 Changes
- ๐ 699 433 325 Javadoc can now be parsed
- 703 696 added NodeWithOptionalScope
- 702 FieldAccessExpr now implements NodeWithSimpleName, which means that "field" has been renamed to "name"
- 707 706 improve range of array types and levels
- ๐ 709 smaller improvements and fixes
-
v3.0.0 Changes
- ๐ 695 697 689 680 693 691 682 690 677 679 688 684 683 smaller improvements and fixes
-
v3.0.0-RC.4 Changes
- 668 669 TypeDeclarationStmt became LocalClassDeclarationStmt
- ๐ 347 665 every node now has some documentation
- ๐ 660 670 673 four types of import declaration have been merged back into the old ImportDeclaration
- ๐จ 659 The pretty printer can now take customized visitors
- ๐ 650 671 672 674 524 smaller improvements and fixes
-
v3.0.0-RC.3 Changes
- ๐ 639 622 632 657 656 652 653 647 648 645 194 643 630 624 628 627 626 625 623 cleanups, small fixes, and general housekeeping
-
v3.0.0-RC.2 Changes
- ๐ 593 EmptyImportDeclaration and NonEmptyImportDeclaration have been removed
- ๐ 612 VariableDeclaratorId has been removed. It has been substituted by "SimpleName name"
- 614 617 the list of tokens has been linearized and simplified
- ๐ 615 support for arrays has once more been changed. See the issue
- ๐ 580 453 380 618 580 611 610 424 608 smaller improvements and fixes
-
v3.0.0-RC.1 Changes
- 499 601 renames many fields to be more consistent
- ๐ 596 605 602 604 smaller improvements and fixes
-
v3.0.0-alpha.9 Changes
- 403 358 549 Make all names nodes: either SimpleName or Name. This makes every name in the AST visitable. NameExpr is now a wrapper to use SimpleName in an expression.
- 516 536 use Optional<> for return values.
- ๐ 556 557 558 550 small improvements and fixes.
- 560 559 make nodes observable.
-
v3.0.0-alpha.8 Changes
- ๐จ 344 529 turn DumpVisitor into an official PrettyPrinter
- 532 508 427 530 531 513 528 cleanups
-
v3.0.0-alpha.7 Changes
- 515 roll back attempt at using Optional
- โช 522 504 make NodeList not a Node (restores parent/children behaviour to before alpha.4)
- 527 526 rename getChildrenNodes to getChildNodes
- 525 495 520 bug fix