Breaking changes
- Removed
WORKSPACEsupport - Removed bazel 7.x support
New features
- Add opt-in support for explicit modules, see the docs for usage.
- feat: Add support for ios_kernel_extension() bazel rule by @YungRaj in #2911
- Adopt symbolic macros for public-facing API by @aaronsky in #2933
Other notable changes
- Fix SDK->simruntime mapping assumptions in test runners by @aaronsky in #2889
- Fix *_build_test rules with bazel 9.x by @keith in #2890
- Pass runner PID to simulator create/clean up actions by @brentleyjones in #2899
- Fix rules_apple device runner crash on Rapid Security Response versions by @lelandjansen in #2898
- Bump Swift stdlib presence thresholds for Span compatibility by @jpsim in #2915
- Improve performance of test filter creation by @john-flanagan in #2917
- Add
@loader_path/../Frameworksrpath for macOS extensions and ExtensionKit by @adincebic in #2895 - Add Swift deterministic hashing to the environment variables passed to all actions generated by the Apple rules. by @adincebic in #2918
- Support macOS tree-artifact bundling for imported versioned frameworks by @adincebic in #2920
- Add support for launching watchOS apps by @rockbruno in #2875
- Provide default Info.plist for *_application rules by @ssarad in #2919
- fix framework imports with private swiftinterface by @adincebic in #2921
- Remove armv7k watchOS support by @keith in #2934
- Fix macOS test runner env propagation and add missing features by @kirillyakimovich in #2953
- Add app run modes to Apple application runners by @brentleyjones in #2974
- Prevent runfiles env leakage into
ipa_post_processorby @adincebic in #2982
New Contributors
- @lelandjansen made their first contribution in #2898
- @YungRaj made their first contribution in #2911
- @john-flanagan made their first contribution in #2917
- @kirillyakimovich made their first contribution in #2953
- @congt made their first contribution in #2988
Full Changelog: 4.5.0...5.0.0-rc1
This release is compatible with Bazel 8.x LTS, 9.x LTS, and rolling releases.
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "5.0.0-rc1")