Skip to content

Releases: shazow/whatsabi

v0.27.0

Choose a tag to compare

@shazow shazow released this 10 Jul 20:03
509201e

What's Changed

  • Add JAW.id to projects powered by WhatsABI by @Ghadi8 in #202
  • loaders: BlockscoutABILoader accepts chainId via the multichain gateway by @k-thornton in #205
  • loaders: MultiABILoader keeps walking the chain when a loader fails by @k-thornton in #204
  • fix: use Sourcify v2 contract API by @stephancill in #207
  • Blockscout CI failure by @shazow in #208
  • loaders: SourcifyABILoader v2 follow-ups by @k-thornton in #209
  • package.json: Update dependencies and version bump by @shazow in #210
    • Updated dependencies
    • Bumped to typescript v6.x

New Contributors

Full Changelog: v0.26.0...v0.27.0

v0.26.0

Choose a tag to compare

@shazow shazow released this 12 Feb 16:53

What's Changed

Full Changelog: v0.25.0...v0.26.0

v0.25.0

Choose a tag to compare

@shazow shazow released this 10 Dec 20:04

What's Changed

  • Add block field for provider.RPCProvider by @shazow in #198
  • Added provider.WithBlockNumber(provider, blockTag) helper for pinning a provider to a specific block number.

Full Changelog: v0.24.0...v0.25.0

v0.24.0

Choose a tag to compare

@shazow shazow released this 05 Dec 15:53
cd232dc

What's Changed

  • ⚠️ EtherscanABILoader now defaults to EtherscanV2ABILoader
  • Fix link to loaders documentation by @monperrus in #190
  • src/loaders.ts: Do not expect process.* by @shazow in #195
  • DiamondProxy throttling by @shazow in #196
    • ⚠️ DiamondProxy resolving will throw StorageReadError if array read tries to exceed 256 slots. This is a workaround for when the DiamondProxy layout is non-standard and tries to read a huge number of slots forever. Override proxies.DiamondProxyResolver.readArrayLimit to change this behaviour, 0 makes it infinity again.

New Contributors

Full Changelog: v0.23.0...v0.24.0

v0.23.0

Choose a tag to compare

@shazow shazow released this 10 Sep 19:59

Summary

  • Use Etherscan v2 API by default for the Etherscan loader.
  • Deprecated: whatsabi.loaders.EtherscanABILoader (v1 version) is deprecated in favour of whatsabi.loaders.EtherscanV2ABILoader. It will become the v2 loader by default in a future release.
  • Add env.CHAIN_ID option to whatsabi.loaders.defaultsWithEnv(env) which sets the default chain ID for all default loaders.

What's Changed

  • Upgrade to etherscan v2 by @jelilat in #187
  • loaders: Use EtherscanV2ABILoader, add env.CHAIN_ID by @shazow in #188

New Contributors

Full Changelog: v0.22.2...v0.23.0

v0.22.2

Choose a tag to compare

@shazow shazow released this 21 May 17:32

This is a re-release of v0.22.1, whose npm package included the wrong build. (#183)

Full Changelog: v0.22.1...v0.22.2

v0.22.1

Choose a tag to compare

@shazow shazow released this 14 May 16:06

Summary

Previous release improved detection of DiamondStorage, but actual resolving was still broken. This release fixes resolving for our known test cases too.

What's Changed

  • proxies: DiamondProxy should override off-by-one DIAMOND_STORAGE slot too by @shazow in #182

Full Changelog: v0.22.0...v0.22.1

v0.22.0

Choose a tag to compare

@shazow shazow released this 12 May 16:16

What's Changed

  • proxies: Detect more off-by-one slot proxies by @shazow in #180
    • Generally improves detection of various proxies in practice. Seems that compilers sometimes introduce an off by 1 or 2 slot constants and rely on runtime math to adjust.
  • pnpm update

Full Changelog: v0.21.1...v0.22.0

v0.21.1

Choose a tag to compare

@shazow shazow released this 05 May 17:43

What's Changed

  • proxies: Detect EIP1967 that does -1 at runtime by @shazow in #179
  • pnpm update

Full Changelog: v0.21.0...v0.21.1

v0.21.0

Choose a tag to compare

@shazow shazow released this 18 Mar 17:10

What's Changed

  • proxies: Skip followProxies if contract is complex enough to be a destination itself by @shazow in #174

Full Changelog: v0.20.0...v0.21.0