All Versions
15
Latest Version
Avg Release Cycle
11 days
Latest Release
316 days ago

Changelog History
Page 1

  • v1.12.1 Changes

    December 05, 2020

    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/etadc5380a
    • 🔀 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 Changes

    November 29, 2020

    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 @rollup9f69ee9
    • 🔀 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

  • v1.11.0 Changes

    September 21, 2020

    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

  • v1.10.1 Changes

    September 20, 2020

    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

  • v1.10.0 Changes

    September 18, 2020

    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

  • v1.9.0 Changes

    September 17, 2020

    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

  • v1.8.0 Changes

    September 16, 2020

    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

  • v1.7.0 Changes

    September 15, 2020

    TL;DR

    • Some minor formatting changes (removal of trailing commas)
    • 🛠 To be compatible w/ Deno 1.4.0, we now use explicit import type and export type syntax. Fixed with a PR by @asos-craigmorten
      • Note: there is a chance this may cause breaking changes if you are using TypeScript versions older than 3.8

    Commits

    • 🚀 Update release command ff25c8d
    • 🔀 Merge pull request #20 from asos-craigmorten/fix/support-deno-1.4.0 7690d06
    • Rebuild a4c28ee
    • ✂ Remove unnecessary comment f10eddb
    • 🛠 fix(deno): support Deno 1.4.0 strict type checks de96f9b
    • ✂ Removed 'prettier' field from package.json which was overriding .prettierrc and creating trailing commas 416d966

    v1.6.2...v1.7.0

  • v1.6.2 Changes

    September 12, 2020

    TL;DR

    👉 User-facing changes

    • 👀 Eta now supports the "exports" field in package.json, meaning it should work with Skypack, Pika CDN, etc. (see pikapkg/skypack-cdn#47).
    • We turned on TypeScript declaration maps, to hopefully make IntelliSense and source code browsing easier

    Developer changes

    • 🚀 After a lot of experimenting with release scripts, we decided that manual releases through np are best for now.
    • 🚀 We added the /dist folder to .gitignore. It is generated on locally before every build, and before release.

    Commits

    • ⚡️ Update dev dependencies 198a84b
    • ➕ Add 'exports' field to package.json 6294739
    • ⚡️ Update version 7bf5fe3
    • Rebuild 23b7bf8
    • 🚀 Use manual release instead of script f012233
    • 🛠 Fix Travis CI script so it builds before testing 45cad11
    • 🚀 Update release script 9111771
    • ➕ Add np as a dev dependency e680239
    • 🚀 Release script fixes 4e817a6
    • Resolve node_modules with __dirname eaefbfc
    • ⚡️ Update path to node_modules 8794e1e
    • 🚀 Simplify release script 28edaf0
    • 🚀 Update tools/release.ts to work correctly with interactive io 4a2cf0c
    • ✂ Remove dist, deno_dist from master branch 7f4c4b4
    • ➕ Add dist, deno_dist to .gitignore b98598e
    • 🔀 Merge branch 'declaration-maps' into master ef5da68
    • 🚀 Create release script allowing for tracking of the dist/ and deno_dist/ directories in a separate branch 6603050
    • Enable TypeScript declaration maps 4796a9e

    v1.6.0...v1.6.2

  • v1.6.1 Changes

    September 12, 2020

    TL;DR

    🚀 This version adds TypeScript declaration files. Additionally, it contains some developer improvements to the release script.

    Commits

    • 🏗 Build distribution files f77f0c5
    • 🚀 Update release script 9111771
    • ➕ Add np as a dev dependency e680239
    • 🚀 Release script fixes 4e817a6
    • Resolve node_modules with __dirname eaefbfc
    • ⚡️ Update path to node_modules 8794e1e
    • 🚀 Simplify release script 28edaf0
    • 🚀 Update tools/release.ts to work correctly with interactive io 4a2cf0c
    • ✂ Remove dist, deno_dist from master branch 7f4c4b4
    • ➕ Add dist, deno_dist to .gitignore b98598e
    • 🔀 Merge branch 'declaration-maps' into master ef5da68
    • 🚀 Create release script allowing for tracking of the dist/ and deno_dist/ directories in a separate branch 6603050
    • Enable TypeScript declaration maps 4796a9e

    v1.6.0...v1.6.1