Skip to content

Waft 0.8.0

Choose a tag to compare

@xtyxtyx xtyxtyx released this 18 Nov 13:35
· 321 commits to main since this release
ae8b475

Upgrading from 0.7

  • WinUI names that clashed with use waft::* (#116): Page is FluentPage; the slider's and colour pickers' Orientation is Waft's Axis; a TableViewColumn takes visible(bool) in place of Visibility; CheckState is no longer public (a checkbox's value is Option<bool>, as Flutter's tristate Checkbox).
  • MultiViewApp's builder type is MultiViewBuilder (#116), no longer ViewBuilder.
  • waft-widgets no longer exports its widgets/constants (#116), as Flutter's widgets.dart does not; Material keeps its own K_MIN_INTERACTIVE_DIMENSION.
  • A BodyStream's trailers() (#115) is asked only once read has 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_trailers sends them. A platform that cannot send request trailers (Apple's, the web's) fails the request with WASI's HttpRequestTrailerSectionSize(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() is Some(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).