Skip to content

0.26.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 18 Feb 23:09
· 26 commits to main since this release
431c767

With a very high degree of confidence, Azle's APIs are now stable in preparation for the 1.0 release.

Many breaking changes have been introduced in this release to prepare for the 1.0 release and to harmonize with best practices from the System API and the Rust CDK. You can click on any of the PR links below with the suffix (breaking changes) for more information on each breaking change.

Features

  • @onLowWasmMemory has been added
  • inReplicatedExecution has been added
  • hidden decorator option on @query and @update can hide methods in the .did file
  • @inspectMessage now has a more ergonomic API
  • Azle's APIs are now considered very stable
  • JSDocs for Azle's APIs have been greatly improved
  • General deep scrutiny of Azle's APIs has been performed
  • The recommended tsconfig.json has been scrutinized and simplified
  • The recommended ECMAScript target has been changed to ES2024
  • Dependencies are extremely up-to-date
  • Much of the experimental Canister and Candid APIs have now been deprecated and will be removed in the future, probably at the 1.0 release

What's Changed

  • update a lot of documentation by @lastmjs in #2481
  • deps: bump typescript from 5.7.2 to 5.7.3 by @dependabot in #2479
  • deps: bump uuid from 11.0.4 to 11.0.5 by @dependabot in #2480
  • deps: bump serde_json from 1.0.134 to 1.0.135 in the serde group by @dependabot in #2446
  • deps: bump glob from 11.0.0 to 11.0.1 by @dependabot in #2502
  • Benchmark Results for benchmark--0.25.0 by @lastmjs in #2495
  • deps(dev): bump puppeteer from 23.11.1 to 24.0.0 by @dependabot in #2501
  • Rc final rundown by @bdemann in #2422
  • Update prefix name to make it easier to match by @bdemann in #2497
  • deps(dev): bump the eslint group across 1 directory with 6 updates by @dependabot in #2510
  • swap azle_main for azle by @lastmjs in #2518
  • deps: bump fs-extra from 11.2.0 to 11.3.0 by @dependabot in #2521
  • deps(dev): bump puppeteer from 24.0.0 to 24.1.0 by @dependabot in #2522
  • add return types to the Rust stable ic types by @lastmjs in #2520
  • Maximum values by @lastmjs in #2523
  • add --all to template command, make it verbose by default by @lastmjs in #2530
  • deps(dev): bump lint-staged from 15.3.0 to 15.4.1 by @dependabot in #2534
  • remove the print JS APIs (breaking changes) by @lastmjs in #2533
  • add in replicated execution by @bdemann in #2513
  • add .agents directory to .gitignore by @lastmjs in #2553
  • Harmonize init and post upgrade by @bdemann in #2498
  • Msg arg data (breaking changes) by @lastmjs in #2538
  • Msg caller (breaking changes) by @lastmjs in #2541
  • Update issue templates by @lastmjs in #2556
  • add temp fix by @bdemann in #2557
  • deps: bump serde_json from 1.0.135 to 1.0.137 in the serde group by @dependabot in #2544
  • stabilize tests by @bdemann in #2561
  • deps: bump the ic-dependencies group across 1 directory with 2 updates by @dependabot in #2519
  • Bump vite from 5.4.11 to 5.4.12 in /examples/experimental/test/end_to_end/http_server/fetch_ic by @dependabot in #2552
  • add hidden methods by @bdemann in #2565
  • deps(dev): bump puppeteer from 24.1.0 to 24.1.1 by @dependabot in #2574
  • deps(dev): bump lint-staged from 15.4.1 to 15.4.2 by @dependabot in #2575
  • Bump vite from 5.4.11 to 5.4.12 in /examples/experimental/test/end_to_end/http_server/express by @dependabot in #2579
  • deps(dev): bump the eslint group across 1 directory with 5 updates by @dependabot in #2577
  • Run benchmarks automatically after release by @bdemann in #2578
  • Example/test maintenance: update dependencies, formatting, and linting by @lastmjs in #2583
  • PR template updates: check pr names are descriptive by @bdemann in #2584
  • deps(dev): bump lint-staged from 15.4.2 to 15.4.3 by @dependabot in #2582
  • Add auto merge dependabot workflow by @bdemann in #2589
  • Log conditions during auto merge workflow for troubleshooting by @bdemann in #2597
  • Auto-merge dependabot PRs hot-fix by @bdemann in #2598
  • Update PR template by @bdemann in #2592
  • Auto-merge dependabot PRs hot-fix by @bdemann in #2602
  • deps(dev): bump the eslint group with 3 updates by @dependabot in #2595
  • Bump vite from 4.5.5 to 4.5.6 in /examples/experimental/demo/ckbtc/wallet/frontend by @dependabot in #2588
  • Minimize use of the ic object in experimental mode (breaking changes) by @lastmjs in #2603
  • Rename and simplify the reply API (breaking changes) by @lastmjs in #2604
  • Implement onLowWasmMemory canister method by @bdemann in #2601
  • Update auto-merge workflow to handle template updates by @bdemann in #2617
  • Rename canisterBalance to canisterCycleBalance (breaking changes) by @lastmjs in #2612
  • Make setup_dfx explicitly fail for use with automatic retries by @bdemann in #2616
  • deps: bump rquickjs from 0.8.1 to 0.9.0 by @dependabot in #2609
  • deps: bump serde_json from 1.0.137 to 1.0.138 in the serde group by @dependabot in #2605
  • Rename id to canisterSelf (breaking changes) by @lastmjs in #2618
  • deps(dev): bump semver from 7.6.3 to 7.7.0 by @dependabot in #2608
  • Rename methodName to msgMethodName (breaking changes) by @lastmjs in #2619
  • Rename rejectMessage to msgRejectMsg (breaking changes) by @lastmjs in #2622
  • Rename reject to msgReject (breaking changes) by @lastmjs in #2624
  • Rename rejectCode to msgRejectCode (breaking changes) by @lastmjs in #2626
  • Add error message for no default export by @bdemann in #2630
  • deps(dev): bump the eslint group with 3 updates by @dependabot in #2640
  • deps(dev): bump semver from 7.7.0 to 7.7.1 by @dependabot in #2641
  • Manual decorator option now applies to arguments (breaking changes) by @lastmjs in #2638
  • Update esbuild target to es2024, tsconfig targets to ES2024, tsconfig module to ES2022 by @bdemann in #2634
  • Use default params for the arb property tests by @bdemann in #2645
  • Update pr template to include review request and reorganize PR title requests by @bdemann in #2647
  • deps(dev): bump puppeteer from 24.1.1 to 24.2.0 by @dependabot in #2658
  • Refactor @inspectMessage to automatically supply arguments by @lastmjs in #2642
  • Refactor the call API (breaking changes) by @lastmjs in #2650
  • Deprecate many experimental APIs by @lastmjs in #2662
  • Remove rejection wording in favor of reject by @lastmjs in #2665
  • Move onLowWasmMemory tests into candid_rpc dir by @bdemann in #2652
  • deps(dev): bump the eslint group with 2 updates by @dependabot in #2676
  • Example/test maintenance: update dependencies, formatting, and linting by @lastmjs in #2670
  • deps(dev): bump prettier from 3.4.2 to 3.5.0 by @dependabot in #2677
  • deps: bump esbuild from 0.24.2 to 0.25.0 by @dependabot in #2678
  • deps(dev): bump the eslint group with 3 updates by @dependabot in #2682
  • Change import paths azle/canisters/[canisterName] to azle/canisters/[canisterName]/idl (breaking changes) by @lastmjs in #2668
  • Update target to es2024, use tsconfigs for typechecks, and run type checks at the top level (breaking changes) by @bdemann in #2653
  • deps(dev): bump eslint from 9.20.0 to 9.20.1 in the eslint group by @dependabot in #2683
  • Update @dfinity packages and fetchRootKey to fix race conditions by @bdemann in #2688
  • Determine optimal tsconfig, update example configs to inherit from the optimized top level tsconfig (breaking changes) by @bdemann in #2681
  • deps(dev): bump prettier from 3.5.0 to 3.5.1 by @dependabot in #2692
  • Example/test maintenance: update dependencies, formatting, and linting by @lastmjs in #2695
  • StableBTreeMap JSDocs beautiful and null return type changed to undefined; Uint8Array optimizations (breaking changes) by @lastmjs in #2672
  • Miscellaneous fixes for 0.26.0 release by @lastmjs in #2700
  • Give QueryMethod type parameters by @lastmjs in #2701
  • keep vite on version 4 by @bdemann in #2704
  • Fix vite version by @lastmjs in #2705
  • Fixing various issues for the 0.26.0 release by @lastmjs in #2709
  • Spread the devDependencies into the new command's package.json by @lastmjs in #2717
  • Add experimental decorator to new http servers tsconfig by @bdemann in #2719

Full Changelog: 0.25.0...0.26.0