cargo seed 0.7.0

latest releases: 0.9.2, 0.9.1, 0.9.0...
4 years ago
  • [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 Els (#354).
  • Enabled all additional markdown extensions.
  • Removed 'static bound from El and Node.
  • [BREAKING] Changed perform_cmd and seed::browser::service::fetch return type to T instead of Result<T, T>.
  • Added Aria attributes.
  • [BREAKING] UpdateEl<T> changed to UpdateEl<Ms> and fn update(self, el: &mut T); to fn update_el(self, el: &mut El<Ms>); (#370).
  • Added trait UpdateElForIterator<Ms>.
  • Added support for all Iterators, Option, u32, i32, usize, f64 and references in element creation macros (#365, #128).
  • [BREAKING] String implements UpdateEl<T>. (References are now required for String properties, e.g. div![&model.title].)
  • Fixed href detection to ignore use elements (#384).
  • Added methods subscribe, subscribe_with_handle, perform_cmd_with_handle, stream, stream_with_handle and notify into Orders (#130).
  • Added cmds::timeout, stream::interval, stream::window_event, stream::document_event, subs::UrlChanged and subs::UrlRequested (#131).
  • [BREAKING] Futures in perform_cmd and perform_g_cmd are executed immediately.
  • Added App methods notify and notify_with_notification.
  • [BREAKING] App method process_cmd_and_msg_queue renamed to process_effect_queue.
  • [BREAKING] Url change listeners are always active (even if routes is not defined).
  • Added cmds, streams, subs, CmdHandle, SubHandle and StreamHandle into the Seed's prelude.
  • [BREAKING] Removed module next_tick.
  • Added method App::start (alternative to AppBuilder) (#376, #382).
  • Added trait GetElement + included in the prelude (alternative to MountPoint, used in AppStart).
  • Derive Debug for ElRef.
  • Added macros C! and IF! and helper not (#375).
  • Added trait ToClasses + included in the prelude.
  • ev accepts handlers that return Msg, Option<Msg> or () (#394).
  • [BREAKING] EventHandler::new accepts only handlers that return Option<Msg>.
  • [BREAKING] ev-like functions and some Orders method require 'static bound for generic types (temporary).
  • Orders::after_next_render now accepts callbacks that return Msg, Option<Msg> or ().
  • [deprecated] View is deprecated in favor of IntoNodes.
  • [BREAKING] View isn't implemented for El and Vec<El>.
  • [BREAKING] Node::add_listener renamed to add_event_handler.
  • Rewritten README.md.
  • Added new Fetch API module. See seed::browser::fetch (#353)
  • [deprecated] - seed::browser::service::fetch module is deprecated in favor of seed::browser::fetch.
  • Implemented IntoNodes for Option<Node<Msg>> and Option<Vec<Node<Msg>>>.
  • Implemented UpdateEl for i64 and u64.
  • 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.
  • Example animation_frame renamed to animation.
  • Added base url handling + method Orders::clone_base+path (#369).
  • [BREAKING] Updated Url and routing.rs.
  • [deprecated] seed::browser::service::storage.
  • Added LocalStorage, SessionStorage and WebStorage (trait).
  • Added TouchEvent and touch_ev definitions.
  • Added DragEvent and drag_ev definitions.
  • [BREAKING] Renamed to_kbevent to to_keyboard_event.
  • [BREAKING] after_next_render returns RenderInfo.
  • web_sys, js_sys and wasm_bindgen + wasm_bindgen::JsCast included in prelude.
  • Added WebSocket + related items (#8).
  • Exposed App::mailbox.
  • Added streams::backoff + updated websocket example.

Don't miss a new seed release

NewReleases is sending notifications on new releases.