Dfx 0.26.1 is promoted

dfx 0.26.1 is promoted!

dfx 0.26.1 is promoted. You can read the full release notes here .

This release includes some fixes and the a new release of the Motoko compiler 0.14.8.

Note that the next release (0.27.0) will be removing the local replica in favor of pocket-ic.

Please let us know if you run into any problems!

9 Likes

What does it mean that the local replica will go away?

In icpp-pro, we wrap dfx with local replica into a smoke testing framework. Would we need to rewrite that to use pocket-ic instead?

Same question for cicd pipelines that rely on local replica. Will those break?

(btw.. yes, it needs to change is a valid answer. Just need to know so we can plan the work)

1 Like

Hi,

If you are using dfx version 0.26.0 or higher, the dfx start command is already using pocket-ic by default instead of the local replica. See release notes and discussion here.

For most things, the behavior is the same and you might not notice a difference - the main differences we saw when we upgraded in the examples repo was around cycles accounting see this PR because pocket-ic simulates an entire subnet.

Some dfx commands that are replica specific will not work with pocket-ic, for eg dfx info replica-port will have to be replaced with dfx info webserver-port.

In short, I would expect some changes, but nothing huge - and I would recommend trying it out with 0.26.1 of dfx.

As far as CICD pipelines, I would recommend you take a look a the pocket-ic libraries. We’ve been using them quite extensively at DFINITY and folks seem to find them useful.

Please let us know how it goes.

5 Likes

I tried it out, and everything keeps working with dfx 0.26 :+1:

Thanks again for the detailed answer, and I will look at integrating the pocket-ic python client.

2 Likes