Releases: OpenSwiftUIProject/OpenSwiftUI
Releases · OpenSwiftUIProject/OpenSwiftUI
0.2.0
Milestone:
- Add initial render support for OpenSwiftUI 🎉
import OpenSwiftUI
struct ContentView: View {
@State private var first = true
var color: Color {
Color(uiColor: first ? .red : .blue)
}
var body: some View {
color
.onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
first.toggle()
}
}
.id(first)
}
}
Note
- Only color render is support by now.
- Currently we just use the SwiftUI Render.
- No layout system support and the size is hard-coded.
- Only iOS simulator platform is supported so far. (macOS support will be added later this week)
Follow the instruction in README to give it a try yourself.
What's Changed
- Update ViewTrait by @Kyle-Ye in #219
- Update Path and Shape by @Kyle-Ye in #220
- Add Silica's CGPath implementation by @Kyle-Ye in #222
- Add CATransform3D for non-Darwin platform by @Kyle-Ye in #221
- Fix destroy typo by @Kyle-Ye in #223
- Update UIKit+Representable interface and documentation by @Kyle-Ye in #224
- Add ViewThatFits interface by @Kyle-Ye in #225
- Add EdgeInset+ProtobufMessage by @Kyle-Ye in #226
- Update CoreGlue by @Kyle-Ye in #227
- Add NSHostingController and NSHostingView support by @Mx-Iris in #229
- Fix Xcode version issue by @Kyle-Ye in #241
- Add vscode mcp config by @Kyle-Ye in #239
- Add FloatingPoint+Extensions by @Kyle-Ye in #240
- Add zIndex API by @Kyle-Ye in #243
- Update Edge implementation by @Kyle-Ye in #244
- Add Spacing implementation by @Kyle-Ye in #245
- Add ViewSpacing implementation by @Kyle-Ye in #246
- Add Concurrency related API by @Kyle-Ye in #248
- Fix swift_beginAccess issue by @Kyle-Ye in #249
- Add DisplayGamut API by @Kyle-Ye in #247
- Update SystemColors by @Kyle-Ye in #250
- Fix CI issue by @Kyle-Ye in #251
- [Feature] Add iOS CoreUI linking support by @Kyle-Ye in #252
- Doc: add availability versions documentation and version map by @Kyle-Ye in #256
- Update License information by @Kyle-Ye in #257
- Fix isDeployedOnOrAfter by @Mx-Iris in #254
- Add Cache3 by @Dark-Existed in #255
- Update LayoutComputer by @Kyle-Ye in #258
- Update Stack documentation and test case by @Kyle-Ye in #260
- Update BloomFilter by @Kyle-Ye in #261
- Update Unmanaged+Extension by @Kyle-Ye in #262
- Add SymbolLocator dependency and OpenSwiftUISymbolDualTests by @Kyle-Ye in #263
- Update file name to align with ID by @Kyle-Ye in #264
- Fix xcconfig override issue by @Kyle-Ye in #265
- Fix AtomicBox deinit issue by @Kyle-Ye in #266
- Update PropertyList by @Kyle-Ye in #267
- Update EnvironmentValues by @Kyle-Ye in #268
- Update GraphReuse by @Kyle-Ye in #269
- [Feature] Add LeafDisplayList by @Kyle-Ye in #270
- Add initial rendering support for OpenSwiftUI by @Kyle-Ye in #271
- Update OpenSwiftUIShims for Darwin by @Kyle-Ye in #274
- Remove OPENSWIFTUI_RELEASE_2021 support by @Kyle-Ye in #275
- Remove WASM support by @Kyle-Ye in #277
- Fix TimerUtilsTest case by @Kyle-Ye in #278
- Fix CoreUI import issue by @Kyle-Ye in #279
- Add CoreUI xcframework in Example by @Kyle-Ye in #280
- Bump to Swift 6.1 Toolchain by @Kyle-Ye in #276
- Update werror for groups (Adopt SE443) by @Kyle-Ye in #281
- Add -no-verify-emitted-module-interface by @Kyle-Ye in #282
- Fix DisplayList update issue by @Kyle-Ye in #283
New Contributors
Full Changelog: 0.1.6...0.2.0
0.1.6
What's Changed
- Add ConditionalMetadata by @Kyle-Ye in #207
- Update ConditionalContent by @Kyle-Ye in #208
- Add TimerUtils by @Kyle-Ye in #209
- Update View implementation by @Kyle-Ye in #210
- Add DynamicViewContent by @Kyle-Ye in #211
- Update VariadicView by @Kyle-Ye in #212
- Fix CoreServices macOS issue by @Kyle-Ye in #213
- Add Namespace API by @Kyle-Ye in #214
- Add DynamicTypeSize by @Kyle-Ye in #215
- Add CoreGlue2 by @Kyle-Ye in #216
- Optimize HostingExample project by @Kyle-Ye in #217
- Update TestApp by @Kyle-Ye in #218
Full Changelog: 0.1.5...0.1.6
0.1.5
Milestone:
- Add onAppear/onDisappear and id support

Note
- No render support yet
- Only
AnyView
/EmptyView
/Color
is supported so far - Only iOS simulator platform is supported so far
Follow the instruction in README to give it a try yourself.
What's Changed
- Update Example by @Kyle-Ye in #67
- Fix typo in the README by @revolter in #69
- Optimize AnyView implementation by @Kyle-Ye in #70
- Add DynamicBody implementation by @Kyle-Ye in #72
- Refactor AnyView init fromValue implementation by @Kyle-Ye in #73
- Fix GraphHost/setTime(_ time:) guard should be not equal. by @Dark-Existed in #74
- Add State implementation by @Kyle-Ye in #75
- Add _printChanges implementation by @Kyle-Ye in #78
- Update Environment.wrappedValue for RELEASE_2023 by @Kyle-Ye in #77
- Implement ConditionContent._makeView by @Kyle-Ye in #79
- Add OpenSwiftUI UITest target support by @Kyle-Ye in #80
- Add Padding and TappablePadding by @Kyle-Ye in #83
- Add setRootView implementation by @Kyle-Ye in #84
- Fix printChange implementation bug by @Kyle-Ye in #85
- Add _logChanges implementation by @Kyle-Ye in #86
- Add Unit Test case for _logChanges by @Kyle-Ye in #88
- Add ViewList and ViewTrait by @Kyle-Ye in #90
- Add ViewModifier implementation by @Kyle-Ye in #91
- Update .spi.yml by @finestructure in #93
- Add onAppear and onDisappear support by @Kyle-Ye in #92
- Fix Semantics.forced crash issue and add test case by @Kyle-Ye in #94
- Add StrokeStyle and FillStyle by @Kyle-Ye in #96
- Add OPENSWIFTUI_TARGET_RELEASE support by @Kyle-Ye in #97
- Add ClipEffect interface by @Kyle-Ye in #98
- Add basic path support by @Kyle-Ye in #102
- Update VariadicView by @Kyle-Ye in #95
- Update ViewList by @Kyle-Ye in #103
- Add basic UIViewRepresentable support by @Kyle-Ye in #104
- Add Switch implementation by @Kyle-Ye in #107
- Update wasm CI to Swift 5.10 by @Kyle-Ye in #109
- Add ShapeStyle support by @Kyle-Ye in #108
- Add OpenSwiftUICore and OpenSwiftUICoreTests by @Kyle-Ye in #110
- Update EnvironmentKey by @Kyle-Ye in #111
- Add Color.Resolved by @Kyle-Ye in #112
- Add Color.Resolved init?(platformColor:) by @Kyle-Ye in #113
- Add AtomicBox and ObjectCache implementation by @Kyle-Ye in #114
- Add Color.Resolved kitColor implementation by @Kyle-Ye in #115
- Fix non-Darwin build issue by @Kyle-Ye in #116
- Update Xcode 16 and add Swift 6 toolchain support on macOS by @Kyle-Ye in #118
- Bump Swift version to 6.0 for Linux by @Kyle-Ye in #119
- Bump OpenGraph dependency by @Kyle-Ye in #120
- Update logging and tracing implementation by @Kyle-Ye in #121
- Update EnvironmentHelper API by @Kyle-Ye in #122
- [Feature] Update Update API by @Kyle-Ye in #124
- Fix iOS flaky test case by @Kyle-Ye in #123
- Optimize Data related code for RELEASE 2024 by @Kyle-Ye in #125
- Update Time implementation by @Kyle-Ye in #127
- Add Stack implementation by @Kyle-Ye in #128
- Update Graph to Release 2024 by @Kyle-Ye in #126
- Update Preference to 2024 by @Kyle-Ye in #129
- Move ViewDebug into OpenSwiftUICore by @Kyle-Ye in #130
- Update Semantics implementation by @Kyle-Ye in #131
- Update GraphHost by @Kyle-Ye in #132
- Update dynamic property by @Kyle-Ye in #133
- Refactor View into Core module by @Kyle-Ye in #134
- Add StrongHash implementation by @Kyle-Ye in #135
- Update DisplayList by @Kyle-Ye in #136
- Add ProtobufMessage support by @Kyle-Ye in #137
- Add ColorRenderingMode implementation by @Kyle-Ye in #138
- Add UnsafePointer extension by @Kyle-Ye in #139
- Complete Protobuf Encoder implementation by @Kyle-Ye in #141
- Fix WASI build issue by @Kyle-Ye in #142
- Add Protobuf encoder support by @Kyle-Ye in #143
- Update ViewRender by @Kyle-Ye in #144
- Add SExpPrinter by @Kyle-Ye in #145
- Add basic display list + String support by @Kyle-Ye in #146
- Update OpenSwiftUI_SPI by @Kyle-Ye in #147
- Add documentation to ProtobufMessage by @Kyle-Ye in #148
- Add Core Text graphics context provider and text graphics context providers by @Kyle-Ye in #149
- Add CorePlatformImage support by @Kyle-Ye in #150
- Bump macOS CI version to macOS 15 by @Kyle-Ye in #152
- Add InternalImportsByDefault support by @Kyle-Ye in #151
- Update version information by @Kyle-Ye in #154
- Add AbsoluteEdge support by @Kyle-Ye in #155
- Remove 5.10 WASM support by @Kyle-Ye in #156
- Update View Input and Output by @Kyle-Ye in #157
- Fix release 2021 CI build issue by @Kyle-Ye in #158
- Fix CI issue by @Kyle-Ye in #159
- Add ShapeStyle support by @Kyle-Ye in #161
- Add ColorMatrix by @Kyle-Ye in #162
- Add ResolvedPaint by @Kyle-Ye in #163
- FIx protobuf issue by @Kyle-Ye in #164
- Update ColorScheme by @Kyle-Ye in #165
- Update Color implementation by @Kyle-Ye in #166
- Add OpenSwiftUIBridge target by @Kyle-Ye in #167
- Add OPENSWIFTUI_SUPPORT_MULTI_PRODUCTS env support by @Kyle-Ye in #168
- Add OpenSwiftUI+UIColor by @Kyle-Ye in #170
- Add Coordinate Space API by @Kyle-Ye in #171
- Update ...
0.1.0
Milestone:
- Complete the body accessor logic
Note
- No render support yet
- Only
AnyView
andEmptyView
is supported so far
What's Changed
- Add iOS CI and fix warning on iOS by @Kyle-Ye in #9
- Update OGComparisionMode by @Kyle-Ye in #10
- Spilit OG logic to OpenGraph by @Kyle-Ye in #11
- Add compatibility_tests CI by @Kyle-Ye in #12
- Add initial implementation for PropertyList by @Kyle-Ye in #13
- Update Transaction and EnvironmentValues by @Kyle-Ye in #14
- Enable swift-testing by default and migrate all test case by @Kyle-Ye in #15
- Add propertylist test code and complete some missing part by @Kyle-Ye in #16
- Add initial benchmark support by @Kyle-Ye in #17
- Add VersionSeed support by @Kyle-Ye in #18
- Add PreferenceList implementation by @Kyle-Ye in #19
- Add GraphShims target dependency by @Kyle-Ye in #20
- Use XCFramework and tbd to fix iOS private framework issue by @Kyle-Ye in #21
- Bump swift-testing version to 0.3.0 by @Kyle-Ye in #22
- Add SwiftPM based example by @Kyle-Ye in #24
- Add LegacyApp and Benchmark API by @Kyle-Ye in #25
- Add initial hosting support by @Kyle-Ye in #26
- Add wasm CI support by @Kyle-Ye in #27
- Update DynamicPropertyCache by @Kyle-Ye in #28
- Update CI’s Xcode version by @Kyle-Ye in #29
- Update DynamicProperty implementation by @Kyle-Ye in #30
- Adding Binding DynamicProperty implementation by @Kyle-Ye in #31
- Add DescriptiveDynamicProperty by @Kyle-Ye in #32
- Add BindingTests by @Kyle-Ye in #33
- Add initial FocusState support by @Kyle-Ye in #34
- Add PreferenceKeys and update HostPreferencesKey by @Kyle-Ye in #35
- Remove OpenFoundation dependency by @Kyle-Ye in #36
- Update WASM CI to run for wasi target by @Kyle-Ye in #37
- Add BodyAccessor Support by @Kyle-Ye in #38
- Bump watchOS target and update App related by @Kyle-Ye in #40
- Update project structure and add version doc by @Kyle-Ye in #42
- Add GraphValue and GraphMutation implementation by @Kyle-Ye in #43
- feature/graphhost by @Kyle-Ye in #44
- [Optimize] Remove importing CoreGraphics on Darwin for CGFloat by @Kyle-Ye in #45
- [Feature] Update Environment related implementation by @Kyle-Ye in #46
- [Feature] Add empty separator interface and doc by @Kyle-Ye in #47
- Update View folder structure by @Kyle-Ye in #48
- Add _UIGraphicsView by @Kyle-Ye in #49
- Update README by @Kyle-Ye in #50
- Add Update implementation by @Kyle-Ye in #51
- Add HostingExample by @Kyle-Ye in #52
- Add basic UIHostingView support by @Kyle-Ye in #53
- Fix Example project build issue by @Kyle-Ye in #55
- Update Preference System by @Kyle-Ye in #56
- Bump minimum support version to Swift 5.10 by @Kyle-Ye in #57
- Update ViewGraph implementation by @Kyle-Ye in #58
- Add AnyView implementation by @Kyle-Ye in #59
- Add BodyAccessor featuere by @Kyle-Ye in #60
- Add TypeConformance by @Kyle-Ye in #61
- Update README by @Kyle-Ye in #62
Full Changelog: 0.0.4...0.1.0