Skip to content

Commit

Permalink
Merge pull request #2895 from dfinity/dev-update-may-8
Browse files Browse the repository at this point in the history
Developer Weekly Update - May 8 2024
  • Loading branch information
jessiemongeon1 authored May 8, 2024
2 parents 3933a76 + 0f3440e commit 18beaef
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions blog/news-and-updates/2024-05-08-update.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
title: Developer weekly update May 8, 2024
description: In this week's update, we have a new release of dfx, a new release of PocketIC, and a call for feedback from the development team behind Azle.
tags: [Devs]
image: /img/blog/dev-update-blog-may-8.jpg
---

# Developer weekly update May 8, 2024

![May 8 2024](../../static/img/blog/dev-update-blog-may-8.jpg)

Hello developers, and welcome to this week's developer weekly update! In this week's update, we have a new release of `dfx`, a new release of PocketIC, and a call for feedback from the development team behind Azle. Let's get started!

## `dfx v0.20.0` has been released!

This week, a new version of `dfx`, v`0.20.0` has been released! You can download and install this latest version with the commands:

```
dfxvm install 0.20.0
dfxvm default 0.20.0
```

This release comes with several new features and bug fixes, including:

- A fix for `CANISTER_CANDID_PATH_<canister name>` to be set properly for remote canister declarations.

- A new way to display the JSON schema for `dfx` metadata through the command `dfx schema --for dfx-metadata`.

- `dfx` metadata has been extended with the object `tech_stack`.

- The `dfx completion` command has been added, which generates shell completion scripts for bash, elvish, fish, zsh, or PowerShell.

- `dfx` will no longer create a `.dfx` directory if `dfx.json` is present.

You can read the full [release notes](https://github.com/dfinity/sdk/releases/tag/0.20.0).

Run into a bug? Let us know on the [developer forum](https://forum.dfinity.org/t/dfx-0-20-0-is-promoted/30471).

## PocketIC version 4 has been released!

PocketIC v4 has been release, introducing new capability with agent-based tools through HTTP compatibility. This release also enables you to browse frontend canisters while they are running on PocketIC and make concurrent update calls!

To use the HTTP compatibility, you need to explicitly make an instance live by calling `make_live(...)` on it which does the following:

- Launches a thread that calls `tick()` and `advance_time(...)` on the instance several times per second.

- Creates a gateway similar to icx-proxy which points to the live instance.

- Returns a gateway URL which can then be passed to tools using HTTP, such as agents.

To use concurrent update calls, an `update_call` can be expressed with a new method such as:

```
let message_id = pic.submit_call(..., payload)?;
pic.await_call(message_id)
```

You can read the full details of the release on [the developer forum](https://forum.dfinity.org/t/pocketic-version-4-0-0-ic-http-interface-compatibility/30281).


## Call for feedback: Azle

Attention Azle developers! The Demergent Labs team has asked for your participation in a survey regarding which features the team should prioritize the development of.

Let the team know your thoughts! Complete [the survey today](https://t.co/hLWNHvWiZI)!

## ICP DevConf

The online conference ICP DevConf has been announced! This conference will run from July 17-19 and is free to all participants worldwide! It will feature several online talk sessions and workshops on various ICP topics, such as:

- ICP fundamentals

- Smart contracts

- Chain fusion

- Decentralized AI

- DeFI & NFTs

- DAOs

- Tooling & CDKs

Register for your spot today at [https://icpdevconf.com/](https://icpdevconf.com/)!

That'll wrap up this week. Tune back in next week for more developer updates!

-DFINITY







Binary file added static/img/blog/dev-update-blog-may-8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 18beaef

Please sign in to comment.