You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add a way to register `ConfigurationObject` globally without the need for a global extension.
7
9
8
10
- Annotations for local extensions can now be defined as `@Repeatable` and applied multiple times to the same target.
9
11
Spock will handle this appropriately and call the extensions `visitSpecAnnotations` method with all annotations.
10
12
If these methods are not overwritten, they forward to the usual `visitSpecAnnotation` methods once for each annotation.
11
13
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
14
15
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.
16
18
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.
18
21
19
-
- `@IgnoreIf` is now repeatable
22
+
- Add `@TempDir` built-in extension
20
23
21
-
- `@PendingFeatureIf` is now repeatable
24
+
- `@PendingFeature` and `@PendingFeatureIf` can now be used together
22
25
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
24
27
25
-
- `@See` is now repeatable
28
+
- Fix https://github.com/spockframework/spock/issues/1216[#1216] perform argument coercion for `GroovyMock` method arguments
26
29
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
28
31
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
30
33
31
-
- `@UseModules` is now repeatable
34
+
- Fix https://github.com/spockframework/spock/issues/1202[#1202] NullPointerException with array initializers
32
35
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
34
37
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`
37
39
40
+
Thanks to all the contributors to this release: Björn Kautler, Marcin Zajączkowski, DQYuan, Tom Wieczorek, Alexander Kriegisch, Jasper Vandemalle
0 commit comments