Updates 13 September, 2024
ยท 3 min read
Summaryโ
- Mops CLI updates (v1.0.0)
- Keywords validation
- Search package by owner principal id
- Verifiable Mops CLI builds
- Package Registry site updates
Mops CLI updatesโ
Release 1.0.0 ๐โ
Run mops self update to update Mops CLI to the latest version.
mops cache cleannow cleans local cache too (.mopsfolder)- Conflicting dependencies are now reported on
mops add/install/sources - New
--conflicts <action>option inmops sourcescommand (docs) - New "Stable Memory" and "Garbage Collection" metrics are now reported in the
mops benchcommand mops testcommand now supportsreplicamode for running actor tests (docs)- New
--replicaoption inmops testcommand - Updated npm dependencies
- Fixed bug with GitHub dependency with branch name containing
/
Breaking changes:
- Default replica in
mops benchandmops testcommands now ispocket-icifpocket-icis specified inmops.tomlin[toolchain]section anddfxotherwise - The only supported version of
pocket-icis4.0.0 - Dropped support for
wasmtimeversion< 14.0.0 - Default reporter in
mops testcommand is nowfilesif test file count is > 1 andverboseotherwise - Renamed
mops import-identitycommand tomops user import - Renamed
mops whoamicommand tomops user get-principal - Removed the ability to install a specific package with
mops install <pkg>command. Usemops add <pkg>instead - Removed legacy folders migration code. If you are using Mops CLI
<= 0.21.0, you need first to runnpm i -g ic-mops@0.45.3to migrate your legacy folders. After that, you can runmops self updateto update your Mops CLI to the latest version - Removed
--verboseflag frommops sourcescommand
Keywords validationโ
Now, the keywords are validated when publishing a package. Keywords should conform to the following pattern: [a-z0-9-].
Search package by owner principal idโ
Now you can search packages by the owner principal id. Just click on the owner principal id and you will see all packages by that owner.
GitHub Action updateโ
New version 1.4.0 of setup-mops action is released.
- Add caching for macOS
- Use node v22
Verifiable Mops CLI buildsโ
Mops CLI builds are now produced in deterministic way using Docker and can be verified by anyone.
Get the version, commit hash and build hash from the CLI releases page and run the following commands inside the cli directory:
docker build . --build-arg COMMIT_HASH=<commit_hash> --build-arg MOPS_VERSION=<mops_version> -t mops
docker run --rm --env SHASUM=<build_hash> mops
Package Registry site updatesโ
- Stable memory and garbage collection metrics are now available on "Benchmarks" tab for newly published packages
- Size metrics in package benchmarks are now formatted in a human readable way (127_643_156 -> 121.73 MiB)
- On the home page, the "Recently updated" section now contains package changes
- New section "New Packages" on the home page
- Categories section redesigned
- Package descriptions are now shown on the package page
- Package categories are now auto assigned based on keywords
