blob: 108a5b60cc508b8f8d035f613e03d72e3672cd21 [file] [log] [blame] [view]
matozoid6ea2c522016-09-30 18:55:44 +02001Version 3.0.0-alpha.3
2------------------
3* 112 237 466 465 461 460 458 457 fundamentally changes how we deal with arrays. It is explained in the last post of https://github.com/javaparser/javaparser/issues/237
4* 472 456 makes the "data" field on every node more structured.
5* 477 468 refactor TypeArguments. You will find that TypeArguments is no longer a type, it is just a list in some nodes.
6* 482 adds the "nodeTypes" packages to the osgi export.
7* 479 476 makes all setters on nodes return this so they become chainable.
8* 473 437 clean up CloneVisitor.
matozoid53d288a2016-07-18 13:32:44 +02009
matozoid6ea2c522016-09-30 18:55:44 +020010Version 3.0.0-alpha.2
11------------------
12* 157 a new parser frontend, check https://github.com/javaparser/javaparser/pull/447 for explanations
13* 435 more builder methods like 400 and 405
14* 111 440 443 444 445 446 bugs & cleanups
matozoid53d288a2016-07-18 13:32:44 +020015
matozoid6ea2c522016-09-30 18:55:44 +020016Version 3.0.0-alpha.1
17------------------
18* 400 405 introduce many "builder" style methods for constructing code. Thanks DeepSnowNeeL!
19* 409 remove ASTHelper (methods are now on specific Node subclasses)
20* 414 JavaParser can now be instantiated and reused. InstanceJavaParser removed
21* 418 417 411 408 bugs
22* 367 420 407 402 various cleanups
23
24Version 2.5.1
matozoid53d288a2016-07-18 13:32:44 +020025-------------
matozoid6ea2c522016-09-30 18:55:44 +020026* 394 OSGi manifest added
27* 391 fix ModifierVisitor NullPointerException bug
28* 385 a few new parse methods
29* 386 fix dumping an empty import (a single ; after the package declaration)
matozoid53d288a2016-07-18 13:32:44 +020030
31Version 2.5.0
32-------------
33API breaking changes:
34
35* 191: moved TreeVisitor to visitor package
36* 368, 162, 303, 302, 360: use correct type in some places.
37* 371: code is now compiled with Java 8
38* 342, 331: ModifierVisitorAdapter detects and removes broken nodes
39* 328, 270: upgrade JavaCC (use TokenMgrException now)
40Other changes:
41
42* 297: enable access to tokens.
43* 341, 361: node positions are now OO
44* 211, 373: escaping of \n \r for string literals
45* 336, 276, 141: JavaDoc support now works
46* 337, 281: reorganize the stream reading code
47* 343, 309, 332, 57: take advantage of common interfaces
48* 329, 326, 327: deal with platform issues
49* 163, 236, 252, 296, 269, 339, 321, 322, 252, 253, 293, 295: various fixes
50* 310, 311, 313, 301, 294: some code clean-ups
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +020051
matozoid6ea2c522016-09-30 18:55:44 +020052Version 2.4.0
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +020053-------------
matozoid6ea2c522016-09-30 18:55:44 +020054* several fixes in DumpVisitor for bugs due to lazy initialization
55* make TypeDeclaration implements DocumentableNode directly
56* TypedNode interface introduced
57* introduce MultiBoundType
58* refactored IntersectionType and UnionType
59* refactored CatchClause
60* parsing annotations in throws declarations
61* parse orphan semicolons in import statements
62* added PackageDeclaration.getPackageName
63* solved issue with newlines in string literals
64* fixed handling of UnknownType in EqualsVisitor
65* improvements to CommentsParser
66* removing old grammar
matozoid13818472016-08-23 22:03:06 +020067
matozoid6ea2c522016-09-30 18:55:44 +020068Version 2.3.0
69-------------
70* ClassOrInterfaceType implements NamedNode
71* DumpVisitor can now be extended
72* Improved documentation
73* AST: lists are now lazy initialized
matozoid8669cf42016-09-30 18:39:12 +020074
matozoideae61572016-09-30 18:57:34 +020075Version 2.1.0-SNAPSHOT
76-------------
77* Features
78 * [#75 performance improvement for `PositionUtils.sortByBeginPosition`](https://github.com/javaparser/javaparser/issues/75)
79 * [#64 In getDeclarationAsString parameter names should be optional](https://github.com/javaparser/javaparser/issues/64)
80* Bugfixes
81 * [#79 Fix NPE in `ConstructorDeclaration.getDeclarationAsString`](https://github.com/javaparser/javaparser/pull/79)
82 * [#86 Add missing functions to ModifierVisitorAdapter](https://github.com/javaparser/javaparser/pull/86)
83 * [#82 set LambdaExpr as parent of its child nodes](https://github.com/javaparser/javaparser/issues/82)
84 * [#87 implement `setJavadoc` and `getJavadoc` at various classes](https://github.com/javaparser/javaparser/issues/87)
85 * [#96 Fixed encoding issue in `Javaparser.parse`](https://github.com/javaparser/javaparser/pull/96)
86 * [#85 Casting a lambda expression causes a parsing failure](https://github.com/javaparser/javaparser/issues/85)
87 * [#88 `MethodReferenceExpr` and `TypeExpr` don't set themselves as parents](https://github.com/javaparser/javaparser/issues/88)
88* Internal
89 * [#89 CommentsParser.State contains unused fields](https://github.com/javaparser/javaparser/issues/89)
90 * Switched from drone.io to [Travis](https://travis-ci.org/javaparser/javaparser)
91 * [#105 Enforce compiling the library for a certain Java version](https://github.com/javaparser/javaparser/pull/105)
92
93[Code changes](https://github.com/javaparser/javaparser/compare/javaparser-parent-2.0.0...master)
94
95Version 2.0.0
96-------------
97* support Java 8