@@ -6,6 +6,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
9
+ ## [ 1.4.0] ( https://github.com/unrs/unrs-resolver/compare/v1.3.3...v1.4.0 ) - 2025-04-06
10
+
11
+ ### <!-- 0 --> Features
12
+
13
+ - resolve emitDecoratorMetadata in tsconfig ([ #439 ] ( https://github.com/oxc-project/oxc-resolver/pull/439 ) )
14
+ - * (napi)* add mimalloc ([ #423 ] ( https://github.com/oxc-project/oxc-resolver/pull/423 ) )
15
+ - [ ** breaking** ] Rust Edition 2024 ([ #402 ] ( https://github.com/oxc-project/oxc-resolver/pull/402 ) )
16
+ - deserialize ` verbatim_module_syntax ` from compilerOptions ([ #411 ] ( https://github.com/oxc-project/oxc-resolver/pull/411 ) )
17
+ - support wildcard ` * ` in alias plugin ([ #388 ] ( https://github.com/oxc-project/oxc-resolver/pull/388 ) )
18
+ - merge options from extends tsconfig.json ([ #375 ] ( https://github.com/oxc-project/oxc-resolver/pull/375 ) )
19
+ - add more fields in tsconfig#CompilerOptionsSerde ([ #374 ] ( https://github.com/oxc-project/oxc-resolver/pull/374 ) )
20
+ - [ ** breaking** ] generic fs cache ` type Resolver = ResolverGeneric<FsCache<FileSystemOs>> ` ([ #358 ] ( https://github.com/oxc-project/oxc-resolver/pull/358 ) )
21
+ - [ ** breaking** ] replace ` FileSystem::canonicalize ` with ` FileSystem::read_link ` ([ #331 ] ( https://github.com/oxc-project/oxc-resolver/pull/331 ) )
22
+ - faster and stable path hash for the cache ([ #328 ] ( https://github.com/oxc-project/oxc-resolver/pull/328 ) )
23
+ - add ` Resolver::resolve_tsconfig ` API ([ #312 ] ( https://github.com/oxc-project/oxc-resolver/pull/312 ) )
24
+ - [ ** breaking** ] add ` ResolveError::Builtin::prefixed_with_node_colon ` ([ #272 ] ( https://github.com/oxc-project/oxc-resolver/pull/272 ) )
25
+ - [ ** breaking** ] mark ` ResolveError ` #[ non_exhaustive] ([ #252 ] ( https://github.com/oxc-project/oxc-resolver/pull/252 ) )
26
+ - show tried extension aliases in ` ResolveError::ExtensionAlias ` ([ #251 ] ( https://github.com/oxc-project/oxc-resolver/pull/251 ) )
27
+ - give a specific error for matched alias not found ([ #238 ] ( https://github.com/oxc-project/oxc-resolver/pull/238 ) )
28
+ - Yarn PnP ([ #217 ] ( https://github.com/oxc-project/oxc-resolver/pull/217 ) )
29
+
30
+ ### <!-- 1 --> Bug Fixes
31
+
32
+ - handle query and fragment in package.json ` exports ` and ` imports ` field ([ #443 ] ( https://github.com/oxc-project/oxc-resolver/pull/443 ) )
33
+ - fix bench
34
+ - try browsers field and alias before resolving directory in node_modules ([ #349 ] ( https://github.com/oxc-project/oxc-resolver/pull/349 ) )
35
+ - special case for aliasing ` @/ ` ([ #348 ] ( https://github.com/oxc-project/oxc-resolver/pull/348 ) )
36
+ - normalize resolved result on Windows for root ([ #345 ] ( https://github.com/oxc-project/oxc-resolver/pull/345 ) )
37
+ - don't panic when resolving ` / ` with ` roots ` ([ #310 ] ( https://github.com/oxc-project/oxc-resolver/pull/310 ) )
38
+ - use same UNC path normalization logic with libuv ([ #306 ] ( https://github.com/oxc-project/oxc-resolver/pull/306 ) )
39
+ - use ` fs::canonicalize ` to cover symlink edge cases ([ #284 ] ( https://github.com/oxc-project/oxc-resolver/pull/284 ) )
40
+ - extensionAlias cannot resolve mathjs ([ #273 ] ( https://github.com/oxc-project/oxc-resolver/pull/273 ) )
41
+ - resolve module ` ipaddr.js ` correctly when ` extensionAlias ` is provided ([ #228 ] ( https://github.com/oxc-project/oxc-resolver/pull/228 ) )
42
+ - * (napi)* update buggy NAPI-RS versions ([ #225 ] ( https://github.com/oxc-project/oxc-resolver/pull/225 ) )
43
+ - remove ` #[cfg(target_os = "windows")] ` logic in ` canonicalize ` ([ #221 ] ( https://github.com/oxc-project/oxc-resolver/pull/221 ) )
44
+
45
+ ### <!-- 2 --> Performance
46
+
47
+ - use papaya instead of dashmap ([ #356 ] ( https://github.com/oxc-project/oxc-resolver/pull/356 ) )
48
+ - try directory first in ` node_modules ` ([ #340 ] ( https://github.com/oxc-project/oxc-resolver/pull/340 ) )
49
+ - guard ` load_alias ` on hot path ([ #339 ] ( https://github.com/oxc-project/oxc-resolver/pull/339 ) )
50
+ - use ` as_os_str ` for ` Hash ` and ` PartialEq ` operations ([ #338 ] ( https://github.com/oxc-project/oxc-resolver/pull/338 ) )
51
+ - reduce hash while resolving package.json ([ #319 ] ( https://github.com/oxc-project/oxc-resolver/pull/319 ) )
52
+ - reduce memory allocation while normalizing package path ([ #318 ] ( https://github.com/oxc-project/oxc-resolver/pull/318 ) )
53
+ - reduce memory allocation while resolving package.json ([ #317 ] ( https://github.com/oxc-project/oxc-resolver/pull/317 ) )
54
+ - use ` path.as_os_str().hash() ` instead of ` path.hash() ` ([ #316 ] ( https://github.com/oxc-project/oxc-resolver/pull/316 ) )
55
+ - reduce memory allocation by using a thread_local path for path methods ([ #315 ] ( https://github.com/oxc-project/oxc-resolver/pull/315 ) )
56
+ - bring back the symlink optimization ([ #298 ] ( https://github.com/oxc-project/oxc-resolver/pull/298 ) )
57
+ - use simdutf8 to validate UTF-8 when reading files ([ #237 ] ( https://github.com/oxc-project/oxc-resolver/pull/237 ) )
58
+ - use custom canonicalize impl to avoid useless syscall ([ #220 ] ( https://github.com/oxc-project/oxc-resolver/pull/220 ) )
59
+
60
+ ### <!-- 3 --> Documentation
61
+
62
+ - fix an incorrect comment on ` Context::missing_dependencies `
63
+ - mention extension must start with a ` . ` in ` with_extension ` ([ #313 ] ( https://github.com/oxc-project/oxc-resolver/pull/313 ) )
64
+ - * (README)* should be ` new ResolverFactory `
65
+
66
+ ### <!-- 4 --> Refactor
67
+
68
+ - remove papaya ` .collector(seize::Collector::new()) ` call ([ #393 ] ( https://github.com/oxc-project/oxc-resolver/pull/393 ) )
69
+ - replace UnsafeCell with RefCell ([ #346 ] ( https://github.com/oxc-project/oxc-resolver/pull/346 ) )
70
+ - run clippy with ` --all-targets ` ([ #333 ] ( https://github.com/oxc-project/oxc-resolver/pull/333 ) )
71
+ - apply latest ` cargo +nightly fmt ` ([ #281 ] ( https://github.com/oxc-project/oxc-resolver/pull/281 ) )
72
+ - add more clippy fixes ([ #279 ] ( https://github.com/oxc-project/oxc-resolver/pull/279 ) )
73
+ - clean up elided lifetimes ([ #277 ] ( https://github.com/oxc-project/oxc-resolver/pull/277 ) )
74
+
75
+ ### <!-- 6 --> Testing
76
+
77
+ - fix warning on Windows
78
+ - fix symlink test init on Windows ([ #307 ] ( https://github.com/oxc-project/oxc-resolver/pull/307 ) )
79
+
9
80
## [ 1.3.3] ( https://github.com/unrs/unrs-resolver/compare/v1.3.2...v1.3.3 ) - 2025-03-29
10
81
11
82
### Build
0 commit comments