Skip to content

Releases: demergent-labs/azle

0.18.3

14 Oct 20:09
07bb846
Compare
Choose a tag to compare

Initial installation time drastically reduced.

What's Changed

  • speed up initial compilation by using export CARGO_REGISTRIES_CRATES_… by @lastmjs in #1374

Full Changelog: 0.18.2...0.18.3

0.18.2

12 Oct 03:44
da6e302
Compare
Choose a tag to compare

npx azle new was broken for many users. The issue has been fixed with an integration test added to the example tests.

What's Changed

Full Changelog: 0.18.1...0.18.2

0.18.1

06 Oct 06:23
9b4632a
Compare
Choose a tag to compare

Added __get_candid_interface_tmp_hack back, it was erroneously removed in Azle 0.18.0.

What's Changed

Full Changelog: 0.18.0...0.18.1

0.18.0

05 Oct 02:05
5907bbf
Compare
Choose a tag to compare

Azle 0.18.0 is a complete rearchitecture of Azle. Most concepts remain the same, but there are many breaking changes in syntax and API. See the examples and The Azle Book for guidance.

Migrating from previous versions

It is best to start from scratch:

  1. Delete ~/.config/azle in your home directory
  2. Delete .azle in your project root directory
  3. Delete .dfx in your project root directory
  4. Delete node_modules in your project root directory
  5. Start your replica with --clean

What's Changed

Read more

0.17.1

11 Aug 20:00
0f3ec6d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.17.0...0.17.1

0.17.0

11 Aug 19:30
059bc02
Compare
Choose a tag to compare

New Features

  1. Improved import functionality: azle types can now be aliased
  2. npx azle clean
  3. ic.canister_version, ic.is_controller, ic.instruction_counter

Breaking Changes

  1. Alias type removed
  2. azle/canisters/icrc types are now prefixed with ICRC

What's Changed

Full Changelog: 0.16.3...0.17.0

0.16.3

22 May 13:39
30f4444
Compare
Choose a tag to compare

Added ICRC canister to azle/canisters/icrc. Added ICRC-1 methods to Ledger.

What's Changed

Full Changelog: 0.16.2...0.16.3

0.16.2

05 May 18:50
dcf2b35
Compare
Choose a tag to compare

The candid:service and cdk metadata sections have been temporarily removed, but the __get_candid_interface_tmp_hack temporary hack canister method has been reintroduced until a future version of dfx is released with better metadata capabilities.

What's Changed

  • add the candid temp hack back in temporarily by @lastmjs in #1030

Full Changelog: 0.16.1...0.16.2

0.16.1

05 May 16:02
b631eb8
Compare
Choose a tag to compare

This release updates the underlying JS engine Boa, which fixes this bug which was presenting in a JS library.

What's Changed

Full Changelog: 0.16.0...0.16.1

0.16.0

04 May 20:37
4de4598
Compare
Choose a tag to compare

New Features

  1. cmake dependency requirement removed
  2. cc dependency requirement removed
  3. Azle initial prerequisite installation reduced by multiple minutes
  4. Subsequent Azle compile times decreased significantly
  5. Set Wasm binary optimization levels in dfx.json
  6. Environment variables
  7. Opt now an algebraic data type
  8. Alpha plugin system

Breaking Changes

Opt

Opt is now an algebraic data type. This means its type is no longer type Opt<T> = T | null. Instead, an Opt is a variant with a Some and a None arm.

Before

$query;
export function account(accountArgs: AccountArgs): Opt<Account> {
    const account = state.accounts[accountArgs.id];
    return account ? account : null;
}

Now

$query;
export function account(accountArgs: AccountArgs): Opt<Account> {
    const account = state.accounts[accountArgs.id];
    return account ? Opt.Some(account) : Opt.None;
}

Wasm binary optimization

It is possible that your Azle Wasm binaries are now too small without explicit optimization settings in dfx.json. See here for information on Wasm binary optimization.

What's Changed

Full Changelog: 0.15.0...0.16.0