This repository was archived by the owner on Jan 28, 2026. It is now read-only.
0.11.0
This release adds support for SwiftWasm 5.7. It also includes a new reconciler modeled after React's Fiber reconciler. It can provide faster updates and allow for larger View hierarchies. It also includes layout steps that can match SwiftUI layouts closer than CSS approximations.
You can specify which reconciler to use in your App's configuration:
struct CounterApp: App {
static let _configuration: _AppConfiguration = .init(
// Specify `useDynamicLayout` to enable the layout steps in place of CSS approximations.
reconciler: .fiber(useDynamicLayout: true)
)
var body: some Scene {
WindowGroup("Counter Demo") {
Counter(count: 5, limit: 15)
}
}
}What's Changed
- Experimental "React Fiber"-like Reconciler by @carson-katri in #471
- Support meta tags in StaticHTMLRenderer by @AndrewBarba in #483
- Reenable macOS CI builds, using macOS 12 and Xcode 13.4 by @ezraberch in #484
- Add html5 doctype to static renderer by @AndrewBarba in #486
- Revert "Add html5 doctype to static renderer (#486)" by @MaxDesiatov in #487
- Clarify testing commands in
CONTRIBUTING.mdby @MaxDesiatov in #488 - Support
foregroundColorforTextFieldby @carson-katri in #453 - Custom Layout Engine for Fiber Reconciler by @carson-katri in #472
- Add support for 'Fiber' label in CI by @carson-katri in #493
- Tweak formatting rules for attributes by @MaxDesiatov in #492
- Add configuration options to
Appto choose reconciler by @carson-katri in #495 - Add
_ShapeViewandbackgroundmodifiers support to Fiber renderers by @carson-katri in #491 - Add
_PaddingLayoutsupport to layout engine by @carson-katri in #485 - Add file size to benchmark script by @ezraberch in #496
- Implement
AnyShapeby @filip-sakel in #497 - Fix build and tests for 5.7 toolchain by @kateinoigakukun in #499
- Add
Layoutprotocol for FiberReconciler by @carson-katri in #498 - Support
Imagein Fiber renderers by @carson-katri in #500 - Add support for preferences,
@StateObject,@EnvironmentObject, and customDynamicPropertytypes by @carson-katri in #501 - Allow window resizing in Fiber renderers by @carson-katri in #502
- Use Swift 5.7 nightly on CI, fix build issues by @MaxDesiatov in #507
- Update default assignee in
bug_report.mdby @MaxDesiatov in #510 - Disable GTK macOS builds by @MaxDesiatov in #512
- Fix typos in doc comments across the codebase by @BenedictSt in #513
- Create
FAQ.mdby @MaxDesiatov in #511
New Contributors
- @AndrewBarba made their first contribution in #483
- @BenedictSt made their first contribution in #513
Full Changelog: 0.10.1...0.11.0