Open source project to tackle the problem of long development cycles required to produce software to conduct multi-participant and real-time human experiments online.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@empirica/core@1.9.0
Minor Changes
cd48506: empirica export could fail with a "Premature close" error (#474). This seems
to be originating from a bug in the node-fetch package, which is used to
polyfill fetch in Node.js. This upgrades Node.js to v20+, which includes
native fetch support. We still have the cross-fetch polyfill for projects
that have not updated to Node.js v20+ yet. Export uses a vendored project which
has been updated to use the latest Node.js version, so it does not require the
entire experiment to be updated for it to use Node.js v20+.
b32b95a: Scoped objects should never be missing under EmpiricaContext. Some have reported
player.stage or player.round being undefined, for example. This fix also
more thoroughly checks that all expected objects (not only scoped objects) are
always present.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@empirica/core@1.9.0
Minor Changes
cd48506:
empirica export
could fail with a "Premature close" error (#474). This seems to be originating from a bug in thenode-fetch
package, which is used to polyfillfetch
in Node.js. This upgrades Node.js to v20+, which includes nativefetch
support. We still have thecross-fetch
polyfill for projects that have not updated to Node.js v20+ yet. Export uses a vendored project which has been updated to use the latest Node.js version, so it does not require the entire experiment to be updated for it to use Node.js v20+.See the following issues on
node-fetch
for more details: https://github.com/node-fetch/node-fetch/issues/1767 https://github.com/node-fetch/node-fetch/issues/1576Patch Changes
player.stage
orplayer.round
being undefined, for example. This fix also more thoroughly checks that all expected objects (not only scoped objects) are always present.