Skip to content

0.9.0

Compare
Choose a tag to compare
@flosse flosse released this 08 Apr 00:27
· 37 commits to master since this release
  • [BREAKING] Base path changed from Rc<Vec<String>> to Rc<[String]>.
    It means also Orders::clone_base_path returns a slice.
  • [BREAKING] Hid markdown functionality behind optional markdown feature
  • [BREAKING] Added argument Option<&Namespace> to functions Node::from_html and El::from_html.
  • [BREAKING] Added blanket impl<Ms, T: IntoNodes<Ms>> IntoNode<Ms> for Option<T>.
    This might conflict with local impls of IntoNodes, but should make those unnecessary and safe to remove.
  • [BREAKING] Removed the deprecated browser::service::fetch module.
  • [BREAKING] fetch::Error::SerdeError changed to fetch::Error::JsonError
  • Fixed: Prevent link listener from intercepting links with the download attribute.
  • Fixed an issue in vdom where inputs with invalid contents being cleared on Firefox.
  • Added helpers for wheel event: wheel_ev and to_wheel_event.
  • Added Response::blob
  • Added panic-hook feature, enabled by default, to conditionally include console_error_panic_hook
  • Added macro raw_svg! (#589).
  • Added browser::dom::Namespace to prelude.
  • Added At::Role variant.
  • Added Response::headers.
  • Added Headers::new.
  • Added Header::name() and Header::value().
  • Added fetch::form_data::FormData and Request.form_data.
  • Added serde-wasm-bindgen and serde-json features to use either serde-wasm-bindgen or serde_json for JSON de-/serialization.
    serde-wasm-bindgen reduces final binary size for downstream users.serde-json is enabled by default.
  • Added method to return detailed error response from server with FetchError.
  • Added Request.body_ref to take the body by reference.
  • Added sl_input to the custom_elements example.
  • Added examples drag_and_drop, record_screen, e2e_encryption and counters.
  • Added charts example.
  • Added page_trait example.
  • Added on_insert event on elements, triggered when they are inserted into the DOM.
  • Implemented AsAtValue for Option<T>
  • Implemented From<impl AsRef<web_sys::Headers>> for Headers.
  • Implemented FromIterator<(impl Into<Cow<'a, str>>, impl Into<Cow<'a, str>>)> for Headers.
  • Use wheel_ev in canvas example to zoom rectangle with mouse scroll wheel.
  • Derived Eq and PartialEq for Header.
  • Element macros like div! can now contain Iterators inside of Option values. Previously only one or the other was possible.
  • Adapted to Rust 1.60.0.
  • Updated dependencies