Skip to content

Release v2.5.27

Latest

Choose a tag to compare

@naddison36 naddison36 released this 06 Jul 06:34
3809036

Fix: Foundry projects using soldeer for dependency management

Generating storage diagrams from local Solidity files now works for Foundry projects that use soldeer to manage dependencies. Previously, non-npm import paths like @openzeppelin/contracts-upgradeable/... would silently fail to resolve, breaking the inheritance chain lookup with errors like:

Error: Failed to find inherited contract "ERC20Upgradeable" sourced from "AbstractARM"

sol2uml now auto-detects foundry.toml by searching upward from the specified folder and applies its remappings as a fallback when Node.js module resolution fails.

Other changes

  • Improved association resolution for inherited contracts
  • Updated dependencies (minor versions, security fixes)
  • CI now tests Node.js 22, 24, and 26 (dropped Node.js 20, which is end of life)