Releases: rooseveltframework/teddy
Releases · rooseveltframework/teddy
0.6.12
- Downgraded
cheerio
to prevent webpack errors when using Teddy on frontend.
- Updated various dependencies.
0.6.11
- Added new setting
teddy.setEmptyVarBehavior('hide')
that will make it possible for variables which don't resolve to display as empty strings instead of displaying the variable.
0.6.10
- Added support for template literal
${templateLiteral}
variables.
- Fixed bug that caused Teddy to crash if you attempted to loop through a Set.
- Replaced internal HTML entities scanner with the
html-entities
npm package.
- Updated various dependencies.
0.6.9
- Fixed issue with rendering variables with empty strings piped through variables with flags.
- Updated various dependencies.
0.6.8
- Fixed issue with rendering special characters correctly when piped through a teddy noparse flagged variable.
- Updated various dependencies.
0.6.7
- Fixed issue causing server-side comments to not be stripped from templates parsed as strings instead of as files.
- Updated various dependencies.
0.6.6
- Fixed issue causing the template caching feature to not work properly in Express apps.
- Updated various dependencies.
0.6.5
- Fixed scenario where one-line if with only a false condition could crash if it's fed by arguments from an include element.
- Fixed crash associated with embedding JSON strings in script tags.
- Fixed bug causing "{}" to be inappropriately stripped from templates.
- Reduced unminified bundle size from 2.4mb to 1.5mb and added a minified bundle that reduces it further to 449kb.
- Improved logging and refactored the code a bit.
- Updated various dependencies.
0.6.4
- Fixed crash that could occur in an unusual edge case.
- Various dependencies bumped.
0.6.3
- Restored template-level caching feature with an improved API.
- Restored compile method but now with an API similar to other templating systems. It will now take a template string and return a function which when given model data will render HTML from the template and model data.
- Now hosting the Teddy playground on https://rooseveltframework.github.io/teddy/playground.html. Thanks to jsDelivr for CDN hosting.
- Various dependencies bumped.