Skip to content

Releases: elixir-volt/vize_ex

v0.9.0

09 Apr 09:36

Choose a tag to compare

v0.8.0

17 Mar 14:02

Choose a tag to compare

Bump v0.8.0 — CSS bundler with @import resolution

v0.7.0

17 Mar 12:16

Choose a tag to compare

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

12 Mar 10:19

Choose a tag to compare

Bump v0.6.0 — vapor_split/1 statics/slots split

v0.5.0

12 Mar 06:51

Choose a tag to compare

Limit precompiled targets to the 5 we actually build

v0.4.0

12 Mar 05:43

Choose a tag to compare

Added

  • compile_css/2 and compile_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

12 Mar 04:43

Choose a tag to compare

What's new

compile_sfc/2

  • :filename option — pass the SFC filename for stable scoped CSS data-v-xxxx attributes and source maps
  • :scope_id option — explicit scope ID override for scoped CSS
  • Content hashestemplate_hash, style_hash, script_hash returned 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 :key attributekey_prop now encoded in the IR for v-for nodes

v0.2.0

12 Mar 03:53

Choose a tag to compare

Changes

  • Expose directive expressions in Vapor IR — v-show="visible" and v-model="text" now include the expression value
  • Tag static expressions as {:static, value} tuples (dynamic expressions remain plain strings)
  • Include element_template_map in Vapor IR — maps element IDs to their template indices
  • Update README with IR kind reference table

v0.1.0

11 Mar 15:43

Choose a tag to compare

Initial release.

API

  • Vize.parse_sfc/1 — parse .vue into descriptor
  • Vize.compile_sfc/2 — compile SFC to JS + CSS (DOM/Vapor/SSR)
  • Vize.compile_template/2 — template → render function
  • Vize.compile_ssr/1 — template → SSR JS with _push() calls
  • Vize.compile_vapor/2 — template → Vapor mode JS
  • Vize.vapor_ir/1 — Vapor IR as Elixir maps for BEAM-native SSR
  • Vize.lint/2 — lint Vue SFCs

Built on Vize v0.28.0 crates.