Skip to content

Nimble v1.0.0 Final

Compare
Choose a tag to compare
@jeffh jeffh released this 29 Jun 07:39
v1.0.0

Final version release! From now on, Nimble will follow semantic versioning rules.

Remember that version 1.0.0 of Nimble tracks with the stable Swift (1.2) / Xcode (6).
If you're using Swift 2.0 / Xcode 7, please use 2.0.0-rc.1 instead.

Diff from Release Candidate 1 to Final

Changes:

  • beAKindOf and beAnInstanceOf raise errors when used with swift native types instead of producing obscure compiler errors.
  • Publicize NMBObjCMatcher constructors
  • Updated README to use @import Nimble; instead of #import <Nimble/Nimble.h> for Objective-C.

Diff in Release Candidate 1

Repeated from 1.0.0-RC1 release notes.

Changes:

  • FailureMessage.stringValue is now a property. It can be assigned to override other values.
  • beTruthy() and beFalsy() matchers now work for nil types and Swift
  • raiseException() no longer accepts matchers. Use the closure form instead.
  • AssertionHandler protocol recieves FailureMessage instead of a String.
  • Expectation.verify() now uses FailureMessage instead of String.
  • Renamed NMB_wait* builder functions to be more consistent with rest of Nimble.
  • fail() with no args passes through line number and file information
  • NMBObjCMatcher closure no long accepts source location directly. Use actualExpression.location instead.
  • FullMatcherFunc no longer negates doesNotMatch() when invoking its given closure.

Removed:

  • NMBWait class is now private.
  • Removed BasicMatcherWrapper
  • Removed NonNilBasicMatcherWrapper
  • Removed NonNilMatcherWrapper, use NonNilMatcherFunc for the same behavior.
  • Removed FullMatcherWrapper