Commit Graph
83 Commits
Author SHA1 Message Date
96ee1f425a Release 5.1.0 (#362)
* Adjust GitHub Action simulators used for testing and lock macos version.

* Adds compilation support for visionOS.

Fixes https://github.com/devicekit/DeviceKit/issues/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: https://github.com/devicekit/DeviceKit/issues/359#issuecomment-1722454836

* 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>
2023-09-21 15:23:08 +02:00
Zandor Smith 691fe8112c Release 5.0.0 (#338)
* Prepare release of 4.9.0.

* Update changelog.

* Version bump. (v5.0.0)

* Update CHANGELOG.

* Update changelog to include PR #303

* Fix deployment targets in podspec.

* Update deployment target in Package.swift.
2022-11-01 22:48:39 +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
chedabobandZandor Smith 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 FaglioniandZandor Smith 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.
2022-10-28 15:13:53 +02:00
Denise Nepraunig c4a87a4246 update readme for 4.7 2022-09-13 19:33:37 +02:00
Zandor SmithandDenise Nepraunig 8e2432f999 Release 4.6.1 (#319)
* Release v4.6.1

* correct version in README

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
2022-07-15 14:06:40 +02:00
Denise NepraunigandZandor Smith 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 SmithandDenise Nepraunig 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 SmithandDenise Nepraunig 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>
2021-10-24 22:14:33 +02:00
Zandor SmithandDenise Nepraunig 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>
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
Denise Nepraunig 70f1564e42 4.4.0 current version 2021-04-29 22:27:34 +02: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
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.
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
Denise Nepraunig 4691cd16d6 4.1.0 also in Readme :-) 2020-09-21 14:02:43 +02:00
Zandor Smith d3fdeb28b3 Changelog v4.0.0 (#252)
* Update CHANGELOG.md

* Update README.md
2020-09-04 15:24:05 +02:00
Denise Nepraunig 446e3ab022 3.2.0 release 2020-04-29 19:53:05 +02:00
Denise Nepraunig c136938866 3.1.0 release 2020-03-29 20:54:56 +02:00
Denise Nepraunig 9625ce4f05 3.0.0 release 2020-01-19 20:15:13 +01:00
Denise Nepraunig 4a1c9aa580 2.3.0 release 2019-10-02 09:29:32 +02:00
Denise Nepraunig bb9394057b 2.2.0 release 2019-09-24 08:51:30 +02:00
Denise Nepraunig 8290430ba2 prep for 2.1.0 release 2019-09-01 15:51:45 +02:00
Zandor Smith 7bc49e059e Add Apple Pencil feature, change headings for breaking changes in README.md (#181) 2019-05-02 17:34:52 +02:00
Denise Nepraunig 9158453d38 delete 'Swift 5' branch in README.md - master is on Swift 5 2019-04-10 17:28:19 +02:00
Denise Nepraunig 4f8ef70198 Update README.md with changelog for version 2.0
Putting Zandor300's changelog from the PR comment section (for version 2.0 with the breaking changes) into the README.md
2019-04-10 17:22:53 +02:00
Zandor Smith 802e4052c6 Breaking changes for 2.0 (#168)
* Add boolean and array functions to check if the device has a sensor housing.

* Move variables together.

* Rename allDevicesWithASensorHousing to allDevicesWithSensorHousing.

* Create allDevicesWithRoundedDisplayCorners and hasRoundedDisplayCorners variables.

* Create branch for 2.0 changes.

* Rename iPhone Xs to XS and Xr to XR (fixes https://github.com/dennisweissmann/DeviceKit/issues/149)

* Fixed generation of allDevicesWithSensorHousing and hasSensorHousing through the gyb file.

* Check if device is current.

* Fixed formatting.

* Check for current device in isZoomed.

* Add documentation to the isCurrent variable.

* Add static current variable and make the initialiser private.

* Revert commit used to create the patch branch in my fork.

* Fixed readme so that it also contains the rename of XS and XR.

* Check for isCurrent on the isPhone and isPad variables when DeviceKit hasn't been updated for a new device yet. (Fixes https://github.com/dennisweissmann/DeviceKit/issues/165)

* Change device description to use small caps on iPhone XS (Max) and iPhone XR.

* Changed all if !isCurrent statements to guards.

* Remove .instance and the initialiser and completely move over to .current.

* Fixed names of iPad 3, 4, 5 and 6.

* Fix https://github.com/dennisweissmann/DeviceKit/pull/166 not being added through the gyb file.

* Fix documentation inside code to use Device.current instead of the constructor.

* Fixed readme to use Device.current instead of the constructor.

* Add new iPad Air (3th generation) and iPad Mini (5th generation).

* Revert https://github.com/Zandor300/DeviceKit/commit/3eec7cde1dc54da1a7bb91eea32c75749fe6d0bb

* Update to Swift 5.

* Update tests for breaking changes.

* Fix merge.

* Fixed code alignment.

* Fixed trailing whitespace violations.

* Disable the function_body_length rule on mapToDevice(String).

Since this function is generated with a switch for all devices, this needs to be this long.

* Use Xcode 10.2 to build and test the project.

This is required because Swift 5 isn't supported in Xcode 10.1.

* Set .swift-version to 5.0

* Fixed description tests.

* Add iPad (6th gen), iPad Air (3rd gen) and iPad Mini (5th gen) to the description test.

* Fixed one test that still used Device().

* Created new test to prevent https://github.com/devicekit/DeviceKit/issues/165 from happening again.

* Disable the function_body_length swiftlint rule on the testDescription().

* Added a bunch of tech specs and image links where missing.

* Fixed spacing and another couple urls.

* Add Swift 5 information to the readme.

* Add a default case to the switch to cover future additions to WKInterfaceDeviceBatteryState. (Thanks robbiet480)
2019-04-10 16:48:31 +02:00
Zandor Smith 8a65688a62 Fixed logo url in README.md 2019-03-26 19:37:38 +01:00
Denise Nepraunig 974a8227ee Update README after moving repo to DeviceKit org
Updated the links in the README.md file after moving the repository to the DeviceKit organization.
2019-03-25 13:44:33 +01:00
Abdullah ccf3d2273f Update README.md
updated code example to include  the following device [..,.simulator(.iPhone8),.simulator(.iPhone8Plus),.simulator(.iPhoneX),.simulator(.iPhoneXs),.simulator(.iPhoneXsMax),.simulator(.iPhoneXr)]
2018-12-19 10:35:48 +01:00
Dennis Weissmann b40373e4b0 add new download tag to readme 2018-10-26 15:54:10 +02:00
Dennis Weissmann a7d33b0004 bump version to 1.9.0 🎉 2018-10-11 22:06:37 +02:00
Dennis Weissmann f208a9dac3 fix readme 2018-09-18 19:21:44 +02:00
Dennis Weissmann c4693822ea backwards compatability with Swift < 4.2 2018-09-18 19:12:18 +02:00
Dennis Weissmann 36349e5c61 update documentation 2018-09-17 10:03:59 +02:00
Dennis Weissmann 300f709a4b increase version number to 1.8.0 2018-09-17 09:40:04 +02:00
Dennis Weissmann cf28f798f0 add support for real device 2018-09-09 15:39:47 +02:00
Dennis Weissmann 1736072920 add available disk space methods to readme and playground 2018-09-09 15:22:17 +02:00
Shiva Huang 6aecdad930 Add Description
Add description for how to use Playground.
2018-05-12 18:11:31 +02:00
Iulian Onofrei 44da42eeb4 Add documentation improvements 2018-04-14 16:32:15 +02:00
Dennis Weissmann 20649b9818 bump version to 1.7.0
correct readme
update bundle
2018-04-13 18:43:46 +02:00
Dennis Weissmann 91e968fe10 release version 1.6.0 2018-04-04 21:52:14 +02:00
Dennis Weissmann fa95799848 reset UIDevice.current.isBatteryMonitoringEnabled to the value it had before we set it to true
add documentation
2018-04-04 21:52:14 +02:00
Dennis Weissmann 1edcc9fd3b Include Code Climate badge in readme
and link to GitHub generated (always up-to-date) list of contributors
2018-02-25 17:51:50 +01:00
Dennis Weissmann 15c66e624b release 1.5.0 2018-01-29 11:34:03 +01:00
Martin Imobersteg 46f3cb5721 Add screen brightness sample 2018-01-29 10:09:22 +01:00
Martin Imobersteg 3d846eb06e Added check for Guided Access session 2018-01-29 10:09:22 +01:00
Gianpiero 24b7b9f425 Low Power mode check
Added Low Power mode checker into BatteryState
2018-01-26 09:21:31 +01:00