Skip to content

Commit

Permalink
Update changelog, reflect impact of Apex Jorje update
Browse files Browse the repository at this point in the history
  • Loading branch information
jsotuyod committed Aug 12, 2017
1 parent 58e52a5 commit df0eba6
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/site/markdown/overview/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This is a major release.
* [Metrics Framework](#Metrics_Framework)
* [Configuration Error Reporting](#Configuration_Error_Reporting)
* [Java Symbol Table](#Java_Symbol_Table)
* [Apex Parser Update](#Apex_Parser_Update)
* [Modified Rules](#Modified_Rules)
* [Removed Rules](#Removed_Rules)
* [Fixed Issues](#Fixed_Issues)
Expand Down Expand Up @@ -83,9 +84,23 @@ and include them to such reports.

#### Java Symbol Table

* A [bug in symbol table](https://github.com/pmd/pmd/pull/549/commits/0958621ca884a8002012fc7738308c8dfc24b97c) prevented
the symbol table analysis to properly match primitive arrays types. The issue [affected the `java-unsedcode/UnusedPrivateMethod`](https://github.com/pmd/pmd/issues/521)
rule, but other rules may now produce improved results as consequence of this fix.
A [bug in symbol table](https://github.com/pmd/pmd/pull/549/commits/0958621ca884a8002012fc7738308c8dfc24b97c) prevented
the symbol table analysis to properly match primitive arrays types. The issue [affected the `java-unsedcode/UnusedPrivateMethod`](https://github.com/pmd/pmd/issues/521)
rule, but other rules may now produce improved results as consequence of this fix.

#### Apex Parser Update

The Apex parser version was bumped, from `1.0-sfdc-187` to `1.0-sfdc-224`. This update let us take full advatange
of the latest improvements from Salesforce, but introduces some breaking changes:
* `BlockStatements` are now created for all control structures, even if no brace is used. We have therefore added
a `hasCurlyBrace` method to differentiate between both scenarios.
* New AST node types are available. In particular `CastExpression`, `ConstructorPreamble`, `IllegalStoreExpression`,
`MethodBlockStatement`, `Modifier`, `MultiStatement`, `NestedExpression`, `NestedStoreExpression`,
`NewKeyValueObjectExpression` and `StatementExecuted`
* Some nodes have been removed. Such is the case of `TestNode`, `DottedExpression` and `NewNameValueObjectExpression`
(replaced by `NewKeyValueObjectExpression`)

Al existing rules have been updated to reflect these changes. If you have custom rules, be sure to update them.

### Fixed Issues

Expand Down

0 comments on commit df0eba6

Please sign in to comment.