Skip to content

Releases: doudou/flexmock

v2.4.0 - backward compatible release to v3.0.0

20 Aug 00:19
Compare
Choose a tag to compare

To properly support keyword arguments, we created the v3.0 version of flexmock. This version is backwards incompatible (even if it is mostly compatible).

v2.4.0 is the sibling release for ruby <3.0. It adds the same new APIs around keyword arguments and procs (e.g. with_kw_args) so that tests that have been adapted to > v3.0 can still run on the v2.4 branch, easing the transition.

See the README for more details.

v3.0 - Ruby 3.0+ compatible release

20 Aug 00:21
Compare
Choose a tag to compare

This release adds new APIs to support keyword arguments as they are in Ruby 3.0-and-later. This breaks backwards compatibility.

The new v2.4.0 release adds the same APIs (even if less strict) so that tests that have been made compatible with flexmock v3.0 can still run on a < 3.0 Ruby using flexmock 2.4.0

See README for more details.