Skip to content

Releases: MakeAWishFoundation/SwiftyMocky

Version 3.3.3

26 Jun 09:28
Compare
Choose a tag to compare

Fixed:

  • Swift 5.0 issue with custom assertions not compiling

Version 3.3.2

06 Jun 22:30
Compare
Choose a tag to compare

Fixed:

  • Fixed problems with multiple mocks being part of same target (@davidmtamas)

Version 3.3.0

25 May 20:14
Compare
Choose a tag to compare

Added:

  • Added SwiftyMocky CLI, simplifying setup and providing doctor feature
  • Added support for Swift Package Manager (SPM)
  • New configuration file for working with multiple targets - Mockfile
  • Fixed redundant constraints for methods with stripped generics (@tarbayev)
  • Added Argument captor (@TimeDelta)

Removed:

  • dropped Swift 4.0, SwiftyMocky now requires Swift 4.1+
  • dropped MockyCustom subspec, new subspec is Prototyping, for Carthage SwiftyPrototype

Version 3.2.0

03 Apr 14:52
Compare
Choose a tag to compare

Added:

  • Fixed issues with naming, as internal name Product tend to conflict with Mocked classes
  • Swift 5.0 support, fixes for optional types casting
  • Integrated Sourcery 0.16.0, fixed issues resulting in breaking with newest Sourcery

Removed:

  • No more support for Swift 3.x
  • All Given methods, that were marked as deprecated in SwiftyMocky 3.x, are now unavailable.

Version 3.1.0

05 Feb 00:23
Compare
Choose a tag to compare

Added:

  • Parameter convenience constructing as .notNil, when Parameter wraps an optional type
  • Convenience Count.once as syntactic sugar for 1 for Verify
  • Proper integration with projects that already use Sourcery (@laxmorek)

Fixed:

  • Fixed generating mocks for methods that are throwing, and returning Self in the same time
  • Fixed associated types protocols generation, when methods generic constrained

Version 3.0.0

02 Oct 19:58
3.0.0
e5215c3
Compare
Choose a tag to compare

Added:

  • Parameters handling values expressible by literals, are now also expressible by literals
  • Gracefully fail when return value is not stubbed
  • Support for subscripts
  • Stubbing policy, and support for recording sequence of return values
  • Sequencing policy, which allows to change order in which stubs are processed
  • Given for properties

Deprecated:

  • deprecated VerifyProperty
  • deprecated setters for readonly properties
  • deprecated Given constructors not matching method signature (argument labels fix)

Fixed:

  • multiple generation issues, like unnamed method parameters and esaping paramters names
  • fixed issues with generics handling, when some attributes was not recognized as genric
  • fixed issues with names collisions for methods different only in argument labels

Version 2.1.0

26 Sep 10:12
2.1.0
770aae1
Compare
Choose a tag to compare

All necessary improvements to run SwiftyMocky 2.x with Xcode 10 / Swift 4.2. No breaking changes introduced.

Version 2.0.3

03 May 10:52
Compare
Choose a tag to compare

Stabilised release for Swift 4.1. Extended support for Swift 4.1, some improvements for older Swift versions (3.3), parsing fixes.

If you experience problems with Sourcery version, try doing pod update, as Sourcery 0.13 is solving most issues.

Version 2.0.2

05 Apr 13:55
Compare
Choose a tag to compare
Version 2.0.2 Pre-release
Pre-release

Stable for swift 4.0.3, pre-release for swift 4.1. In most cases will require to execute get_sourcery.sh with 4.1, and as it is still work in progress, 4.1 support is not stable yet.

Version 2.0.1

05 Apr 13:54
Compare
Choose a tag to compare

Stable swift 4.0.3 compatible versions