blob: 05924d7777ef8c1d07f68b085508930dd0915843 [file] [log] [blame] [view]
Danny van Bruggene11ed222016-12-24 22:25:49 +01001Version 3.0.0-RC.4
2------------------
3* 668 669 TypeDeclarationStmt became LocalClassDeclarationStmt
4* 347 665 every node now has some documentation
5* 660 670 673 four types of import declaration have been merged back into the old ImportDeclaration
6* 659 The pretty printer can now take customized visitors
7* 650 671 672 674 524 smaller improvements and fixes
8
Danny van Bruggenfc9c4a92016-12-18 23:13:10 +01009Version 3.0.0-RC.3
10------------------
11* 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
12
Danny van Bruggendd5d4d02016-12-09 16:40:59 +010013Version 3.0.0-RC.2
14------------------
15* 593 EmptyImportDeclaration and NonEmptyImportDeclaration have been removed
16* 612 VariableDeclaratorId has been removed. It has been substituted by "SimpleName name"
17* 614 617 the list of tokens has been linearized and simplified
18* 615 support for arrays has once more been changed. See [the issue](https://github.com/javaparser/javaparser/issues/592)
19* 580 453 380 618 580 611 610 424 608 smaller improvements and fixes
20
Danny van Bruggen61aaeaf2016-12-01 18:37:11 +010021Version 3.0.0-RC.1
22------------------
23* 499 601 renames many fields to be more consistent
24* 596 605 602 604 smaller improvements and fixes
25
Danny van Bruggen47379542016-11-27 16:54:33 +010026Version 3.0.0-alpha.11
27------------------
28* 547 595 Node.range is now using Optional instead of Range.UNKNOWN
Danny van Bruggen6738e1c2016-11-28 19:46:45 +010029* 584 588 548 585 bug fixes and improvements
Danny van Bruggen47379542016-11-27 16:54:33 +010030
matozoidf52d1ad2016-11-20 16:36:22 +010031Version 3.0.0-alpha.10
32------------------
33* 578 579 577 575 290 570 568 567 562 564 551 bug fixes and improvements
34
Danny van Bruggen02b3c5e2016-11-10 10:33:44 +010035Version 3.0.0-alpha.9
36------------------
37* 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.
matozoidd2c9f432016-11-13 17:29:38 +010038* 516 536 use Optional<> for return values.
matozoid789ddfe2016-11-13 17:33:43 +010039* 556 557 558 550 small improvements and fixes.
40* 560 559 make nodes observable.
Danny van Bruggen02b3c5e2016-11-10 10:33:44 +010041
matozoidaa79a622016-11-06 14:13:37 +010042Version 3.0.0-alpha.8
43------------------
44* 344 529 turn DumpVisitor into an official PrettyPrinter
45* 532 508 427 530 531 513 528 cleanups
46
matozoidde10e892016-10-26 19:48:54 +020047Version 3.0.0-alpha.7
48------------------
matozoid57a10942016-10-30 21:14:28 +010049* 515 roll back attempt at using Optional
50* 522 504 make NodeList not a Node (restores parent/children behaviour to before alpha.4)
51* 527 526 rename getChildrenNodes to getChildNodes
52* 525 495 520 bug fix
matozoidde10e892016-10-26 19:48:54 +020053
54Version 3.0.0-alpha.6
55------------------
56* 503 modified ImportDeclaration hierarchy to have getters for static and "asterisk" again
57* 506 bug fix
58
matozoid9ac80482016-10-16 22:08:51 +020059Version 3.0.0-alpha.5
60------------------
61* 451 null is no longer allowed in the AST. [See last post in issue](https://github.com/javaparser/javaparser/issues/451)
62* 501 421 420 316 use a special type of list for nodes: NodeList. [See last post in issue](https://github.com/javaparser/javaparser/issues/421)
63
matozoid93c5ac12016-10-09 22:03:29 +020064Version 3.0.0-alpha.4
65------------------
66* 463 471 nodes can now be removed easily
67* 491 import handling changed. Instead of "ImportDeclaration", we now have the four types of import as described in the JLS. [See issue](https://github.com/javaparser/javaparser/pull/491)
68* 452 355 474 494 various improvements
69* 493 492 485 Simplify the JavaParser interface
70
matozoid6ea2c522016-09-30 18:55:44 +020071Version 3.0.0-alpha.3
72------------------
matozoid93c5ac12016-10-09 22:03:29 +020073* 112 237 466 465 461 460 458 457 fundamentally changes how we deal with arrays. [It is explained in the last post here](https://github.com/javaparser/javaparser/issues/237)
matozoid6ea2c522016-09-30 18:55:44 +020074* 472 456 makes the "data" field on every node more structured.
75* 477 468 refactor TypeArguments. You will find that TypeArguments is no longer a type, it is just a list in some nodes.
76* 482 adds the "nodeTypes" packages to the osgi export.
77* 479 476 makes all setters on nodes return this so they become chainable.
78* 473 437 clean up CloneVisitor.
matozoid53d288a2016-07-18 13:32:44 +020079
matozoid6ea2c522016-09-30 18:55:44 +020080Version 3.0.0-alpha.2
81------------------
82* 157 a new parser frontend, check https://github.com/javaparser/javaparser/pull/447 for explanations
83* 435 more builder methods like 400 and 405
84* 111 440 443 444 445 446 bugs & cleanups
matozoid53d288a2016-07-18 13:32:44 +020085
matozoid6ea2c522016-09-30 18:55:44 +020086Version 3.0.0-alpha.1
87------------------
88* 400 405 introduce many "builder" style methods for constructing code. Thanks DeepSnowNeeL!
89* 409 remove ASTHelper (methods are now on specific Node subclasses)
90* 414 JavaParser can now be instantiated and reused. InstanceJavaParser removed
91* 418 417 411 408 bugs
92* 367 420 407 402 various cleanups
93
94Version 2.5.1
matozoid53d288a2016-07-18 13:32:44 +020095-------------
matozoid6ea2c522016-09-30 18:55:44 +020096* 394 OSGi manifest added
97* 391 fix ModifierVisitor NullPointerException bug
98* 385 a few new parse methods
99* 386 fix dumping an empty import (a single ; after the package declaration)
matozoid53d288a2016-07-18 13:32:44 +0200100
101Version 2.5.0
102-------------
103API breaking changes:
104
105* 191: moved TreeVisitor to visitor package
106* 368, 162, 303, 302, 360: use correct type in some places.
107* 371: code is now compiled with Java 8
108* 342, 331: ModifierVisitorAdapter detects and removes broken nodes
109* 328, 270: upgrade JavaCC (use TokenMgrException now)
110Other changes:
111
112* 297: enable access to tokens.
113* 341, 361: node positions are now OO
114* 211, 373: escaping of \n \r for string literals
115* 336, 276, 141: JavaDoc support now works
116* 337, 281: reorganize the stream reading code
117* 343, 309, 332, 57: take advantage of common interfaces
118* 329, 326, 327: deal with platform issues
119* 163, 236, 252, 296, 269, 339, 321, 322, 252, 253, 293, 295: various fixes
120* 310, 311, 313, 301, 294: some code clean-ups
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +0200121
matozoid6ea2c522016-09-30 18:55:44 +0200122Version 2.4.0
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +0200123-------------
matozoid6ea2c522016-09-30 18:55:44 +0200124* several fixes in DumpVisitor for bugs due to lazy initialization
125* make TypeDeclaration implements DocumentableNode directly
126* TypedNode interface introduced
127* introduce MultiBoundType
128* refactored IntersectionType and UnionType
129* refactored CatchClause
130* parsing annotations in throws declarations
131* parse orphan semicolons in import statements
132* added PackageDeclaration.getPackageName
133* solved issue with newlines in string literals
134* fixed handling of UnknownType in EqualsVisitor
135* improvements to CommentsParser
136* removing old grammar
matozoid13818472016-08-23 22:03:06 +0200137
matozoid6ea2c522016-09-30 18:55:44 +0200138Version 2.3.0
139-------------
140* ClassOrInterfaceType implements NamedNode
141* DumpVisitor can now be extended
142* Improved documentation
143* AST: lists are now lazy initialized
matozoid8669cf42016-09-30 18:39:12 +0200144
matozoideae61572016-09-30 18:57:34 +0200145Version 2.1.0-SNAPSHOT
146-------------
147* Features
148 * [#75 performance improvement for `PositionUtils.sortByBeginPosition`](https://github.com/javaparser/javaparser/issues/75)
149 * [#64 In getDeclarationAsString parameter names should be optional](https://github.com/javaparser/javaparser/issues/64)
150* Bugfixes
151 * [#79 Fix NPE in `ConstructorDeclaration.getDeclarationAsString`](https://github.com/javaparser/javaparser/pull/79)
152 * [#86 Add missing functions to ModifierVisitorAdapter](https://github.com/javaparser/javaparser/pull/86)
153 * [#82 set LambdaExpr as parent of its child nodes](https://github.com/javaparser/javaparser/issues/82)
154 * [#87 implement `setJavadoc` and `getJavadoc` at various classes](https://github.com/javaparser/javaparser/issues/87)
155 * [#96 Fixed encoding issue in `Javaparser.parse`](https://github.com/javaparser/javaparser/pull/96)
156 * [#85 Casting a lambda expression causes a parsing failure](https://github.com/javaparser/javaparser/issues/85)
157 * [#88 `MethodReferenceExpr` and `TypeExpr` don't set themselves as parents](https://github.com/javaparser/javaparser/issues/88)
158* Internal
159 * [#89 CommentsParser.State contains unused fields](https://github.com/javaparser/javaparser/issues/89)
160 * Switched from drone.io to [Travis](https://travis-ci.org/javaparser/javaparser)
161 * [#105 Enforce compiling the library for a certain Java version](https://github.com/javaparser/javaparser/pull/105)
162
163[Code changes](https://github.com/javaparser/javaparser/compare/javaparser-parent-2.0.0...master)
164
165Version 2.0.0
166-------------
167* support Java 8