Commit Graph

303 Commits

Author SHA1 Message Date
Zandor Smith d37e70cb26 Release 4.9.0 (#336)
* Setup CHANGELOG for 4.9.0 release.

* Set release date for 4.9.0 release.
4.9.0
2022-11-01 20:50:40 +01:00
Guglielmo Faglioni 53301ccbd4 Added cpu info (#330)
* added cpu info

* added cpu description - e.g "A16 Bionic"

* reindent

* Add missing tvOS preprocessor flag.

* Fix indentation.

* Add tests for CPU.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-11-01 13:16:23 +01:00
Pär Strindevall ff446d36ae Add isSimulator for all targets (#245)
* Add isSimulator for all targets

* Remove trailing whitespaces

* Remove trailing space.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-11-01 13:15:25 +01:00
Zandor Smith 02ad1d25f8 Increase deployment targets to minimal supported versions by Xcode 14. (#337)
* Increase deployment targets to minimal supported versions by Xcode 14.

* Update requirements in README.
2022-10-31 18:52:59 +01:00
Zandor Smith a94c81d120 Add support for Apple TV 4K (3rd generation) (#335) 2022-10-31 18:52:31 +01:00
chedabob 85c63e2321 Add thermal state (#332)
* feat: Add ThermalState

https://github.com/devicekit/DeviceKit/issues/322

Also fixes the broken example playground

* Add changelog entry.

* Version bump. (v4.9.0)

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-10-31 18:08:52 +01:00
Guglielmo Faglioni f5f4b03408 Fix Apple Watch Series 7 device identifier being incorrect. (#329)
* added watch 6,8

* Update changelog and version bump.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-10-29 03:26:21 +02:00
Zandor Smith 12cff4b02b Implement support for new October 2022 iPads. (#334)
* Implement support for new October 2022 iPads.

* Add support urls to iPhone 14 series and September 2022 Apple Watch devices.

* Add changelog entry.

* Version bump. (v4.8.0)

* Change releasedate in changelog.
4.8.0
2022-10-28 15:13:53 +02:00
Denise Nepraunig 20e0991f39 fix changelog 4.7.0 2022-09-13 19:34:03 +02:00
Denise Nepraunig c4a87a4246 update readme for 4.7 2022-09-13 19:33:37 +02:00
Zandor Smith d48a843da6 Add support for new September 2022 devices (#324)
* Add missing Apple Watch Series 7.

* Initial implementation for iPhone 14.

* Initial implementation for Apple Watch Series 8, Apple Watch SE 2 and Apple Watch Ultra and fix iPhone 14 Plus.

* Add missing device identifiers and fix Apple Watch Series 7 and 8 housing size.

* Add changelog entry for 4.7.0.

* Fix tests.
2022-09-13 19:30:42 +02:00
Eugene Klishevich 8b7b096388 Fix the Device.systemName property (#283)
* Fix the `Device.systemName` property

iPadOS system name for iPads was taken into account

* Add test for systemName.

* Fix compile error on Apple TV.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-09-13 19:29:01 +02:00
Zandor Smith 8e2432f999 Release 4.6.1 (#319)
* Release v4.6.1

* correct version in README

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
4.6.1
2022-07-15 14:06:40 +02:00
Zandor Smith 2d0b7b734a Remove CocoaPodsVerification project to fix Carthage selecting that instead of the DeviceKit workspace. (#288) 2022-07-15 10:16:30 +02:00
Denise Nepraunig f2b907f725 getting rid of travis (#290)
* getting rid of travis

* Fix version table.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-07-14 14:23:44 +02:00
Zandor Smith af953dafc2 Add support for new March 2022 devices. (#308)
* Add iPhone SE (3rd generation) and iPad Air (5th generation) support.

* Fix tests.

* Add device identifier for iPhone SE (3rd generation)

* Version bump (4.6.0) and update changelog.

* Fix testIsPhoneIsPadIsPod test.

* Add device identifiers for iPad Air (5th generation)

* Use Python 3 for gyb.

* Adjust release date.

* Add support URL and images for iPhone SE (3rd generation).

* fix release date due to sick leave

* correct version in readme

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
2022-03-18 22:19:22 +01:00
Zandor Smith 1d310c58ed Adjust Swiftlint rules. (#295)
* Disable a couple Swiftlint rules.

* Disable number_separator rule.
2022-03-09 12:50:50 +01:00
Zandor Smith da57c444cb Fix invalid iPad Mini (6th generation) aspect ratio (again) (#300)
* Reverse aspect ratio of iPad Mini (6th generation)

* Add missing support url and images.

* Version bump and changelog entry.

* release date and readme

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
4.5.2
2021-10-24 22:14:33 +02:00
Zandor Smith 67335d5070 Fix iPad Mini (6th generation) aspect ratio and screen size. (#294)
* Fix iPad Mini (6th generation) aspect ratio and screen size.

* Add changelog.

* release prep

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
4.5.1
2021-10-15 19:10:35 +02:00
Denise Nepraunig 769a8aefbe current version 4.5.0...
I always forget to update the readme...
2021-09-16 21:25:25 +02:00
Zandor Smith 6b58d9a61e Add support for new September 14th 2021 devices. (#286)
* Add support for new September 14th 2021 devices.

* Remove support for Apple Watch Series 7.

Because it will be available on the fall, we won't know device identifiers, so it doesn't make sense to add support yet.

* Added device identifiers for the iPads and iPhones.

* Added Changelog.

* Version bump. (v4.5.0)

* well, I don't really know how to fix this now...

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
4.5.0
2021-09-16 21:09:54 +02:00
Zandor Smith b7cad7546b Setup GitHub Actions (#284)
* Setup GitHub Actions

* Use macos-latest image.

Big Sur is still in preview.

* Update bundler before trying to install.

* Use `ruby/setup-ruby@v1` for setting up bundler.

* Update bundled with version and specify specific ruby-version.

* Setup separate danger job using action and setup test job matrix.

* Fix matrix variable name.

* Adjust simulators that are being used.

* Add GITHUB_TOKEN to danger job.
2021-09-16 17:17:09 +02:00
Denise Nepraunig 70f1564e42 4.4.0 current version 4.4.0 2021-04-29 22:27:34 +02:00
Zandor Smith 45fe8518f7 Add support for April 2021 devices (#279)
* Add initial support for iPad Pro (11 inch) (3rd generation) and iPad Pro (12.9 inch) (5th generation).

* Add initial support of Apple TV 4K (2nd generation).

* Add trailing comma to prevent having to change the previous line when new devices get added.

* Update changelog.

* Add device identifiers for both iPad Pros and Apple TV 4K (2nd generation).

* Version bump in Xcode project. (4.4.0)

* Update changelog.

* Update Tests.swift

fix tests for April devices

* podspec 4.4.0

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
2021-04-29 22:25:57 +02:00
Denise Nepraunig 4cf9f057db DeviceKit PodSpec 4.3.0 4.3.0 2021-02-12 23:17:29 +01:00
Zandor Smith 96387ccbef Add missing technical specification and image urls. (#272)
* Add support urls and images for iPhone 12, 12 Pro and iPad Air (4th gen)

* Fix iPhone 12 Pro Max and iPhone 12 mini tech specs and support image urls.

* Version bump to 4.3.0 and added changelog entry.
2021-02-12 22:50:55 +01:00
Felix Lisczyk fd3ccfca24 Added support for arm64 simulator (#273) 2021-02-12 22:49:48 +01:00
Zandor Smith dbddb0296e Fix bugs in v4.2.0 release (#268)
* Fix the aspect ratio of iPad Air (4th generation).

* Specify that iPhone 12 Pro (Max) also are sporting a LiDAR sensor.

* Update changelog and bump version to v4.2.1.

* Add links to pull request and issues.

* Fix LiDAR test.
4.2.1
2020-10-22 20:00:43 +02:00
Denise Nepraunig 90b302a082 correct 4.2.0 version in readme... 2020-10-21 17:37:17 +02:00
Zandor Smith 8dfc0937d0 Add support for October 2020 devices (#262)
* Add support for all iPhone 12 models and iPad Air (4th generation)

Device identifiers missing for iPhones.
Support link and image missing for iPhones and iPad.

* Bump version to 4.2.0.

* Update changelog.

* Add device identifiers for all iPhone 12.

* Fix Unit tests.

* Update v4.2.0 release date in CHANGELOG.md.
4.2.0
2020-10-21 17:34:17 +02:00
Denise Nepraunig 4691cd16d6 4.1.0 also in Readme :-) 4.1.0 2020-09-21 14:02:43 +02:00
Zandor Smith fa7196ee14 Add iPad (8th generation) and Apple Watch SE and Series 6. (#256)
* Add iPad (8th generation) and Apple Watch SE and Series 6

Still missing device identifiers, support URLs and support images.

* Add changelog for 4.1.0 release.

* Add support and image urls and device identifiers for Apple Watch SE/6 and iPad 8

* Update changelog date.

* Fix Apple Watch Series 6 and SE not featuring Force Touch.
2020-09-21 14:00:17 +02:00
Zandor Smith 16b89ba066 Fix description being used for Simulator safeDescription. (#257)
Fixes #255
2020-09-16 12:55:25 +02:00
Sylvain Fay-Châtelard 0df4d3948e Remove unneeded check on iOS9 availability (#254)
Now that DeviceKit dropped support of iOS8, this check is always true.
2020-09-15 21:25:19 +02:00
Denise Nepraunig 969bd6bf03 4.0.0 release (#253) 4.0.0 2020-09-04 16:26:42 +02:00
Zandor Smith d3fdeb28b3 Changelog v4.0.0 (#252)
* Update CHANGELOG.md

* Update README.md
2020-09-04 15:24:05 +02:00
Zandor Smith 4b7f5f3be0 Minimum deployment target iOS 9.0 and apply Xcode 12 recommended settings. (#249)
* Change minimum iOS deployment target to 9.0.

Support for 8.0 was dropped in Xcode 12.

* Apply recommended settings in Xcode 12.

* Update iOS minimum deployment target to 9.0 in SwiftPM and Cocoapods files as well.
2020-08-31 11:29:31 +02:00
tompowered 90fa62e157 Enable BUILD_LIBRARY_FOR_DISTRIBUTION so DeviceKit runs on Xcode 12 (#248) 2020-08-11 14:03:54 +02:00
Pär Strindevall c2dc375a35 Add vendor to .gitignore (#246) 2020-08-08 01:09:36 +02:00
Abdullah 33dacf2a77 Update Tests.swift (#244)
added iPhoneSE2 screenRatio and iPhoneSE ppi to tests
2020-06-18 09:50:30 +02:00
Denise Nepraunig 446e3ab022 3.2.0 release 3.2.0 2020-04-29 19:53:05 +02:00
Zandor Smith 37561a8c84 Add support for the new iPhone SE (2nd generation). (#238)
* Add support for the new iPhone SE (2nd generation).

* Add device identifier for iPhone SE (2nd generation)

Source: theiphonewiki.com

* Add support link and Apple Care image of iPhone SE.

Also compile to propogate the device identifier to the gyb file.

* Update changelog.
2020-04-29 16:59:30 +02:00
Denise Nepraunig c136938866 3.1.0 release 3.1.0 2020-03-29 20:54:56 +02:00
Zandor Smith 952c2cd234 Add support for the 2020 iPad Pro (#235)
* Add support for the 2020 iPad Pro.

* Add variables for checking if device has a LiDAR sensor.

* Add test for LiDAR values.

* Added correct device identifiers and documentation for new iPad Pro 2020.

* Fix testIsPro test.

* Updated changelog for 3.1.0.

* Added LiDAR function to changelog.
2020-03-29 20:51:53 +02:00
dependabot[bot] 9595fd97d1 Bump rake from 12.3.1 to 13.0.1 (#234)
Bumps [rake](https://github.com/ruby/rake) from 12.3.1 to 13.0.1.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v12.3.1...v13.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-29 21:23:21 +01:00
Denise Nepraunig 9625ce4f05 3.0.0 release 3.0.0 2020-01-19 20:15:13 +01:00
Zandor Smith 7dec8f896d Apply a bunch of refactoring changes for 3.0.0 (#212)
* Apply a bunch of refactoring  changes.

* Improve MARKs.

* Add safeDescription variable. (Implements #216)

For getting a safe version of the description variable. (Eg; iPhone XR).

* Fix typo in comment (Fixes #221)

* Update changelog.

* Fixed formatting.

* Fixed links.

* Add safeDescription test for iOS.

* Fixed duplicate test.
2020-01-19 09:13:02 +01:00
Zandor Smith 529dfe802c Fix bug: Incorrect values being returned on simulator. (#227) 2019-12-28 16:25:32 +01:00
Zandor Smith 00eb8fdc26 FIx bug that iPhone SE is reported having 3D touch which is not the case. (#226) 2019-12-28 16:22:44 +01:00
Zandor Smith f19f9f868e Rename the Apple TV HD enum to appleTVHD. (#211)
* Rename the Apple TV HD enum to appleTVHD.

Breaking change!

* Update changelog.

* Update tests with appleTVHD rename.
2019-10-16 20:28:30 +02:00