Releases: unjs/jiti
Releases · unjs/jiti
Release list
v2.7.0
🚀 Enhancements
- Add explicit resource management (
using/await using) support (#422) - Support opt-in
tsconfigPaths(#427) - Support virtual modules (#428)
- Add
jiti/staticsubpath (#430)
🔥 Performance
- interopDefault: Add caching to reduce proxy overhead by ~2x (#421)
🩹 Fixes
- require: Passthrough resolve options (#412)
- require: Fallback to transpilation when
tryNativefails (#413) - Fallback for
ENAMETOOLONGwhen evaluating esm (#429)
📦 Build
✅ Tests
- Ignore jsx test for bun/cjs (3a744ca)
❤️ Contributors
v2.6.1
v2.6.0
🌟 What is new?
This release fixes minor issues, migrates to Rspack for dist, and lazily imports the Babel transformer only when needed, which should noticeably improve startup times.
- Install size reduced from
2.03MBto1.67MB - Loading times improved
150ms=>22ms(full transform:180ms=>115ms)
🔥 Performance
- Lazy load transformer (#405)
🩹 Fixes
- cjs-interop: Handle function default exports (#396)
- Always use native require/import for
node:specifiers (#392)
📦 Build
✅ Tests
- Update deno and bun native test coverage (df844f8)
❤️ Contributors
- Pooya Parsa (@pi0)
- Volodymyr Kolesnykov (@sjinks)
- Jungwoo LEE (@jungwoo3490)
v2.5.1
v2.5.0
🚀 Enhancements
- Use
sha256for cache entries in FIPS mode (#375) - Support
rebuildFsCache(JITI_REBUILD_FS_CACHE) (#379)
🩹 Fixes
- Interop modules with null/undefined default export (#377)
- Handle
require(<json>)in register mode (#374)
📦 Dependencies
- Updated bundled dependencies (compare changes)
📖 Docs
- Add defaults in JSDocs (#365)
✅ Tests
- Only include src for coverage report (#372)
❤️ Contributors
- Kricsleo (@kricsleo) 🌟
- Pooya Parsa (@pi0)
- Kanon (@ysknsid25)
- Arya Emami (@aryaemami59)