Skip to content

Commit 96ee1f4

Browse files
Zandor300wo-ist-henrytechnocidaldenisenepraunig
authored
Release 5.1.0 (#362)
* Adjust GitHub Action simulators used for testing and lock macos version. * Adds compilation support for visionOS. Fixes #355 * ✨ Add support for new iPhones Co-Authored-By: Johannes Ebeling <14994778+technocidal@users.noreply.github.com> * ✨ Added generated gyb file Co-Authored-By: Johannes Ebeling <14994778+technocidal@users.noreply.github.com> * 🐛 Fixed missing identifier for 15 Plus Co-Authored-By: Johannes Ebeling <14994778+technocidal@users.noreply.github.com> * ✨ Add Watch Series 9 * Change back to using telephoto to describe the iPhone 15 Pro Max 5x camera. See why: #359 (comment) * Fix tests. * Update CHANGELOG.md * Version bump. (v5.1.0) * Add missing technical specifications and image urls for devices that have them available. * new release date --------- Co-authored-by: Henry Thoma <thoma@sipgate.de> Co-authored-by: Johannes Ebeling <14994778+technocidal@users.noreply.github.com> Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
1 parent 1291f37 commit 96ee1f4

File tree

8 files changed

+220
-63
lines changed

8 files changed

+220
-63
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,24 @@ jobs:
3030
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

3232
test:
33-
runs-on: macos-latest
33+
runs-on: macos-12
3434

3535
strategy:
3636
matrix:
3737
platform:
38+
- platform=iOS Simulator,name=iPhone 14 Pro Max
39+
- platform=iOS Simulator,name=iPhone 14 Pro
40+
- platform=iOS Simulator,name=iPhone 14
41+
- platform=iOS Simulator,name=iPhone 14 Plus
3842
- platform=iOS Simulator,name=iPhone 12 Pro Max
3943
- platform=iOS Simulator,name=iPhone 12 Pro
4044
- platform=iOS Simulator,name=iPhone 12
4145
- platform=iOS Simulator,name=iPhone 12 mini
42-
- platform=iOS Simulator,name=iPhone 11 Pro Max
43-
- platform=iOS Simulator,name=iPhone 11 Pro
44-
- platform=iOS Simulator,name=iPhone 11
4546
- platform=iOS Simulator,name=iPhone 8 Plus
4647
- platform=iOS Simulator,name=iPhone 8
4748
- platform=iOS Simulator,name=iPhone SE (2nd generation)
48-
- platform=iOS Simulator,name=iPod touch (7th generation)
4949
- platform=tvOS Simulator,name=Apple TV
50-
- platform=tvOS Simulator,name=Apple TV 4K
50+
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation)
5151

5252
steps:
5353
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Changelog
22

3+
## Version 5.1.0
4+
5+
Releasedate: 2023-09-21
6+
7+
```ruby
8+
pod 'DeviceKit', '~> 5.1'
9+
```
10+
11+
### New September 2023 devices
12+
13+
This version adds support for the devices announced at the September 2023 Apple Event: ([#360](https://github.com/devicekit/DeviceKit/pull/360), [#361](https://github.com/devicekit/DeviceKit/pull/361))
14+
15+
| Device | Case value |
16+
| --- | --- |
17+
| iPhone 15 | `Device.iPhone15` |
18+
| iPhone 15 Plus | `Device.iPhone15Plus` |
19+
| iPhone 15 Pro | `Device.iPhone15Pro` |
20+
| iPhone 15 Pro Max | `Device.iPhone15ProMax` |
21+
| Apple Watch Series 9 | `Device.appleWatchSeries9_41mm`, `Device.appleWatchSeries9_45mm` |
22+
| Apple Watch Ultra 2 | `Device.appleWatchUltra2` |
23+
24+
### Fixes
25+
26+
- Fixes compilation errors that occur when compiling DeviceKit for visionOS. ([#356](https://github.com/devicekit/DeviceKit/pull/356))
27+
28+
### Important notes
29+
30+
- Note that this version does not add full visionOS support to DeviceKit. It just allows DeviceKit to compile for visionOS.
31+
- 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'`
32+
33+
### Contributors
34+
35+
Thanks to all the contributers of this release!
36+
- [wo-ist-henry](https://github.com/wo-ist-henry)
37+
338
## Version 5.0.0
439

540
Releasedate: 2022-11-01

DeviceKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'DeviceKit'
3-
s.version = '5.0.0'
3+
s.version = '5.1.0'
44
s.summary = 'DeviceKit is a µ-framework that provides a value-type replacement of UIDevice.'
55

66
s.description = <<-DESC

DeviceKit.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
95C7E8471C612ABA00B0189E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Tests/Info.plist; sourceTree = "<group>"; };
5757
95C7E84D1C6130DB00B0189E /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .swiftlint.yml; sourceTree = "<group>"; };
5858
95C7E84E1C61332300B0189E /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
59+
FC5C20FA2A5197E2009406EE /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = "<group>"; };
5960
FCF1EAD323381E5700B609AA /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
6061
/* End PBXFileReference section */
6162

@@ -117,6 +118,7 @@
117118
95CBDB631BFD2B440065FC66 = {
118119
isa = PBXGroup;
119120
children = (
121+
FC5C20FA2A5197E2009406EE /* .github */,
120122
95C7E83B1C6122BF00B0189E /* Source */,
121123
95C7E8411C61241200B0189E /* Tests */,
122124
954977F91E748DB000D6FAEB /* Scripts */,
@@ -380,7 +382,7 @@
380382
"@executable_path/Frameworks",
381383
"@loader_path/Frameworks",
382384
);
383-
MARKETING_VERSION = 5.0.0;
385+
MARKETING_VERSION = 5.1.0;
384386
MTL_ENABLE_DEBUG_INFO = YES;
385387
PRODUCT_BUNDLE_IDENTIFIER = me.dennisweissmann.DeviceKit;
386388
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -437,7 +439,7 @@
437439
"@executable_path/Frameworks",
438440
"@loader_path/Frameworks",
439441
);
440-
MARKETING_VERSION = 5.0.0;
442+
MARKETING_VERSION = 5.1.0;
441443
MTL_ENABLE_DEBUG_INFO = NO;
442444
PRODUCT_BUNDLE_IDENTIFIER = me.dennisweissmann.DeviceKit;
443445
PRODUCT_NAME = "$(TARGET_NAME)";

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
`DeviceKit` is a value-type replacement of [`UIDevice`](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/).
2020

21-
## Current version 5.0.0
21+
## Current version 5.1.0
2222
See our detailed [changelog](CHANGELOG.md) for the latest features, improvements and bug fixes.
2323

2424
## Features
@@ -52,7 +52,7 @@ DeviceKit can be installed in various ways.
5252

5353
#### Swift 5
5454
```ruby
55-
pod 'DeviceKit', '~> 4.0'
55+
pod 'DeviceKit', '~> 5.1'
5656
```
5757
#### iOS 8.0 support
5858
```ruby

0 commit comments

Comments
 (0)