## 0.6.0 - 2024-08-02 ### Added * `Reactive` trait that allows generic components to be more flexible with props * `BTreeMap` and `chrono::DateTime` 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 ### 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 (``) ### 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. ``) * 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 ## 0.4.3 - 2024-02-28 ### Fixed * vertigo-cli: Don't html-escape styles embedded during SSR * vertigo-cli: Don't panic when missing root html element * vertigo-cli: Allow missing "head" element * Removed panics/unwraps from `dom!` macro ## 0.4.2 - 2024-02-06 ### Fixed * Lifetimes and generics in `#[component]` macro * vertigo-cli: Media queries in SSR ## 0.4.1 - 2023-12-02 ### Fixed * Version matching always failed due to `if true` XD ## 0.4.0 - 2023-11-08 ### Added * `LazyCache::forget` * Check for vertigo/vertigo-cli major.minor versions mismatch. Error is printed on CLI and JavaScript console. ### Fixed * `LazyCache::force_update` really forces the update even if value not expired * `JsJson` and `JsValue` list size as u32 - fixes large DOM updates ## 0.3.2 - 2023-07-17 ### Added * `computed_tuple!` macro * `on_blur`, `on_mouse_down`, `on_mouse_up` event * `ToComputed` trait ## 0.3.1 - 2023-05-25 ### Added * In `dom!` macro, allow default value for an attribute by passing empty `{}` ### Fixed * vertigo-cli: Fixed un-captured outputs of commands run during build ## 0.3.0 - 2023-05-01 ### Added * **Breaking:** `dom_element!` macro which returns `DomElement` struct, while `dom!` macro returns `DomNode` now * Suspense mechanism * `on_change` event to ``/`