Skip to content

Releases: alephium/alephium-web3

v1.0.0

20 Jun 14:55
Compare
Choose a tag to compare

The main changes introduced in v1.0.0:

  1. Easy Contract Interaction: The SDK generates view and transact methods for calling contract methods offchain and onchain without TxScripts. Documentation
  2. Method Selector Enabled by Default: For better interoperability, the method selector is now enabled by default for interfaces. The index-based selector is deprecated.
  3. Backward Compatibility for Bytecodes: The CLI compiler now maintains backward compatibility for bytecodes if your contracts were deployed on mainnet or testnet. This change simplifies contract upgrades.
  4. Removal of Project.build: The Project.build method has been removed from the core package and is no longer recommended. You should use the compiler to compile the entire TypeScript project.

Action Required: If you are building a new project and haven’t deployed yet, we highly recommend upgrading to 1.x.x. Remove the artifacts folder and re-compile everything to take advantage of the latest full node features.

v0.17.0

10 Aug 10:17
Compare
Choose a tag to compare
  • More refactorization for web3-react to make it more performant and developer friendly
  • Hook useAccount is replaced by useWallet

What's Changed

  • Calculating the contract id from tx without the need to wait for tx confirmation by @Lbqds in #235
  • Enable react hooks eslint plugin by @Lbqds in #234
  • Add useWallet hook by @Lbqds in #233

Full Changelog: v0.16.1...v0.17.0

v0.16.1

08 Aug 13:01
Compare
Choose a tag to compare
  • Refactor web3-react to fix a few rerender issues
  • Validate contract fields so as to provide better error messages

What's Changed

  • Check contract/script initial fields by @Lbqds in #222
  • Fix the issue of re-rendering caused by useAccount by @Lbqds in #224
  • Update explorer backend schema for v1.15.1 by @nop33 in #228
  • Refactor connect context by @Lbqds in #227
  • Make addressGroup optional by @Lbqds in #229
  • Reset balance on disconnect by @Lbqds in #230

Full Changelog: v0.15.1...v0.16.1

v0.15.0

04 Aug 12:39
485754e
Compare
Choose a tag to compare
  • useBalance can update based on pending transactions
  • useAccount is simplified
  • introduced getSigner and getSigners for testing purposes
  • redeploy contracts before deployment if the source code has been changed
  • improved event subscription and nft utilities

What's Changed

Full Changelog: v0.14.6...v0.15.0

0.9.0

01 Apr 07:55
Compare
Choose a tag to compare
  • Finalize the first version of standards for fungible and non-fungible tokens
  • Introduce standard interface identifier system (this feature is for standard designers)
  • Merge walletconnect, web3-react, get-extension-wallet into web3 monorepo

v0.8.0

24 Mar 08:20
Compare
Choose a tag to compare

Breaking Changes

  • Update to be compatible with full node 2.0.1 APIs and explorer backend 1.13.3 APIs
  • Token interface IToken is renamed as IFungibleToken
  • An initial NFT standard is introduce, check packages/web3/std/nft_collection_interface.ral and packages/web3/std/nft_interface.ral
  • ContractName.testFooMethod(...) is renamed as ContractName.tests.foo(...)
  • ContractName.callFooMethod(...) is renamed as ContractName.methods.foo(...)

All PRs

Full Changelog: v0.7.0...v0.8.0