Skip to content

Releases

1.5.0

Choose a tag to compare

@jasonmccreary jasonmccreary released this 30 Nov 14:25

What's Changed

  • Allow repeating the same mode in #42
  • Only match objects with objects in #43
  • Correct how Mockery compares arguments in #44
  • Never match a different double in #45
  • Show how objects differ in failures in #46

Full Changelog: v1.4.0...v1.5.0

1.4.0

Choose a tag to compare

@jasonmccreary jasonmccreary released this 29 Nov 16:54

What's Changed

  • Reject multiple methods in a single call in #41

Full Changelog: v1.3.0...v1.4.0

1.3.0

Choose a tag to compare

@jasonmccreary jasonmccreary released this 27 Nov 21:50

What's Changed

  • Reject non-public methods on classes with __call in #39
  • Explain __call when configuring an undeclared method in #40

Full Changelog: v1.2.1...v1.3.0

1.2.1

Choose a tag to compare

@jasonmccreary jasonmccreary released this 23 Nov 17:01

Fixed

  • Match omitted default arguments in with() in #38

Full Changelog: v1.2.0...v1.2.1

1.2.0

Choose a tag to compare

@jasonmccreary jasonmccreary released this 23 Nov 15:56

What's Changed

  • Fail verification after caught call failures in #30
  • Preserve by-reference arguments in doubled methods in #31
  • Fix constant defaults in doubled methods in #32
  • Correct docs for creating doubles and ordered calls in #34
  • Fix safe defaults for class and interface intersections in #35
  • Fix passthru on interface and intersection doubles in #36
  • Fix new static in passthru methods in #33
  • Preserve named variadic arguments in doubled methods in #37

Full Changelog: v1.1.1...v1.2.0

1.1.1

Choose a tag to compare

@jasonmccreary jasonmccreary released this 07 Nov 16:03
e16e1a4

Fixed

  • Support doubling never returning methods in #29

Full Changelog: v1.1.0...v1.1.1

1.1.0

Choose a tag to compare

@jasonmccreary jasonmccreary released this 04 Nov 18:09

Fixed

  • Double targets with abstract static methods in #23
  • Match method names case-insensitively in #26
  • Only flag identical expectations as ambiguous in #27
  • Skip ambiguity check when a test already failed in #28

Full Changelog: v1.0.1...v1.1.0

1.0.1

Choose a tag to compare

@jasonmccreary jasonmccreary released this 01 Oct 14:23
fbf5c6e

Fixed

  • Fix passthru with inherited readonly properties in #21

Full Changelog: v1.0.0...v1.0.1

1.0.0

Choose a tag to compare

@jasonmccreary jasonmccreary released this 28 Sep 13:07

Double 1.0.0

This is mostly a "stability release". There are no changes from v0.10.2. None of the API has changed in v0. There was one notable behavioral change in v0.9.0 to ensure expectations match in a more natural way.

0.10.2

Choose a tag to compare

@jasonmccreary jasonmccreary released this 21 Sep 12:39

Added

  • Add a legend to argument diffs in 3aa8c6d

Full Changelog: https://github.com/jasonmccreary/double/compare/v0.10.1..v0.11.0