Skip to content

Latest commit

 

History

History
182 lines (120 loc) · 9.21 KB

CHANGELOG.md

File metadata and controls

182 lines (120 loc) · 9.21 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

2.0.1 - 2024-11-08

Other

  • cargo upgrade && pnpm upgrade
  • bring back the symlink optimization (#298)
  • (deps) update rust crate criterion2 to v2

2.0.0 - 2024-10-22

Added

  • [breaking] add add ResolveError::Builtin::is_runtime_module (#272)

Fixed

  • use fs::canonicalize to cover symlink edge cases (#284)
  • extensionAlias cannot resolve mathjs (#273)

1.12.0 - 2024-09-25

Added

  • [breaking] mark ResolveError #[non_exhaustive] (#252)
  • show tried extension aliases in ResolveError::ExtensionAlias (#251)
  • give a specific error for matched alias not found (#238)

1.11.0 - 2024-08-26

Added

  • use simdutf8 to validate UTF-8 when reading files (#237)
  • Yarn PnP (behind a feature flag) (#217)

1.10.2 - 2024-07-16

Chore

  • Release FreeBSD

1.10.1 - 2024-07-15

Fixed

  • resolve module ipaddr.js correctly when extensionAlias is provided (#228)

1.10.0 - 2024-07-11

Added

  • (napi) expose module type info in ResolveResult (#223)

Fixed

  • remove #[cfg(target_os = "windows")] logic in canonicalize (#221)

Other

  • update cargo deny (#222)
  • pin crate-ci/typos version

1.9.4 - 2024-07-10

Other

  • use custom canonicalize impl to avoid useless syscall (#220)
  • add symlink fixtures (#219)

1.9.3 - 2024-07-03

Fixed

  • tsconfig project reference it self should throw error (#211)

Other

  • (napi) make napi binary smaller with minimal tracing features (#213)
  • (napi) remove tokio (#212)
  • (deps) update rust crate dashmap to v6 (#209)

1.9.2 - 2024-06-30

Added

  • (napi) add tracing via OXC_LOG:DEBUG (#202)

Other

  • document directory is an absolute path for resolve(directory, specifier) (#206)
  • add a broken tsconfig test (#205)
  • improve code coverage for src/error.rs (#204)
  • skip resolving extension alias when options.extension_alias is empty (#203)
  • add npm badge to crates.io

1.9.1 - 2024-06-29

Added

  • strip symbols and enable LTO (#197)

Other

  • improve call to Path::ends_with (#199)
  • list [profile.release] explicitly (#198)

1.9.0 - 2024-06-28

Added

  • export package.json type and sideEffects field by default for bundlers (#196)

1.8.4 - 2024-06-27

Other

  • skip searching for package.json when alias_fields is not provided (#194)

1.8.3 - 2024-06-26

  • (napi) release wasi build

1.8.2 - 2024-06-24

Added

  • (napi) add async API (#191)

1.8.1 - 2024-05-31

Fixed

  • alias value should try fragment as path (#172)

1.8.0 - 2024-05-27

Added

  • [breaking] remove the constraint on packages exports default must be the last one (#171)
  • [breaking] return ResolveError:Builtin("node:{specifier}") from package imports and exports (#165)

Fixed

  • alias not found should return error (#168)

Other

  • add panic test for extensions without a leading dot (#150)
  • add test case for empty alias fields (#149)

1.7.0 - 2024-04-24

Added

  • add imports_fields option (#138)
  • substitute path that starts with ${configDir}/ in tsconfig.compilerOptions.paths (#136)

Fixed

  • RootsPlugin debug_assert on windows (#145)
  • RootsPlugin should fall through if it fails to resolve the roots (#144)
  • lazily read package.json.exports for shared resolvers (#137)

Other

  • remove PartialEq and Eq from Specifier (#148)
  • add test case for tsconfig paths alias fall through (#147)
  • use cargo shear
  • fix test not failing the jobs property (#146)
  • lazily read package.json.browser_fields for shared resolvers (#142)
  • avoid an extra allocation in load_extensions
  • ignore code coverage for Display on ResolveOptions (#140)
  • remove the browser field lookup in resolve_esm_match (#141)
  • remove the extra condition_names from package_exports_resolve

1.6.7 - 2024-04-22

Fixed

  • incorrect resolution when using shared resolvers with different main_fields (#134)

1.6.6 - 2024-04-22

Other

  • print resolve options while debug tracing (#133)

1.6.5 - 2024-04-10

Fixed

  • canonicalize is not supported on wasi target (#124)

Other

  • document feature flags

1.6.4 - 2024-03-29

Docs

  • improve terminology and clarify contexts