This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
Releases: AparokshaUI/adwaita-swift
Releases · AparokshaUI/adwaita-swift
0.2.6
Improvements
- Add
Idle
for updating the UI asynchronously (#27) - Add support for custom CSS (#29)
- Add type safe style classes
- Add new widget
Picture
(#23) - Improve performance of
@State
- Improve performance of entry rows
- Add modifier
devel
for window'sdevel
style (#29) - Add Flatpak manifest for demo app
- Deprecate
frame(maxSize:)
- useframe(maxWidth:
instead - Polish demo app
Bug Fixes
- Fix
ComboRow
not selecting value at initialization (#28) - Fix crash when selecting a row at
List
's initialization - Fix not compiling on Windows (#26)
Full Changelog: 0.2.5...0.2.6
0.2.5
Improvements
- Move documentation to DocC and start writing a full tutorial which is available in this repo
focused
checks now whether a widget contains the focus instead of whether it has the focus- Add easier way to access an element of an array wrapped in a binding at a specific index or with a specific ID
- Add support for alert dialogs
- Add support for spawning windows outside the app structure (e.g. for CLI using windows for certain tasks, #20)
- Make the navigation split view more capable
- Easily observe when a binding is set
- Simpler array bounds checking (by @ZevEisenberg in #7)
- Simpler
focused
modifier implementation - Make Linux build matrix on SPI succeed (by @finestructure in #15)
- Update docs for macOS platform (by @jrwren in #10)
New Contributors
- @ZevEisenberg made their first contribution in #7
- @jrwren made their first contribution in #10
- @finestructure made their first contribution in #15
Full Changelog: 0.2.4...0.2.5
0.2.4
0.2.3
Improvements
- Do not erase view types with modifiers wherever possible
- Add support for maximizing and unmaximizing windows
- Add support for defining whether a label should be ellipsized when there is not enough space
- Add docs for publishing apps
- Update custom widget docs to newest version
Full Changelog: 0.2.2...0.2.3
0.2.2
Improvements
- Add support for tooltips
- Support modifying a window for a specific instance inside the child view
- Support observing a window's current size
- Make generation work on macOS (by @gregcotten in #2)
- Add documentation information for the Swift Package Index
New Contributors
- @gregcotten made their first contribution in #2
Full Changelog: 0.2.1...0.2.2
0.2.1
Improvements
- Add support for navigation views
- Add support for popovers
- Add view modifiers for controlling the focus
- Add support for flow boxes
- Add modifier
freeze
for blocking updates - Add support for settings a view's visibility
- Add properties of interfaces of classes to the generated result
- Use visibility for building optional views
Bug Fixes
- Fix modifiers for static widgets not always generated
- Fix ComboRow's values not updating properly
- Check whether a binding value changed before updating in widgets
- Update a binding's getter and setter function whenever the view updates
- Fix items displayed in reverse order in
ForEach
Full Changelog: 0.2.0...0.2.1
0.2.0
Improvements
- Add support for auto-generated widget bindings, generate bindings for many new widgets, and improve support for already existing widgets
- Improve the performance of view updates when data changes
- Add support for building apps on macOS (although it primarily targets Linux)
- Add support for
AboutWindow
's issues URL - Add widget
ForEach
for dynamic lists that are transparent
Warning
This update completely replaces the AparokshaUI/Libadwaita "backend" with a direct access to the C library, simplifying the maintenance of the repository and the auto-generation of widget bindings. While the public SwiftUI-like API stays the same, custom widgets and modifiers accessing Libadwaita explicitly must be adapted to utilize the CAdw
library (available in this package, enabling direct access to all the Gtk and Libadwaita types and functions) in order to work.
0.1.9
Improvements
- Make functions
storage(modifiers:)
andupdateStorage(_:modifiers:)
onView
public - Replace
EitherView
by the more powerfulViewStack
✨ - Add support for dynamic lists via
List
and other containers viaContainer
✨ - Add support for carousels
- Add support for view switchers
- Add support for overlays
- Add support for progress bars
- Add support for banners
- Save a
State
property holding a codable value between app launches ✨ - Add property
rawValue
toState
for editing the value without updating the views - Add
inspectOnAppear(_:)
modifier - Add
onClick(handler:)
modifier (for every widget) - Add
Form
and multiple row types for grouping controls ✨ - Add support for
Text
expanding to multiple lines if there isn't enough space - Make public typealias for the Libadwaita types interesting for using Adwaita
Bug Fixes
- Make button update its handler on every view update
- Make one
State
property always hold a reference to the same object containing the value
0.1.8
Improvements
- Add support for the overlay split view with support for trailing sidebars and the option for specifying the sidebar's visibility
- Add support for toggle buttons
Bug Fixes
- Fix a bug where windows changed to the default window size when focusing another window
Full Changelog: 0.1.7...0.1.8
0.1.7
Improvements
- Support adding a window as an overlay to a certain window using
addWindow(_:parent:)
. - Add support for new window modifiers for a window's size, title, resizability and deletability
- Add the
FileDialog
window type
Full Changelog: 0.1.6...0.1.7