Skip to content

v2.1.8

Compare
Choose a tag to compare
@frncesc frncesc released this 17 Feb 10:14
· 128 commits to master since this release
b74f813

Improvements

  • Upgraded dependencies
  • Allow "inverse resolution" in word search activities: clues are initially shown, and gradually hidden when the user identifies them.
  • Use ink-docstrap-template instead of ink-docstrap to deal with updated components, thus avoiding security warnings
  • Direct use of jsdom instead of mock-browser (outdated) in test/nodejs, to avoid security warnings
  • Recycle HTML audio elements instead of building one for each audio file at startup. This has been motivated by a breaking change introduced in Chrome 92+, limiting the maximum number of media player elements per document. (see: https://bugs.chromium.org/p/chromium/issues/detail?id=1144736).
    This improvement will reduce the startup time of JClic projects and the size of media bytes to be downloaded, but can have a side effect, introducing latency when playing audio because is always fetched "on demand" (no more preloading).

Bug fixes

  • Use of patch-package to avoid compilation warnings.
  • IdentifyText activities were not fully implemented: only targets could be selected. You can now select any word (or letter in identifyChars mode), although not part of a target. To be successful with the activity, only the targets must be selected.
  • Avoid bad URLs in local files when running on NodeJS with JSDOM