The main reason this release is version 2 as opposed to v1.+ is to introduce a more consistent version naming scheme for releases. Early on in development I did not follow semantic versioning particularly well, which means that the v1.+ releases are a bit confusing. From here on out, version numbers will be consistent.
There are three different issues that were addressed for this release.
- timing_post_trial values of 0 will no longer cause unpredictable behavior. Plugins will immediately call
block.next()
(and thus advance to the next trial) as soon as possible when values of 0 are set. - Keyboard responses are now recorded on keydown instead of keyup. This removes some of the variability in RT measures, since people may hold down the key for different lengths of time after making a response.
- All CSS classes and IDs are now prefixed with
jspsych-plugin-name
to reduce possible conflicts with other elements on the page.