Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@denisenepraunig denisenepraunig released this 20 Jan 06:21
· 76 commits to master since this release

Thank you @Zandor300 and everyone who opened issues and provided pull requests! 🥳

Breaking changes

  • The enum for the Apple TV HD has been renamed from .appleTV4 to .appleTVHD. (#211)
  • .allSimulatorXSeriesDevices has been deprecated and replaced by .allSimulatorDevicesWithSensorHousing. (#212)
  • .allXSeriesDevices has been deprecated and replaced by .allDevicesWithSensorHousing. (#212)

Camera

  • CameraTypes has been renamed to CameraType. (#212)
  • CameraType.normal has been deprecated and replaced by CameraType.wide. (#212)
  • .allDevicesWithNormalCamera has been deprecated and replaced by .allDevicesWithWideCamera. (#212)
  • .hasNormalCamera has been deprecated and replaced by .hasWideCamera. (#212)

New features

  • You can now check which devices support wireless charging through the following variables: Device.allDevicesWithWirelessChargingSupport and Device.current.supportsWirelessCharging (#209)
  • New .safeDescription variable that will provide you with a safe version of the .description variable. (#212)
    • Example: "iPhone Xʀ" vs "iPhone XR"

Bugfixes

  • .allDevicesWith3dTouchSupport contained .iPhoneSE which was incorrect. (#226)
  • Some variables would return incorrect values when running on the simulator. (#227)