Skip to content

Releases: rooseveltframework/teddy

1.1.4

Choose a tag to compare

@kethinov kethinov released this 29 Apr 18:32
81a6cd2
  • Added slicker live demo docs.
  • Added some performance improvements.
  • Fixed a bug when escaping escape tags or escape comments.
  • Updated dependencies.

1.1.3

Choose a tag to compare

@kethinov kethinov released this 10 Apr 20:34
c1a1cdb
  • Added <!--# escape comments -->.
  • Updated dependencies.

1.1.2

Choose a tag to compare

@kethinov kethinov released this 09 Apr 11:50
8c1969e
  • Added teddy.clearTemplates() method to clear the template cache.
  • Updated dependencies.

1.1.1

Choose a tag to compare

@kethinov kethinov released this 08 Apr 16:34
bc3e092
  • Added support for variables-with-dashes-in-their-names.
  • Updated dependencies.

1.1.0

Choose a tag to compare

@kethinov kethinov released this 07 Apr 15:22
1130ad7
  • Added <escape> tag.
  • Excluded <pre> tags from Teddy parsing. Add a parse attribute to prevent this behavior.
  • Fixed a bug that could cause infinite loops in variable parsing.
  • Updated dependencies.

1.0.1

Choose a tag to compare

@kethinov kethinov released this 14 Mar 13:18
37bee1a
  • Fixed a bug that caused client-side Teddy to try to fetch resources from the server inappropriately while parsing the template.
  • Updated dependencies.

1.0.0

Choose a tag to compare

@kethinov kethinov released this 12 Mar 19:31
f7fe726
  • Added support for a new <!--! server-side comments --> syntax.
  • Changed the behavior of <include> tags to display an error when attempting to include a template that does not exist.
  • Updated various dependencies.

0.6.26

Choose a tag to compare

@kethinov kethinov released this 06 Mar 13:48
16246a9
  • Fixed a bug that could cause ${templateLiteral} strings to lose their $ character if they were meant to print as strings and not be parsed as Teddy variables.
  • Updated various dependencies.

0.6.25

Choose a tag to compare

@kethinov kethinov released this 05 Mar 13:41
354c0d9
  • Fixed bugs associated with selected-value and checked-value attributes.

0.6.24

Choose a tag to compare

@kethinov kethinov released this 04 Mar 15:32
51ff5e3
  • Added {varName|h} to force hide or {varName|d} to force display variable. This is a per-var override for:
    • teddy.setEmptyVarBehavior('hide'): Will make it possible for variables which don't resolve to display as empty strings instead of displaying the variable.
      • Default: 'display'.
  • Added support for sourcing most Teddy attribute values dynamically from {variables}.
  • Added boolean logic to one-line if statements.
  • Added selected-value and checked-value attributes for setting what option to select or what checkbox / radio to check in a more concise way than using one-line ifs.
  • Fixed a bug that prevented boolean logic from working if there were multiple and or multiple or attributes on an element.
  • Updated various dependencies.