Skip to content

Commit dfc0e71

Browse files
authored
Prepare M3 Release Notes
1 parent c13adc0 commit dfc0e71

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

docs/release_notes.adoc

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ which should not be a problem in the majority of cases.
4949

5050
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).
5151

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+
5258
==== Upgrade to JUnit 5.6 (and JUnit Platform 1.6)
5359

5460
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])
207213
def "I'll run everywhere but on Windows"() { ... }
208214
----
209215

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)
211219

212220
- Upgrade Groovy to 2.5.12 (improved Java 14+ support) and 3.0.4 (fixes #1127)
213221

@@ -250,6 +258,35 @@ def "I'll run everywhere but on Windows"() { ... }
250258
features by default if not overwritten by explicit `@Unroll` annotations and thus reinstate the pre
251259
Spock 2.0 behaviour.
252260

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)
274+
275+
- Improve `ExceptionUtil.sneakyThrow` declaration (#1077)
276+
277+
- Print up to 5 last mock invocations for a wrong order error (#1093)
278+
279+
- Fix `EmptyOrDummyResponse` returning mock instance for `Object` (#1092)
280+
281+
- Remove unnecessary reflection for Java 8 types in `EmptyOrDummyResponse` (#1091)
282+
283+
- Update old Issue annotations to point to migrated github issues (#1003)
284+
285+
- Test Spock with Java 14 (#1155)
286+
287+
Thanks to all the contributors to this release: Björn Kautler, Marcin Zajączkowski, Raymond Augé, Roman Tretiak, Camilo Jorquera, Shil Sinha
288+
289+
253290
== 2.0-M2 (2020-02-10)
254291

255292
=== Groovy-3.0 Support

0 commit comments

Comments
 (0)