Popular
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.7.3 - 2023-09-02
Fixed
0.7.2 - 2023-09-02
Fixed
- Escape backtick and
${
in the template #10. - Updated dependencies
0.7.1 - 2023-08-08
Fixed
import name from ...
tag.
0.7.0 - 2023-08-08
Added
function
,import
andexport
tags #9.runStringSync
function to run Vento in sync mode.
Changed
run
andrunString
returns aTemplateResult
interface, instead of a string.
0.6.0 - 2023-07-03
Added
layout
tag.
Changed
- Docs are now at https://vento.js.org
0.5.1 - 2023-06-29
Fixed
- Regular expression for
{{ set }}
tag. - Multiline code for
set
,include
,for
0.5.0 - 2023-06-18
Added
- Allow to add arbitrary JavaScript expressions with
{{> [js code] }}
.
0.4.0 - 2023-06-14
Added
- Support for trims #2.
For example:
<h1> {{- title -}} </h1>
. - Support for comments #3.
For example:
{{# this is a comment #}}
. - Support for raw code #4.
For example:
{{raw}} {{ username }} {{/raw}}
. - Support for async filters and global functions #5 For example: {{ url |> await fetch |> await json |> JSON.stringify }}
Fixed
- Template literals in includes #1.
- Chain errors using the
cause
property.
0.3.1 - 2023-06-14
Fixed
- Improved errors.
- Print
null
andundefined
values.
0.3.0 - 2023-06-12
Added
- New option
dataVarname
. - Benchmark for Eta.
Changed
- Improved the tokenizer.
0.2.0 - 2023-06-10
Added
runString
function.
Changed
- Removed
=
character for printing tags.
0.1.0 - 2023-06-04
First version