Migration from 4.x.x to 5.x.x
Last updated
Was this helpful?
Last updated
Was this helpful?
AEproject v5.0.0
underwent some breaking changes.
Install the latest AEproject version
dropped commonjs support, newly created projects will be created as esm projects, old cjs projects will not continue to work with newer aeproject versions, to keep using old cjs projects, @aeternity/aeproject@4
will continue to work for now.
node@16
is no longer supported, please update to v18 or higher
updated to @aeternity/aepp-sdk@14
to the latest version, see the for additional reference.
the aeproject provided utils.getSdk({})
has to be adjusted to pass a reference to the sdk used utils.getSdk(AeppSdk, {})
where AeppSdk can be imported using import * as AeppSdk from "@aeternity/aepp-sdk";
@aeternity/aepp-sdk@14
requires aeternity node version >= 7.1.0
Following utils have been removed and cannot be used anymore:
utils.getFilesystem()
discontinued, as it is now natively available in the sdk via import, e.g. const { getFileSystem } = require("@aeternity/aepp-sdk");