Skip to content

0.8.0

Compare
Choose a tag to compare
@David-OConnor David-OConnor released this 23 Oct 15:05
· 190 commits to master since this release
  • [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.
  • Added examples tests, service_worker, resize_observer, component_builder, i18n and unsaved_changes (#459).
  • Fixed UrlRequested handling (#459).
  • [BREAKING] Hidden and renamed module effects to effect.
  • Added App::update_with_option.
  • Added Navigator and BeforeUnloadEvent into Seed's web_sys.
  • Fixed runtime exception when using binary data in WS on some browsers (#470).
  • Exported macro with_dollar_sign!.
  • [deprecated] RequestAnimationFrameTime + RequestAnimationFrameHandle + request_animation_frame are deprecated.
  • [deprecated] set_interval + set_timeout are deprecated.
  • [deprecated] class! is deprecated in favor of C!.
  • [BREAKING] Removed deprecated AppBuilder with sink, mount_point, routes, window_events, etc. (Use App::start instead.)
  • [BREAKING] Removed support for deprecated global messages (GMsg, GMs, ..). Use orders.notify + orders.subscribe instead.
  • Relaxed view and update type in App::start from fn to FnOnce + Clone.
  • [BREAKING] Removed deprecated Ev::TriggerUpdate.
  • [deprecated] simple_ev is deprecated.
  • Exposed dependency console_error_panic_hook.
  • Fixed double UrlChanged firing by removing hashchange listener.
  • Added Request::bytes.
  • Build Changes - Remove all workspace=false and instead defined default_to_workspace=false in the config.
  • Build Changes - Make all core cargo-make tasks private with default namespace and remove clear=true from all seed tasks.
  • Build Changes - Remove installation instructions and instead depend on core cargo-make installation tasks.
  • Build Changes - Replace rust for_each implementation with duckscript which is much shorter, simpler and faster (in case you don't have cargo-script installed).
  • Build Changes - Enforce minimal cargo-make version: 0.32.1.
  • Added new Orders methods request_url (#518) and msg_sender (#502).
  • [BREAKING] Orders::msg_mapper returns Rc<..> instead of Box<..>.
  • Reexported pub use wasm_bindgen_futures::{self, spawn_local, JsFuture}; and pub use futures::{self, future::{self, FutureExt, TryFutureExt}}; in lib.rs.
  • Updated example websocket.
  • Fixed link handling (#527).
  • Fixed attribute ordering (#335).
  • Implemented Display for Node (#294).
  • Fixed url requests from pages when the hash routing is used.
  • Fixed url encoding, serializing in push_route and the method Url::hash_path.
  • Added Url methods skip_hash_base_path and encode_uri_component (#424).
  • Added Node::NoChange.