Releases: jspsych/jsPsych
@jspsych/extension-record-video@1.0.2
@jspsych/extension-mouse-tracking@1.0.3
@jspsych/config@2.0.0
Major Changes
-
#3122
715a9d13
Thanks @bjoluc! - Upgrade build tools to their latest versions. This doesn't introduce breaking changes to the artifacts built using@jspsych/config
, but it requires some minor changes to projects using@jspsych/config
:- The minimum required Node.js version is now 18.0.0
- Jest has been upgraded from v28 to v29 and ts-jest has been replaced with the more performant Sucrase Jest plugin to avoid significant memory leaks. As a consequence, Jest does no longer type-check code. If you are facing any issues, please check Jest's upgrade guide for instructions on updating your tests.
- TypeScript has been upgraded from version 4 to version 5. This is very unlikely to break anything in your code though.
Patch Changes
-
#3122
535e5d90
Thanks @bjoluc! - Remove erroneous browser builds from the rollup configuration returned bymakeNodeRollupConfig()
-
#3184
9acfa29c
Thanks @bjoluc! - Point to source maps via canonical unpkg URLs in NPM-published browser builds. This prevents 404 errors when using redirecting CDN URLs (as described in #3043).
@jspsych/config@1.3.3
Patch Changes
- #3073
caef8713
Thanks @jodeleeuw! - Updatecanvas
package dependency version to fix missing binaries issues with newer node/npm versions
jspsych@7.3.3
Patch Changes
-
#3039
465527a8
Thanks @jodeleeuw! - Fix error in how nested parameters were handled in simulation mode, #2911 -
#3039
852d5745
Thanks @jodeleeuw! - Fixed how simulation mode handlessetTimeout
calls to ensure that timeouts are cleared at the end of a trial, even in cases where the user interacts with a simulated trial when the simulation is being run invisual
mode. -
#3039
612d9e12
Thanks @jodeleeuw! - Fixed issue where a trial'son_load
was not called when using simulation mode but setting a trial'ssimulate
option tofalse
. -
#3039
481efec0
Thanks @jodeleeuw! - Fix target of simulationdispatchEvent
so that simulation mode works with customdisplay_element
@jspsych/plugin-serial-reaction-time@1.1.3
Patch Changes
- #3039
952cdf5b
Thanks @jodeleeuw! - Fixed issue that causedpre_target_duration
parameter to not work correctly
@jspsych/plugin-instructions@1.1.3
Patch Changes
- #3039
347bbb55
Thanks @jodeleeuw! - Fix simulation mode behavior so that setting RT and/or view_history correctly sets the other parameter
@jspsych/plugin-fullscreen@1.2.0
Minor Changes
- #3039
09ee347f
Thanks @jodeleeuw! - Plugin now records RT of the button press to launch fullscreen mode and simulation mode supports setting this property
jspsych@7.3.2
Patch Changes
- #2974
13243618
Thanks @jodeleeuw! - This fixes an issue when a plugin has a COMPLEX parameter and there is a default value specified at the root level of the parameter, rather than for each individual nested parameter (#2972).
jspsych@7.3.1
Patch Changes
-
#2754
6bf9ea97
Thanks @javidalpe! - Fix preload plugin onerror callback so that it returns proper src information when there are 404 errors. -
#2811
28136787
Thanks @jodeleeuw! - Fixed a bug inrandomization.shuffleNoRepeats()
where having anequalityFunction
that used a logical OR could result in some neighboring elements still evaluating totrue
viaequalityFunction
.