Releases: devicekit/DeviceKit
Version 5.5.0
Releasedate: 2024-09-22
pod 'DeviceKit', '~> 5.5'
New September 2024 devices
This version adds support for the devices announced at the September 2024 Apple Event: (#417)
Device | Case value |
---|---|
iPhone 16 | Device.iPhone16 |
iPhone 16 Plus | Device.iPhone16Plus |
iPhone 16 Pro | Device.iPhone16Pro |
iPhone 16 Pro Max | Device.iPhone16ProMax |
Apple Watch Series 10 | Device.appleWatchSeries10_42mm , Device.appleWatchSeries10_46mm |
Fixes
- Fix incorrect PPI for iPhone 14 Plus and iPhone 15 Plus. (#418)
Contributors
Thanks to all the contributers of this release!
Version 5.4.0
Releasedate: 2024-05-30
pod 'DeviceKit', '~> 5.4'
New features
- Add
Orientation.unknown
for when the device is neither in landscape or portrait orientation. (#410)
Contributors
Thanks to all the contributers of this release!
Version 5.3.1
Releasedate: 2024-05-30
pod 'DeviceKit', '~> 5.3'
Bugfixes
- Process Privacy manifest instead of copy on SPM. (#409)
Version 5.3.0
Releasedate: 2024-05-21
pod 'DeviceKit', '~> 5.3'
New May 2024 devices
This version adds support for the devices announced at the May 2024 Apple Event: (#412)
Device | Case value |
---|---|
iPad Air (11-inch) (M2) | Device.iPadAir11M2 |
iPad Air (13-inch) (M2) | Device.iPadAir13M2 |
iPad Pro (11-inch) (M4) | Device.iPadPro11M4 |
iPad Pro (13-inch) (M4) | Device.iPadPro13M4 |
New features
- Added
ApplePencilSupport.firstGenerationUsbC
andApplePencilSupport.pro
. (#412)
Version 5.2.3
Releasedate: 2024-04-15
pod 'DeviceKit', '~> 5.2'
Bugfixes
- Fix PrivacyInfo for Cocoapods. (#397)
Contributors
Thanks to all the contributers of this release!
Version 5.2.2
Releasedate: 2024-02-06
pod 'DeviceKit', '~> 5.2'
Bugfixes
Contributors
Thanks to all the contributers of this release!
Version 5.2.1
Releasedate: 2024-01-17
pod 'DeviceKit', '~> 5.2'
Bugfixes
- Update swift-tools-version in Package.swift to 5.3 to support Resource files. (#381)
- Fix PrivacyInfo.xcprivacy not being detected on SPM. (#384)
Contributors
Thanks to all the contributers of this release!
- Semty
- Everyone who reported the SPM issues.
Version 5.2.0
Releasedate: 2024-01-15
pod 'DeviceKit', '~> 5.2'
New features
- Add
.hasUSBCConnectivity
toDevice
to indicate whether the device has an USB-C port. (#373) - Add
.hasDynamicIsland
toDevice
to indicate whether the device has a dynamic island. (#368) - Add
.has5gSupport
toDevice
to indicate whether the device has 5G support. (#340) - Added Privacy Manifest to DeviceKit. (#367)
- Fix compilation issues when building SwiftUI Previews for macOS. (#376)
Contributors
Thanks to all the contributers of this release!
Version 5.1.0
Releasedate: 2023-09-21
pod 'DeviceKit', '~> 5.1'
New September 2023 devices
This version adds support for the devices announced at the September 2023 Apple Event: (#360, #361)
Device | Case value |
---|---|
iPhone 15 | Device.iPhone15 |
iPhone 15 Plus | Device.iPhone15Plus |
iPhone 15 Pro | Device.iPhone15Pro |
iPhone 15 Pro Max | Device.iPhone15ProMax |
Apple Watch Series 9 | Device.appleWatchSeries9_41mm , Device.appleWatchSeries9_45mm |
Apple Watch Ultra 2 | Device.appleWatchUltra2 |
Fixes
- Fixes compilation errors that occur when compiling DeviceKit for visionOS. (#356)
Important notes
- Note that this version does not add full visionOS support to DeviceKit. It just allows DeviceKit to compile for visionOS.
- When compiling this version of DeviceKit with Xcode 14 or lower, it will produce the following warning 3 times:
Unknown operating system for build configuration 'os'
Contributors
Thanks to all the contributers of this release!
Version 5.0.0
Releasedate: 2022-11-01
pod 'DeviceKit', '~> 5.0'
Breaking changes
- DeviceKit v5.0.0 drops support for the platforms that Xcode 14 also no longer supports: (#337)
Platform | Previous | Now |
---|---|---|
iOS | 9.0 | 11.0 |
tvOS | 9.0 | 11.0 |
watchOS | 2.0 | 4.0 |
New features
- Retrieve a device's CPU info using eg.
Device.current.cpu
. (#330) - Add
.isSimulator
to tvOS and watchOS. (#245) - Add
.isCanvas
which indicates whether the app is running in a SwiftUI preview. (#303)
Contributors
Thanks to all the contributers of this release!