Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 2.71 KB

CHANGELOG.md

File metadata and controls

76 lines (53 loc) · 2.71 KB

Changelog

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.

[0.4.0]

Added

  • LiveViewNative.SwiftUI.Client
  • NavigationLink supports the data-phx-link attribute to switch between redirect (default) and patch navigation
  • NavigationLink can perform a replace navigation by setting the data-phx-link-state attribute to replace
  • NavigationLink takes a destination 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

Changed

  • Swift 6 is now required to build LiveView Native applications
  • Section now uses the isExpanded and phx-change attributes to enable collapsing in sidebar-styled List views
  • liveview-native-core has been updated to v0.4.0, and is now used for all internal networking
  • LiveConnectionError was removed, use error types from LiveViewNativeCore instead
  • all components including the generated CoreComponents are now arity or 2 with _interface

Removed

  • sigil_SWIFTUI

Fixed

  • Views will now update properly when the server changes the value of a form field (#1483)

[0.3.1] 2024-10-02

Added

  • LiveViewNative.SwiftUI.normalize_os_version/1
  • LiveViewNative.SwiftUI.normalize_app_version/1
  • Optional LiveSessionConfiguration.headers, sent when fetching the dead render (#1456)

Changed

  • Submitting a form will remove focus from all fields (#1451)

Fixed

  • 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)

[0.3.0] 2024-08-21

Added

  • Stylesheet type made public

Changed

  • Code-generated modifiers updated for Xcode 15.4

Fixed

[0.2]

Changed

  • removed modifiers and types
  • migrated to `LiveViewNative.Stylesheet``
  • renamed LiveViewNativeSwiftUi to LiveViewNative.SwiftUI module namespace
  • Elixir app renamed to from live_view_native_swift_ui to live_view_native_swiftui

Fixed

  • 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