github starknet-io/starknet.js v10.0.0

pre-release17 hours ago

10.0.0 (2026-04-19)

  • feat!: refactor Account to use composition pattern, plugin system, docs\ \ BREAKING CHANGE: Account no longer extends Provider. Provider methods must now be accessed via account.provider property. \ Changes: - Account uses composition instead of inheritance - Add plugin system to replace ts-mixer - Update all tests to use account.provider.xyz() - Create migration guide and plugin documentation (31d9458)

Bug Fixes

  • hash: fold invoke proofFacts into one poseidon element (bd79872)
  • node runtime array bufgfer fix (5b95106)
  • proof/facts optional (c0f4aaf)
  • replace rpc version literals with SupportedRpcVersion0_10 and update constants to 0.10.2 (dc40318)
  • rlease badge (78992dd)
  • semantic version, audit fix, ci permissions (3c5dea3)
  • types-js (e001d7f)
  • update beta to dev (b775d03)
  • updated rest of the outdated packages (37ee66d)

Features

  • fast-execuite as plugin (d011417)
  • getSimulateTransaction response breaking change now using new response schema (8b3a117)
  • include optional flags in provider, channel and ws (1ba87ad)
  • new v3 transaction hash with proofFacts when defined (3c8e5cb)
  • proof & proof facts (3b157ee)
  • remove default providers - resolve unintended side effect initializations (ea581a8)
  • remove pako package and replace with native and faster CompressionStream, update TS 5.9 (75b8226)
  • replace types-010 with types-0101 (e7060e9)
  • spec 0.10.1-rc3, resposeParser to provider, channel 0.10.1 support 0.10.0 and 0.10.1, docs (8387a1e)
  • update account class execute with proofFacts and simulate with initial reads (c42b787)

BREAKING CHANGES

  • Account no longer extends Provider. Provider methods must now be accessed via account.provider property.

    Changes:
  • Account uses composition instead of inheritance
  • Add plugin system to replace ts-mixer
  • Update all tests to use account.provider.xyz()
  • Create migration guide and plugin documentation

Don't miss a new starknet.js release

NewReleases is sending notifications on new releases.