0.10.0
Milestone
- Add StateObject/ObservedObject/EnvironmentObject support.
- Update DynamicProperty/State/Binding implementation
- Migrate documentation from SPI to GH pages.
import OpenObservation
import OpenSwiftUI
@Observable
private class Model {
var showRed = false
}
struct ContentView: View {
@State private var model = Model()
var body: some View {
Subview()
.environment(model)
}
}
struct Subview: View {
@Environment(Model.self) private var model
var body: some View {
Color(model.showRed ? .red : .blue)
}
}What's Changed
- Add cross-platform debugger detection implementation by @Kyle-Ye in #509
- Add ignoreSafeArea support by @Kyle-Ye in #510
- Add AccessibilityEnvironment by @Kyle-Ye in #513
- Add test cases to track safeAreaPadding and GeometryReader safe area issues by @Kyle-Ye in #512
- Add unknown placeholder for CoreSystem by @Kyle-Ye in #514
- Add ViewStyle API support by @Kyle-Ye in #515
- [Feature] Add init Toggle support by @Kyle-Ye in #516
- Add Entry macro support by @Kyle-Ye in #520
- Add ObservedObject implementation by @Kyle-Ye in #521
- Add ObservedObjectCompatibilityTests by @Kyle-Ye in #522
- Update version information by @Kyle-Ye in #523
- Update DynamicProperty implementation to 6.5.4 by @Kyle-Ye in #524
- Add StateObject implementation by @Kyle-Ye in #525
- Fix macOS CI by @Kyle-Ye in #528
- Add EnvironmentObject support by @Kyle-Ye in #529
- Add EnvironmentKeyWritingModifier implementation by @Kyle-Ye in #530
- Add Observable Environment API by @Kyle-Ye in #531
- Fix example project build issue for linking Testing framework by @Kyle-Ye in #532
- Fix EnvironmentKeyTransformModifier implementation by @Kyle-Ye in #533
- Add Bindable implementation by @Kyle-Ye in #534
- Update DynamicPropertyBuffer implementation by @Kyle-Ye in #535
- Add tracing support for DynamicPropertyBuffer by @Kyle-Ye in #536
- Update State implementation by @Kyle-Ye in #537
- Fix nested State update issue by @Kyle-Ye in #538
- Migrate to shared workflows from organization repository by @Kyle-Ye in #539
- Add OPENSWIFTUI_ENABLE_PRIVATE_IMPORTS by @Kyle-Ye in #540
- Add Swift-DocC documentation hosting on GitHub Pages by @Kyle-Ye in #541
- Configure self-hosted documentation in SPI manifest by @Kyle-Ye in #542
- Add PR triage workflow by @Kyle-Ye in #543
- Fix PR triage workflow by @Kyle-Ye in #545
- Update Binding and Location implementation by @Kyle-Ye in #544
- Add workflow_dispatch with number support by @Kyle-Ye in #546
- Update CodableProxy by @Kyle-Ye in #547
- Optimize Model part documentation by @Kyle-Ye in #548
- Fix pr-triage workflow issue by @Kyle-Ye in #549
- Fix: Add 'package' as valid minimum access level for documentation by @Kyle-Ye in #550
Full Changelog: 0.9.0...0.10.0