Skip to content

v0.1.6

Choose a tag to compare

@alekswebnet alekswebnet released this 27 Sep 19:15
· 337 commits to main since this release

A licensing fix for anyone who serves the player through a bundler. The code the player runs is
unchanged.

Fixed

  • The H5P runtime scripts now carry their licence notices. Since 0.1.5, Vite, Rollup and
    webpack emit each runtime file on its own under a hashed name. The LICENSE.txt and
    NOTICE.txt next to them in frame-assets/ didn't come along, so a bundled build shipped:

    • frame.bundle-*.js, the GPL-3.0 H5P core runtime, with no licence notice at all;
    • main.bundle-*.js pointing at a main.bundle.js.LICENSE.txt that was never emitted.

    Both files now start with a /*! … */ comment naming their licences (H5P core GPL-3.0-only,
    jQuery MIT, h5p-standalone MIT, regenerator-runtime MIT) and linking the corresponding source,
    the way h5p.css already did. Vite and Rollup keep the comment in the emitted file; webpack
    moves it into a .LICENSE.txt file that it ships. Everything after the comments is
    byte-for-byte h5p-standalone's code.

Full Changelog: v0.1.5...v0.1.6