- [BREAKING] Base path changed from
Rc<Vec<String>>
toRc<[String]>
.
It means alsoOrders::clone_base_path
returns a slice. - [BREAKING] Hid markdown functionality behind optional
markdown
feature - [BREAKING] Added argument
Option<&Namespace>
to functionsNode::from_html
andEl::from_html
. - [BREAKING] Added blanket
impl<Ms, T: IntoNodes<Ms>> IntoNode<Ms> for Option<T>
.
This might conflict with localimpl
s ofIntoNodes
, but should make those unnecessary and safe to remove. - [BREAKING] Removed the deprecated
browser::service::fetch
module. - [BREAKING]
fetch::Error::SerdeError
changed tofetch::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
andto_wheel_event
. - Added
Response::blob
- Added
panic-hook
feature, enabled by default, to conditionally includeconsole_error_panic_hook
- Added macro
raw_svg!
(#589). - Added
browser::dom::Namespace
toprelude
. - Added
At::Role
variant. - Added
Response::headers
. - Added
Headers::new
. - Added
Header::name()
andHeader::value()
. - Added
fetch::form_data::FormData
andRequest.form_data
. - Added
serde-wasm-bindgen
andserde-json
features to use eitherserde-wasm-bindgen
orserde_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 thecustom_elements
example. - Added examples
drag_and_drop
,record_screen
,e2e_encryption
andcounters
. - Added
charts
example. - Added
page_trait
example. - Added
on_insert
event on elements, triggered when they are inserted into the DOM. - Implemented
AsAtValue
forOption<T>
- Implemented
From<impl AsRef<web_sys::Headers>>
forHeaders
. - Implemented
FromIterator<(impl Into<Cow<'a, str>>, impl Into<Cow<'a, str>>)>
forHeaders
. - Use
wheel_ev
incanvas
example to zoom rectangle with mouse scroll wheel. - Derived
Eq
andPartialEq
forHeader
. - Element macros like
div!
can now containIterator
s inside ofOption
values. Previously only one or the other was possible. - Adapted to Rust 1.60.0.
- Updated dependencies