jsPsych/packages/config/CHANGELOG.md
2025-01-28 21:23:07 +00:00

10 KiB

@jspsych/config

3.2.2

Patch Changes

3.2.1

Patch Changes

3.2.0

Minor Changes

  • #3385 3948fdc0ac176584fe4b8fe0b9cca5ed6e8b3afc Thanks @cherriechang! - Added citations property to info field of all plugins/extensions in two citation formats (apa, bibtex); added getCitations() as function in jsPsych package allowing user to generate citations by passing an array of plugins/extensions by name as first input and citation format as string as second input; changed template of plugins/extensions to contain citations field by default; citations for each plugin/extension are automatically generated from .cff file (if any) at its folder's root during build process; getCitations() prints out citations in the form of a string separating each citation with newline character, and always prints the jsPsych library citation first.

Patch Changes

3.1.1

Patch Changes

  • #3396 d683396e Thanks @bjoluc! - Update dependencies for config.

    • @rollup/plugin-common-js updated to 26.0.1
    • esbuild updated to 0.23.1
    • gulp updated to 5.0.0
    • gulp-cli updated to 3.0.0
    • rollup updated to 4.21.2
    • rollup-plugin-dts updated to 6.1.1
    • rollup-plugin-esbuild updated to 6.1.1
    • rollup-plugin-node-externals updated to 7.1.3

3.1.0

Minor Changes

3.0.1

Patch Changes

  • #3401 db7bcf82 Thanks @jadeddelta! - allow JSON resolution in contrib repository for usage of package.json in versioning

3.0.0

Major Changes

  • #2858 76e75080 Thanks @bjoluc! - Activate TypeScript's isolatedModules flag in the root tsconfig.json file. If you are facing any TypeScript errors due to isolatedModules, please update your code according to the error messages.

  • #2858 810ed7a3 Thanks @bjoluc! - Migrate the build chain from TypeScript, Babel, and Terser to esbuild. Babel and Terser are no longer included as dependencies and the Babel configuration at @jspsych/config/babel has been removed. The minified browser builds are only transpiled down to ES2015 now.

2.0.2

Patch Changes

  • #3293 7bcd4e0a Thanks @becky-gilbert! - This fixes an error in the gulp task that creates the dist archive for a release, which was causing the dist archive to fail.

2.0.1

Patch Changes

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 by makeNodeRollupConfig()

  • #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).

1.3.3

Patch Changes

  • #3073 caef8713 Thanks @jodeleeuw! - Update canvas package dependency version to fix missing binaries issues with newer node/npm versions

1.3.2

Patch Changes

  • e3e9d903 Thanks @bjoluc! - Prevent rollup from relying on node internals in browser builds

1.3.1

Patch Changes

  • #2643 dc005661 Thanks @bjoluc! - Include previously undefined regeneratorRuntime in the Babel build of the jspsych package

1.3.0

Minor Changes

  • 3463e977 Thanks @becky-gilbert! - Add the updatePluginVersions gulp task. This task looks at each of the docs/plugins markdown files, finds the page title and "Current version" string, adds the current version number (from the package.json file), and uses the package name as the page title.

Patch Changes

  • #2631 e77371e9 Thanks @bjoluc! - Update dependencies, including Jest v27 to v28. The changelogs have been carefully checked and no breaking changes are to be expected in packages using @jspsych/config. Check out the Jest 28 blog post for a summary of the changes in Jest.
  • #2632 a17f423f Thanks @bjoluc! - Apply Babel Rollup plugin to .ts files in the index.browser.min.js build. It was erroneously ignoring transpiled .ts files before.

1.2.0

Minor Changes

  • #2431 87f332f9 Thanks @bjoluc! - Implement an updateUnpkgLinks Gulp task to update each unpkg link with a precise version number to the corresponding package's current version as defined in the package's package.json.

Patch Changes

  • #2505 9486bc50 Thanks @bjoluc! - Fix css path rewriting in createCoreDistArchive Gulp task when link tags do not end in />

1.1.0

Minor Changes

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

1.0.0

Major Changes