v5.0.0
Major Changes
-
a17cc12: Update Vento language library to v2
This is a redo of release 4.6.0, now repackaged as a major release. As noted by @oscarotero in #327, Vento v2 is largely compatible with v1, so there shouldn't be any significant changes needed within your templates. Furthermore, he's released v2.0.2 (which this plugin has already adopted) that should solve the majority of incompatibility issues. Further changes accouned for breaking changes upstream, though do be sure to review your own templates and configs for any breaking changes!
More critical to note for Vento v2 is the rearrangement of core library features that this plugin exposes. Definitely review the changelog for v2 to determine whether your implementation needs updating.
The biggest changes are:
meriyahwas removed via ventojs/vento#128 at the benefit of performance. If you were absorbingmeriyah's functionality via this plugin, you should adjust accordingly.runStringSyncis no longer supported and has been removedventoOptions.useWithwas previously deprecated and has since been removed. If you relied onuseWithin your plugin options, you should instead useventoOptions.dataVarnameandventoOptions.autoDataVarnameto control how the global namespace for template data is exposed. For more info, see more on the Vento docs.- Other external dependencies such as
ESTreehave also been removed and thusly are no longer accessible via this plugin.
Side note: I've been considering migrating the integration this plugin provides with Eleventy Shortcodes to something more modular, like how Lume handles components. If this is something you're interested in, let me know by opening an issue!