zktta-iaaaa-aaaap-qhobq-cai.icp0.io Open in urlscan Pro
2a0b:21c0:b002:2:5000:53ff:feb3:7feb  Public Scan

URL: https://zktta-iaaaa-aaaap-qhobq-cai.icp0.io/2024-07-30-updates/index.html
Submission: On January 06 via api from US — Scanned from CH

Form analysis 0 forms found in the DOM

Text Content

Skip to main content

Recent posts
 * Updates 11 December, 2024
 * Updates 8 October, 2024
 * Updates 13 September, 2024
 * Updates 30 July, 2024


UPDATES 30 JULY, 2024

July 30, 2024 · 2 min read
Zen Voich
Mops Maintainer


SUMMARY

 * First Mops blog post
 * Common nav bar
 * Mops CLI updates
 * GitHub Action update
 * Documentation updates
 * GitHub dependency name restrictions


MOPS BLOG

(by @ZenVoich)

This is the first blog post of the new Mops blog.

Further Mops updates will be posted here. Previous updates can be found in the
Dfinity forum.


COMMON NAV BAR

(by @ZenVoich)

Added a common nav bar to all subdomains for easier navigation.


MOPS CLI UPDATES

0.45.0 by @ZenVoich

 * Updated npm dependencies
 * Added --no-install flag to mops sources command
 * Added --verbose flag to mops publish command
 * Added support for dependency version pinning
 * Suppress hashing tool detecting error in moc-wrapper.sh on Linux
 * Fixed moc-wrapper error when no .mops folder exists
 * Fixed cache folder delete on github install error


GITHUB ACTION UPDATE

(by @ZenVoich)

New version 1.3.1 of setup-mops action is released.

The action is updated to use the on-chain storage to install Mops, which gave a
2x speedup to the installation process (from ~20s to ~10s).

If you are using the action in this way:

- uses: ZenVoich/setup-mops@v1




no changes are required from your side.


DOCUMENTATION UPDATES

(by @ZenVoich)

 * Added a new page How dependency resolution works
 * Added a new page How to version a package
 * Added a new page Dependency version pinning


GITHUB DEPENDENCY NAME RESTRICTIONS

(by @ZenVoich)

Now you cannot publish a package with a github dependency whose name is already
taken in the Mops registry.

This helps to avoid confusion when resolving packages with the same name from
different sources, because they can be completely different packages.

Example:

[dependencies]
base = "https://github.com/dfinity/motoko-base#moc-0.12.0" # bad
base_gh_0_12_0 = "https://github.com/dfinity/motoko-base#moc-0.12.0" # ok
any-other-name = "https://github.com/dfinity/motoko-base#moc-0.12.0" # ok



Newer Post
Updates 13 September, 2024
 * Summary
 * Mops blog
 * Common nav bar
 * Mops CLI updates
 * GitHub Action update
 * Documentation updates
 * GitHub dependency name restrictions

 * GitHub
 * Twitter
 * Discord

Skip to main content

Recent posts
 * Updates 11 December, 2024
 * Updates 8 October, 2024
 * Updates 13 September, 2024
 * Updates 30 July, 2024


UPDATES 30 JULY, 2024

July 30, 2024 · 2 min read
Zen Voich
Mops Maintainer


SUMMARY

 * First Mops blog post
 * Common nav bar
 * Mops CLI updates
 * GitHub Action update
 * Documentation updates
 * GitHub dependency name restrictions


MOPS BLOG

(by @ZenVoich)

This is the first blog post of the new Mops blog.

Further Mops updates will be posted here. Previous updates can be found in the
Dfinity forum.


COMMON NAV BAR

(by @ZenVoich)

Added a common nav bar to all subdomains for easier navigation.


MOPS CLI UPDATES

0.45.0 by @ZenVoich

 * Updated npm dependencies
 * Added --no-install flag to mops sources command
 * Added --verbose flag to mops publish command
 * Added support for dependency version pinning
 * Suppress hashing tool detecting error in moc-wrapper.sh on Linux
 * Fixed moc-wrapper error when no .mops folder exists
 * Fixed cache folder delete on github install error


GITHUB ACTION UPDATE

(by @ZenVoich)

New version 1.3.1 of setup-mops action is released.

The action is updated to use the on-chain storage to install Mops, which gave a
2x speedup to the installation process (from ~20s to ~10s).

If you are using the action in this way:

- uses: ZenVoich/setup-mops@v1




no changes are required from your side.


DOCUMENTATION UPDATES

(by @ZenVoich)

 * Added a new page How dependency resolution works
 * Added a new page How to version a package
 * Added a new page Dependency version pinning


GITHUB DEPENDENCY NAME RESTRICTIONS

(by @ZenVoich)

Now you cannot publish a package with a github dependency whose name is already
taken in the Mops registry.

This helps to avoid confusion when resolving packages with the same name from
different sources, because they can be completely different packages.

Example:

[dependencies]
base = "https://github.com/dfinity/motoko-base#moc-0.12.0" # bad
base_gh_0_12_0 = "https://github.com/dfinity/motoko-base#moc-0.12.0" # ok
any-other-name = "https://github.com/dfinity/motoko-base#moc-0.12.0" # ok



Newer Post
Updates 13 September, 2024
 * Summary
 * Mops blog
 * Common nav bar
 * Mops CLI updates
 * GitHub Action update
 * Documentation updates
 * GitHub dependency name restrictions

 * GitHub
 * Twitter
 * Discord