Skip to content

Releases: vertigo-web/vertigo

0.8.0 - 2025-07-15

15 Jul 13:22
Compare
Choose a tag to compare

Added

  • Tailwind support (internal rust-only, and external node-based) #353
  • js! macro which allows to evaluate simple JavaScript expressions. #372
  • Added v-css and v-component attributes in rendered DOM to help debugging (added only in debug mode) #367

Changed

  • Value::set now doesn't trigger graph update if new value is the same as the old one. #368

    This means, T should now implement PartialEq.
    Value::set_force was introduced for T which doesn't implement PartialEq
    but this method always updates graph just as the old set method.

  • on_click attribute now provides ClickEvent to allow preventing default or stopping propagation.

Fixed

  • DomElement::get_ref() #375

Removed

  • window! and document! macros (replaced by js!).

0.7.2 - 2025-06-10

10 Jun 14:12
Compare
Choose a tag to compare

Fixed

  • Browser warning about missing source map [#361]

Changed

  • vertigo-cli: watch command now logs local time, can be changed using --log-local-time parameter [#354]

0.7.1 - 2025-05-29

29 May 07:49
Compare
Choose a tag to compare

Added

  • vertigo-cli: --release-mode and --wasm-opt parameters for build and watch commands [#358]
  • vertigo-cli: --watch-ignore-lists parameter to ignore irrelevant files during watch (defaults to .gitignore) [#351]
  • vertigo-cli: --global-ignores to add custom wildcards to ignore during watch [#351]

Fixed

  • Visibility in component macro [#357]

0.7.0 - 2025-05-03

03 May 13:33
Compare
Choose a tag to compare

Added

  • Dynamic/optional attributes, attributes grouping, attributes spreading #317
  • vertigo-cli: --mount-point parameter for serve command, which allow to embed app in f. ex. example.com/mount/point endpoint #346

Changed

  • Moved from rsx to rstml, syn 1.0 to 2.0 #331
  • Replaced OrderedMap with BtreeMap #322
  • Css classes in single <style> element #328

Fixed

  • DomDebugFragment::from_cmds() fails to debug styles when custom classes used #335
  • vertigo-cli: Prevent reformatting HTML in <pre> during SSR #342
  • vertigo-cli: Keep original order of CSS rules around media-queries

0.6.4 - 2025-03-26

26 Mar 08:28
Compare
Choose a tag to compare

Fixed

  • vertigo-cli: watch now keeps watching even if browser lands directly on non-200 page #329
  • DomDebugFragment::to_pseudo_html now renders all deterministically using BTreeMap so it can be used in unit tests

0.6.3 - 2025-03-01

01 Mar 21:44
Compare
Choose a tag to compare

Fixed

  • Invalid lowercase http methods in requests from inside SSR

0.6.2 - 2025-02-27

27 Feb 19:49
Compare
Choose a tag to compare

Added

  • Driver::set_status method to allow responding with custom HTTP status code during SSR [#316]
  • css attribute in dom! macro now accepts &Css (referenced) for convenience
  • on_submit in <form>

Changed

  • vertigo-cli: Increased statics max-age in Cache-Control header to 1 year to match Google's Lighthouse recommendations
  • vertigo-cli: Improved error messages when building and watching

Fixed

  • Intercept inserting multiple html/head/body tags in DOM #297
  • Removed unreachable!() and unwrap() from serve runtime #321
  • vertigo-cli: Missing remove_attr command in server-side rendering

0.6.1 - 2024-12-18

18 Dec 20:43
Compare
Choose a tag to compare

Added

  • Driver::utc_now (Gets current UTC timestamp)
  • Driver::timezone_offset (Gets browsers time zone offset in seconds)
  • chrono::NaiveDate support in AutoJsJson
  • LazyCache::<T>::new_resource() helper
  • ToComputed impls for primitive types

Changed

  • Hush excessive logging when no Content-Type or cookie provided

Fixed

  • Docstrings and other attributes in component! macro

0.6.0 - 2024-08-02

02 Aug 20:19
Compare
Choose a tag to compare

Added

  • Reactive trait that allows generic components to be more flexible with props
  • BTreeMap and chrono::DateTime<Utc> support in AutoJsJson
  • #[js_json(default = "None")] attribute to AutoJsJson
  • JsJson implementation for unit type ()
  • All http methods in FetchMethod
  • history_replace method in Driver
  • Minification of wasm_run.js
  • vertigo-cli: --add-watch-path to watch command
  • vertigo-cli: --wasm-run-source-map to build and watch command

Fixed

  • Missing hash part in history router
  • vertigo-cli: Missing Cache-Control header for statics

0.5.0 - 2024-04-05

05 Apr 06:57
Compare
Choose a tag to compare

Added

  • window! and document! macro to allow invoking simple JavaScript commands
  • Driver::plains method to allow responding with plaintext pages
  • In css! macro there is now possibility to reference a class created by another css! using [] brackets
  • Enums nad newtypes support in AutoJsJson
  • bind! macro now accepts namespaced variables, f. ex. bind!(state.value, || value + 100)
  • Components now accept value without attribute name if the names matches (color={color}{color})
  • In dom! macro .. operator now spreads iterable into children (<ul>{..items}</ul>)

Changed

  • Hashing of bundled files shortened from SHA256 to CRC64/Base64 to have file names shorter

Fixed

  • Component embedding using non-local name (f. ex. <my_module::MyComponent />)
  • Raw field name support in AutoJsJson derive macro
  • component! macro copying attributes to struct (and doc-strings)
  • css! macro resolving expressions in url
  • vertigo-cli: Watch script now attached inside body tag