You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/02/13 11:28:12 UTC
[groovy-website] branch asf-site updated: GROOVY-9936: adjust
release notes
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new d1fa952 GROOVY-9936: adjust release notes
d1fa952 is described below
commit d1fa95235001ac257dac8dd7041e06fc2c88c807
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Feb 13 21:26:42 2021 +1000
GROOVY-9936: adjust release notes
---
site/src/site/releasenotes/groovy-3.0.adoc | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/site/src/site/releasenotes/groovy-3.0.adoc b/site/src/site/releasenotes/groovy-3.0.adoc
index 7b1296e..9345177 100644
--- a/site/src/site/releasenotes/groovy-3.0.adoc
+++ b/site/src/site/releasenotes/groovy-3.0.adoc
@@ -997,3 +997,18 @@ then you may need to tweak the wording in those tests
* Groovy is now more compliant with the JavaBeans specification for one edge case scenario
involving any field having a name starting with an uppercase letter
(link:https://issues.apache.org/jira/browse/GROOVY-9618[GROOVY-9618]).
+
+[[Groovy3.0releasenotes-3.0.8]]
+== Addendum for 3.0.8
+
+=== Breaking changes
+
+* A regression in the parser which distinguishes between variable declarations and command
+expressions for a particular edge case has been fixed to align with pre Groovy 3 behavior.
+Previously, expressions like `foo bar` and `pass:[_]foo bar` were treated
+as command expressions whereas `Foo bar` was deemed a variable expression.
+The `foo` and `Foo` cases remained unaltered but the `pass:[_]foo` case was
+unintentionally flipped. Anyone relying on the flipped behavior should change their code to align
+with previous behavior. The edge case only involves variable declarations
+with an explicit type where the type starts with a dollar or underscore character.
+(link:https://issues.apache.org/jira/browse/GROOVY-9936[GROOVY-9936]).