Skip to content

Releases: jspsych/jsPsych

@jspsych/[email protected]

01 Dec 00:24
Compare
Choose a tag to compare

Minor Changes

@jspsych/[email protected]

01 Dec 00:24
Compare
Choose a tag to compare

Minor Changes

@jspsych/[email protected]

01 Dec 00:24
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #2287 522aa2cd Thanks @jodeleeuw! - Fixed a bug that caused a crash when frame_isi was > 0. This bug was introduced in 1.0.0.

@jspsych/[email protected]

01 Dec 00:24
Compare
Choose a tag to compare

Major Changes

  • #2228 3e2e3ac8 Thanks @jodeleeuw! - Created an extension that enables mouse tracking. The extension records the coordinates and time of mousemove, mousedown, and mouseup events, as well as optionally recording the coordinates of objects on the screen to enable mapping of mouse events onto screen objects.

@jspsych/[email protected]

01 Dec 00:24
Compare
Choose a tag to compare

Minor Changes

  • #2357 c44ac202 Thanks @bjoluc! - Add a VERSION.md file to the release archive created by the createCoreDistArchive Gulp task

@jspsych/[email protected]

16 Oct 10:00
a6367c7
Compare
Choose a tag to compare

Patch Changes

  • #2212 85a69d28 Thanks @bjoluc! - Consistently replace anonymous functions with arrow functions to avoid masking of this

[email protected]

02 Oct 01:06
Compare
Choose a tag to compare

Major Changes

  • #2183 c8760b1 Thanks @jodeleeuw, @becky-gilbert, @bjoluc! - jsPsych is now fully modular, with individual NPM packages for the core library, plugins, and extensions.

    To support this change, we've made a number of breaking changes. We've added a guide for migrating from version 6.x to 7.x to the documentation, and updated the hello world tutorial with instructions for configuring jsPsych in three different ways. In addition to enabling package management, some of the benefits that this change provides include an improved developer experience with IntelliSense code hints, proper encapsulation of jsPsych so that multiple instances can be run on the same page, and easier integration with modern JavaScript tools like bundlers.

  • #2130 2802430 Thanks @jodeleeuw! - Added the option for plugins to return a Promise and delay the execution of the on_load event handler for the trial until the plugin manually invokes it. This allows for plugins that have asynchronous components to finish loading before triggering the on_load event. Added this functionality to all plugins that currently require it.

  • #2100 b0d77e7 Thanks @jodeleeuw! - Renamed all getter-type functions to have get prefix to make it clearer what the role of these functions are. The following were affected:

    • currentTimelineNodeID -> getCurrentTimelineNodeID
    • progress -> getProgress
    • startTime -> getStartTime
    • totalTime -> getTotalTime
    • currentTrial -> getCurrentTrial
    • initSettings -> getInitSettings
    • allTimelineVariables -> getAllTimelineVariables

Minor Changes

  • #2142 12d6753 Thanks @jodeleeuw! - When jsPsych.endExperiment is called it provides the option of displaying a message on the screen. If the on_finish event handler in initJsPsych() returns a Promise then the message will now display only after the promise has resolved.

  • #2129 f37f64a Thanks @jodeleeuw! - All duration measurements, including response times, are now rounded to the nearest millisecond. We changed this because the precision that performance.now() generates is misleading in this context and removing the (often very long) decimal component of the measurement will save space in the data files.

  • #2121 03517a0 Thanks @zimmerrol! - Updated turk.submitToTurk() to use POST instead of GET to avoid errors where too much data is transmitted.

@jspsych/[email protected]

02 Oct 01:06
Compare
Choose a tag to compare

@jspsych/[email protected]

02 Oct 01:06
Compare
Choose a tag to compare

Major Changes

  • #2183 c8760b1 Thanks @jodeleeuw, @becky-gilbert, @bjoluc! - jsPsych is now fully modular, with individual NPM packages for the core library, plugins, and extensions.

    To support this change, we've made a number of breaking changes. We've added a guide for migrating from version 6.x to 7.x to the documentation, and updated the hello world tutorial with instructions for configuring jsPsych in three different ways. In addition to enabling package management, some of the benefits that this change provides include an improved developer experience with IntelliSense code hints, proper encapsulation of jsPsych so that multiple instances can be run on the same page, and easier integration with modern JavaScript tools like bundlers.

Patch Changes

@jspsych/[email protected]

02 Oct 01:06
Compare
Choose a tag to compare

Major Changes

  • #2183 c8760b1 Thanks @jodeleeuw, @becky-gilbert, @bjoluc! - jsPsych is now fully modular, with individual NPM packages for the core library, plugins, and extensions.

    To support this change, we've made a number of breaking changes. We've added a guide for migrating from version 6.x to 7.x to the documentation, and updated the hello world tutorial with instructions for configuring jsPsych in three different ways. In addition to enabling package management, some of the benefits that this change provides include an improved developer experience with IntelliSense code hints, proper encapsulation of jsPsych so that multiple instances can be run on the same page, and easier integration with modern JavaScript tools like bundlers.

Minor Changes

  • #2130 2802430 Thanks @jodeleeuw! - Added the option for plugins to return a Promise and delay the execution of the on_load event handler for the trial until the plugin manually invokes it. This allows for plugins that have asynchronous components to finish loading before triggering the on_load event. Added this functionality to all plugins that currently require it.

Patch Changes