blob: 4d74042af68dbaa41fd173f38421b841a8411325 [file] [log] [blame] [view]
Danny van Bruggenac425492017-09-10 22:46:41 +02001Version 3.3.5
2------------------
3[issues resolved](https://github.com/javaparser/javaparser/milestone/57?closed=1)
4
Danny van Bruggenc2f83d12017-09-03 19:24:49 +02005Version 3.3.4
6------------------
7[issues resolved](https://github.com/javaparser/javaparser/milestone/56?closed=1)
8* `SourceZip` has been added.
9Use it to read source code from jars or zip files.
10Thank you @ryan-beckett !
11* JavaCC was upgraded to 7.0.2
12* A new option for the pretty printer was added.
13You can now wrap-and-column-align parameters of method calls.
14Thank you @tarilabs !
15
Danny van Bruggen0962cf82017-08-27 20:20:12 +020016Version 3.3.3
17------------------
18[issues resolved](https://github.com/javaparser/javaparser/milestone/55?closed=1)
19* Parsing a partial java file (like an expression or statement) no longer ignores trailing code.
20* New memory saving option: turn off token list.
21
Danny van Bruggenb20badc2017-08-20 23:08:26 +020022Version 3.3.2
23------------------
24[issues resolved](https://github.com/javaparser/javaparser/milestone/54?closed=1)
Sebastian Kürtena6cbccd2017-08-25 11:14:35 +020025* `VisitorMap` lets you override hashcode/equals for nodes when used as a key for a map.
Danny van Bruggenb20badc2017-08-20 23:08:26 +020026
Danny van Bruggene40e4e22017-08-13 22:26:18 +020027Version 3.3.1
28------------------
29[issues resolved](https://github.com/javaparser/javaparser/milestone/53?closed=1)
30* The token list is now mutable - see methods on `JavaToken`.
31This caused mild breakage - some fields have become `Optional`.
32
Danny van Bruggen3cd1be02017-07-26 19:31:35 +020033Version 3.3.0
34------------------
35[issues resolved](https://github.com/javaparser/javaparser/milestone/52?closed=1)
36* Breaking: `TryStmt::tryBlock` and `EnclosedExpr::inner` were optional for no good reason. Now they are required.
37* You can now ask a `JavaToken` for its category, which is useful for examining the token list or doing syntax highlighting or so.
38* `enum` and `strictfp` can now be used as identifiers on lower Java versions.
39
Danny van Bruggen5e6d7292017-07-16 22:19:10 +020040Version 3.2.12
41------------------
42[issues resolved](https://github.com/javaparser/javaparser/milestone/51?closed=1)
43
Danny van Bruggen969b7f62017-07-10 21:03:41 +020044Version 3.2.11
45------------------
46[issues resolved](https://github.com/javaparser/javaparser/milestone/50?closed=1)
47* We're up to date with the latest Java 9 module system again.
48
Danny van Bruggen3d195982017-07-05 12:02:09 +020049Version 3.2.10
Danny van Bruggenb5b70ee2017-07-02 20:36:42 +020050------------------
51[issues resolved](https://github.com/javaparser/javaparser/milestone/49?closed=1)
52* `Node.replace(old, new)` was added, including property-specific `X.replaceY(newY)` methods
53
Danny van Bruggen3d195982017-07-05 12:02:09 +020054Version 3.2.9
55------------------
56Scrapped due to release problem.
57
Danny van Bruggen1fb7c9d2017-06-18 18:10:59 +020058Version 3.2.8
59------------------
60[issues resolved](https://github.com/javaparser/javaparser/milestone/48?closed=1)
61* Added `isInnerClass()` that checks if a `ClassOrInterfaceDeclaration` is an inner class (note: this is different from a nested class!)
62* @ryan-beckett contributed a huge [Eclipse setup guide](https://github.com/javaparser/javaparser/wiki/Eclipse-Project-Setup-Guide)
63
Danny van Bruggenc7f87802017-06-11 15:57:27 +020064Version 3.2.7
65------------------
66[issues resolved](https://github.com/javaparser/javaparser/milestone/47?closed=1)
67* We now recover from some parse errors! [Here is an article](https://matozoid.github.io/2017/06/11/parse-error-recovery.html)
68
Danny van Bruggen9250ffa2017-06-04 20:50:37 +020069Version 3.2.6
70------------------
71[issues resolved](https://github.com/javaparser/javaparser/milestone/46?closed=1)
72* `EmptyMemberDeclaration` is gone!
73It was deprecated for a while because it it was in the AST, but doesn't have any meaning in a Java program.
74`EmptyStmt` was also deprecated, but that has been reverted.
75This node *does* have meaning.
76
Danny van Bruggenee5691c2017-05-22 19:47:13 +020077Version 3.2.5
78------------------
79[issues resolved](https://github.com/javaparser/javaparser/milestone/45?closed=1)
80* `NodeWithCondition` was added on all nodes containing a condition.
81* Lots of work on improving lexical preservation.
82* If a file was parsed from a file system, you can now get path information etc. from `CompilationUnit`
83* API BREAKING: every node now points to its start and end token.
84Some of the API has started returning `TokenRange` instead of `Range` - you can call `toRange` to get the old object type.
85We may still change the naming of some of this code in the following month.
86
Danny van Bruggen5201adc2017-05-14 14:00:56 +020087Version 3.2.4
88------------------
89New style changelog, no more issue numbers, but a link:
90[issues resolved](https://github.com/javaparser/javaparser/milestone/44?closed=1)
91and any notable changes:
92* the new method `Node.removeForced()` by removing it, or removing the first parent that is optional.
93This is different from `Node.remove()`, `remove()` only tries to remove the node from the parent and fails if it can't.
94* `FieldAccessExpr.scope` is now a required property.
95You might find some `get()`s in your code that are no longer necessary.
96* `ReferenceType` no longer has a type parameter, so every `ReferenceType<?>` can be replaced by `ReferenceType` now.
97
Danny van Bruggen9c513212017-04-30 22:15:44 +020098Version 3.2.3
99------------------
100* 907 906 905 903 911 910 909 908 smaller improvements and fixes
101
Danny van Bruggendc8077a2017-04-23 12:04:03 +0200102Version 3.2.2
103------------------
104Beta: `TreeStructureVisitor`.
105
106* 770 902 904 901 smaller improvements and fixes
107
Danny van Bruggen28cf0be2017-04-16 15:05:10 +0200108Version 3.2.1
109------------------
110Beta: `TreeStructureVisitor`.
111
112* Maven dependencies were updated to their latest versions
113* 890 the concept of "method signature" now exists in JavaParser
114* 896 891 889 887 882 789 smaller improvements and fixes
115
Danny van Bruggen7a3b9602017-04-02 21:39:40 +0200116Version 3.2.0
117------------------
118The lexical preservation code is stable!
119
120Beta: `TreeStructureVisitor`.
121
122* 885 884 879 878 smaller improvements and fixes
123
Danny van Bruggencadeeb52017-03-26 20:40:56 +0200124Version 3.1.4
125------------------
126This is the first version to parse Java 9.
127
128Beta: `TreeStructureVisitor`, and `LexicalPreservingPrinter`.
129
130* 872 873 874 787 Remaining Java 9 work.
131
Danny van Bruggen64dd2802017-03-19 13:52:35 +0100132Version 3.1.3
133------------------
134Beta: `TreeStructureVisitor`, and `LexicalPreservingPrinter`.
135
136A start has been made on source level support. The default level is Java 8.
137It can be set to Java 9 like this for a parser *instance*:
138```java
139private final JavaParser parser = new JavaParser(new ParserConfiguration().setValidator(new Java9Validator()));
140```
141and like this for the static parse methods:
142```java
143JavaParser.getStaticConfiguration().setValidator(new Java9Validator());
144```
145
146* 862 552 "_" is an illegal identifier on source level 9.
147* 869 867 109 855 857 smaller improvements and fixes
148
Danny van Bruggen79776b72017-03-11 15:07:40 +0100149Version 3.1.2
150------------------
151Beta: `TreeStructureVisitor`, `ConcreteSyntaxModel`, and `LexicalPreservingPrinter`.
152
153* 594 849 831 a validation framework was introduced to inform about problems in the AST without needing to change the grammar,
154and without requiring parsing code.
155It is open for extension by users.
156* 852 853 826 832 846 839 smaller improvements and fixes
157
Danny van Bruggenf50a5512017-03-04 18:14:46 +0100158Version 3.1.1
159------------------
160Beta: `TreeStructureVisitor`, `ConcreteSyntaxModel`, and `LexicalPreservingPrinter`.
161
162* 654 124 lexical preservation (printing source code with the same formatting it had when parsing) has been added.
163 Thank you @ftomassetti for a lot of work!
164* 554 800 first (big) step towards Java 9 support: JavaParser can read project Jigsaw module definitions.
165* 795 786 751 extend the TreeVisitor with more traversal options. Thanks @ryan-beckett!
166* 791 `GenericListVisitorAdapter` has been added which collects its results in a list. Thanks @Gottox!
167* 815 798 797 813 clean up Problem text
168* 819 818 817 816 441 809 808 807 fix various absurd annotation related issues.
169* 777 805 802 796 790 792 793 781 784 785 783 782 779 357 799 763 smaller improvements and fixes
170
Danny van Bruggen076d3ee2017-02-19 22:56:24 +0100171Version 3.1.0
172------------------
Danny van Bruggenf50a5512017-03-04 18:14:46 +0100173Beta: `TreeStructureVisitor` and `ConcreteSyntaxModel`.
Danny van Bruggen076d3ee2017-02-19 22:56:24 +0100174
175* 705 755 Add the concrete syntax model, which will give you information about the exact syntax a certain nodes matches.
176
177* 777 smaller improvements and fixes
178
Danny van Bruggenadae33f2017-02-14 19:59:50 +0100179Version 3.1.0-beta.2
180------------------
181This version is a beta because `TreeStructureVisitor` is not in its definite state yet.
182
183* 762 761 772 merge `javaparser-metamodel` and `javaparser-generator-utils` into `javaparser-core`.
184* 766 the `ModifierVisitor` is now created by a code generator. Its behaviour has been made logical, and may give different results than before.
185* 755 `ConstructorDeclaration` and `MethodDeclaration` now share a parent: `CallableDeclaration`
186* 687 759 773 769 768 767 765 759 smaller improvements and fixes
187
Danny van Bruggen23d54772017-02-05 16:21:16 +0100188Version 3.1.0-beta.1
Danny van Bruggen70f343e2017-01-28 14:07:25 +0100189------------------
Danny van Bruggen23d54772017-02-05 16:21:16 +0100190This version is a beta because there are a lot of new features that may still change.
191
192This version needs a minor version increase because of a backwards compatability issue:
193* 719 `getJavadoc`, `getJavadocComment` and `getComment` could return null. Our promise was to return `Optional`, so that is what they do now.
Danny van Bruggen70f343e2017-01-28 14:07:25 +0100194
195New:
Danny van Bruggene6079d82017-02-05 16:50:01 +0100196* 658 718 736 737 we have created a metamodel.
Danny van Bruggen23d54772017-02-05 16:21:16 +0100197It gives information about the structure of the various AST nodes, as if you are introspecting them.
198You can find it in `javaparser-metamodel`, the main class is `JavaParserMetaModel`
Danny van Bruggene6079d82017-02-05 16:50:01 +0100199* 353 365 visitors are no longer hand made, they are now generated from the metamodel. This should make them 100% reliable.
Danny van Bruggen23d54772017-02-05 16:21:16 +0100200Affected visitors are: `GenericVisitorAdapter`, `EqualsVisitor`, `VoidVisitorAdapter`, `VoidVisitor`, `GenericVisitor`, `HashCodeVisitor`, `CloneVisitor`.
201
202If you want to generate your own visitors, you can use the `VisitorGenerator` class from `javaparser-core-generators`
203
204If you want to reuse the code generation utilities, look at module `javaparser-generator-utils` - there is a very useful `SourceRoot` class in there that takes away a lot of file management troubles.
Danny van Bruggene6079d82017-02-05 16:50:01 +0100205* 538 735 `TreeStructureVisitor` has been added, which should be considered beta.
206* 220 733 717 749 745 750 743 748 666 732 746 734 733 smaller improvements and fixes
Danny van Bruggen70f343e2017-01-28 14:07:25 +0100207
Danny van Bruggenc5f6e9b2017-01-15 20:58:52 +0100208Version 3.0.1
209------------------
210* 699 433 325 Javadoc can now be parsed
211* 703 696 added NodeWithOptionalScope
212* 702 FieldAccessExpr now implements NodeWithSimpleName, *which means that "field" has been renamed to "name"*
213* 707 706 improve range of array types and levels
214* 709 smaller improvements and fixes
215
Danny van Bruggen1804ea22017-01-07 23:06:22 +0100216Version 3.0.0
217------------------
218* 695 697 689 680 693 691 682 690 677 679 688 684 683 smaller improvements and fixes
219
Danny van Bruggene11ed222016-12-24 22:25:49 +0100220Version 3.0.0-RC.4
221------------------
222* 668 669 TypeDeclarationStmt became LocalClassDeclarationStmt
223* 347 665 every node now has some documentation
224* 660 670 673 four types of import declaration have been merged back into the old ImportDeclaration
225* 659 The pretty printer can now take customized visitors
226* 650 671 672 674 524 smaller improvements and fixes
227
Danny van Bruggenfc9c4a92016-12-18 23:13:10 +0100228Version 3.0.0-RC.3
229------------------
230* 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
231
Danny van Bruggendd5d4d02016-12-09 16:40:59 +0100232Version 3.0.0-RC.2
233------------------
234* 593 EmptyImportDeclaration and NonEmptyImportDeclaration have been removed
235* 612 VariableDeclaratorId has been removed. It has been substituted by "SimpleName name"
236* 614 617 the list of tokens has been linearized and simplified
237* 615 support for arrays has once more been changed. See [the issue](https://github.com/javaparser/javaparser/issues/592)
238* 580 453 380 618 580 611 610 424 608 smaller improvements and fixes
239
Danny van Bruggen61aaeaf2016-12-01 18:37:11 +0100240Version 3.0.0-RC.1
241------------------
242* 499 601 renames many fields to be more consistent
243* 596 605 602 604 smaller improvements and fixes
244
Danny van Bruggen47379542016-11-27 16:54:33 +0100245Version 3.0.0-alpha.11
246------------------
247* 547 595 Node.range is now using Optional instead of Range.UNKNOWN
Danny van Bruggen6738e1c2016-11-28 19:46:45 +0100248* 584 588 548 585 bug fixes and improvements
Danny van Bruggen47379542016-11-27 16:54:33 +0100249
matozoidf52d1ad2016-11-20 16:36:22 +0100250Version 3.0.0-alpha.10
251------------------
252* 578 579 577 575 290 570 568 567 562 564 551 bug fixes and improvements
253
Danny van Bruggen02b3c5e2016-11-10 10:33:44 +0100254Version 3.0.0-alpha.9
255------------------
256* 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 +0100257* 516 536 use Optional<> for return values.
matozoid789ddfe2016-11-13 17:33:43 +0100258* 556 557 558 550 small improvements and fixes.
259* 560 559 make nodes observable.
Danny van Bruggen02b3c5e2016-11-10 10:33:44 +0100260
matozoidaa79a622016-11-06 14:13:37 +0100261Version 3.0.0-alpha.8
262------------------
263* 344 529 turn DumpVisitor into an official PrettyPrinter
264* 532 508 427 530 531 513 528 cleanups
265
matozoidde10e892016-10-26 19:48:54 +0200266Version 3.0.0-alpha.7
267------------------
matozoid57a10942016-10-30 21:14:28 +0100268* 515 roll back attempt at using Optional
269* 522 504 make NodeList not a Node (restores parent/children behaviour to before alpha.4)
270* 527 526 rename getChildrenNodes to getChildNodes
271* 525 495 520 bug fix
matozoidde10e892016-10-26 19:48:54 +0200272
273Version 3.0.0-alpha.6
274------------------
275* 503 modified ImportDeclaration hierarchy to have getters for static and "asterisk" again
276* 506 bug fix
277
matozoid9ac80482016-10-16 22:08:51 +0200278Version 3.0.0-alpha.5
279------------------
280* 451 null is no longer allowed in the AST. [See last post in issue](https://github.com/javaparser/javaparser/issues/451)
281* 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)
282
matozoid93c5ac12016-10-09 22:03:29 +0200283Version 3.0.0-alpha.4
284------------------
285* 463 471 nodes can now be removed easily
286* 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)
287* 452 355 474 494 various improvements
288* 493 492 485 Simplify the JavaParser interface
289
matozoid6ea2c522016-09-30 18:55:44 +0200290Version 3.0.0-alpha.3
291------------------
matozoid93c5ac12016-10-09 22:03:29 +0200292* 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 +0200293* 472 456 makes the "data" field on every node more structured.
294* 477 468 refactor TypeArguments. You will find that TypeArguments is no longer a type, it is just a list in some nodes.
295* 482 adds the "nodeTypes" packages to the osgi export.
296* 479 476 makes all setters on nodes return this so they become chainable.
297* 473 437 clean up CloneVisitor.
matozoid53d288a2016-07-18 13:32:44 +0200298
matozoid6ea2c522016-09-30 18:55:44 +0200299Version 3.0.0-alpha.2
300------------------
301* 157 a new parser frontend, check https://github.com/javaparser/javaparser/pull/447 for explanations
302* 435 more builder methods like 400 and 405
303* 111 440 443 444 445 446 bugs & cleanups
matozoid53d288a2016-07-18 13:32:44 +0200304
matozoid6ea2c522016-09-30 18:55:44 +0200305Version 3.0.0-alpha.1
306------------------
307* 400 405 introduce many "builder" style methods for constructing code. Thanks DeepSnowNeeL!
308* 409 remove ASTHelper (methods are now on specific Node subclasses)
309* 414 JavaParser can now be instantiated and reused. InstanceJavaParser removed
310* 418 417 411 408 bugs
311* 367 420 407 402 various cleanups
312
313Version 2.5.1
matozoid53d288a2016-07-18 13:32:44 +0200314-------------
matozoid6ea2c522016-09-30 18:55:44 +0200315* 394 OSGi manifest added
316* 391 fix ModifierVisitor NullPointerException bug
317* 385 a few new parse methods
318* 386 fix dumping an empty import (a single ; after the package declaration)
matozoid53d288a2016-07-18 13:32:44 +0200319
320Version 2.5.0
321-------------
322API breaking changes:
323
324* 191: moved TreeVisitor to visitor package
325* 368, 162, 303, 302, 360: use correct type in some places.
326* 371: code is now compiled with Java 8
327* 342, 331: ModifierVisitorAdapter detects and removes broken nodes
328* 328, 270: upgrade JavaCC (use TokenMgrException now)
329Other changes:
330
331* 297: enable access to tokens.
332* 341, 361: node positions are now OO
333* 211, 373: escaping of \n \r for string literals
334* 336, 276, 141: JavaDoc support now works
335* 337, 281: reorganize the stream reading code
336* 343, 309, 332, 57: take advantage of common interfaces
337* 329, 326, 327: deal with platform issues
338* 163, 236, 252, 296, 269, 339, 321, 322, 252, 253, 293, 295: various fixes
339* 310, 311, 313, 301, 294: some code clean-ups
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +0200340
matozoid6ea2c522016-09-30 18:55:44 +0200341Version 2.4.0
Danny van Bruggen5f5c6cc2016-07-20 13:40:30 +0200342-------------
matozoid6ea2c522016-09-30 18:55:44 +0200343* several fixes in DumpVisitor for bugs due to lazy initialization
344* make TypeDeclaration implements DocumentableNode directly
345* TypedNode interface introduced
346* introduce MultiBoundType
347* refactored IntersectionType and UnionType
348* refactored CatchClause
349* parsing annotations in throws declarations
350* parse orphan semicolons in import statements
351* added PackageDeclaration.getPackageName
352* solved issue with newlines in string literals
353* fixed handling of UnknownType in EqualsVisitor
354* improvements to CommentsParser
355* removing old grammar
matozoid13818472016-08-23 22:03:06 +0200356
matozoid6ea2c522016-09-30 18:55:44 +0200357Version 2.3.0
358-------------
359* ClassOrInterfaceType implements NamedNode
360* DumpVisitor can now be extended
361* Improved documentation
362* AST: lists are now lazy initialized
matozoid8669cf42016-09-30 18:39:12 +0200363
Danny van Bruggen27b32072017-02-19 23:27:37 +0100364Version 2.1.0
matozoideae61572016-09-30 18:57:34 +0200365-------------
366* Features
367 * [#75 performance improvement for `PositionUtils.sortByBeginPosition`](https://github.com/javaparser/javaparser/issues/75)
368 * [#64 In getDeclarationAsString parameter names should be optional](https://github.com/javaparser/javaparser/issues/64)
369* Bugfixes
370 * [#79 Fix NPE in `ConstructorDeclaration.getDeclarationAsString`](https://github.com/javaparser/javaparser/pull/79)
371 * [#86 Add missing functions to ModifierVisitorAdapter](https://github.com/javaparser/javaparser/pull/86)
372 * [#82 set LambdaExpr as parent of its child nodes](https://github.com/javaparser/javaparser/issues/82)
373 * [#87 implement `setJavadoc` and `getJavadoc` at various classes](https://github.com/javaparser/javaparser/issues/87)
374 * [#96 Fixed encoding issue in `Javaparser.parse`](https://github.com/javaparser/javaparser/pull/96)
375 * [#85 Casting a lambda expression causes a parsing failure](https://github.com/javaparser/javaparser/issues/85)
376 * [#88 `MethodReferenceExpr` and `TypeExpr` don't set themselves as parents](https://github.com/javaparser/javaparser/issues/88)
377* Internal
378 * [#89 CommentsParser.State contains unused fields](https://github.com/javaparser/javaparser/issues/89)
379 * Switched from drone.io to [Travis](https://travis-ci.org/javaparser/javaparser)
380 * [#105 Enforce compiling the library for a certain Java version](https://github.com/javaparser/javaparser/pull/105)
381
382[Code changes](https://github.com/javaparser/javaparser/compare/javaparser-parent-2.0.0...master)
383
384Version 2.0.0
385-------------
386* support Java 8
Danny van Bruggen27b32072017-02-19 23:27:37 +0100387
388Version 1.0.8 (2010-01-17)
389-------------
390* Fixed issues:
391 * Issue 17: A refactor suggestion for AnnotationExpr and its subclasses
392 * Issue 21: Java 5 JavaParser compiled JARs
393 * Issue 22: Please use java.lang.reflect.Modifier constants in japa.parser.ast.body.ModifierSet
394 * Issue 27: Implement the "equal" method
395 * Issue 30: equals and hashCode methods
396
397Version 1.0.7 (2009-04-12)
398-------------
399* Issue 19 fixed:
400* Tests changed to run with junit 4
401
402Version 1.0.6 (2009-01-11)
403-------------
404* Issue 11 fixed: changed method get/setPakage to get/setPackage in the class CompilationUnit
405* Created new visitor adapter to help AST modification: ModifierVisitorAdapter
406* Changed visitor adapters to abstract
407
408Version 1.0.5 (2008-10-26)
409-------------
410* Created simplified constructors in the nodes of the AST (without positional arguments)
411* Created ASTHelper class with some helpful methods (more methods are still needed)
412
413Version 1.0.4 (2008-10-07)
414-------------
415* Moved to javacc 4.1.
416* The java_1_5.jj can be build alone without compilation errors
417
418Version 1.0.3 (2008-09-06)
419-------------
420* Removed SuperMemberAccessExpr class, it was no longer used
421* Removed the methods get/setTypeArgs() from ArrayCreationExpr, this node shouldn't have these methods.
422* Fixed the bug with start/end position of the nodes IntegerLiteralMinValueExpr and LongLiteralMinValueExpr
423* The methods get/setAnnotations() from all BodyDeclaration subclasses were pushed down to BodyDeclaration class
424
425Version 1.0.2 (2008-07-20)
426-------------
427* Issue fixed: Issue 1: Add support for editing AST nodes or create new ones
428
429Version 1.0.1 (2008-07-01)
430-------------
431* Issue fixed: Issue 5: end line and end column equal to begin line and begin column
432
433Version 1.0.0 (2008-06-25)
434-------------
435* Changed version numbering, starting version 1.0.0
436* Javadoc done for packages:
437 * japa.parser
438 * japa.parser.ast
439* Corrected bug when parsing in multithread:
440 * JavaParser.setCacheParser(false) must be called before to use the parser concurrent
441
4422008-06-19
443-------------
444* No code changes, added binary distribution to download page
445
4462008-06-11
447-------------
448* Bug corrected: NPE in VoidVisitorAdapter
449 * http://code.google.com/p/javaparser/issues/detail?id=2
450
4512008-06-09
452-------------
453* Added Adapters for de visitors
454
4552008-05-28
456-------------
457* This project now is published at Google Code:
458 * http://code.google.com/p/javaparser/
459
4602008-05-25
461-------------
462* Added support for comments and javadoc to the tree.
463 * Javadocs are stored directly to members (BodyDeclaration and all deriveds (classes, methods, fields, etc.)), accessible by the method getJavadoc().
464 * All comments are stored in the CompilationUnit, accessible by the method getComments().
465
4662008-04-01
467-------------
468* Changed all nodes public attributes to be private and created getters to access them
469* Changed the methods of the Node getLine e getColumn to getBeginLine and getBeginColumn
470* Added the methods getEndLine and getEndColumn to the Node class (works only in the BlockNode)
471
4722007-12-22
473-------------
474* Corrected ConditionalExpression bug
475
4762007-10-21
477-------------
478* Added LGPL License
479
4802007-10-21
481-------------
482* Bugs corrected:
483 * Created PackageDeclaration member of CompilationUnit to add suport for annotations in the package declaration
484 * Parameterized anonymous constructor invocation
485 * Explicit constructor invotation Type Arguments
486 * ctrl+z ("\u001A") ar end of compilation unit
487
4882007-10-09
489-------------
490* EnumConstantDeclaration annotation support corrected
491* Parssing Java Unicode escape characters suport added
492
4932007-10-03
494-------------
495* Bug corrected: "MotifComboPopup.this.super()" statement was generating parser error
496
4972007-10-01
498-------------
499* Bug corrected: Casting signed primitive values
500```
501 double d = (double) -1;
502 ^
503```
5042007-08-06
505-------------
506* Bug with the single line comments in the final of the unit corrected
507
5082007-07-31
509-------------
510* Fixed the bug with the following expression: `Class c = (int.class);`
511
5122007-06-26
513-------------
514* Bug fixes from Leon Poyyayil work
515 * suport for hex floating point
516 * unicode digits in indentifier
517 * MemberValueArrayInitializer
518
5192007-03-09
520-------------
521* Long and Integer literal MIN_VALUE bug
522
5232007-02-24
524-------------
525* '\0' bug fixed
526
5272007-02-01
528-------------
529* Many bug fixes
530* Added line/column to nodes