Releases: vertigo-web/vertigo
Releases · vertigo-web/vertigo
0.8.0 - 2025-07-15
Added
- Tailwind support (internal rust-only, and external node-based) #353
js!
macro which allows to evaluate simple JavaScript expressions. #372- Added
v-css
andv-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. #368This means,
T
should now implementPartialEq
.
Value::set_force
was introduced forT
which doesn't implementPartialEq
but this method always updates graph just as the oldset
method. -
on_click
attribute now providesClickEvent
to allow preventing default or stopping propagation.
Fixed
DomElement::get_ref()
#375
Removed
window!
anddocument!
macros (replaced byjs!
).
0.7.2 - 2025-06-10
0.7.1 - 2025-05-29
Added
- vertigo-cli:
--release-mode
and--wasm-opt
parameters forbuild
andwatch
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
Added
- Dynamic/optional attributes, attributes grouping, attributes spreading #317
- vertigo-cli:
--mount-point
parameter forserve
command, which allow to embed app in f. ex.example.com/mount/point
endpoint #346
Changed
- Moved from
rsx
torstml
,syn
1.0 to 2.0 #331 - Replaced
OrderedMap
withBtreeMap
#322 - Css classes in single
<style>
element #328
Fixed
0.6.4 - 2025-03-26
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
Fixed
- Invalid lowercase http methods in requests from inside SSR
0.6.2 - 2025-02-27
Added
Driver::set_status
method to allow responding with custom HTTP status code during SSR [#316]css
attribute indom!
macro now accepts&Css
(referenced) for convenienceon_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
0.6.1 - 2024-12-18
Added
Driver::utc_now
(Gets current UTC timestamp)Driver::timezone_offset
(Gets browsers time zone offset in seconds)chrono::NaiveDate
support inAutoJsJson
LazyCache::<T>::new_resource()
helperToComputed
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
Added
Reactive
trait that allows generic components to be more flexible with propsBTreeMap
andchrono::DateTime<Utc>
support inAutoJsJson
#[js_json(default = "None")]
attribute toAutoJsJson
JsJson
implementation for unit type()
- All http methods in
FetchMethod
history_replace
method inDriver
- Minification of
wasm_run.js
- vertigo-cli:
--add-watch-path
towatch
command - vertigo-cli:
--wasm-run-source-map
tobuild
andwatch
command
Fixed
- Missing hash part in history router
- vertigo-cli: Missing
Cache-Control
header for statics
0.5.0 - 2024-04-05
Added
window!
anddocument!
macro to allow invoking simple JavaScript commandsDriver::plains
method to allow responding with plaintext pages- In
css!
macro there is now possibility to reference a class created by anothercss!
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 inurl
- vertigo-cli: Watch script now attached inside body tag