Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Nov 23:54
· 178 commits to main since this release
ab495b2

Major Changes

  • fc80b5f: Removed ignore tag {{! ... }} syntax. As mentioned in the 3.3.0 release notes, the now preferred way to "pass through" tags is with string literals.

    You should update code with {{! ... }} to be {{ '{{ }}' }} like so:

    - {{! if condition }}
    + {{ '{{ if condition }}' }}
        do something
    - {{! /if }}
    + {{ '{{ /if }}' }}

    While more verbose, this change ensures that there isn't any ambiguity between a tag that needs ignoring and JS negation expressions.

Minor Changes

  • 2b5f337: Rewrite project in Typescript and add a build/packaging step for releases and testing.

    These changes also include .d.ts generation as part of the build step. If you're using 11ty.ts's defineConfig function, it will pick the types from this plugin up automatically. (resolves #22)