github carekit-apple/CareKit 4.0.0

2 days ago

Overview

This is a major release of CareKit that contains updated platform requirements and gradual movement towards full Swift 6 compatibility.

New Platform Requirements

  • iOS: Minimum deployment target raised from 15.6 to 18.0
  • watchOS: Minimum deployment target raised from 8.7 to 11.0
  • macOS: Minimum deployment target raised from 14.6 to 15.0
  • Xcode: Support for 26.0+

Updated Dependencies

  • Updating FHIRModels and AsyncAlgorithms dependency versioning to use “Up to Next Major Version”

Breaking Changes

Swift 6 adoption

  • Updating just CareKitStore to use Swift 6 as part of a long-term movement to move to Swift 6 support across the framework
  • Conforming data structures to Sendable where appropriate
  • Marking closure parameters with @sendable
  • Protect internal mutable state with a Mutex integrate Swift 6 while maintaining synchronous public API

Postal Address

  • OCKPostalAddress no longer subclasses CNPostalAddress directly

Store Protocol

  • Query result methods now return opaque AsyncSequence types instead of CareStoreQueryResults
  • Improved Swift concurrency support with proper Sendable conformance

Bug Fixes

  • Includes minor bug fixes as well as public PR contributions since the last release.

Don't miss a new CareKit release

NewReleases is sending notifications on new releases.