Skip to content

Releases: eta-dev/eta

Version 1.13.0

11 Jan 22:00
Compare
Choose a tag to compare

TL;DR

  • Improved return types through TS function overloading
  • Fixed the "types" field in package.json

Commits

  • Rebuild 197eb04
  • docs: add nhaef as a contributor for code (#206) c954bfe
  • Rebuild and format 1cae832
  • Improve return types for render, renderAsync, renderFile and renderFileAsync (#199) 242e9fc
  • Fix types specification in package.json (#193) 7190909
  • Fix types specification in package.json (#193) fe26ba1
  • Fix types specification in package.json (#193) 812825d
  • Nit: change eslint file type (#204) 8c82f3c
  • chore(deps): bump dot-prop and @commitlint/config-conventional (#203) 9e22984
  • Update dependencies (#202) 749b197
  • Merge pull request #188 from gitBaiano/patch-1 2eb2d9f
  • Update Benchmark modules 35a7d8d
  • Merge pull request #179 from eta-dev/dependabot/npm_and_yarn/terser-4.8.1 4c23380
  • chore(deps): bump terser from 4.8.0 to 4.8.1 15fd2b9
  • Merge pull request #160 from eta-dev/dependabot/npm_and_yarn/node-fetch-2.6.7 064f776
  • chore(deps): bump node-fetch from 2.6.1 to 2.6.7 60263b0
  • Merge pull request #174 from eta-dev/dependabot/npm_and_yarn/jsdom-16.7.0 ff801ea
  • chore(deps): bump jsdom from 16.4.0 to 16.7.0 14aedfb
  • Merge pull request #170 from Tobbe/patch-1 9c8e426
  • README.ms: Fix rawgit links 12005a5
  • Merge pull request #167 from ralphwetzel/patch-1 912c2e3
  • Update README.md 5512169
  • Merge pull request #156 from eta-dev/dependabot/npm_and_yarn/shelljs-0.8.5 663556c
  • Merge pull request #158 from benasher44/patch-1 1f1f321
  • Merge pull request #157 from eta-dev/dependabot/npm_and_yarn/nanoid-3.2.0 b1026d3
  • Merge pull request #154 from shadowtime2000/issue-146 aedaab7
  • Update README.md 34628da
  • Update benchmarks link d5e25ab
  • Merge pull request #155 from benasher44/master 694976f
  • chore(deps): bump nanoid from 3.1.12 to 3.2.0 21234a1
  • chore(deps-dev): bump shelljs from 0.8.4 to 0.8.5 f28b718
  • Compile templates before render for benchmarks d469b4c
  • fix(146): add browser es versions 408d59c
  • Merge pull request #145 from eta-dev/dependabot/npm_and_yarn/tmpl-1.0.5 0bdf07e
  • chore(deps): bump tmpl from 1.0.4 to 1.0.5 e1101a9
  • Merge pull request #133 from eta-dev/dependabot/npm_and_yarn/path-parse-1.0.7 a0072e8
  • chore(deps): bump path-parse from 1.0.6 to 1.0.7 48d9857
  • v1.12.3 304b9e2

v1.12.3...v1.13.0

Updated Deno Version

12 Jul 06:20
Compare
Choose a tag to compare

Basically updates this to use the latest Deno version, thanks to @talentlessguy for implementing that.

v1.12.2...v1.12.3

Remove Usage of Unstable APIs for Deno

13 Jun 07:33
753176a
Compare
Choose a tag to compare
  • chore: new updatE? e0829dc
  • Merge pull request #119 from eta-dev/dependabot/npm_and_yarn/browserslist-4.16.6 0db3ea3
  • chore(deps): bump browserslist from 4.14.0 to 4.16.6 af97dcf
  • Merge pull request #118 from eta-dev/update-y18n f2486dc
  • chore: update y18n i think 81d3e39
  • Merge pull request #108 from eta-dev/dependabot/npm_and_yarn/handlebars-4.7.7 0aba95b
  • Merge pull request #109 from eta-dev/dependabot/npm_and_yarn/hosted-git-info-2.8.9 5fa1f7e
  • Merge pull request #104 from eta-dev/dependabot/npm_and_yarn/ssri-6.0.2 79c0749
  • Merge pull request #110 from eta-dev/dependabot/npm_and_yarn/lodash-4.17.21 493dfe8
  • chore(deps): bump lodash from 4.17.20 to 4.17.21 c33657a
  • chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 16e1761
  • chore(deps): bump handlebars from 4.7.6 to 4.7.7 d929ffb
  • chore(deps): bump ssri from 6.0.1 to 6.0.2 6c80432
  • Merge pull request #103 from eta-dev/revert-thingy fe7af36
  • revert: browser es modules thing a1c131e
  • Merge pull request #97 from eta-dev/dependabot/npm_and_yarn/elliptic-6.5.4 fac6ff9
  • chore(deps): bump elliptic from 6.5.3 to 6.5.4 5b93fc5
  • Merge pull request #94 from js2me/patch-1 7102b66
  • Update README.md 4b80275
  • Update README.md abea13d
  • Update README.md 9e75392
  • Merge pull request #80 from eta-dev/not-use-unstable-i-guess 7ab53b2
  • ci: dont run deno tests unstable dcb3750
  • refactor: only import exists from deno std so it doesnt give unstable warning 8b03e13
  • Merge pull request #74 from eta-dev/dependabot/npm_and_yarn/node-notifier-8.0.1 685a5e0
  • chore(deps): bump node-notifier from 8.0.0 to 8.0.1 7b7a1a4
  • Merge pull request #69 from eta-dev/chore-deno-fmt e0fd2d7
  • chore: deno fmt 1a3416e
  • Merge pull request #68 from eta-dev/chore-deno-build e73346f
  • chore: deno build 5edda61
  • Merge pull request #67 from shadowtime2000/master e68e0a5
  • docs: jsdoc for renderfileasync 87fa30c
  • docs: docs jsdoc for renderasync aeac178
  • Merge pull request #65 from eta-dev/es-browser d6ca393
  • build: allow browser es modules 85433b8
  • Merge pull request #63 from eta-dev/dependabot/npm_and_yarn/ini-1.3.8 2db0ab2
  • chore(deps): bump ini from 1.3.5 to 1.3.8 fa98ab3

v1.12.1...v1.12.2

This is a long awaited release that removes usage for unstable APIs in the Deno build. There is a level of unstability though that would exist when using this in newer versions of Deno, but watch out for next patch releases to make it compatible with newer Deno versions.

Patched Render File Async

05 Dec 23:07
Compare
Choose a tag to compare

TL;DR

Patched renderFileAsync to match type definitions, reduced bundle size by 0.1KB with usage of widely supported ternary operators.

Commits

  • Merge pull request #60 from eta-dev/update-docs b8022f0
  • chore: rebuild deno d50c77d
  • docs: add vscode extension to integrations [skip CI] 0a4c2ce
  • Merge pull request #59 from eta-dev/fix-bug 8664110
  • chore: deno fmt efa17db
  • chore: rebuild deno_dist 4c1052d
  • chore: prettier 93eeb08
  • docs: clarified on why spread operator makes it larger 3bcad3d
  • fix: fix async overriding 8ba587d
  • Merge pull request #58 from eta-dev/more-es6 529a4af
  • refactor: refactor to get whole file path c7bba26
  • test: refactor let into const 94a19e1
  • test: refactor getName: getName to getName ba45514
  • refactor: remove basically unused var result 771a17a
  • chore: formatted 1303773
  • refactor: make current type immutable in parsing c0deae3
  • refactor: make ctor immutable 3a0cd3f
  • revert: refactor to get whole file path 317513b
  • chore: formatted b576e7c
  • refactor: refactor to get whole file path 74904fc
  • refactor: make handle cache a littler cleaner b9a6119
  • refactor: some more let and consts where applicable 53ae7a2
  • refactor: use let instead of var where applicable 82a83b1
  • refactor: use const instead of var where applicable 0c9410f
  • Merge pull request #57 from eta-dev/dependabot/npm_and_yarn/highlight.js-10.4.1 884c984
  • chore(deps): bump highlight.js from 10.1.2 to 10.4.1 5485e5c
  • Merge branch 'master' of https://github.com/eta-dev/eta dc5380a
  • Merge pull request #55 from eta-dev/all-contributors/add-shadowtime2000 3284e68
  • docs: update .all-contributorsrc [skip ci] 52df892
  • docs: update README.md [skip ci] 19b1bfe

v1.12.0...v1.12.1

v1.12.0

29 Nov 19:51
75944e6
Compare
Choose a tag to compare

TL;DR

  • renderAsync and renderFileAsync functions #49

Commits

  • Merge pull request #54 from eta-dev/build-deno 75944e6
  • chore: deno fmt 145c127
  • chore: rebuild with denoify efd3e7f
  • Merge pull request #53 from eta-dev/update-denoify f8950a7
  • chore: update denoify b60350d
  • Merge pull request #52 from eta-dev/add-exports-to-browse 34955eb
  • docs: added notice for why i am using object assign 614df27
  • refactor: use object.assign a8fc369
  • feat: export render async from index 821f9ca
  • feat: add renderasync to browser 02b6e4c
  • fix: export from mod.ts 8dc90f3
  • Merge pull request #50 from shadowtime2000/render-async e4a16b5
  • feat: render file async function 559b02d
  • Merge pull request #51 from eta-dev/all-contributors/add-calumk a51e374
  • docs: update .all-contributorsrc [skip ci] 922bc30
  • docs: update README.md [skip ci] f4d7c71
  • refactor: use const instead of let a12665b
  • feat: render async function 487bf6c
  • Merge pull request #47 from shadowtime2000/master b1e34bd
  • docs(integrations): added a list of integrations e52d7e2
  • Merge pull request #45 from shadowtime2000/use-shareable-config c6cf0cf
  • refactor: extend eta-dev eslint config 9f49516
  • Rebuild 65391c3
  • Merge pull request #37 from eta-dev/all-contributors/add-hamzahamidi 2631011
  • docs: update .all-contributorsrc [skip ci] f88ad6e
  • docs: update README.md [skip ci] f19c4ed
  • Merge pull request #36 from shadowtime2000/master f15ac38
  • fix: move rollup plugins to dev deps 89b0cad
  • Merge branch 'master' of https://github.com/eta-dev/eta into master 215a693
  • fix(rollup.config.ts): use more supported plugins under namespace @rollup 9f69ee9
  • Merge pull request #35 from hamzahamidi/patch-1 1affb7d
  • doc: clarify import syntax af71591
  • Merge pull request #34 from eta-dev/all-contributors/add-shadowtime2000 87672de
  • docs: update .all-contributorsrc [skip ci] e2502b6
  • docs: update README.md [skip ci] b8f9106
  • Merge pull request #32 from shadowtime2000/master 99e9f92
  • chore: formatted c792cb6
  • chore: attempted build cc47951
  • refactor: added return types to functions ba6c9ec

v1.11.0...v1.12.0

Version 1.11.0

21 Sep 20:48
Compare
Choose a tag to compare

TL;DR

  • Support for a default filter: see #28 (comment)
  • Support for passing parameters to layouts

Commits

  • Rebuild 040003a
  • Merge branch 'master' of github.com:eta-dev/eta into master ccb18ca
  • Change order of data merge for layouts f14b609
  • Reformat 2b27782
  • Add support for layout parameters ccac9f7
  • Added filter option to config 7aea7e0
  • Merge pull request #30 from eta-dev/all-contributors/add-trojanh 5478ed4
  • docs: update .all-contributorsrc [skip ci] d19c7fe
  • docs: update README.md [skip ci] 41056a1

v1.10.1...v1.11.0

Version 1.10.1

20 Sep 02:54
Compare
Choose a tag to compare

TL;DR

  • Fixed ES6 build after @talentlessguy pointed out in #26 that it was broken
  • @trojanh added an example of using custom tags to examples/basic.js

Commits

  • Rename basic.ts to basic.js. Change basic.js to use ES6 imports bda22fd
  • Merge pull request #29 from trojanh/patch-1 acf2977
  • Merge pull request #27 from eta-dev/esm-fix bf1b5ad
  • Add custom tag example 8d3030d
  • Rename .eslintrc.js to .eslintrc.cjs 0efe553
  • Rename eta.cjs.js to eta.cjs 7031022
  • Fix usage of fs and path inside ES build c78d52b

v1.10.0...v1.10.1

Version 1.10.0

18 Sep 02:48
Compare
Choose a tag to compare

TL;DR

  • One new plugin hook, processTemplate, for processing template strings before they are parsed (PR)

We realize that there have been quite a few releases lately, and we promise we'll slow down soon 😉.

Commits

  • Add note about layouts to README 53e4efe
  • Merge pull request #25 from eta-dev/process-template-plugin 81cd44c
  • Add note about layouts to README and package.json 0c96cd0
  • Add processTemplate plugin hook 370be52
  • Merge pull request #24 from eta-dev/readme-image c4557cb
  • Update README.md 9230af1
  • Update README.md 3a23ffa
  • Update README.md ad86554
  • Update README.md 5188902
  • Add README image 401cb9d

v1.9.0...v1.10.0

Version 1.9.0

17 Sep 22:03
Compare
Choose a tag to compare

TL;DR

  • Layouts support! 🚀 🔥 ✨ (see below)
  • Added types field to package.json
  • Fixed benchmark page

Layouts

You should just be able to write

<% layout("./my-layout.eta") %>

Anywhere in your template file! my-layout.eta will be rendered with Object.assign(it,{body:body}), where body is the current template file.

Note: if you are using Eta in the browser, you can also use layouts. In that case, call layout with the name of a template that has already been defined

Read here for more info about the release.

Commits

  • Merge pull request #23 from eta-dev/layout-support 0856e6e
  • Rename l (inner template variable for layouts) to __l e111032
  • Update benchmarks page to include Squirrelly 1126440
  • Add tests for layouts without includeFile b3ada67
  • Format 0301578
  • Add support for layouts ✨ 5c2fda2
  • Rebuild b42a56d
  • Add 'types' field' ce57b16

v1.8.0...v1.9.0

Version 1.8.0

16 Sep 20:08
Compare
Choose a tag to compare

TL;DR

The main feature in this change is the addition of filepath caching, added in #21.

Preliminary results show this having a GIANT performance benefit when caching is enabled!

(Using autocannon -c 100)

Server Cache disabled Cache enabled: before PR Cache enabled: after PR
Oak 20k requests in 10.07s
13 MB read
49ms avg. latency
48k requests in 10.07s
30.9 MB read
20ms avg. latency
159k requests in 10.11s
101 MB read
6ms avg. latency
Alosaur 23k requests in 10.06s
6.28 MB read
42ms avg. latency
61k requests in 10.07s
16.6 MB read
16ms avg. latency
210k requests in 10.08s
56.6 MB read
5ms avg. latency
Opine 12k requests in 11.06s
9.36 MB read
88ms avg. latency
28k requests in 10.07s
21 MB read
35ms avg. latency
54k requests in 10.08s
40.9 MB read
18ms avg. latency

Note that these servers weren't running the same templates, so don't use these results to compare the servers

The new version of Eta performs drastically better with the new PR! Alosaur, for example, served 3.3 times more data! 🔥 🔥 🔥

Commits

  • Merge pull request #21 from eta-dev/path-caching 88a65e0
  • Add testing for filepath caching 70bb7e5
  • Add explanatory comment about caching aec8d91
  • Add return types fa40fc3
  • Merge pull request #22 from eta-dev/all-contributors/add-asos-craigmorten e551376
  • docs: update .all-contributorsrc [skip ci] f89db22
  • docs: update README.md [skip ci] 70e3a7b
  • Add explanatory comment 7262027
  • Initial filepath caching implementation cd5a436
  • Format interface 0636a73
  • Add filepathCache to config, sort EtaConfig interface b2b71f9

v1.7.0...v1.8.0