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.
<esi:assign>
in<esi:try>
only affects child scopes- omit entire
<esi:attempt>
block on exception - isolated success state of
<esi:try>
- Moved to esm. Backwards compatible with cjs. Breaks backwards compatibility if a cjs project requires anything but the index or lib/voidElements as these are the only exposed as cjs.
- Add support for
$rand
- Require node >= 18
- Add support for
setheader
attribute on<esi:eval />
and<esi:include />
- Added $html_decode
- Fixed bad example in README
- Add support for GEO substructures
- esi:except in esi:try should be optional
- check for esi:when and otherwise in esi:choose
- add validation for esi:try
- fix example typo and new eslint rules
- Throw error if esi:choose has other direct children than esi:when and esi:otherwise
- Less strict got peer version
- Support
$string_split
- Support named
item
variable in foreach
- Tweak performance by using for loop instead of forEach
- Removed fallthrough behaviour of overlapping whens
Change the public api and refactor to classes
- Public API
- Minimum node version is now 14 since URL behaves' in earlier versions
- Previous default export function is gone, replaced by
parse
- More descriptive expression error messages
- Use bonniernews scoped packaged fork of atlas-html-stream dependency
- Change protocol of atlas-html-stream dependency
- Multiple
$set_header
calls with "Set-Cookie" results in multiple headers
- Don't crash when comparing undefined identifier
- Added changelog (better late than never)
?