Skip to content

Commit 8d380cc

Browse files
authored
Fix some doc details (#2317)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated minimum Byte Buddy requirement to 1.9.7+. * Clarified mock maker configuration options and noted support for features like Serializable mocking. * Added release notes about optional class-loading support in OSGi and similar environments (ContextClassLoader usage). * Cleaned up release notes: reordered one entry and fixed formatting/typo in another. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 4e265f4 commit 8d380cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/extensions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ The following mock makers are built-in, and are selected in this order:
11161116

11171117
* `java-proxy`: Uses the `java.lang.reflect.Proxy` API to create mocks of interfaces.
11181118
* `byte-buddy`: Uses https://bytebuddy.net/[Byte Buddy] to create mock objects.
1119-
** Requires `net.bytebuddy:byte-buddy` 1.9+ on the class path.
1119+
** Requires `net.bytebuddy:byte-buddy` 1.9.7+ on the class path.
11201120
* `cglib`: Deprecated: Uses https://github.com/cglib/cglib[CGLIB] to create mock objects.
11211121
** Requires `cglib:cglib-nodep` 3.2.0+ on the class path.
11221122
* `mockito`: Uses https://site.mockito.org/[Mockito] to create mock objects.

docs/release_notes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ Thanks to all the contributors to this release: Andreas Turban, Björn Kautler,
151151
* Add new <<extensions.adoc#default-value-provider,`IDefaultValueProviderExtension`>> extension point to add support for special classes in the Stub's default `EmptyOrDummyResponse` spockPull:1994[]
152152
* Add support for Groovy-4-style range expressions spockIssue:1956[]
153153
* Add `IStatelessAnnotationDrivenExtension` to allow a single extension instance to be reused across all specifications spockPull:2055[]
154-
* Add new well-known versions to `Jvm` helper to support versions up to `29` spockPull:2057[]
155154
** Built-in extensions have been updated to use this new interface where applicable
155+
* Add new well-known versions to `Jvm` helper to support versions up to `29` spockPull:2057[]
156156
* Add best-effort error reporting for interactions on final methods when using the `byte-buddy` mock maker spockIssue:2039[]
157157
* Add support for `@FailsWith` to assert an exception message spockIssue:2039[]
158158
* Add support for accessing the `IStore` via `ISpecificationContext` spockPull:2064[]
@@ -202,7 +202,7 @@ Thanks to all the contributors to this release: Björn Kautler,
202202
* Improve Spock's documentation by automatically linking source snippets in the docs to the code spockPull:1904[]
203203
* Improve `@Retry` extension parallel-safeness spockPull:1701[]
204204
* Improve `@RepeatUntilFailure` by allowing multiple annotations in the same specification spockPull:1912[]
205-
* [.line-through]#Improve collection matchers by supporting them in nested in complex assertions spockPull:1921[]#
205+
* Improve collection matchers by supporting them in nested complex assertions spockPull:1921[]
206206
* Improve stacktrace filtering by also handling suppressed exceptions spockPull:1923[]
207207
* Fix possible deadlock when blocking in mock response generators spockPull:1910[]
208208
** Fix fallout of spockPull:1885[] introduced in M2

0 commit comments

Comments
 (0)