Emil Kantis
05/09/2023, 4:53 PMmitch
05/09/2023, 8:39 PMsam
05/09/2023, 9:06 PMsam
05/09/2023, 9:06 PMsam
05/09/2023, 9:07 PMsam
05/09/2023, 9:07 PMEmil Kantis
05/09/2023, 9:13 PMcodepoints = Codepoint.printableAscii())
will simply have explicitly stated what is now the default (again)? I don't think anyone can run into runtime test issues from this change now? ...Unless people adjusted their expectations to include the new chars? blob screamEmil Kantis
05/09/2023, 9:17 PMsam
05/09/2023, 11:49 PMsam
05/09/2023, 11:49 PMmitch
05/10/2023, 8:02 AMsam
05/10/2023, 1:35 PMEmil Kantis
05/10/2023, 2:29 PMEmil Kantis
05/10/2023, 7:38 PM### Changed behavior of `Arb.string()`
With Kotest 5.6.0, `Codepoint.ascii()` was changed to include a wider range of ascii chararacters, and `Codepoint.printableAscii()` was introduced with the historic range used by `Codepoint.ascii()`.
`Arb.string()` has been using `Codepoint.ascii()` as it's default for generating chars for the string. This caused issues for some users, and we decided to revert `Arb.string()` to the historic behavior by changing the default to the new `Codepoint.printableAscii()`.
Hopefully this doesn't cause any issues for you. If it does, you can revert to the 5.6.0 ~ 5.6.1 behavior by using `Codepoint.ascii()` explicitly.
If you added explicit usage of `Codepoint.printableAscii()` to circumvent the issue, you can safely remove the explicit parameter starting with Kotest 5.6.2.