eta (η) v1.3.0 Release Notes
Release Date: 2020-09-04 // over 3 years ago-
TL;DR
🚀 This release brings quite a few exciting updates; most notably, Deno support! 🎉 🎉
✅ It also brings a partial rewrite of Eta's file handling, many more JSDoc comments (hurrah for Intellisense!), increased testing and test coverage, and size analysis.Notable Changes
- 👍 Deno support
eta.renderFile
can now accept a relative file path, as long as theviews
option is set- Eta correctly handles when the
views
option is a string - 👌 Improved JSDoc annotation
- Size analysis and control with size-limit
- ⚡️ Updated dependencies
- ✅ More tests, higher test coverage
- 🛠 🐛 [BUGFIX]: included partials can now correctly reference files relative to them
Commits
- ⚡️ Update README badges 2002c17
- 👍 Deno support! 2f7fc48
- Rebuild c41ca47
- ✂ Remove emoji 2f9226d
- Note about size-limit restriction a45be5b
- 🔀 Merge branch 'master' into deno-support c96d8f5
- ⚡️ Update GitHub Actions to install Deno ac4910b
- ⚡️ Update GitHub Action to install Deno 25be6d6
- 🔀 Merge branch 'master' into deno-support ecab3d0
- Restrict size with size-limit 0da5e10
- Restrict size with ai/size-limit c5b9948
- ✂ Remove obsolete comment f47c0bc
- ➕ Add Deno and Yarn to Travis cache aa6d257
- ⚡️ Update funding links ab87ff6
- ⚡️ README updates e2ddb5f
- ✂ Delete old distribution.md file 2ed6f86
- ⚡️ Update contributor profile link f991b01
- ✅ Node throws different SyntaxError messages based on the version; I turned the error message tests into RegEx's a898234
- 🔨 Rebuild after file handling refactoring, better annotations 4f532b4
- 👍 Allow renderFile path to be relative, allow views option to be string, move loadFile to file-handlers.ts, refactor file handling, better JSDoc 30101c5
- 👍 Better JSDoc annotations, rearrange conditional 98c60dc
- 🚚 Move loadFile from file-utils.ts to file-handlers.ts cd71f9a
- 👍 Better JSDoc annotations 3dcec02
- ✅ Write multiple tests checking for errors, correct callback behavior, file location 4818251
- ➕ Add Eta file with invalid syntax 45052b9
- Up coverage threshold 6e30eb8
- ⚡️ Update renderFile so it can take explicit config argument 36bd4c8
- 🛠 Fix: udpate includeFile so it correctly passes through filename 462f2c8
- ✂ Remove render.deno.ts -- it was unnecessary 367b5f5
- ⚡️ Update .travis.yml to work with Deno 8d6ebfb
- Deno must run w/ filesystem access 0b354f0
- ✅ File helper tests 4c55fce
- ✅ A few more tests 3219e0a
- 🚚 Move deno tests into subfolder 59877a7
- 🛠 Fix tests to run with --unstable 798c8c9
- ⚡️ Update rules 492d2a3
- 👉 Use exported methods from ./file-methods 920bf65
- ➕ Add missing .ts extensions 0c312d6
- Rebuild 2fb89dc
- Rebuild 279c9cb
- ✂ Remove unnecessary separate file-utils.deno.ts 3fec950
- 👉 Use prettier instead of prettier-standard a77d261
- ➕ Add deno_dist to .prettierignore 9553b77
- Format with prettier 84545d1
- ➕ Add .ts extension bd4e655
- ✅ Use deno test to test *.deno.spec.ts files 56f3fdd
- ➕ Add release script to package.json db94016
- ✂ Remove @denoify-ignore comment from mod.ts 9d8508c
- ⚡️ Update dev dependencies 6222283
- ➕ Add denoify-ignore comment 8d2f79f
- ⚡️ Update formatting 3da842f
- ➕ Add typedoc.json file db7babb
- ✂ Remove unnecessary notConfig param from copyProps 441371c
- Separate Deno, other logic b38f7fa
- ⚡️ Update to use separate polyfills file 6a9b723
- ⚡️ Update to use polyfills a942388
- Rebuild 291f345
- Reformat using deno fmt bb4e1a7
- Rebuild 7cf9df0
- ➕ Add underscore in front of unused variables cff9cfd
- ➕ Add comment, format f532bcf
- ✂ Remove irrelevant comment 9924db9
- ➕ Add deno build 926283c
- ➕ Add missing space 35ddd0b
- 🛠 Fixed outDir field in tsconfig.json 8e00a7f
- 👉 Use newlines instead of semicolons for improved readability. Adds ~3 bytes to bundle size... I think it's worth it ;) fecdabc
- ✂ Remove unnecessary semicolon b03d079
- 👉 Use built-in Partial type f2cebee
- 👕 Rebuild after ESLint cleanup 7bd855a
- 🛠 Fix ESLint errors, remove unused imports, remove dead code, add TODOs cbcce72
- ✂ Removed outdated TODO comments 059dec2
- ✂ Removed unnecessary call to tsc compiler c466801