diff --git a/CHANGELOG.md b/CHANGELOG.md index dd0571f1..ad4ddae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [unreleased] + - Added helpers for wheel event: `wheel_ev` and `to_wheel_event`. - Use `wheel_ev` in `canvas` example to zoom rectangle with mouse scroll wheel. - [BREAKING] Base path changed from `Rc>` to `Rc<[String]>`. It means also `Orders::clone_base_path` returns a slice. @@ -12,10 +13,12 @@ - Implemented `AsAtValue` for `Option` - [BREAKING] Added argument `Option<&Namespace>` to functions `Node::from_html` and `El::from_html`. - Added macro `raw_svg!` (#589). -- Added `browser::dom::Namespace` to `prelude`. +- Added `browser::dom::Namespace` to `prelude`. - Adapted to Rust 1.51.0. +- Added an experimental component API, feature-flagged behind `experimental-component-api`, and the `experimental-component` example to demonstrate its use. ## v0.8.0 + - [BREAKING] Rename `linear_gradient!` to `linearGradient!` for consistency with the other svg macros (same with `radial_gradient!` and `mesh_gradient!`) (#377). - Fixed `base_path` with a trailing slash parsing / handling. - Fixed `C` macro memory / WASM file size issue. @@ -55,6 +58,7 @@ - Added `Node::NoChange`. ## v0.7.0 + - [BREAKING] Custom elements are now patched in-place (#364). Use `el_key` to force reinitialize an element. - Added `el_key` method for adding keys to `El`s (#354). - Enabled all additional markdown [extensions](https://docs.rs/pulldown-cmark/latest/pulldown_cmark/struct.Options.html). @@ -91,7 +95,7 @@ - [deprecated] - `seed::browser::service::fetch` module is deprecated in favor of `seed::browser::fetch`. - Implemented `IntoNodes` for `Option>` and `Option>>`. - Implemented `UpdateEl` for `i64` and `u64`. -- Reset properties `checked` and `value` on attribute remove (#405). +- Reset properties `checked` and `value` on attribute remove (#405). - Added examples `markdown`, `tea_component`, `subscribe`, `custom_elements`, `fetch`, `url`, `pages`, `pages_hash_routing`, `pages_keep_state`, `auth`, `bunnies` and `graphql` (#400). - Updated examples. - Removed examples `app_builder`, `orders`, `server_interaction`, `counter_advanced` and `mathjax`. @@ -111,6 +115,7 @@ - Added `#[derive(Debug)]` to `fetch::Response` ## v0.6.0 + - Implemented `UpdateEl` for `Filter` and `FilterMap`. - Added method `El::is_custom(&self)`. - Fixed custom elements patching (#325). @@ -141,9 +146,10 @@ - Adapted to Rust 1.41.0. ## v0.5.1 + - [BREAKING] `MessageMapper::map_message` changed to `MessageMapper::map_msg`. - [BREAKING] `fetch` and `storage` moved to `seed::browser::service::{fetch, storage}`, -but reimported at the lib level. Ie: `seed::fetch`, and `seed::storage`. + but reimported at the lib level. Ie: `seed::fetch`, and `seed::storage`. - Added support for `Vec` and `Vec