What's Changed
- Deprecated: Preview traits have been deprecated in favor of
prepareDependencies
due to a quirk of Xcode previews that allows dependencies to bleed across previews when multiple are contained in the same file (#323). - Fixed: Bump swift-syntax from prerelease (thanks @Andrewangeta, #326).
- Fixed: Allow
prepareDependencies
to override the full dependency context (#327). This can be useful for running an Xcode preview using live dependencies:#Preview { let _ = prepareDependencies { $0.context = .live } ContentView() }
- Infrastructure: Fix unit tests on Xcode 16 (thanks @pyrtsa, #330).
New Contributors
- @Andrewangeta made their first contribution in #326
Full Changelog: 1.6.3...1.6.4