eta

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript

MIT License

Downloads
2.8M
Stars
1.3K
Committers
32

Bot releases are visible (Hide)

eta - Version 1.1.0

Published by nebrelbug over 4 years ago

TL;DR

Eta now HTML-escapes > as well as <. Though many other template engines avoid doing so, it should provide extra assurance in some edge cases (such as interpolations within an HTML tag). Based on benchmarks, Eta retains its status as the fastest template engine.

Commits

  • HTML-escape closing '>' as well as opening -- for a few edge cases 99aedf2

https://github.com/eta-dev/eta/compare/v1.0.3...v1.1.0

eta - Version 1.0.3

Published by nebrelbug over 4 years ago

TL;DR

I updated the README to add sections comparing Eta to other template engines, and fixed a few formatting issues.

Commits

  • Add trailing quote dc9f474
  • Include comparisons with other template engines c053b83
  • Merge branch 'master' of https://github.com/eta-dev/eta 06f77ac
  • Add language to code blocks ab38630

https://github.com/eta-dev/eta/compare/v1.0.2...v1.0.3

eta - Version 1.0.2

Published by nebrelbug over 4 years ago

BREAKING CHANGES

Eta no longer supports using @include and includeFile because our implementation added bundle size and complexity and was inflexible (ex. await @include did not work).

I decided not to release a new breaking version, since to my knowledge no projects are using Eta yet. If you do need to transition, change <% @include(...) to <%~ E.include(...) %> (think E for "Eta"), and the same for includeFile.

Commits

  • Move away from using @ for partials 0c00222
  • Move away from using @ for partials 48a0c80

https://github.com/eta-dev/eta/compare/v1.0.1...v1.0.2

eta - Version 1.0.1

Published by nebrelbug over 4 years ago

TL;DR

  • Updated README to point to correct links (and updated Travis and Coveralls)
  • Updated README content

Commits

  • One last README update 7c03c9e
  • Update README to contain correct links ed20c11

https://github.com/eta-dev/eta/compare/v1.0.0...v1.0.1

eta - Version 1!

Published by nebrelbug over 4 years ago

TL;DR

  • First Stable Release!! 🎉
  • Updated tests for more test coverage
  • Switched to using @ to prefix include, includeFile

Commits

  • Increase code coverage 16abf48
  • Update utils tests 70c0483
  • Update dev dependencies ca4cf28
  • Rebuild (remove trailing commas) d1aa173
  • Switch to using @ for include, includeFile 6d5b449

https://github.com/eta-dev/eta/compare/v1.0.0-beta.4...v1.0.0

eta - Version 1 - Beta 4

Published by nebrelbug over 4 years ago

TL;DR

  • Hotfix fixes a bug where Eta wouldn't throw with unclosed tags, and then would throw but at the incorrect index.

Commits

  • Rebuild 42765dc
  • Bugfix: throw with unclosed tags, + at the correct index be31717

https://github.com/eta-dev/eta/compare/v1.0.0-beta.3...v1.0.0-beta.4

eta - Version 1 - Beta 3

Published by nebrelbug over 4 years ago

TL;DR

  • New parsing algorithm has better string and comment support and will error with unclosed strings or multi-line comments
  • Minor performance improvements
  • Updated README, now that https://eta.js.org is live

Commits

  • Add website, badge 9a2eb5f
  • Add homepage to package.json 98e40b4
  • Update benchmarks page 55b82f6
  • Rebuilt aa71eab
  • Update tests - add errors for unclosed strings, comments e62792a
  • Update example 2e7df7a
  • Remove unnecessary addition 7de3101
  • More accurate parsing of strings and comments 78c256c
  • Working on optimization 5ab9061
  • Experimenting w/ different parse methods 9429ca5

https://github.com/eta-dev/eta/compare/v1.0.0-beta.2...v1.0.0-beta.3

eta - Version 1: beta 2

Published by nebrelbug over 4 years ago

TL;DR

Eta moved to an organization in order to ensure confidence in Eta and continued maintenance of the project

Commits

  • Update eta repo b51fdaa

https://github.com/eta-dev/eta/compare/v1.0.0-beta.1...v1.0.0-beta.2

eta - Version 1: beta 1

Published by nebrelbug over 4 years ago

TL;DR

  • Updated parsing algorithm so it throws with unclosed tags
  • Updated benchmark
  • Updated dependencies
  • Some other stuff 😂

Commits

  • Update benchmark 64b04c0
  • Update dependencies, remove old parse drafts 1defecc
  • parse.ts now throws with unclosed tags 4ffd86a
  • Update dependencies ff42d2e
  • Rename Sqrl to Eta (code migration) a052af6
  • Update README 6213cbd
  • Merge branch 'master' of https://github.com/nebrelbug/eta Merging 233417d
  • Merge pull request #1 from nebrelbug/dependabot/npm_and_yarn/acorn-6.4.1 0ab9679
  • Bump acorn from 6.4.0 to 6.4.1 ba6a916

https://github.com/nebrelbug/eta/compare/v1.0.0-beta.0...v1.0.0-beta.1

eta - First Beta!

Published by nebrelbug over 4 years ago

Introducing Eta!

Eta is Squirrelly's tiny embedded cousin. It serves as a faster, more configurable, and more lightweight alternative to EJS.

Commits

  • Update README c18af35
  • Updating README f2a94c7
  • Updating README 1d606d6
  • Rebuilt b098ece
  • Remove unnecessary escape characters 8b9bcea
  • Finish basic tests, fix bug w/ newline after statements cedd8a3
  • Rebuilt with most recent changes 2d5dae5
  • Modifying code to fit Eta a13b7bc
  • Explicit async, plugins work. 8b2432b
  • Update benchmarks page, README a93cd9b

https://github.com/nebrelbug/eta/compare/v8.0.0-beta.8...v1.0.0-beta.0