Skip to content

Releases: unjs/jiti

v1.21.0

30 Oct 17:33
@pi0 pi0
Compare
Choose a tag to compare

compare changes

This release enables forward compatibility for jiti v2 (See roadmap)

🚀 Enhancements

  • Add jiti.import function for async import (#170)
  • Add forward compatible (stub) types for jiti.import (#175)

❤️ Contributors

v1.20.0

07 Sep 10:28
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Experimental native Bun support (#156)

💅 Refactors

  • Replace proposal babel plugins with ECMAScript transforms (1fb4d8c)

v1.19.3

18 Aug 12:01
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Only replace import.meta.env (c6895d6)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.19.2

18 Aug 11:14
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Pass custom extensions to esm resolver (#152)
  • Support import.meta.env and import.meta.env?.prop (#159)

✅ Tests

  • typescript: Remove type-only namespace access (de73bd9)

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Anhao

v1.19.1

04 Jul 13:49
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

v1.19.0

04 Jul 12:21
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Expose jiti.evalModule (#146)

🩹 Fixes

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

📖 Documentation

🏡 Chore

  • Fix development in windows (#135)

✅ Tests

  • Mask node version in snapshots (64cf136)

❤️ Contributors

v1.18.2

15 Mar 15:19
@pi0 pi0
Compare
Choose a tag to compare

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

  • Handle parents with .cts/.mts extension too

🏡 Chore

❤️ Contributors

v1.17.2

06 Mar 19:24
@pi0 pi0
Compare
Choose a tag to compare

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