Skip to content

Releases: MakeAWishFoundation/SwiftyMocky

4.2.0

08 Aug 20:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.1.0...4.2.0

4.1.0

13 Oct 20:05
Compare
Choose a tag to compare

Added:

  • moved CLI to main repo (old will be deprecated)
  • protocol compositions (@erneestoc Ernesto Cambuston)
  • SwiftLint rules support (@migonin Mikhail Igonin)
  • cli binary in the repo
  • cli: resolving proper Sourcery version and binary path (mint is no longer default if Pods used)

Fixed:

  • Fixed some concurrency issues
  • Fixed several matcher and compare issues
  • Fixed availability for Swift 5.5
  • Fixed other basic issues and changes for Sourcery 1.6.0
  • Fixed observer setup when the test is marked as async
  • Fixed CLI dependencies (@SergeyKovalenko Sergey Kovalenko)
  • Moved tests from travis to github actions

4.1.0-pre

11 Oct 08:35
Compare
Choose a tag to compare
4.1.0-pre Pre-release
Pre-release

Added:

  • moved CLI to main repo (old will be deprecated)
  • protocol compositions (Ernesto Cambuston)
  • SwiftLint rules support (Mikhail Igonin)
  • cli binary in repo
  • cli: resolving proper Sourcery version and binary path (mint is no longer default, if Pods used)

Fixed:

  • Fixed some concurrency issues
  • Fixed several matcher and compare issues
  • Fixed @Availability for Swift 5.5
  • Fixed other basic issues and changes for Sourcery 1.6.0
  • Fixed observer setup when test is marked as async

4.0.4

11 Oct 05:47
Compare
Choose a tag to compare

Fixed:

  • Fixed concurrency issue, synchronized mock invocations in/out via private queue.
  • Fixed missing annotations for stubbing with producer (Jean-Charles Dessaint)
  • Fixed compilation of pod library for Xcode 12.5 (beta) (Emanuel Munteanu)
  • Conditionally import XCTest related stuff in SwiftTestObserver (Mark DiFranco)

Version 4.0.3 - fixes for Sourcery 1.0.x and other

22 Jan 18:47
Compare
Choose a tag to compare

Fixed:

  • Fixed issues for Sourcery 1.0.2+, resulting in broken mocks
  • Fixed issues with @available for methods returning values
  • Fixed issues with unnamed parameters handling
  • Updated matcher for sequences,
  • Fixed issue with mutating annotation breaking generated mock

Version 4.0.1 - Fixes for properties

01 Sep 19:56
Compare
Choose a tag to compare

Fixed:

  • Fixed issues with access modifiers for properties

Version 4.0.0 - new structure + prototyping

03 Aug 07:23
Compare
Choose a tag to compare

Important:

  • CLI is extracted to separate repo

Added:

  • SwiftyPrototype is now separat library, so it is now possible to use SwiftyMocky to both test & prototype (fake) app.
  • Support for methods with variadic parameters
  • Support for @available and @objc annotations
  • Refined assertion messages
  • Made it easier to ship generated mocks with project, allowing to use them by 3rd party
  • Resolved problem with ambiguity for generic methods that throws
  • Matcher issues should be more prominent and easier trackable
  • Matcher should fail test instead of crashing whenever possible
  • Verify now have better failure messages, including best matching invocations
  • typealias annotation to workaround problems with multiple types from different modules sharing same name.

Deprecated:

  • all methods and properties marked previously as deprecated are now removed.

Fixed:

  • Mock generation for protocols with internal types (@truebucha)
  • Pinned CLI dependencies (@ohitsdaniel)
  • Added missing tvOS and macOS support for carthage

Fix release for dependencies

29 Mar 11:45
Compare
Choose a tag to compare

Fix update for dependencies (Crayon was renamed to Chalk)

Version 3.4.0

13 Nov 13:38
Compare
Choose a tag to compare

Added:

  • New typealias "annotation", allowing to fix common issues with generic protocols and ambigious class names
  • A "sourcery" section to mockfile, to specify additional sourcery configurations to execute during generation
  • resetMock(...) methods to reset mock internals
  • New tests suite for Xcode 11.2 (Swift 5.2)

Deprecated:

  • deprecated clear() method on StaticMock in favour of resetMock(...)

Fixed:

  • Fixed Parameter ExpressibleByArrayLiteral init, by @chuckluck44 (Charley Luckhardt)
  • Fixed Xcode 11 support by @glyuck (Vladimir Lyukov)
  • Fixed typos in Readme, by @iliaskarim and @mikeakers (Mike Akers)
  • Fixed tests for swift 5.0 and linux tests

Version 3.3.4

09 Aug 11:25
Compare
Choose a tag to compare

Fixed:

  • Fixed problem with not printable ASCI characters by @TimeDelta
  • Fixed problem with missing generic constraints by @demalex