Releases: oxc-project/oxc-resolver
Releases · oxc-project/oxc-resolver
v11.15.0
🚀 Features
- [breaking] disallow manually passing a list of references to
TsconfigOptions::references(#902) (by @Boshen) - support tsconfig
rootDirs(#885) (by @Boshen) - (napi) expose resolve_file API as resolveFileSync and resolveFileAsync (#900) (by @Boshen)
🐛 Bug Fixes
- fix resolution when resolving non-relative specifier on tsconfig baseUrl (#903) (by @Boshen)
- add fallback for statx NOSYS error on old kernels (#901) (by @Boshen)
- correct grammatical errors in documentation and comments (#897) (by @Boshen)
Contributors
v11.14.2
v11.14.1
🐛 Bug Fixes
- incorrect resolution when project reference extends a tsconfig without baseUrl (#882) (by @Boshen) - #882
- store PathBuf with weak pointers to handle cache clearing (#879) (by @Boshen) - #879
⚡ Performance
- remove an allocation from
CachedPath::module_directory(#880) (by @Boshen) - #880 - skip searching for node_modules/@scope/package.json (#876) (by @Boshen) - #876
- remove the redundant
node_modules/package/indexcache value (#875) (by @Boshen) - #875
🧪 Testing
Contributors
v11.14.0
🚀 Features
- add
resolve_fileAPI for tsconfig auto discovery to work (#860) (by @Boshen) - #860 - port tsconfck (find tsconfig files) (#854) (by @Boshen) - #854
- add many.rs example for profiling resolver with many packages (#836) (by @Boshen) - #836
🐛 Bug Fixes
- apply
conditionNames: ['node', 'import']when resolving tsconfig extends (#869) (by @Boshen) - #869 - do not resolve to
node_modules/pacakge/index(#849) (by @Boshen) - #849 - use std::fs::canonicalize as a fallback when canonicalize fails (#835) (by @Boshen) - #835
🚜 Refactor
- remove the redundant
inner_resolverfromload_pnp(#862) (by @Boshen) - #862 - improve
DebugandDisplayforCachedPath(#861) (by @Boshen) - #861 - too_many_arguments = "allow" (#863) (by @Boshen) - #863
- change Tsconfig::parse to accept owned string; add replace_bom_with_whitespace (#859) (by @Boshen) - #859
- remove the useless getters and setters from
CompilerOptions(#858) (by @Boshen) - #858 - add
Tsconfig:references_resolved(#856) (by @Boshen) - #856 - move tsconfig resolution related code to its own file (#855) (by @Boshen) - #855
- use RwLock<Vec<Arc> for package.json storage (#838) (by @Boshen) - #838
- do not store is_symlink in CachedPathImpl (#850) (by @Boshen) - #850
- remove CachedPathImpl::canonicaling (#834) (by @Boshen) - #834
⚡ Performance
- cache all package.json resolutions for faster package.json lookup (#853) (by @Boshen) - #853
- do not canonicalize the entry path (#848) (by @Boshen) - #848
- remove Result from
CachedPathImpl::canonicalized(#847) (by @Boshen) - #847 - fast path for node_modules/package (#839) (by @Boshen) - #839
- cache canonicalization results at every recursion level (#843) (by @Boshen) - #843
- use IdentityHasher for visited set to avoid double hashing (#837) (by @Boshen) - #837
Contributors
v11.13.2
v11.13.1
🐛 Bug Fixes
- (package_json) re-read file for serde_json fallback in simd implementation (#808) (by @Boshen)
- revert system file cache optimization on Linux (#810) (by @Brooooooklyn) - #810
- skip loading tsconfig.json from virtual module paths (#809) (by @sapphi-red) - #809