Skip to content

verify 1.3.0

Choose a tag to compare

@alekswebnet alekswebnet released this 28 Oct 13:35

@missing-elements/h5p-verify 1.3.0. Nothing else changes: the player stays at 1.1.1, cmi5 at 1.1.0 and embed at 1.1.1.

A Download link on the preview page (#81, #82)

The page --preview opens has a Download link beside the package's name, so whoever reviews a package can keep the file they played. It takes the address the player is given, http or https only, and hides once the preview's server has gone, since that is where it downloads from.

The preview says when it has ended, and keeps saying it

When the command ended while the page was still opening the package, a state change or a failed request could write "Opening…" or an error over the page's "The preview has ended." line. That line now stays. CI caught it on main, where it failed 1 local run in 12; a test now sends the page those events itself.

The preview's module loads no Playwright

What the check and the preview share, the static server and the package and library helpers, moved from lib/verify.mjs to lib/serve.mjs, so lib/preview.mjs no longer imports the browser driver. The command is unchanged and still loads it for the check. The move is what lets the new VS Code extension, H5P Preview, bundle the preview's server without it. These modules are internal; the documented API does not change.

Upgrading

npx @missing-elements/h5p-verify@latest runs 1.3.0.

Full Changelog: verify-v1.2.1...verify-v1.3.0