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
Copy file name to clipboardExpand all lines: docs/release_notes.adoc
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,12 @@ which should not be a problem in the majority of cases.
49
49
50
50
At the same time, using JUnit 4's annotations is discouraged (and considered `deprecated`), the same using the other elements of JUnit 4 (as `(Class)Rule`s).
51
51
52
+
==== Reduce spock-core direct groovy dependencies
53
+
54
+
`spock-core` now only depends on `groovy.jar`. All other Groovy dependencies have been removed,
55
+
this should make dependency management a bit easier.
56
+
If you relied on other groovy dependencies transitively, you will need to add them directly.
57
+
52
58
==== Upgrade to JUnit 5.6 (and JUnit Platform 1.6)
53
59
54
60
JUnit Platform 1.6 (https://junit.org/junit5/docs/5.6.0/release-notes/index.html#deprecations-and-breaking-changes[deprecated]) methods (from experimental API) in `EngineExecutionResults` that Spock was using. To keep runtime compatibility with JUnit 5.6 and incoming 5.7 the implementation has been switched to the new methods. As a result, Spock 2.0-M3 cannot work with JUnit 5.5 and lower. The problem might only occur if a project overrides default JUnit Platform version provided by Spock.
@@ -207,7 +213,9 @@ Spy(constructorArgs: [null as String, (Pattern) null])
207
213
def "I'll run everywhere but on Windows"() { ... }
208
214
----
209
215
210
-
- Execution with an unsupported Groovy version can allowed with `-Dspock.iKnowWhatImDoing.disableGroovyVersionCheck=true`
216
+
- Execution with an unsupported Groovy version can be allowed with `-Dspock.iKnowWhatImDoing.disableGroovyVersionCheck=true` (#1164)
217
+
218
+
- Relax maximum allowed Groovy version in snapshot builds (#1108)
211
219
212
220
- Upgrade Groovy to 2.5.12 (improved Java 14+ support) and 3.0.4 (fixes #1127)
213
221
@@ -250,6 +258,35 @@ def "I'll run everywhere but on Windows"() { ... }
250
258
features by default if not overwritten by explicit `@Unroll` annotations and thus reinstate the pre
251
259
Spock 2.0 behaviour.
252
260
261
+
- Updated OSGI support with using `bnd` (#1154, #1175)
262
+
263
+
- Fix `@PendingFeature` logic (#1103)
264
+
265
+
- Do not strip type information from arguments (#1134)
266
+
267
+
- Simplify work-around to get the reference to the current closure (#1131)
268
+
269
+
- Set source position for return statement in data provider method (#1116)
270
+
271
+
- Add `Spy(T obj, Closure interactions)` (#1115)
272
+
273
+
- Reduce number of Groovy dependencies to just groovy.jar (#1109)
0 commit comments