0.17.0
Highlights
- Add Xcode Preview support1
- Add initial Text support2
- Add OpenSwiftUI xcframework release support3
- Add OpenSwiftUI framework logo
What's Changed
- Add NamedColor support for macOS by @Kyle-Ye in #819
- Update to use ORB instead of RB by @Kyle-Ye in #820
- [NFC] Use RB for properties and function and ORB for type by @Kyle-Ye in #821
- Add UIImage/NSImage ImageProvider implementation by @Kyle-Ye in #822
- [Bug Fix] Fix UIImage to Image environment override issue by @Kyle-Ye in #823
- Add AccessibilityCore.UserSettings support by @Kyle-Ye in #824
- Update missing init for VectorImageLayer by @Kyle-Ye in #825
- [NFC] Optimize source filenames to match the original ID by @Kyle-Ye in #826
- [Bug Fix] Fix Linux build failure for SystemColorDefinition by @Kyle-Ye in #827
- Improve snapshot UITest artifact collection by @Kyle-Ye in #828
- [CI] Preserve xcresult bundle structure in CI artifacts by @Kyle-Ye in #830
- [Feature] Add Xcode Preview support for OpenSwiftUI by @Kyle-Ye in #829
- Add CAHostingLayer and CAHostingLayerEvent implementation by @Kyle-Ye in #831
- Add SwiftUI_SPI module and CAHostingLayerExample and UI tests by @Kyle-Ye in #832
- Update PlatformDrawable by @Kyle-Ye in #834
- [Docs] Add Preview support documentation by @Kyle-Ye in #833
- [Bug Fix] Fix CGDrawingView calling setNeedsDisplay on wrong target by @Kyle-Ye in #837
- Move interpose hooks to OpenSwiftUI_SPI with improved diagnostics by @Kyle-Ye in #839
- Add XCFramework build script and publish release workflow by @Kyle-Ye in #838
- [NFC] Optimize get_revision.sh by @Kyle-Ye in #840
- Add init Text render support by @Kyle-Ye in #841
- Add OpenSwiftUI framework logo by @Kyle-Ye in #842
- Optimize build-xcframework pipeline by @Kyle-Ye in #843
Full Changelog: 0.16.0...0.17.0
Binary Integration
You can try with the following Swift Package config. We'll release a OpenSwiftUI-binary package later for more easier integration.
.binaryTarget(
name: "OpenSwiftUI",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenSwiftUI.xcframework.zip",
checksum: "7809b0b3426e081c82b4142cc825a910be2622ebef28019e0840d3b38ee87f56"
),
.binaryTarget(
name: "OpenSwiftUICore",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenSwiftUICore.xcframework.zip",
checksum: "03907a9e829f1979bc18f96d2e9296aa8fe6e391d12af21ff88b709756f235c5"
),
.binaryTarget(
name: "OpenAttributeGraphShims",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenAttributeGraphShims.xcframework.zip",
checksum: "36b69edfd797ab6529b0accec844f23baeab70c3eb1cd07ca0e1b9dcaed2a837"
),
.binaryTarget(
name: "OpenCoreGraphicsShims",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenCoreGraphicsShims.xcframework.zip",
checksum: "0cf8249e5b794ff3976f631c5abe43e9493bf65c0984ca7f1d0b6a636c867e9b"
),
.binaryTarget(
name: "OpenObservation",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenObservation.xcframework.zip",
checksum: "52d3bb665e9f78ea541a95f41bd8c09867d48b186fc3d4bf9cca027991258555"
),
.binaryTarget(
name: "OpenQuartzCoreShims",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenQuartzCoreShims.xcframework.zip",
checksum: "a3a76c440d47ec1c4db62566e8a44c2c15e0862cdda8f6317187c43d693c5317"
),
.binaryTarget(
name: "OpenRenderBoxShims",
url: "https://github.com/OpenSwiftUIProject/OpenSwiftUI/releases/download/0.17.0/OpenRenderBoxShims.xcframework.zip",
checksum: "bc5bda5c419780a7325b5e92b3fc5937ae6e618547832578d2eae23aec16553d"
),