Skip to content
SOWISO logo SOWISO logo SOWISO

Changelog

Release 4.4.4

Features

  • Adds “hideAttemptsInReplayMode” to the global configuration, hiding the “Attempt X” labels in replay mode.
  • Updates the “unit” keyboard tab to reflect the layout of the SOWISO Content Player
  • Significantly expands end-to-end test coverage to include Angular environments

Fixes

  • Resolves an issue where displayMath fractions are sized differently
  • Fixes incorrect resizing of MathJax code blocks

Release 4.4.3

Fixes

  • Resolves an issue where linebreaks in a solution are not being respected

Release 4.4.2

Features

  • Updated Geogebra to 5.2.836.0

Fixes

  • Now properly renders Geogebra exercises without material ID
  • Fixed an issue where math incorrectly displays in some exercises

Release 4.4.1

Fixes

  • Fixes an issue where production code tries to resolve an internal (development) dependency

Release 4.4.0

Features

  • Adds translations for several keyboard buttons
  • Adds translations for dropdown components

Fixes

  • Now correctly displays fractions in solutions
  • Resolves an issue where sometimes spaces are not correctly visible

Release 4.3.0

Features

  • Adds support for Finnish translations

Release 4.2.3

Features

  • Adds the sowiso-dropdown-outline-color CSS variable, defaults to black
  • Adds the sowiso-dropdown-outline-width CSS variable, defaults to 2px

Fixes

  • Consistent rendering of dropdown outlines in different browsers

Release 4.2.2

Fixes

  • Stops the player from submitting surrounding form when interacting with certain buttons
  • Fixes dropdown not restoring values in replay mode

Release 4.2.1

Fixes

  • Input values are persistent again when viewing a solution
  • Viewing a solution renders correctly again and the getMathMLWithExplicitBrackets error has been removed
  • Shows the appropriate error message when answers contain units that are not recognized or incorrect
  • Resolves an issue that could break the readonly mode
  • Resolves an issue where clipping of the tooltip could occur when a feedback icon is near the parent container
  • Fixes dropdown not being disabled in read-only mode

Release 4.2.0

Features

  • Formulaeditor now shows a more specific error message when the input is wrong due to interval signs

Fixes

  • Dropdowns are again properly disabled in readonly mode
  • Keyboard reacts to all props again (fixes Keyboard popping up in replay mode)
  • Formulaeditor doesn’t lose focus anymore when calling getInput()

Release 4.1.0

Features

  • Added a new event sowiso-feedback-received. This event gets fired when the input is invalid and after the server has completed evaluation.

Release 4.0.1

Features

  • Added the following CSS variables:
    • control-width - Set the width of the dropdown control
    • control-bg - Set the background color of the dropdown control
    • option-width - Set the width of the dropdown option
    • option-bg - Set the background color of the dropdown option
    • option-bg-hover - Set the hovered background color of the dropdown option
    • option-bg-focus - Set the focused background color of the dropdown option
    • option-bg-select - Set the selected background color of the dropdown option
    • option-color - Set the text color of the dropdown option
    • option-color-hover - Set the hovered text color of the dropdown option
    • option-color-focus - Set the focused text color of the dropdown option
    • option-color-select - Set the selected text color of the dropdown option

Fixes

  • Fixed case where default styling for the dropdown item had no background color, making it seem transparent
  • Fixed issue with prop validation by React Web Component

Release 4.0.0

Features

  • Reworked the dropdown/select component from the ground up for better accessibility and support on smaller screens
  • New CSS classes to customize math input placeholder and dropdown/select0 styling
  • This release includes a major internal architectural change, hence the version bump

Fixes

  • Fixed a case where math inputs had the wrong height, resulting in fractions being cut off. Clients can customize the fraction height through the new

Release 3.4.0

Features

  • Added new event that lets customers know when the SOWISO Player has finished loading its dependencies
  • It is now possible to programmatically input text into a FormulaEditor field, e.g. when using a custom OSK

Fixes

  • Fixed a problem where dependencies would not load if the SOWISO Keyboard and FormulaEditor are used without Player
  • Fixed scaling issue on GeoGebra exercises
  • Add back option to disable auto-hiding the SOWISO Keyboard which had been removed on accident
  • Made table alignment work the same way as in SOWISO

Release 3.3.8

Features

  • Added a new attribute skip-loading-mathjax to disable the loading of MathJax for when it’s already there

Fixes

  • Fixed a problem where the SOWISO MathJax configuration would load after MathJax itself
  • Fixed a problem where the SOWISO FormulaEditor would not be ready in time

Release 3.3.7

Fixes

  • Fixed a problem where the SOWISO Keyboard would disappear to early from the page
  • On exercises with multiple radio button groups, the groups now work independently of each other

Release 3.3.6

Features

  • Added a new attribute to disable automatically disabling the sowiso keyboard when a set is completed

Fixes

  • Selected option in dropdowns will be fully visible

Release 3.3.5

Fixes

  • Radio Button feedback text now supports special characters such as accents and umlauts
  • Internal changes to attempt resolving a problem for a customer

Release 3.3.4

Fixes

  • The player no longer crashes on startup (yay)
  • Add missing docs for new showKeyboardOnLoad prop

Release 3.3.3

Fixes

  • save answer in GeoGebra sends the same data as when evaluating an answer
  • Include customizable options in the Geogebra applet

Release 3.3.2

Features

  • Support l10n in replay mode (respects lang prop)

Fixes

  • Fix Multiple Choice and Radio Button evaluation not working after restoring answer
  • Fix Multiple Choice replay exercise sometimes showing index as options instead of LaTeX math
  • Add type="button" to SOWISO keyboard key buttons

Release 3.3.1

Fixes

  • Finishing the exercise after reaching maximum number of attempts now shows feedback of the last attempt

Release 3.3.0

Features

  • Add functionality to have a maximum number of attempts for an exercise

Fixes

  • Support single quotes inside dropdown values

Release 3.2.0

Features

  • Add possibility for clients to request status of exercise (answered, unanswered, invalid)

Fixes

  • Add (again) show-keyboard-on-load prop to keyboard to disable showing keyboard on page load

Release 3.1.13

Features

  • Add support for answering with a unary plus in the formula editor

Fixes

  • Revert fix for scrolling on long exercises, to fix pop-up cut-off and dropdown not showing

Release 3.1.12

Fixes

  • Remove unused dependency

Release 3.1.11

Fixes

  • Fix scrolling on long exercises

Release 3.1.10

Fixes

  • Fix broken player when using a set ID in default mode

Release 3.1.9

Fixes

  • Only allow instantiating readonly mode with set ID (no more try ID)
  • Fix going to next exercise in set in readonly mode

Release 3.1.8

Features

  • The content player now emits an event when the answer evaluation has been completed
  • The player has a new attribute to disable autofocus of the input fields when the player is loaded

Release 3.1.7

Fixes

  • Fix toggle solution in readonly mode

Release 3.1.6

Features

  • Add a CSS class to style “readonly mode” label

Fixes

  • Fix complex HTML layout rendering wrong in Open Free when using replay mode
  • Fix several bugs introduced through new readonly mode where inputs were not disabled

Release 3.1.5

Features

  • New readonly mode that allows to request hints and solution. The mode that was previously known as readonly (and did not allow requesting hint and solution) is now known as readonly-restricted. This is a breaking change.
  • Feedback text now supports math inside
  • Documentation now has changelog

Fixes

  • Fix multiple Players in replay mode on the same page (showed same replay previously)

Release 3.1.4

Fixes

  • Fix the “c is not a function” error that caused the player to crash sometimes
  • Re-add Geogebra replay fix that was removed from last release for testing purposes

Release 3.1.3

Fixes

  • Revert some geogebra changes because it’s crashing for Sanoma

Release 3.1.2

Fixes

  • Fixed solution not showing Geogebra applet in replay mode
  • Fixed Geogebra solution wrapped in correct HTML tag in replay mode
  • Fixed keyboard respecting decimalMark setting
  • Fixed dropdown size when content is long

Release 3.1.1

Fixes

  • Fix waiting for Angular props to come in one-by-one
  • Fix a bug in replay mode

Release 3.1.0

Features

  • It’s possible to use multiple players on one page (again)
  • exercise-loaded event now also fired in replay mode
  • Make it possible to check/uncheck with the keyboard in multiple choice and radio button exercise types

Fixes

  • Added unicode support to MathJax
  • Fixed exercises of type open that contain a dropdown from getting a wrong evaluation

Release 3.0.0

Features

  • exercise-loaded event now has information whether exercise has had previous attempts
  • Keyboard key faces now react to formulaeditor settings
  • Re-adds the expand solution button

Fixes

  • Fix Player “stuck” on old tryId when used in combination with Angular
  • Fix event listeners not always getting set

Release 2.10.0

Features

  • Support for Geogebra exercise type

Fixes

  • Remove duplicate question & solution text from replay mode
  • Disable cache for keyboard svg’s so the keyboard svg’s work in Safari

Release 2.9.3

Release 2.9.2

Release 2.9.1

Release 2.9.0

Features

  • New documentation (astro)
  • Show history when continuing an exercise with type OPEN
  • Show question & solution text of previous exercises in a set
  • Replace validation on every input with validation only when an Evaluate event is emitted

Fixes

  • Add correct styling to replay mode for types RADIO_BUTTON & MULTIPLE_CHOICE

Also: removes the base prop.

Release 2.8.0

Features

  • Only automatically show keyboard when exercise has math in it
  • Automatically hide keyboard when exercise is finished
  • Add breadcrumbs to indicate progress within a set

Fixes

  • Fix Player crashing on Angular pages
  • Greek keyboard works again

Release 2.7.0

Features

  • Moved to gitlab.com
  • Changed package name to @sowiso/player

Release 2.6.0

Features

  • You can now play a whole set of exercises! (Previously, only the first exercise of a set was played.)
  • Better accessibility: You can focus math input fields with the tab key

Fixes

  • Fixed broken styling of some Open Free exercises
  • Fixed broken MathJax math rendering when exercise uses LaTeX color, chemistry and others

Release 2.5.0

Add replay mode

Release 2.4.0

Breaking change:

  • --sowiso-feedback-icon-almost-alt and --sowiso-icon-almost-alt CSS property have been renamed to --sowiso-feedback-icon-incorrect-input and --sowiso-icon-incorrect-input respectively.

Please update your CSS accordingly.

Release 2.3.4

Features

  • Add extra css variable for styling radio button input.

Fixes

  • Show almost correct feedback in open type exercises.
  • Add missing type.

Release 2.3.3

Fixes

  • Added missing MathJax package for loading HTML macro’s

Release 2.3.2

Features

  • The “intro” text of an exercise now also gets rendered by the content-player

Fixes

  • Removes the default value for lang to prevent accidentally sending of requests in the wrong language (see !87)

Release 2.3.1

Fixes

  • Fix for exercise type strategy finished state (actually shows all the steps now)
  • Change default language to ‘nl’

Release 2.3.0

Features

  • Formulaeditor config is not hardcoded anymore, but can be set by the Client using the player.
  • When loading an exercise, the formulaeditor settings specified by the author are now used.

Fixes

  • Fixes a bug where an open free exercise crashed after completion because it kept trying to validate user input.
  • Fixes the rendering of html inserted by author for open free exercises.

Release 2.2.2

Fixes

  • Adds pre and post text to the strategy exercise type

Release 2.2.1

Fixes

  • Correct css vars for strategy exercise type overrides & updated readme

Release 2.2.0

Features

  • Add support for strategy exercise type
  • Add SOWISO macro´s to MathJax configuration

Fixes

  • Fix radio button option selection bug
  • Add "click" to open exercise type so it also responds to input changes made by virtual keyboard

Release 2.1.1

Fixes

  • Rename additionalPayload to __additionalPayload to match SDK

Release 2.1.0

Features

  • Add possibility to add request headers and additional request data
  • Loading spinners instead of text

Fixes

  • Fix hanging loading state in case of request error
  • Add safeguard against playing a try in readonly mode & update README about this
  • Fix user input validation for formulaeditor (exercise types OPEN & OPEN_FREE)
  • Send tryId & setId as integers

Release 2.0.0

  • Added classes for more specific customization
  • More specific handling of events to add support for multiple players

Release 1.0.0

  • added mode attribute & removed readonly attribute (now part of mode)
  • updated dependencies

Release 0.4.1

  • fix: added all attributes to observedAttributes so changes will be picked up

Release 0.4.0

  • Add possibility to save current user input and continue a try later (in progress mode)
  • See !51

Release 0.3.0

  • Add readonly mode
  • Add new formula editor build

Release 0.2.1

  • Validate Web Component props and throw an error if setId and tryId are missing
  • Dispatch an event from MathJax when it has fully loaded, and only then register the Web Component
  • Document how to customize icons using CSS variables