Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency quick/nimble to v12 #457

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 7, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
Quick/Nimble major from: "10.0.0" -> from: "v12.0.1"

Release Notes

Quick/Nimble (Quick/Nimble)

v12.0.1

Compare Source

What's Changed

Full Changelog: Quick/Nimble@v12.0.0...v12.0.1

v12.0.0

Compare Source

Nimble 12 adds the ability to using polling expectations with async expressions. Additionally, Nimble 12 includes a number of quality-of-life improvements and bug fixes.

What's Changed

New Contributors

Full Changelog: Quick/Nimble@v11.2.2...v12.0.0

v11.2.2

Compare Source

Highlights

Nimble v11.2.2 is a minor bug fix release which fixes the build on Xcode 14.3 and Wasm.

Thanks to @​dymv for fixing the Xcode 14.3 build and to @​ikesyo for fixing the wasm build!

Autogenerated Changelog

What's Changed

New Contributors

Full Changelog: Quick/Nimble@v11.2.1...v11.2.2

v11.2.1

Compare Source

Fixed tripping the main thread checker in async toEventually checks. Your CI should no longer report that tests erroneously crashed because the expression's debugDescription dared to reference something that needed to run on the main thread.

What's Changed

Full Changelog: Quick/Nimble@v11.2.0...v11.2.1

v11.2.0

Compare Source

Improved developer experience by allowing you to use the sync form of expect in a test that has other usage of async test. i.e. the following code compiles again:

class MyTest: XCTestCase {
    func testExample() {
        await someAsyncFunction()
        expect(someValue).to(equal(expectedValue))
    }
}

What's Changed

Full Changelog: Quick/Nimble@v11.1.1...v11.2.0

v11.1.1

Compare Source

What's Changed

Full Changelog: Quick/Nimble@v11.1.0...v11.1.1

v11.1.0

Compare Source

11.1.0 drops support for Swift 5.6 (you must use Xcode 14 or later). https://github.com/Quick/Nimble/pull/1009

11.1.0 fixes a developer experience bug where you could unknowingly use the sync version of toEventually in an async context, which will cause test timeout failures. https://github.com/Quick/Nimble/pull/1010

That is, the following test method (XCTest-style) would compile with no errors or warnings emitted, but fail at test runtime due to timeout issues. In v11.1.0, this now emits a warning that you're using the wrong version of toEventually (and similar).

@​MainActor func testSomething() async {
    expect(1).toEventually(equal(1)) // (in v11.0.0, this would not emit any kind of warning or error, but would definitely fail with a timeout error)
}

Full Changelog: Quick/Nimble@v11.0.0...v11.1.0

v11.0.0

Compare Source

This closes the v11.0.0 milestone.

Highlights

Primarily, this release now supports running tests in async contexts.

Fixed

New

Breaking

  • Raised version requirements to Swift 5.6, iOS 13, macOS 10.15, tvOS 13, and watchOS 6. https://github.com/Quick/Nimble/issues/984
  • The Expectation struct is now a protocol. There are 2 concrete implementations, SyncExpectation and AsyncExpectation. AsyncExpectation does not support toEventually, and is meant for awaiting on async functions. SyncExpectation is effectively the older Expectation implementation, and works as it used to. https://github.com/Quick/Nimble/pull/1004

Auto-generated release notes

What's Changed

New Contributors

Full Changelog: Quick/Nimble@v10.0.0...v11.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) July 7, 2023 07:53
@renovate renovate bot force-pushed the renovate/quick-nimble-12.x branch from 2b3e724 to 8b166e3 Compare July 7, 2023 13:54
@renovate renovate bot merged commit ca04ed1 into main Jul 7, 2023
@renovate renovate bot deleted the renovate/quick-nimble-12.x branch July 7, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants