You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25-10Lines changed: 25 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -6,25 +6,40 @@ Releasedate: TBD
6
6
7
7
```ruby
8
8
pod 'DeviceKit', :git => 'https://github.com/devicekit/DeviceKit.git', :branch => 'master'
9
+
#pod 'DeviceKit', '~> 3.0'
9
10
```
10
11
11
12
### Breaking changes
12
-
- The enum for the Apple TV HD has been renamed from `.appleTV4` to `.appleTVHD`. (#211)
13
+
- The enum for the Apple TV HD has been renamed from `.appleTV4` to `.appleTVHD`. ([#211](https://github.com/devicekit/DeviceKit/pull/211))
14
+
-`.allSimulatorXSeriesDevices` has been deprecated and replaced by `.allSimulatorDevicesWithSensorHousing`. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
15
+
-`.allXSeriesDevices` has been deprecated and replaced by `.allDevicesWithSensorHousing`. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
16
+
17
+
#### Camera
18
+
-`CameraTypes` has been renamed to `CameraType`. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
19
+
-`CameraType.normal` has been deprecated and replaced by `CameraType.wide`. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
20
+
-`.allDevicesWithNormalCamera` has been deprecated and replaced by `.allDevicesWithWideCamera`. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
21
+
-`.hasNormalCamera` has been deprecated and replaced by `.hasWideCamera`. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
13
22
14
23
### New features
15
-
- You can now check which devices support wireless charging through the following variables: `Device.allDevicesWithWirelessChargingSupport` and `Device.current.supportsWirelessCharging` (#209)
24
+
- You can now check which devices support wireless charging through the following variables: `Device.allDevicesWithWirelessChargingSupport` and `Device.current.supportsWirelessCharging` ([#209](https://github.com/devicekit/DeviceKit/pull/209))
25
+
- New `.safeDescription` variable that will provide you with a safe version of the `.description` variable. ([#212](https://github.com/devicekit/DeviceKit/pull/212))
26
+
- Example: "iPhone Xʀ" vs "iPhone XR"
16
27
17
-
## Version 2.3.0
28
+
### Bugfixes
29
+
-`.allDevicesWith3dTouchSupport` contained `.iPhoneSE` which was incorrect. ([#226](https://github.com/devicekit/DeviceKit/pull/226))
30
+
- Some variables would return incorrect values when running on the simulator. ([#227](https://github.com/devicekit/DeviceKit/pull/227))
18
31
19
-
Releasedate: 2019-10-02
32
+
## Version 2.3.0
20
33
21
-
```ruby
22
-
pod 'DeviceKit', '~> 2.3'
23
-
```
34
+
Releasedate: 2019-10-02
24
35
25
-
### New devices
26
-
- Added support for the new september 2019 devices:
27
-
- iPad (7th generation)
36
+
```ruby
37
+
pod 'DeviceKit', '~> 2.3'
38
+
```
39
+
40
+
### New devices
41
+
- Added support for the new september 2019 devices:
0 commit comments