Skip to content

Commit 03ada06

Browse files
committed
Prepare M4 Release Notes
1 parent 509cc80 commit 03ada06

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

docs/release_notes.adoc

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,41 @@ include::include.adoc[]
33

44
== 2.0-M4 (tbd)
55

6+
- *Added <<parallel_execution.adoc#parallel-execution,Parallel Execution>> support*
7+
68
- Add a way to register `ConfigurationObject` globally without the need for a global extension.
79

810
- Annotations for local extensions can now be defined as `@Repeatable` and applied multiple times to the same target.
911
Spock will handle this appropriately and call the extensions `visitSpecAnnotations` method with all annotations.
1012
If these methods are not overwritten, they forward to the usual `visitSpecAnnotation` methods once for each annotation.
1113

12-
- `AbstractAnnotationDrivenExtension` is now deprecated and its logic was moved to `default` methods of
13-
`IAnnotationDrivenExtension` which should be implemented directly now instead of extending the abstract class.
14+
- `@ConfineMetaClassChanges`, `@Issue`, `@IgnoreIf`, `@PendingFeatureIf`, `@Requires`, `@See`, `@Subject`, `@Use`, and `@UseModules` are now repeatable annotations
1415

15-
- `@ConfineMetaClassChanges` is now repeatable
16+
- `@Requires`, `@IgnoreIf` and `@PendingFeatureIf` can now access instance fields, shared fields and instance methods
17+
by using the `instance.` qualifier inside the condition closure.
1618

17-
- `@Issue` is now repeatable
19+
- `AbstractAnnotationDrivenExtension` is now deprecated and its logic was moved to `default` methods of
20+
`IAnnotationDrivenExtension` which should be implemented directly now instead of extending the abstract class.
1821

19-
- `@IgnoreIf` is now repeatable
22+
- Add `@TempDir` built-in extension
2023

21-
- `@PendingFeatureIf` is now repeatable
24+
- `@PendingFeature` and `@PendingFeatureIf` can now be used together
2225

23-
- `@Requires` is now repeatable
26+
- Fix https://github.com/spockframework/spock/issues/1158[#1158] Fix strange bug with setter/getter handling of mocks in groovy
2427

25-
- `@See` is now repeatable
28+
- Fix https://github.com/spockframework/spock/issues/1216[#1216] perform argument coercion for `GroovyMock` method arguments
2629

27-
- `@Subject` is now repeatable
30+
- Fix https://github.com/spockframework/spock/issues/1169[#1169] check skipped state in Node.prepare and do nothing if already skipped
2831

29-
- `@Use` is now repeatable
32+
- Fix https://github.com/spockframework/spock/issues/1200[#1200] name clashes where variables that are named like method calls destroy the method call
3033

31-
- `@UseModules` is now repeatable
34+
- Fix https://github.com/spockframework/spock/issues/1202[#1202] NullPointerException with array initializers
3235

33-
- Fix https://github.com/spockframework/spock/issues/994[#994] nested closures in argument constraints are not treated as implicit assertions anymore
36+
- Fix https://github.com/spockframework/spock/issues/994[#994] don't treat nested closures in argument constraints as implicit assertions anymore
3437

35-
- `@Requires`, `@IgnoreIf` and `@PendingFeatureIf` can now access instance fields, shared fields and instance methods
36-
by using the `instance.` qualifier inside the condition closure.
38+
- Replace `hamcrest-core` dependency by `hamcrest`
3739

40+
Thanks to all the contributors to this release: Björn Kautler, Marcin Zajączkowski, DQYuan, Tom Wieczorek, Alexander Kriegisch, Jasper Vandemalle
3841

3942
== 2.0-M3 (2020-06-11)
4043

0 commit comments

Comments
 (0)