Skip to content

Releases: empiricaly/empirica

@empirica/core@1.9.8

17 Mar 13:26
1eb6b17
Compare
Choose a tag to compare

Patch Changes

  • 9e24313: Fix an issue with the shared/ignore lobby configuration, and more generally with
    a number of players in a game that is not equal to the treatment.playerCount.

@empirica/core@1.9.7

16 Mar 11:35
7ccf0a0
Compare
Choose a tag to compare

Patch Changes

  • c8319ce: Fix a bug where setting an attribute to false on the server, after it was
    initially set to true on the client, would not work as expected.
  • 144f928: Upgrade empirica create templates with updated packages and build tools

@empirica/core@1.9.6

11 Feb 10:58
12939cc
Compare
Choose a tag to compare

Patch Changes

  • 0c39a7c: New export to fix consistency and performance issues.

@empirica/core@1.9.5

08 Feb 08:35
a475d4b
Compare
Choose a tag to compare

Patch Changes

  • e70565d: Fix broken export command.

@empirica/core@1.9.4

05 Feb 08:53
ddd1f98
Compare
Choose a tag to compare

Patch Changes

  • 40a5d5c: Improve callback ordering by only allowing 1 callback to run at a time. This is
    change also make addScopes await for the scope changes to be added locally
    before returning.
  • 0994940: Enable empirica serve to run in the official Docker container image.
  • aa7fd43: Log connection errors instead of throwing unhanded exceptions.
  • 434e36a: Avoid blocking on concurrent release of step stopping timer.

@empirica/core@1.9.3

21 Jan 07:59
0721d5b
Compare
Choose a tag to compare

Patch Changes

  • fba5e09: empirica serve now respects the version in the bundle.

@empirica/core@1.9.2

09 Jan 04:03
1503d53
Compare
Choose a tag to compare

Patch Changes

  • 6974fe8: Upgrade node build to 20.10.0.

@empirica/core@1.9.1

07 Jan 08:10
9afaca9
Compare
Choose a tag to compare

Patch Changes

  • fe46f00: Export vector attributes to CSV as arrays.

@empirica/core@1.9.0

01 Jan 08:11
6dc8adb
Compare
Choose a tag to compare

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+.

    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 or player.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

26 Dec 07:14
656d19b
Compare
Choose a tag to compare

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