Skip to content

Releases: vertigo-web/vertigo

0.2.0 - 2023-03-25

25 Mar 20:20
Compare
Choose a tag to compare

Added

  • main macro that wraps a function returning DomElement into an app starting entry point

Changed

  • dom! macro can now return a list of elements, not only one
  • In dom! macro, name of attribute can be omitted if variable name is the same (on_clich={on_click} can be shortened to {on_click} )
  • vertigo-cli: Error message popup can now be dismissed

Removed

  • DomFragment

0.2.0-alpha - 2023-03-15

Added

  • vertigo-cli packaging tool with commands new, build, watch and serve
  • Server-side rendering built in vertigo-cli
  • JsJson data structure to communicate with JS world without string serialization,
  • AutoJsJson macro for creating JsJson from structures and structures from Jsjson
  • A warning in JS console if developer tried to get a value already set to be changed during transaction
  • @media queries support in CSS
  • Driver::cookie_set_json and Driver::cookie_get_json for storing JsJson-enabled structures in a cookie
  • Driver::history_back() method invoking history.back() on window
  • html_entities to ease insertion of uncommon letters and symbols in dom! macro
  • on_load event

Changed

  • Renamed DomCommentCreate to DomFragment
  • start_app doesn't require state

Removed

  • css_fn! and css_fn_push! macros (not very useful, problems with error reporting in proper place)
  • serde dependency

v0.1.1

10 Nov 13:36
Compare
Choose a tag to compare

0.1.1 - 2022-11-10

Added

  • bind!, bind_rc!, bind_spawn! macros
  • driver.get_random()
  • impl From<Value> for Computed

Removed

  • BREAKING: Removed bind, bind2, ... functions

v0.1.0

20 Oct 20:25
Compare
Choose a tag to compare

0.1.0 - 2022-10-20

Changed

  • Refactored websocket mechanism (internal)

0.1.0-beta.5

18 Oct 19:33
Compare
Choose a tag to compare
0.1.0-beta.5 Pre-release
Pre-release

0.1.0-beta.5 - 2022-10-18

Added

  • Components with "props"!
  • DomElement::from_parts for unit-testing purposes

Changed

  • Improved refresh algorithm (internal)
  • Simplified context system (internal)
  • Refactored callbacks mechanism (internal)

Removed

  • RefCell

0.1.0-beta.4

02 Oct 16:34
Compare
Choose a tag to compare
0.1.0-beta.4 Pre-release
Pre-release

0.1.0-beta.4 - 2022-10-02

Added

  • hook_keydown and on_dropfile events
  • bind, bind2... functions for creating event handlers

Changed

  • Driver object is now global, so there's no need to pass it as parameter in all functions
  • get_value and set_value methods are now get and set
  • start_app initialization function now takes an FnOnce instead of ready VDomComponent
  • Dropped PartialEq constraint from Value, Computed and other implementations
  • Refactored subsystem for exchanging values between rust and js

Removed

  • Removed virtual dom intermediate in favour of real dom operations
  • vertigo-browserdriver package - it is now integrated into vertigo as the default and only driver
  • Callback from HashRouter - it can be now treated similarly to Value
  • EqBox

0.1.0-beta.3

22 Jan 14:43
Compare
Choose a tag to compare
0.1.0-beta.3 Pre-release
Pre-release

0.1.0-beta.3 - 2022-01-22

Added

  • Cookies support in JS Driver

Changed

  • Improved initiation of spawn executor
  • Improvements in Graph
  • RC-structures, BoxRefCell removed

Removed

  • Removed wasm-bindgen

0.1.0-beta.2 - 2021-12-21

Added

  • start_browser_app function with optional wasm-logger configuration
  • Examples directory
  • More docstrings
  • Demo: Speed setting in game of life

Changed

  • wasm-bindgen is now re-exported in vertigo-browserdriver so it is easier to use its proper version

Removed

  • We-alloc usage as it caused memory problems on wasm-js border

Full Changelog: https://github.com/vertigo-web/vertigo/commits/v0.1.0-beta.3 (contains all previous versions)

0.1.0-beta.1

11 Dec 12:05
Compare
Choose a tag to compare
0.1.0-beta.1 Pre-release
Pre-release

Added

  • Re-exports for AutoMap, Computed, Value, DropResource
  • Tutorial
  • Some docstrings with examples

Changed

  • LazyCache::force_update - Added parameter with_loading
  • Simplified computed refresh function

Full Changelog: https://github.com/vertigo-web/vertigo/commits/v0.1.0-beta.1 (contains all previous versions)