Releases: empiricaly/empirica
@empirica/core@1.9.3
Patch Changes
- fba5e09:
empirica serve
now respects the version in the bundle.
@empirica/core@1.9.2
Patch Changes
- 6974fe8: Upgrade node build to 20.10.0.
@empirica/core@1.9.1
Patch Changes
- fe46f00: Export vector attributes to CSV as arrays.
@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:
node-fetch/node-fetch#1767
node-fetch/node-fetch#1576
Patch Changes
- b32b95a: Scoped objects should never be missing under EmpiricaContext. Some have reported
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.
@empirica/core@1.8.12
Patch Changes
-
c20ca73: Fix setting attributes with the same mutated object as the current one.
For example, before this patch, the value would not be saved, since we are
reusing the same object, which we've only mutated in place:const value = player.get("myobject"); value["mykey"] = "myvalue"; player.set("myobject", value);
-
d1816ad: Ensure
usePlayers
never returns undefined (expect in unmanaged games).
@empirica/core@1.8.11
Patch Changes
-
a5ecdbd: Avoid re-setting a key to the same value from the client side. For example:
scope.set("key", "value"); scope.set("key", "value"); // no-op
This is not only for sets in the same tick as shown here, but also across ticks.
-
a5ecdbd: Improve various concurrency issues.
-
a5ecdbd: When has no steps, only set the doneKey once.
@empirica/core@1.8.10
Patch Changes
- 98d72e9: Handle errors in step state transition requests.
@empirica/core@1.8.9
Patch Changes
- 282e6e6: Upgrade tajriba.js to v1.5.2.
@empirica/core@1.8.8
Patch Changes
- 44c9486: Upgrade tajriba.js to version 1.5.0.
@empirica/core@1.8.7
Patch Changes
- 3fe3191: Fix export version resolution logic.