This release has a breaking change: we removed the --no-artificial-delay command-line option from dfx start and dfx replica, in favor of a value which matches most subnets.
The main feature of this release is to fix the replica and ic-starter binaries in the linux build, which we broke in the 0.8.2 release.
We also fixed the ic-ref binary in the linux build, which had a similar problem though for a different reason. It had been broken since launch. This means that dfx start --emulator can work on linux now.
Does this now mean there is no way to get rid of any artificial delay? Maybe I’m misunderstanding. If there is no way to get rid of the delay it would be bad for testing scripts that run as canisters on local replicas.
heartbeat does not work again - it just do not execute the supplied function. I haven’t found any tests or examples with this mechanism enabled and working. Is it really there?
Btw, I’m using #[heartbeat] macro from ic-cdk-macros.
As far as I know, heartbeat functionality is still under development. I’ve been watching for it too. Did I erroneously write something about it in the release notes?
Stderr:
/…/hello/src/hello/main.mo:36.10-36.19: type error [M0072], field vals does not exist in type
{
delete : Name → ();
entries : () → Iter/1<(Name, Entry)>;
get : Name → ?Entry;
put : (Name, Entry) → ();
remove : Name → ?Entry;
replace : (Name, Entry) → ?Entry;
size : () → Nat
}
Another possibility is that dfx.json specifies an older version, say 0.8.1. You can either remove the version field from dfx.json, or set it to a newer version. I usually remove the version field.