Skip to content

Releases: doudou/flexmock

Quickfix release v2.4.4

13 Aug 15:06

Choose a tag to compare

What's Changed

  • fix: keyword argument handling with a last hash as argument by @doudou in #34
    Bug introduced by v2.4.3

Full Changelog: v2.4.3...v2.4.4

Bugfix release v3.0.2

11 Aug 18:12

Choose a tag to compare

What's Changed

  • fix: explicitly forward keyword arguments when calling {#initialize} for new_instances support by @doudou in #28
  • chore: compatibility with ActiveSupport's Object#with by @doudou in #31

Full Changelog: v3.0.1...v3.0.2

Bugfix release v2.4.3

11 Aug 16:51

Choose a tag to compare

Fixed bugs:

  • with_kw_args behaved differently on the v2.4 branch and on v3. The former would try to match the whole keyword arg hash with a matching object, the latter would iterate over the given keys. This release aligns the behavior of 2.4.3 with the one from 3.x. No changes on 3.x needed
  • make sure flexmock works even with activesupport's definition of with on Object
  • fixed some keyword argument forwarding issues

v2.4.0 - backward compatible release to v3.0.0

20 Aug 00:19

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

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.