Repository navigation
Releases
Releases · waos-dev/waft
Waft 0.8.1
Fixed
cargo waft buildsigns and notarizes on CI (#122):- An empty signing or notarization variable counts as unset, as GitHub Actions passes a secret nobody set.
- A signing certificate's team is read from the certificate itself, parsed with
x509-parser. It used to come fromopenssl's text, whose shape differs between OpenSSL and LibreSSL. - An identity whose team can't be read is kept, so
APPLE_SIGNING_IDENTITYfinds it.
- The docs of
Body::with_trailersand the redirect policy now say a request names its trailers in aTrailerheader, and which redirects resend a body (#120, #121).
Waft 0.8.0
Upgrading from 0.7
- WinUI names that clashed with
use waft::*(#116):PageisFluentPage; the slider's and colour pickers'Orientationis Waft'sAxis; aTableViewColumntakesvisible(bool)in place ofVisibility;CheckStateis no longer public (a checkbox's value isOption<bool>, as Flutter's tristateCheckbox). MultiViewApp's builder type isMultiViewBuilder(#116), no longerViewBuilder.waft-widgetsno longer exports itswidgets/constants(#116), as Flutter'swidgets.dartdoes not; Material keeps its ownK_MIN_INTERACTIVE_DIMENSION.- A
BodyStream'strailers()(#115) is asked only oncereadhas answered 0, must answer the same fields when asked again, and on a request body answers the fields to send.
New
- HTTP body trailers (#115):
Body::trailers()reads a response's trailers, reading what is left of the body first so it never waits;Body::with_trailerssends them. A platform that cannot send request trailers (Apple's, the web's) fails the request with WASI'sHttpRequestTrailerSectionSize(Some(0)). - 307/308 redirects resend the body (#115):
Body::try_clone()copies a body held in memory; Apple's client follows a 307/308 with its method and body and drops the body after a redirect that switched to GET. Body::empty().length()isSome(0)(#115).use waft::*beside any kit's*never clashes, and a test keeps it so (#116).- CI on Windows and Linux (#103).
Fixed
- A NavigationView's pane title no longer runs under its search box when the toggle is hidden (#113).
Waft 0.7.0
Upgrading from 0.6
- Picked files are read by their owner (#99, #102, #105):
PickedFile::read_allis gone. A picked path is read withapp.platform().files()(files.read(&path)); a picked handle or stream reads itself (handle.read_all()). ColorSchemecolours are methods (#106):scheme.primary(), with Flutter's fallbacks inside.- A bare
WidgetsAppwithhomeorroutesneeds a page route builder, as Flutter's does (#110);FluentApp,MaterialAppandCupertinoAppbring their own. - Padding and margins take
EdgeInsetsdirectly (#106);GridViewconstructors takepadding.
New
- File and HTTP IO as platform services (#99, #102, #105):
Platform::files()andPlatform::http()(thehttpcrate's request and response, streaming bodies, WASI 0.3's three timeouts and error list), Apple's overNSURLSession, the web's overfetch;NetworkImageandFileImagewith progress. FluentAppandFluentPageRoute(#110, #111): Fluent's theme, light, dark or the system's, the icon font, WinUI's page entrance and the covered page's fade, and Fluent's text, selection and scroll defaults.- The selection areas (#100):
SelectableRegion, Material'sSelectionArea, selection across text, lists and cards. Timer::periodicanddelayed, catching up after a stall as Dart's VM does (#106, #110).- File dialogs close when their future is dropped (#101).
use waft::*reaches the types widgets take (#106, #109);LayoutBuildergoes wherever a widget goes;RefandEntitysay what each is for.- CI on Windows and Linux (#103).
Fixed
- A crash with more than about 20 selectable items in one container: sorting now uses a port of Flutter's
mergeSort(#100).
Waft 0.6.0
The first release published by CI from its tag. Waft now lives at github.com/waos-dev/waft.
Upgrading from 0.5
- Arena objects are owned by counted references (#31).
app.createanswers aRetained<Handle<T>>that keeps the object alive; drop it to release it, where 0.5 asked for a manual destroy. Widgets that take a controller or focus node take the retained one (Retained::keep(app, controller)), and listenables are implemented forRetained<H>. - Erased routes and objects: a typed route becomes the one a navigator takes with
route.into_erased()(wasPageRoute::as_page_route(route)), and Dart'sObject ==is one erased type,AnyEq(#83). show_*functions are builders (#71):ShowDatePicker::new(..).show(app, context)and the like, each option a method.SelectorBarItemwith a child has its own constructor,SelectorBarItem::with_child(#64).- Valo 0.26 (#94):
ParagraphStylecarries a strut.
New
- Material, ported far further (#22–#27, #38, #46, #67, #76): dropdowns, chips, segmented and toggle buttons, range slider, date and time pickers, autocomplete, reorderable lists, search, data tables, carousel, stepper, refresh indicator, expansion panels and more, with a gallery of every family.
- Material adaptive layout from Compose (#77, #86): window size classes, the three-pane scaffold and navigation suite, with a gallery that adapts and Google's Reply sample. Expressive split button and button group (#90).
- Text:
StrutStylethroughText,EditableText,TextField,SelectableTextandCupertinoTextField(#94); the base of Flutter's text selection (#89); 104 more text field cases (#73, #82). - WinUI:
TableView(#44, #45, #50, #93),CommandBar(#49),AutoSuggestBox(#59), more Fluent symbols (#48, #61), centredInfoBadgenumbers (#72). - Gestures: the double-tap recognizer and
GestureDetector's callbacks (#85). - iOS gets a host of its own over UIKit's scenes, with text input (#29, #30, #34); Android reports its lifecycle and touch slop as Flutter's embedding does (#37, #51) and has shortcuts (#26, #28).
- Platform: local time for
DateTime(#47), how an image's pictures go (#54), and a macOS user activity against App Nap (#66). - Testing: one
WidgetTesterwith flutter_test's defaults, the test fonts, a paints matcher and frames pumped as the shell runs them (#40, #52, #55, #65, #70).
Fixed
- A table rebuilt over the same source keeps its selected row, and its selection follows its items while no table shows it (#93).
- Two upstream Flutter fixes the port had copied: an autocomplete's leftover focus listener, and a reorderable list's gap (#87).
- Shadows drop as Flutter's do (#88); a fling from past an edge carries on into the content (#42).