Skip to content

Commit 5c511b5

Browse files
authored
chore: release v1.4.0 (#50)
1 parent fe820ba commit 5c511b5

File tree

5 files changed

+79
-4
lines changed

5 files changed

+79
-4
lines changed

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

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+
980
## [1.3.3](https://github.com/unrs/unrs-resolver/compare/v1.3.2...v1.3.3) - 2025-03-29
1081

1182
### Build

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[package]
66
name = "unrs_resolver"
7-
version = "1.3.3"
7+
version = "1.4.0"
88
authors = ["UnRS"]
99
categories = ["development-tools"]
1010
edition = "2024"

napi/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ const isMuslFromFilesystem = () => {
3535
}
3636

3737
const isMuslFromReport = () => {
38-
const report = typeof process.report.getReport === 'function' ? process.report.getReport() : null
38+
let report = null
39+
if (typeof process.report?.getReport === 'function') {
40+
process.report.excludeNetwork = true
41+
report = process.report.getReport()
42+
}
3943
if (!report) {
4044
return null
4145
}

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unrs-resolver",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "Oxc Resolver Node API with PNP support",
55
"main": "index.js",
66
"browser": "browser.js",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy