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