Releases: jspsych/jsPsych
v2.3.1
- Fixed a bug in the html plugin where the check function would get called at the start of the trial as opposed to the end of the trial.
- The preloadImages method in the core library will now accept nested arrays for image paths, and auto-flatten them for preloading.
v2.3
Several changes:
- The barely-used jspsych-utils.js file was removed, and functions contained within were migrated to other parts of the code. In particular, instead of including stimulus generation methods within the utils file, they are now contained within the relevant plugin. This means that some plugins, jspsych-palmer and jspsych-vsl-grid-scene, can be used solely for generating stimuli.
- Fixed a few bugs related to element IDs.
- Trial parameters for most plugins can now be passed in as functions. See this wiki page for more information.
- Citation info was added in the README file.
- The vsl-animate-occlusion plugin can now collect responses while the animation is playing.
v2.2
This release adds a new plugin, jspsych-vsl-grid-scene. This plugin is currently unique in that it provides both a new trial type, and also a means for creating a particular kind of stimulus. This design pattern will be adopted by other plugins that create unique stimuli in the future.
v2.1.1
v2.1
Adding new plugin: VSL-animate-occlusion.
This plugin is for showing sequences of shapes in the same manner as Experiment 1 in
Fiser, J., & Aslin, R. N. (2002). Statistical learning of higher-order temporal structure from visual shape sequences. Journal of Experimental Psychology: Learning, Memory, and Cognition, 28(3), 458.
v2.0
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.
v1.8.1
The animation plugin has new options and records additional data. Changes are backwards compatible.
v1.8
v1.7
Two major features are added with this release:
- The core library has a new method, jsPsych.turkInfo(), which simplifies some of the coding involved in creating a mechanical turk experiment. See the core library api wiki page for documentation.
- The categorize-animation plugin has moved out of the /dev folder and into the main plugins folder, reflecting a set of changes to make the plugin ready for release.
A few minor bug fixes as well, including:
- The same-different plugin was recording stimulus paths using a_path and b_path as labels. Updated this to the more descriptive names stimulus and stimulus_2.
- Problems in the single-stim plugin when continue_after_response was set to false have been resolved. This behavior now works as intended.
v1.6
This version adds a few new features to the core library.
- jsPsych.preloadImages() is a built in image pre-loader with callback function options.
- jsPsych.dataAsCSV() will return the jsPsych data object as a string of CSV formatted data.
- jsPsych.saveCSVdata() will download the CSV formatted data. As of 11/12/2013 this only works in updated versions of Chrome and Firefox.
In addition, numerous minor bug fixes and improvements were made over previous release versions.