All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- LiveViewNative.SwiftUI.Client
NavigationLink
supports thedata-phx-link
attribute to switch betweenredirect
(default) andpatch
navigationNavigationLink
can perform a replace navigation by setting thedata-phx-link-state
attribute toreplace
NavigationLink
takes adestination
template to customize the connecting phase View for its navigation event.- The
data-confirm
attribute can be added to elements to show a confirmation dialog before sending an event
- Swift 6 is now required to build LiveView Native applications
Section
now uses theisExpanded
andphx-change
attributes to enable collapsing in sidebar-styledList
viewsliveview-native-core
has been updated to v0.4.0, and is now used for all internal networkingLiveConnectionError
was removed, use error types fromLiveViewNativeCore
instead- all components including the generated CoreComponents are now arity or 2 with
_interface
sigil_SWIFTUI
- Views will now update properly when the server changes the value of a form field (#1483)
LiveViewNative.SwiftUI.normalize_os_version/1
LiveViewNative.SwiftUI.normalize_app_version/1
- Optional
LiveSessionConfiguration.headers
, sent when fetching the dead render (#1456)
- Submitting a form will remove focus from all fields (#1451)
- Form elements will apply updates from a diff (#1451)
- Updates to change-tracked properties no longer occur on the next RunLoop, fixing modal dismissal on macOS (#1450)
+
characters are properly encoded as%2B
in form events (#1449)- Fixed retain cycle in
LiveViewCoordinator
(#1455) - Made
StylesheetCache
thread-safe, fixing occasional crashes (#1461) - Form elements outside of a
LiveForm
will show the value provided in the template (#1464)
Stylesheet
type made public
- Code-generated modifiers updated for Xcode 15.4
- removed modifiers and types
- migrated to `LiveViewNative.Stylesheet``
- renamed
LiveViewNativeSwiftUi
toLiveViewNative.SwiftUI
module namespace - Elixir
app
renamed to fromlive_view_native_swift_ui
tolive_view_native_swiftui
- Fix cached page rendering when nested in
<NavigationStac>
- include original source in annotation
- Add
AttributeReference
to missing areas - Stringify values from LiveForm
- Removed
Array<Self>
from parsers