From b8e90e44d6acb52db4d1f8aa272d7c557f919fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Sotuyo=20Dodero?= Date: Wed, 25 Apr 2018 01:38:12 -0300 Subject: [PATCH] Update changelog, refs #778 --- docs/pages/release_notes.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index 20013d7118..1e511ebcd7 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -14,6 +14,7 @@ This is a minor release. * [New and noteworthy](#new-and-noteworthy) * [Tree transversal revision](#tree-transversal-revision) + * [Swift 4.1 Support](#swift-41-support) * [Fixed Issues](#fixed-issues) * [API Changes](#api-changes) * [External Contributions](#external-contributions) @@ -32,16 +33,32 @@ This change implies several false positives / unexpected results (ie: `ASTBlockS have been fixed; and lots of searches are now restricted to smaller search areas, which improves performance (depending on the project, we have measured up to 10% improvements during Type Resolution, Symbol Table analysis, and some rule's application). +#### Swift 4.1 Support + +Thanks to major contributions from [kenji21](https://github.com/kenji21) the Swift grammar has been updated to support Swift 4.1. +This is a major update, since the old grammar was quite dated, and we are sure all iOS developers will enjoy it. + +Unfortunately, this change is not compatible. The grammar elements that have been removed (ie: the keywords `__FILE__`, +`__LINE__`, `__COLUMN__` and `__FUNCTION__`) are no longer supported. We don't usually introduce such drastic / breaking +changes in minor releases, however, given that the whole Swift ecosystem pushes hard towards always using the latest +versions, and that Swift needs all code and libraries to be currently compiling against the same Swift version, +we felt strongly this change was both safe and necessary to be shipped as soon as possible. We had great feedback +from the comunity during the processm but if you have a legitimate use case for older Swift versions, please let us know +[on our Issue Tracke](https://github.com/pmd/pmd/issues). + ### Fixed Issues * documentation * [#994](https://github.com/pmd/pmd/issues/994): \[doc] Delete duplicate page contributing.md on the website * java-bestpracrtices * [#370](https://github.com/pmd/pmd/issues/370): \[java] GuardLogStatementJavaUtil not considering lambdas +* swift + * [#678](https://github.com/pmd/pmd/issues/678): \[swift][cpd] Exception when running for Swift 4 code (KeyPath) ### API Changes ### External Contributions +* [#778](https://github.com/pmd/pmd/pull/778): \[swift] Support Swift 4 grammar - [kenji21](https://github.com/kenji21) * [#1002](https://github.com/pmd/pmd/pull/1002): \[doc] Delete duplicate page contributing.md on the website - [Ishan Srivastava](https://github.com/ishanSrt) * [#1008](https://github.com/pmd/pmd/pull/1008): \[core] DOC: fix closing tag for <pmdVersion> - [stonio](https://github.com/stonio)