Skip to content

Releases: demergent-labs/azle

0.20.2-rc.10

09 Feb 20:21
b4b5d19
Compare
Choose a tag to compare
0.20.2-rc.10 Pre-release
Pre-release
azle-bot automated release 0.20.2-rc.10

0.20.2-rc.7

08 Feb 01:32
e8391f9
Compare
Choose a tag to compare
0.20.2-rc.7 Pre-release
Pre-release
azle-bot automated release 0.20.2-rc.7

0.20.2-rc.6

08 Feb 01:11
751d6c0
Compare
Choose a tag to compare
0.20.2-rc.6 Pre-release
Pre-release
azle-bot automated release 0.20.2-rc.6

0.20.2-rc.5

08 Feb 00:42
f654350
Compare
Choose a tag to compare
0.20.2-rc.5 Pre-release
Pre-release
azle-bot automated release 0.20.2-rc.5

0.20.1

03 Feb 22:18
7946ef7
Compare
Choose a tag to compare

npx azle new has been updated to the HTTP-based paradigm. /candid/management.did has been renamed to /candid/aaaaa-aa.did and is no longer required in fetch with the icp protocol for cross-canister calls.

What's Changed

Full Changelog: 0.20.0...0.20.1

0.20.0

01 Feb 21:01
6a6d5ce
Compare
Choose a tag to compare

This release changes our QuickJS library to wasmedge-quickjs. This paves the way for implementing many of the Node.js standard libraries.

This release provides initial versions of http, fs, crypto, and various other Node.js libraries. It also marks a transition for Demergent Labs in how we use and teach Azle.

We will be focusing on abstracting and moving away from Candid as far as is feasible. We are now focusing on Azle canisters being presented as decentralized blockchain servers. Express.js is our recommendation for exposing canister functionality. Libraries like SQL.js and LokiJS can be used as databases. ApolloServer and GraphQL can be used to expose a GraphQL API.

Many more npm packages than before should now run without modification. The Azle Book and other documentation will be updated soon to show many of these new capabilities.

As far as we know no major breaking changes have been introduced in this release.

What's Changed

Full Changelog: 0.19.0...0.20.0

0.19.0

14 Dec 03:32
0a217a0
Compare
Choose a tag to compare

This release focuses on introducing a framework for property-testing and adding many foundational property tests. Azle has never been subjected to more automated testing than with this release.

We also introduce the concept of a Serializable object and change StableBTreeMap to accept arbitrary Serializable objects. A default (and much more performant than CandidType objects) stableJson Serializable object has also been introduced. See The Azle Book and the examples for more info.

Breaking Changes

StableBTreeMap uses Serializable objects

By default a StableBTreeMap will use the stableJson Serializable to store and retrieve data to and from stable memory. Each CandidType object is also a Serializable. If you want to continue using your StableBTreeMaps that you've already created without migrating them, then you'll need to manually do so:

Before

import { nat8, StableBTreeMap, text } from 'azle';

let map = StableBTreeMap(nat8, text, 0);

Now

import { nat8, StableBTreeMap, text } from 'azle';

let map = StableBTreeMap<nat8, text>(0, nat8, text);

StableBTreeMap parameters

The parameters for StableBTreeMap have changed. The memory id is now the first parameter, and the two following parameters are optional and by default are set to stableJson.

Before

import { nat8, StableBTreeMap, text } from 'azle';

let map = StableBTreeMap(nat8, text, 0);

Now

import { nat8, StableBTreeMap, text } from 'azle';

let map = StableBTreeMap<nat8, text>(0);

StableBTreeMap float64

By default (using the built-in stableJson) float64 values stored in a StableBTreeMap may have issues because of this bug: bellard/quickjs#206

StableBTreeMap types

StableBTreeMap types are no longer inferred, you must explicitly set them as type arguments to StableBTreeMap:

Before

import { nat8, StableBTreeMap, text } from 'azle';

let map = StableBTreeMap(nat8, text, 0);

Now

import { nat8, StableBTreeMap, text } from 'azle';

let map = StableBTreeMap<nat8, text>(0);

What's Changed

Full Changelog: 0.18.6...0.19.0

0.18.6

23 Oct 17:17
d742577
Compare
Choose a tag to compare

Rust has been updated to 1.73.0, without this new Azle project's are running into a major bug with dependency versioning.

What's Changed

Full Changelog: 0.18.5...0.18.6

0.18.5

17 Oct 20:30
9dc7a35
Compare
Choose a tag to compare

Azle 0.18.5 has now been tested against dfx 0.15.1. StableBTreeMap is now using ic-stable-structures 0.6.0.

Breaking Changes

If you have been using StableBTreeMap in Azle 0.18.x then your map may not be automatically upgradeable to StableBTreeMap in Azle 0.18.5. If you've been using StableBTreeMap in Azle 0.17.x you should be able to upgrade automatically to Azle 0.18.5.

Proceed with extreme caution whenever upgrading Azle with deployed StableBTreeMap. Make sure to test, create backups, and do everything necessary to ensure you don't lose data on an upgrade of StableBTreeMap.

What's Changed

Full Changelog: 0.18.4...0.18.5

0.18.4

16 Oct 18:34
b27356c
Compare
Choose a tag to compare

Improve quick start, installation, and deployment documentation. Make the initial installation process much more robust.

What's Changed

  • add new documentation for quick start and installation and deployment by @lastmjs in #1377
  • make the rust installation process much more robust by starting it ov… by @lastmjs in #1378

Full Changelog: 0.18.3...0.18.4