Releases: elixir-volt/vize_ex
Releases · elixir-volt/vize_ex
v0.9.0
v0.8.0
Bump v0.8.0 — CSS bundler with @import resolution
v0.7.0
Bump v0.7.0 — CSS Modules support in compile_css New option `css_modules: true` in `Vize.compile_css/2` enables LightningCSS CSS Modules mode. Class names, IDs, keyframes, and other identifiers are scoped, and the result includes an `:exports` map of original → hashed names. Uses dannote/vize fork (branch css-modules) for vize_atelier_sfc until ubugeeei/vize#123 is merged upstream.
v0.6.0
Bump v0.6.0 — vapor_split/1 statics/slots split
v0.5.0
Limit precompiled targets to the 5 we actually build
v0.4.0
Added
compile_css/2andcompile_css!/2— standalone CSS compilation via LightningCSS- Parse, autoprefix, and minify CSS independently of SFC compilation
- Vue scoped CSS transformation (
:scoped,:scope_id) v-bind()variable extraction- Browser targeting (
:chrome,:firefox,:safari)
v0.3.0
What's new
compile_sfc/2
:filenameoption — pass the SFC filename for stable scoped CSSdata-v-xxxxattributes and source maps:scope_idoption — explicit scope ID override for scoped CSS- Content hashes —
template_hash,style_hash,script_hashreturned in the result for HMR change detection
{:ok, result} = Vize.compile_sfc(source, filename: "App.vue")
result.template_hash # "de5ddf78a0f8d31a"
result.style_hash # "3efafd39ec9747f9"
result.script_hash # "1a8dae0fef50c189"Vapor IR
- v-for
:keyattribute —key_propnow encoded in the IR for v-for nodes
v0.2.0
Changes
- Expose directive expressions in Vapor IR —
v-show="visible"andv-model="text"now include the expression value - Tag static expressions as
{:static, value}tuples (dynamic expressions remain plain strings) - Include
element_template_mapin Vapor IR — maps element IDs to their template indices - Update README with IR kind reference table
v0.1.0
Initial release.
API
Vize.parse_sfc/1— parse.vueinto descriptorVize.compile_sfc/2— compile SFC to JS + CSS (DOM/Vapor/SSR)Vize.compile_template/2— template → render functionVize.compile_ssr/1— template → SSR JS with_push()callsVize.compile_vapor/2— template → Vapor mode JSVize.vapor_ir/1— Vapor IR as Elixir maps for BEAM-native SSRVize.lint/2— lint Vue SFCs
Built on Vize v0.28.0 crates.