Skip to content

Releases: empiricaly/empirica

@empirica/core@1.6.2

25 Aug 08:10
232e1b4
Compare
Choose a tag to compare

Patch Changes

  • f87c756: Fix misaligned CSV export. Some fields were not aligned with the headers.

  • 05212b8: Fix missing scope in vector attribute callbacks.

    E.g.: In Empirica.on("stage", "chat", (ctx, { stage, chat }) => {, where
    "chat" is a vector attribute, stage was undefined.

  • 05212b8: Fix vector attribute invalid get-after-set value.

@empirica/core@1.6.1

19 Aug 08:11
60cdac3
Compare
Choose a tag to compare

Patch Changes

  • 0f7f99c: You can now add a user with flags from the command line:

    empirica --tajriba.auth.username "erica" --tajriba.auth.name "Erica" --tajriba.auth.password "mypassword"

    You can also use environment variables:

    export EMPIRICA_TAJRIBA_AUTH_USERNAME="erica"
    export EMPIRICA_TAJRIBA_AUTH_NAME="Erica"
    export EMPIRICA_TAJRIBA_AUTH_PASSWORD="mypassword"
    empirica
  • f12c6a9: Add version logging on empirica serve.

  • 0f7f99c: Added support for environment variables for configuring Empirica. For example,
    you can now set the tajriba.store.file config option with the
    EMPIRICA_TAJRIBA_AUTH_USERNAME environment variable instead of using the
    --tajriba.store.file command line option.

    Any command line or empirica file options can be set with environment variables
    by replacing the . with _, uppercasing the name, and prefixing it with
    EMPIRICA_. Examples:

    • --log.level becomes EMPIRICA_LOG_LEVEL
    • --server.addr becomes EMPIRICA_SERVER_ADDR
    • --production becomes EMPIRICA_PRODUCTION
  • ecc92b8: Fix adding new stages dynamically at the end of a stage.

  • 0f7f99c: Increase max line size in tajriba.json to 1MB. This can be usefule when storing
    very large attribute values.

  • 0f7f99c: Hide the Empirica menu in prod when it is centered (top or bottom) as it's
    distrating.

  • f12c6a9: empirica serve now respects the --tajriba.store.file command line flag.

@empirica/core@1.6.0

10 Aug 11:06
0d26251
Compare
Choose a tag to compare

Minor Changes

  • ae675d8: Add a [field name]LastChangedAt for each field in the CSV export. This field
    contains the timestamp of the last change to the field.
  • ecd0768: Add treatmentName, that contains the name of the treatment, to the game and
    player.

Patch Changes

  • ae675d8: Improved CSV formatting in export.

@empirica/core@1.5.0

06 Aug 13:24
daf0db6
Compare
Choose a tag to compare

Minor Changes

  • 68756ba: Ignore missing game in if unamangedGame flag set on <EmpiricaContext>. It is
    up to the developer to handle the game not being present. This could potentially
    be a breaking change.

Patch Changes

  • 68756ba: This ensures all attribute events are absolutely ordered. It also fixes an issue
    where uniq events were not being recorded correctly.
  • 68756ba: This fixes a bug where the stage starting callbacks could go out of order and
    cause the game to lock up. This would only manifest itself when new stages were
    added in the previous stage's onEnd callback. This fix improves event ordering
    overall.
  • 68756ba: Require player.get("ended") to be present in order to show exit steps.
  • 8390a56: Upgrade tajriba to v1.2.1.

@empirica/core@1.5.0-next.3

23 Jul 08:30
d4332de
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 776f11b: Require player.get("ended") to be present in order to show exit steps.

@empirica/core@1.5.0-next.2

23 Jul 03:05
2f35199
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 30e95b4: This ensures all attribute events are absolutely ordered. It also fixes an issue
    where uniq events were not being recorded correctly.

@empirica/core@1.5.0-next.1

22 Jul 07:47
3782127
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • 1cced1a: Ignore missing game in if unamangedGame flag set on <EmpiricaContext>. It is
    up to the developer to handle the game not being present. This could potentially
    be a breaking change.

@empirica/core@1.4.7-next.0

20 Jul 11:14
5b09f38
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 266f2d4: This fixes a bug where the stage starting callbacks could go out of order and
    cause the game to lock up. This would only manifest itself when new stages were
    added in the previous stage's onEnd callback. This fix improves event ordering
    overall.

@empirica/core@1.4.6

16 Jul 15:01
877d1e0
Compare
Choose a tag to compare

Patch Changes

  • 88934e6: Fix EmpiricaMenu SVG React warnings.

@empirica/core@1.4.5

16 Jul 11:42
2fcff22
Compare
Choose a tag to compare

Patch Changes

  • 079092b: Make admin buttons look right again.
  • 079092b: EmpiricaMenu component improvements. Add top and bottom positions. Improve
    styling and readability. Use Lucide icons.