Releases: archethic-foundation/libjs
Releases · archethic-foundation/libjs
v2.0.0-rc.0
Archethic network is going to implement a new version of it's smart contract using Web Assembly (wasm).
As Archethic aims to push the Web Assembly language and deprecate the old interpreted language, the libjs includes breaking changes and remove the usability of transaction version 3.
Breaking changes
- Transaction are only version 4
- Can create or call WASM contracts
- Cannot create or call interpreted contracts
TransactionBuilder.setCode()
is removedTransactionBuilder.addRecipient()
args are now only object, args as list are is deprecatedContract.newContractTransaction()
now accept only new wasm contract
To develop new contract in Web Assembly you can start with https://github.com/archethic-foundation/create-ae-contract-as
Full Changelog: v1.21.3...v2.0.0-rc.0
v1.21.3
What's Changed
Bug Fixes
- fix: 🐛 Remove nearest endpoints fetching by @samuelmanzanera in #224
Other Changes
- refactor: 🚨 Fix some typescript errors by @samuelmanzanera in #223
- Update deps by @Neylix in #225
Full Changelog: v1.21.2...v1.21.3
v1.21.2
v1.21.1
v1.21.0
What's Changed
Exciting New Features 🎉
- Add
Crypto.isValidAddress
function by @samuelmanzanera in #194 - feat(keychain): add toJSON() method to Keychain class by @Rudy-Perrin in #198
- Handle custom errors codes/messages by @samuelmanzanera in #206
- 🚧 Add WebChannel RPC transport layer. by @Chralu in #181
- feat(crypto): Add encryption functionality by @Rudy-Perrin in #196
- Add function to deploy contract by @samuelmanzanera in #213
Bug Fixes
- fix(toBigInt): refactor function and improve tests by @Rudy-Perrin in #197
Other Changes
- Refactor codebase and fix bugs by @Rudy-Perrin in #192
- onAccountChange instead of onCurrentAccountChange by @Chralu in #209
- Improve transaction builder by @samuelmanzanera in #204
Full Changelog: 1.20.3...v1.21.0
v1.20.3
Fixes
- Resolve Phoenix deps issue for Absinthe's subscription
- Fix README to be more accurate
- Linting
v1.20.2
What's Changed
Exciting New Features 🎉
- Add RpcError type and RpcErrorCode.ServiceAlreadyExists by @Rudy-Perrin in #169
- Add new methods and options to ArchethicRPCClient and TransactionBuilder by @Rudy-Perrin in #168
Other Changes
- Refactor types.ts file and update AccountIdentity name to shortName by @Rudy-Perrin in #161
- Add prettierrc.json config by @Rudy-Perrin in #165
- Update build command in package.json by @Rudy-Perrin in #166
- Fix transaction sender methods and error handling by @Rudy-Perrin in #167
- Add new example to deploy a smart contract by @bchamagne in #162
- fix: add input validation for seed and index parameters in TransactionBuilder build method by @samuelmanzanera in #180
New Contributors
- @Rudy-Perrin made their first contribution in #161
Full Changelog: v1.20.1...v1.20.2
v1.20.1
v1.20.0
What's Changed
Exciting New Features 🎉
- TypedEncoding serialization introduced for the recipients' args by @bchamagne in #152
Full Changelog: v1.19.0...v1.20.0