Skip to content

Releases: rooseveltframework/teddy

0.6.19

16 Nov 14:26
7a4d536
Compare
Choose a tag to compare
  • Made client-side Teddy parser a bit more tolerant of bad markup.

0.6.18

15 Nov 19:08
98bada9
Compare
Choose a tag to compare
  • Fixed a bug which caused client-side Teddy to rename yet more form elements accidentally.

0.6.17

15 Nov 18:19
b47ecb1
Compare
Choose a tag to compare
  • Fixed a bug which caused client-side Teddy to handle array length lookups differently from cheerio-driven Teddy.
  • Fixed a bug which caused client-side Teddy to crash if extra spaces were in markup attribute lists.
  • Fixed a bug which caused client-side Teddy to return the wrong data with 2 or more layers of object lookups if the object keys were camelCase.
  • Fixed a bug which caused client-side Teddy to rename some form elements accidentally.
  • Updated various dependencies.

0.6.16

14 Nov 13:47
2f6ab15
Compare
Choose a tag to compare
  • Fixed a bug which caused client-side Teddy to fail in some situations like putting a <loop> in a <select> element.
  • Deprecated a test that tests for passing numeric arguments to include tags, since this violates HTML grammar and never should've worked to begin with. It may still work with cheerio-driven Teddy because cheerio's parser is more forgiving than a standards-compliant one unless and until cheerio deprecates support for that itself. Client-side Teddy will not support it, so for consistency the test has been removed.
  • Updated various dependencies.

0.6.15

02 Nov 20:12
e8940d0
Compare
Choose a tag to compare
  • Fixed a bug which caused the cheerio-driven modules to not work client-side if you choose to use them there.
  • Updated various dependencies.

0.6.14

19 Oct 13:57
b83b9ad
Compare
Choose a tag to compare
  • Finsihed work on cheerioPolyfill.js which makes it possible for Teddy to execute in client-side contexts without using cheerio, allowing for a very small bundle size for client-side Teddy (17kb minified).
  • Fixed client-side tests to test Teddy in the browser properly.
  • Refactored tests to improve maintainability.
  • Updated various dependencies.

0.6.13

15 Oct 15:03
b0d84ea
Compare
Choose a tag to compare
  • Removed xregexp and html-entities dependencies. Also Replaced cheerio with cheerio/slim. These changes have reduced bundle size significantly.
  • Began work on cheerioPolyfill.js which will allow Teddy to execute in client-side contexts without using cheerio. This will result in even smaller bundle sizes (currently around 16kb minified), however the work is unfinished.
  • Updated various dependencies.

0.6.12

21 Sep 13:56
37e8310
Compare
Choose a tag to compare
  • Downgraded cheerio to prevent webpack errors when using Teddy on frontend.
  • Updated various dependencies.

0.6.11

16 Sep 14:50
b093459
Compare
Choose a tag to compare
  • 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

16 Sep 11:53
9fccd79
Compare
Choose a tag to compare
  • 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.