blob: 383b4e1310750070684c1819444e63cc8c30b39b [file] [log] [blame] [view]
Danny van Bruggen61aaeaf2016-12-01 18:37:11 +01001Version 3.0.0-RC.1
2------------------
3* 499 601 renames many fields to be more consistent
4* 596 605 602 604 smaller improvements and fixes
5
Danny van Bruggen47379542016-11-27 16:54:33 +01006Version 3.0.0-alpha.11
7------------------
8* 547 595 Node.range is now using Optional instead of Range.UNKNOWN
Danny van Bruggen6738e1c2016-11-28 19:46:45 +01009* 584 588 548 585 bug fixes and improvements
Danny van Bruggen47379542016-11-27 16:54:33 +010010
matozoidf52d1ad2016-11-20 16:36:22 +010011Version 3.0.0-alpha.10
12------------------
13* 578 579 577 575 290 570 568 567 562 564 551 bug fixes and improvements
14
Danny van Bruggen02b3c5e2016-11-10 10:33:44 +010015Version 3.0.0-alpha.9
16------------------
17* 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 +010018* 516 536 use Optional<> for return values.
matozoid789ddfe2016-11-13 17:33:43 +010019* 556 557 558 550 small improvements and fixes.
20* 560 559 make nodes observable.
Danny van Bruggen02b3c5e2016-11-10 10:33:44 +010021
matozoidaa79a622016-11-06 14:13:37 +010022Version 3.0.0-alpha.8
23------------------
24* 344 529 turn DumpVisitor into an official PrettyPrinter
25* 532 508 427 530 531 513 528 cleanups
26
matozoidde10e892016-10-26 19:48:54 +020027Version 3.0.0-alpha.7
28------------------
matozoid57a10942016-10-30 21:14:28 +010029* 515 roll back attempt at using Optional
30* 522 504 make NodeList not a Node (restores parent/children behaviour to before alpha.4)
31* 527 526 rename getChildrenNodes to getChildNodes
32* 525 495 520 bug fix
matozoidde10e892016-10-26 19:48:54 +020033
34Version 3.0.0-alpha.6
35------------------
36* 503 modified ImportDeclaration hierarchy to have getters for static and "asterisk" again
37* 506 bug fix
38
matozoid9ac80482016-10-16 22:08:51 +020039Version 3.0.0-alpha.5
40------------------
41* 451 null is no longer allowed in the AST. [See last post in issue](https://github.com/javaparser/javaparser/issues/451)
42* 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)
43
matozoid93c5ac12016-10-09 22:03:29 +020044Version 3.0.0-alpha.4
45------------------
46* 463 471 nodes can now be removed easily
47* 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)
48* 452 355 474 494 various improvements
49* 493 492 485 Simplify the JavaParser interface
50
matozoid6ea2c522016-09-30 18:55:44 +020051Version 3.0.0-alpha.3
52------------------
matozoid93c5ac12016-10-09 22:03:29 +020053* 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 +020054* 472 456 makes the "data" field on every node more structured.
55* 477 468 refactor TypeArguments. You will find that TypeArguments is no longer a type, it is just a list in some nodes.
56* 482 adds the "nodeTypes" packages to the osgi export.
57* 479 476 makes all setters on nodes return this so they become chainable.
58* 473 437 clean up CloneVisitor.
matozoid53d288a2016-07-18 13:32:44 +020059
matozoid6ea2c522016-09-30 18:55:44 +020060Version 3.0.0-alpha.2
61------------------
62* 157 a new parser frontend, check https://github.com/javaparser/javaparser/pull/447 for explanations
63* 435 more builder methods like 400 and 405
64* 111 440 443 444 445 446 bugs & cleanups
matozoid53d288a2016-07-18 13:32:44 +020065
matozoid6ea2c522016-09-30 18:55:44 +020066Version 3.0.0-alpha.1
67------------------
68* 400 405 introduce many "builder" style methods for constructing code. Thanks DeepSnowNeeL!
69* 409 remove ASTHelper (methods are now on specific Node subclasses)
70* 414 JavaParser can now be instantiated and reused. InstanceJavaParser removed
71* 418 417 411 408 bugs
72* 367 420 407 402 various cleanups
73
74Version 2.5.1
matozoid53d288a2016-07-18 13:32:44 +020075-------------
matozoid6ea2c522016-09-30 18:55:44 +020076* 394 OSGi manifest added
77* 391 fix ModifierVisitor NullPointerException bug
78* 385 a few new parse methods
79* 386 fix dumping an empty import (a single ; after the package declaration)
matozoid53d288a2016-07-18 13:32:44 +020080
81Version 2.5.0
82-------------
83API breaking changes:
84
85* 191: moved TreeVisitor to visitor package
86* 368, 162, 303, 302, 360: use correct type in some places.
87* 371: code is now compiled with Java 8
88* 342, 331: ModifierVisitorAdapter detects and removes broken nodes
89* 328, 270: upgrade JavaCC (use TokenMgrException now)
90Other changes:
91
92* 297: enable access to tokens.
93* 341, 361: node positions are now OO
94* 211, 373: escaping of \n \r for string literals
95* 336, 276, 141: JavaDoc support now works
96* 337, 281: reorganize the stream reading code
97* 343, 309, 332, 57: take advantage of common interfaces
98* 329, 326, 327: deal with platform issues
99* 163, 236, 252, 296, 269, 339, 321, 322, 252, 253, 293, 295: various fixes
100* 310, 311, 313, 301, 294: some code clean-ups
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +0200101
matozoid6ea2c522016-09-30 18:55:44 +0200102Version 2.4.0
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +0200103-------------
matozoid6ea2c522016-09-30 18:55:44 +0200104* several fixes in DumpVisitor for bugs due to lazy initialization
105* make TypeDeclaration implements DocumentableNode directly
106* TypedNode interface introduced
107* introduce MultiBoundType
108* refactored IntersectionType and UnionType
109* refactored CatchClause
110* parsing annotations in throws declarations
111* parse orphan semicolons in import statements
112* added PackageDeclaration.getPackageName
113* solved issue with newlines in string literals
114* fixed handling of UnknownType in EqualsVisitor
115* improvements to CommentsParser
116* removing old grammar
matozoid13818472016-08-23 22:03:06 +0200117
matozoid6ea2c522016-09-30 18:55:44 +0200118Version 2.3.0
119-------------
120* ClassOrInterfaceType implements NamedNode
121* DumpVisitor can now be extended
122* Improved documentation
123* AST: lists are now lazy initialized
matozoid8669cf42016-09-30 18:39:12 +0200124
matozoideae61572016-09-30 18:57:34 +0200125Version 2.1.0-SNAPSHOT
126-------------
127* Features
128 * [#75 performance improvement for `PositionUtils.sortByBeginPosition`](https://github.com/javaparser/javaparser/issues/75)
129 * [#64 In getDeclarationAsString parameter names should be optional](https://github.com/javaparser/javaparser/issues/64)
130* Bugfixes
131 * [#79 Fix NPE in `ConstructorDeclaration.getDeclarationAsString`](https://github.com/javaparser/javaparser/pull/79)
132 * [#86 Add missing functions to ModifierVisitorAdapter](https://github.com/javaparser/javaparser/pull/86)
133 * [#82 set LambdaExpr as parent of its child nodes](https://github.com/javaparser/javaparser/issues/82)
134 * [#87 implement `setJavadoc` and `getJavadoc` at various classes](https://github.com/javaparser/javaparser/issues/87)
135 * [#96 Fixed encoding issue in `Javaparser.parse`](https://github.com/javaparser/javaparser/pull/96)
136 * [#85 Casting a lambda expression causes a parsing failure](https://github.com/javaparser/javaparser/issues/85)
137 * [#88 `MethodReferenceExpr` and `TypeExpr` don't set themselves as parents](https://github.com/javaparser/javaparser/issues/88)
138* Internal
139 * [#89 CommentsParser.State contains unused fields](https://github.com/javaparser/javaparser/issues/89)
140 * Switched from drone.io to [Travis](https://travis-ci.org/javaparser/javaparser)
141 * [#105 Enforce compiling the library for a certain Java version](https://github.com/javaparser/javaparser/pull/105)
142
143[Code changes](https://github.com/javaparser/javaparser/compare/javaparser-parent-2.0.0...master)
144
145Version 2.0.0
146-------------
147* support Java 8