Releases: Quick/Quick
Releases · Quick/Quick
v5.0.0
This release closes the v5.0.0 milestone.
Highlights
See additional details under the auto-generated release notes below.
Fixed
New
- Add support for running a single test #1116
- Add aroundEach #1132
- New API docs via Jazzy available here: http://quick.github.io/Quick/
Breaking
Auto-generated release notes
What's Changed
- [BREAKING] Make FilterFlags implementation detail by @ikesyo in #1068
- [BREAKING] Bump Swift requirement to 5.3 (Xcode 12) by @ikesyo in #1069
- Re-add missing QUICK_EXPORT to Objective-C DSL by @ikesyo in #1070
- Added documentation for how to do data driven tests using Quick by @pobengtsson in #940
- Fix typos and code issues in the data driven examples documentation by @revolter in #1072
- [CI] Test Swift 5.5 Development by @ikesyo in #1081
- [README] Remove deprecated Accio references by @ikesyo in #1082
- [CI] macOS 11 and Xcode 12.5 by @ikesyo in #1083
- Bump danger from 8.2.3 to 8.3.1 by @dependabot in #1087
- Bump cocoapods from 1.10.1 to 1.10.2 by @dependabot in #1089
- Bump fkirc/skip-duplicate-actions from 3.4.0 to 3.4.1 by @dependabot in #1092
- Specify header_dir in the podspec by @tsapeta in #1091
- [CI] Test Xcode 13 by @ikesyo in #1095
- Less String by @RomanPodymov in #1090
- Excluding Info.plist files from Swift Package by @heyzooi in #1088
- Bump cocoapods from 1.10.2 to 1.11.0 by @dependabot in #1099
- docs(DSL): fix typo by @bricker in #1100
- Bump cocoapods from 1.11.0 to 1.11.1 by @dependabot in #1101
- Fix individual tests run in Xcode 12.5 by @khramtsoff in #1097
- Use
#if canImport(Darwin)
for checking XCTIssue availability by @ikesyo in #1104 - Bump cocoapods from 1.11.1 to 1.11.2 by @dependabot in #1105
- Bump danger from 8.3.1 to 8.4.0 by @dependabot in #1107
- Bump danger from 8.4.0 to 8.4.1 by @dependabot in #1110
- Bump danger from 8.4.1 to 8.4.2 by @dependabot in #1112
- Bump danger from 8.4.2 to 8.4.3 by @dependabot in #1117
- Bump actions/checkout from 2 to 3 by @dependabot in #1120
- Bump danger from 8.4.3 to 8.4.5 by @dependabot in #1121
- Bump cocoapods from 1.11.2 to 1.11.3 by @dependabot in #1126
- Bump danger from 8.4.5 to 8.5.0 by @dependabot in #1125
- Critical! Fix test cases discoverage in Xcode 13.3 by @BobCatC in #1129
- Bump cocoapods-downloader from 1.5.1 to 1.6.3 by @dependabot in #1130
- Keep reference to AutoreleasingUnsafeMutablePointer by @ikesyo in #1103
- Use Objective-C runtime's
isSubclass(of:)
API for checking superclass by @ikesyo in #1096 - Fix Swift docs for non-named
configure
argument. by @alexhayes in #1113 - Fix
afterSuite
blocks not running when having excluded tests by @revolter in #1061 - [Breaking] Rename Configuration -> QCKConfiguration by @jessesquires in #1133
- Add aroundEach by @pcantrell in #1132
- Add support for running a single test by @younata in #1116
New Contributors
- @tsapeta made their first contribution in #1091
- @RomanPodymov made their first contribution in #1090
- @heyzooi made their first contribution in #1088
- @bricker made their first contribution in #1100
- @khramtsoff made their first contribution in #1097
- @BobCatC made their first contribution in #1129
- @alexhayes made their first contribution in #1113
- @younata made their first contribution in #1116
Full Changelog: v4.0.0...v5.0.0
v4.0.0
Quick v4 has been released! 🎉 The new major version requires Swift 5.2 / Xcode 11.4 at least.
BREAKING CHANGES
Changes
- [CI] Test Xcode 12 and Swift 5.3 #1010
- Set ENABLE_TESTING_SEARCH_PATHS to YES #1011
- Upgrade Project Format to Xcode 11.4-compatible #1012 (Thanks @mRs-)
- [CI] Use rake directly instead of travis-script-macos #1019
- Update Nimble to 9.1.0 #1020, #1062, #1066
- Xcode 12.0: Update to recommended settings #1021
- Address deprecation warnings in Xcode 12 #1040
- Migrate Linux CI from Travis to GitHub Actions #1042
- [CI] Use norionomura/swift Docker images for Linux CI #1043
- [SwiftLint] Enable yoda_condition rule #1044
- [CI] Use the official Swift Docker images #1049
- [CI] Split ci.yml into dedicated workflows #1050
- Tweak CI workflows regarding fkirc/skip-duplicate-actions and matrix testing #1051
- Xcode 12.5: Update to recommended settings #1063
- [CI] Update Xcode and Swift versions #1064
Documentation Changes
vieiwDidAppear
not be called automatically in iOS SDK 13.0 #942 (Thanks @nickm01)- [Translation] Update Chinese README.md #1053 (Thanks @EdgarDegas)
Miscellaneous
- Create dependabot.yml #1000
- Bump cocoapods #1001, #1026, #1035
- Bump danger #1002, #1009, #1022, #1024, #1036, #1054
- Bump kramdown #1004, #1058
- [Dangerfile] Avoid passing a bot account name to github.api.organization_member #1005
- Bump norio-nomura/action-swiftlint from 3.1.0 to 3.2.1 #1031
- Bump fkirc/skip-duplicate-actions from v3.3.0 to v3.4.0 #1055
- Bump rexml from 3.2.4 to 3.2.5 #1065
v3.1.2
v3.1.1
v3.1.0
v3.0.1
v3.0.0
Quick v3 has been released! 🎉 The new major version requires Swift 5.2 / Xcode 11.4 at least.
BREAKING CHANGES
- Bump Swift requirement to 5.2 (Xcode 11.4 or later) #986
New Features
it
/fit
/xit
closures are now marked asthrows
, so you can throwError
s and the test fails if they do throw #680 (Thanks @marcelofabri)-
it("should fail") { try throwingFunc() }
-
Changes
Bugfixes
- Delegate
recordFailure
toQuickSpec.current
#990
v2.2.1
Changes
- [refactoring] Build examples only for classes without root example group #922 (Thanks @VojtaStavik)
- [CI] Test device builds #924
- [CI] Fix GitHub Actions breakage and restore Travis build matrix for older Xcode versions #937
- [CI] Run tests with newer Xcode and Swift versions #947
- Update Nimble #955, #965, #982
- Enable module stability #957
- [CI] Use norio-nomura/action-swiftlint for running SwiftLint #960
- Tweak CI #966, #979
- [SwiftLint] Enable type_name rule #967
- [Swif 8000 tLint] Enable identifier_name rule #968
- [SwiftLint] Enable function_body_length rule #969
- [SwiftLint] Enable line_length rule #970
bundle update --bundler
&&bundle update
#971- Fix test target dependencies #972
- Separate a test target for the regression test for #853 to mimic the situation in https://github.com/gzafra/QuickCrashTest #973
- [SwiftLint] Set trailing_comma's mandatory_comma option to true #974
- [CocoaPods] Use modular headers #977
- Remove unnecessary TVOS_DEPLOYMENT_TARGET build setting in Quick-iOS target #978
- [CI] Suppress warnings on SwiftPM tests #981
- Rename QuickSpecBase module to QuickObjCRuntime for SwiftPM on Darwin #984
Bugfixes
- Added empty default flags to xdescribe and xcontext #944 (Thanks @pobengtsson)
- Fixes race conditions in QuickConfiguration #952 (Thanks @anton-plebanovich)
- Update the Objective-C QuickSpec template to use modules (semantic import) #953 (Thanks @KeithMorning)
- Fix to support indirect subclasses of QuickConfiguration #975
- Fix focus behavior #980
Documentation Changes
- Fix typo in Configuration.swift for "Mulitple" #927 (Thanks @denniszxxc)
- Fix typo in GitHub issue template #930 (Thanks @revolter)
- Fix typos in Contributing documentation file #931 (Thanks @revolter)
- Migration swift 4.0 or later for Shared Examples. #946 (Thanks @kanari3)
- Fix sample code in SharedExamples.md #948
- Fix Xcode documentation link of how to create xcworkspace #954
v2.2.0
New Features
- Make
name
variable ofBehavior
open #906 (Thanks @VojtaStavik) - [podspec] Use swift_versions DSL if available #911, #919 (Thanks @ethansinjin)
Changes
- Remove unnecessary
!SWIFT_PACKAGE
compile condition #866 - [refactoring] Re-implement qck_enumerateSubclasses in Swift #867
- [refactoring][QuickSpec.swift] Use
World.performWithCurrentExampleGroup
#868 ⚠️ Re-enable danger 🙀 #869- [refactoring] Remove _QuickSelectorWrapper and use String instead #870
- [refactoring] Reduce uses of AnyClass, replace them with QuickSpec.Type where possible #871
- Refactor configuring QuickConfiguration subclasses #876
- [refactoring] Convert some global variables into World's states #877
- [refactoring] Remove unnecessary
!SWIFT_PACKAGE
conditions #878 - Run additional test suites in a separate World instance (only with Xcode for now) 8000 #879
- Merge SpecRunner implementation into single file #881
- Run additional test suites in a separate World instance for SwiftPM on Darwin #882
- Implement
qck_suspendObservation
on Linux #883 - Run additional test suites in a separate World instance for SwiftPM on Linux #884
- Re-implement SpecRunner on Linux using XCTestSuite #885
- [CI] Test Swift 5.1 snapshots #892
- [SwiftLint] Address reduce_boolean warnings #897
- Update Nimble #898, #918
- [CI] Use GitHub Actions for macOS jobs #915, #921
Bugfixes
- Fix a runtime crash when a subclass of QuickSpec is subclassed and the subclass has a Swift struct property #873, #901, #916, #917 (Thanks @ikesyo and @VojtaStavik)
Documentation Changes
- Document support & installation via Accio #851 (Thanks @Dschee)
- Add documentation for
Behavior<Context>
#905 (Thanks @VojtaStavik) - fix typo in SharedExamples.md #913 (Thanks @akarsh)
v2.1.0
New Features
- Support
QuickSpec.current
for SwiftPM builds as well, on both macOS and Linux #848, #850 Package.swift
is updated for Swift 5, which adds theplatforms
setting (SE-0236) #843 (Thanks @devxoul)
Changes
- Update CocoaPods to 1.7.0.beta.3 #840, #852
- Update .hound.yml #844
- Update Nimble to 8.0.1 #846
- Xcode 10.2: Update to recommended settings #847
- Introduce FileString typealias which has been used in Nimble #854
- Internal refactoring #855, #858, #859, #860, #861, #862, #863, #864, #865
- [CI] Propagate xcodebuild errors correctly #857