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