Skip to content

Latest commit

 

History

History
605 lines (287 loc) · 22.3 KB

CHANGELOG.md

File metadata and controls

605 lines (287 loc) · 22.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v1.19.1

compare changes

🩹 Fixes

  • Read cache from evalOptions (2c1765e)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.19.0

compare changes

🚀 Enhancements

  • Expose jiti.evalModule (#146)

🩹 Fixes

  • Handle nested circular dependencies (#142)
  • types: Export JITIOptions and TreansformOptions (#132)

📖 Documentation

🏡 Chore

✅ Tests

  • Mask node version in snapshots (64cf136)

❤️ Contributors

v1.18.2

compare changes

🚀 Enhancements

  • Allow resolving .ts files with .js extension (#128)
  • Support import.meta.env (#129)

🔥 Performance

  • Use extension resolutions only for parent typescript files (27a9888)

🩹 Fixes

🏡 Chore

❤️ Contributors

v1.17.2

compare changes

🩹 Fixes

  • Add support to emit decorator metadata (#119)
  • Use inline require cache to avoid circular dependencies (#125)
  • Workaround for pnpm and TMPDIR (#123)

🏡 Chore

✅ Tests

  • Add typescript satisfies fixture (#107)

🎨 Styles

❤️ Contributors

v1.17.1

compare changes

🩹 Fixes

  • Prefer require condition first in esm resolve mode (#117)

💅 Refactors

  • Use mkdirSync from node:fs instead of mkdirp (413d3c3)

🏡 Chore

❤️ Contributors

1.17.0 (2023-02-08)

Features

  • add support for .mts (#112) (94ab3f2)
  • support import assertions and .json imports with .default property (#114) (08a9a47)

1.16.2 (2023-01-10)

1.16.1 (2023-01-03)

1.16.0 (2022-09-19)

Features

  • support export namespace from syntax (resolves #84) (ebb59cf)

Bug Fixes

1.15.0 (2022-09-06)

Features

  • basic alias support (resolves #37) (cab50cc)
  • options for nativeModules and transformModules (64151af)

Bug Fixes

  • manually exclude typescript from transpilation (dbd3f22)
  • use pathe for path resolution (000c6ad), closes #74

1.14.0 (2022-06-20)

Features

  • detect native esm using type: module (#67) (986f146)

Bug Fixes

  • use inlined import meta plugin to inject url (#68) (b52bb17)

1.13.0 (2022-02-18)

Features

  • support inline sourceMaps for easier debugging (#46) (888db00)

Bug Fixes

  • use backslash to make import maps working in windows (e8696c7)

1.12.15 (2022-01-28)

Bug Fixes

  • force transpile config package (2ddcb8a), closes #56

1.12.14 (2022-01-26)

Bug Fixes

  • move esm resolve behind a flag (60e094c)

1.12.13 (2022-01-25)

1.12.12 (2022-01-25)

Bug Fixes

  • ensure resolve esm id exists (2d44274)

1.12.11 (2022-01-25)

Bug Fixes

  • default _filename if null or falsy value passed (1a24f2a)
  • pkg: do not mangle dist build (3b456e1)

1.12.10 (2022-01-25)

Bug Fixes

  • support resolving with import condition (#52) (1e1bb0c)

1.12.9 (2021-10-18)

Bug Fixes

  • inline mlly.interopDefault (resolves #48) (32e606f)

1.12.8 (2021-10-18)

Bug Fixes

1.12.7 (2021-10-12)

1.12.6 (2021-10-02)

Bug Fixes

  • avoid detecting dynamic import as esm syntax (0b904a9)

1.12.5 (2021-09-29)

Bug Fixes

  • remove dynamicImport from options (ad42dd1)

1.12.4 (2021-09-29)

Bug Fixes

  • remove v8-compile-cache integration (a9fe3a0)

1.12.3 (2021-09-21)

Bug Fixes

  • interopDefault: allow recursive default (55e0f62)

1.12.2 (2021-09-21)

Bug Fixes

  • interopDefault: handle cjs cache (1f3e4c3)

1.12.1 (2021-09-21)

Bug Fixes

  • interopDefault: support mixed CJS + default (4392c6a)

1.12.0 (2021-09-13)

Features

1.11.0 (2021-07-26)

Features

  • support node: and file: protocols (bbb1cb3), closes #30
  • support mjs and cjs extensions (369c3ff)

1.10.1 (2021-05-28)

Bug Fixes

  • babel: properly pass plugin-transform-typescript options (7a1ae3b)

1.10.0 (2021-05-28)

Features

  • enable allowDeclareFields for babel transform (#33) (914499c)

1.9.2 (2021-05-11)

Bug Fixes

  • spread when pushing babel plugins from transformOptions (#31) (f25960a)

1.9.1 (2021-04-09)

1.9.0 (2021-04-09)

Features

  • interopDefault option (opt-in) (5203145)

1.8.0 (2021-04-09)

Features

1.7.0 (2021-04-09)

Features

  • support legacy decorators for typescript (#28) (801b798), closes #27
  • support legacy parameter decorators for typescript (#29) (6586a1c)

1.6.4 (2021-03-11)

Bug Fixes

1.6.3 (2021-03-06)

Bug Fixes

1.6.2 (2021-03-05)

Bug Fixes

  • support class property syntax for esm (64b1636)

1.6.1 (2021-03-05)

Bug Fixes

1.6.0 (2021-03-03)

Features

  • transpile import.meta.url (resolves #21) (d071704)

Bug Fixes

1.5.0 (2021-03-03)

Features

  • extensions option (fixes mjs handling) (3804b3c)

Bug Fixes

1.4.0 (2021-03-01)

Features

  • transpile nullish-coalescing-operator and optional-chaining for node<14 (6011ef5)

1.3.0 (2021-01-21)

Features

1.2.1 (2021-01-20)

Bug Fixes

  • improve extension handling for unknown formats (a2a797d)
  • use dynamic import => cjs only if native dynamic import is not possible (5323175)

1.2.0 (2021-01-14)

Features

1.1.0 (2021-01-13)

Features

  • support mixed sytax via esm fallback (1e642e4)

Bug Fixes

  • consistantly use tmpdir as cache dir (e49a791)

1.0.0 (2021-01-12)

0.1.20 (2021-01-12)

Bug Fixes

  • resolve with index.{ts,mjs} (2fe1846)

0.1.19 (2020-12-30)

Features

  • improved parse and runtime error stack trace (9d94ca1)

Bug Fixes

  • remove duplicate v8-compile-cache (#13) (3f81fc9)

0.1.18 (2020-12-22)

Features

  • use native require for resolving (f7e1a56)

Bug Fixes

  • support circular dependency (closes #12) (06c687f)

0.1.17 (2020-11-27)

Features

Bug Fixes

  • cli: resolve relative to cwd (52a4c12)

0.1.16 (2020-11-23)

Features

  • fallback to tmpdir and then disable if cache dir is not writable (398fe08)
  • support JITI_DEBUG ands JITI_CACHE environment variables (eed965d)

0.1.15 (2020-11-22)

Features

  • basic support for dynamic imports (9494452)

0.1.14 (2020-11-21)

Bug Fixes

  • cli: import main wrapper (25bceb1)

0.1.13 (2020-11-21)

Features

0.1.12 (2020-11-01)

Bug Fixes

  • directly call wrapper to fix require.resolve issue (63c0a5c)

0.1.11 (2020-06-19)

Features

0.1.10 (2020-06-19)

Bug Fixes

  • always ensure isDir for filename (6b343a4)

0.1.9 (2020-06-12)

Bug Fixes

0.1.8 (2020-06-12)

Bug Fixes

  • use fake file for default _filename (05d721f)
  • types: allow passing undefined filename (#2) (9136f15)

0.1.7 (2020-06-11)

Bug Fixes

  • pkg: add repository field (639c02f)

0.1.6 (2020-06-11)

Features

0.1.5 (2020-06-11)

Features

  • allow passign debug as jiti options (8da2310)
  • build and stack-trace improvements (71780ab)
  • improve babel transpile and debug (f3042dc)

0.1.4 (2020-06-11)

Features

Bug Fixes

  • multiline syntax detection (46f830b)

0.1.3 (2020-06-07)

0.1.2 (2020-06-07)

Features

  • improve build system and stability (5c3ee63)