Skip to content

migration sync-plugin v2.2.1 (6b48585)

Latest

Choose a tag to compare

@lwshang lwshang released this 07 Jun 13:26

Sync plugin for the legacy dfx assetstorage canister. Reads per-asset metadata from .ic-assets.json5; ignores _headers/_redirects.

Built from the migration branch at commit 6b48585 (see #71). The migration branch is never merged into main — these tagged pre-releases exist solely to host the plugin wasm for icp-cli recipes/templates.

Intended consumer: asset-canister-v2.2.1 icp-cli recipe, which swaps the asset sync mechanism from type: assets to type: plugin while keeping the canister wasm unchanged (eases upgrades when type: assets sync is dropped in the next icp-cli release).

Changes since v2.2.0

  • Fix sync failure when a dirs entry is a nested path (e.g. src/frontend/dist). The scan step no longer calls canonicalize: under WASI that calls realpath, which returns ENOENT for any path beneath a preopened dir whose guest name has more than one component, even though plain access works. Single-component dirs like dist were unaffected. Reported on the forum.

Asset

  • sync_plugin.wasm — wasm32-wasip2 component
  • sha256: ca7cb5666c30d2875f8d5e10535f8a53f97a86c79c263f7d5bdac2fdd1bbf83c