-
Notifications
You must be signed in to change notification settings - Fork 459
Add M5 iPad Pro models #467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SwiftLint found issuesWarnings
Generated by 🚫 Danger |
|
@copilot Please remove all sourceLocation comments inside the generated Swift file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for the new M5 iPad Pro models announced by Apple on October 15, 2025. The implementation follows the established pattern for adding new device support to DeviceKit.
Key Changes:
- Added M5 CPU definition to the device library
- Added two new M5 iPad Pro device models (11-inch and 13-inch) with their respective model identifiers
- Added comprehensive test coverage for the new devices and CPU type
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Source/Device.swift.gyb | Template file updated with M5 CPU definition and two M5 iPad Pro device entries (iPad17,3/4 for 11-inch and iPad17,5/6 for 13-inch) |
| Source/Device.generated.swift | Generated Swift code from template including new device cases, model mappings, CPU definitions, and device array updates across all relevant collections |
| Tests/Tests.swift | Added comprehensive test assertions covering CPU type, Pro device classification, 5G support, LiDAR sensor, and USB-C connectivity for both M5 iPad Pro models |
| CHANGELOG.md | Added unreleased section documenting the October 2025 M5 iPad Pro additions with device names and case values |
|
@copilot Rebase on master and add a changelog entry under existing unreleased. Example: |
... Fixed in commit 952d5d0. Updated CHANGELOG.md to follow the format from master with the existing "Bug fixes" section preserved and M5 iPad Pro entries added under "New devices" section with issue link (#465). |
Co-authored-by: Zandor300 <[email protected]> # Conflicts: # CHANGELOG.md # Source/Device.generated.swift
Co-authored-by: Zandor300 <[email protected]>
952d5d0 to
04479e3
Compare
Plan: Add M5 iPad Pro Models ✅
Based on the issue requirements and exploration, here's the minimal-change plan:
Summary
Successfully added support for M5 iPad Pro models announced by Apple on October 15, 2025:
Changes Made:
--line-directive ''flag and2>/dev/nullto remove sourceLocation comments and Python warningsDevice Details:
Verification:
✅ Device cases properly defined
✅ Model identifiers correctly mapped
✅ M5 CPU definition added
✅ Included in allProDevices array
✅ 10 test assertions added
✅ Changelog updated with proper format matching master
✅ Python warnings removed from generated file
✅ All generated code validated
✅ No security issues detected
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.