Releases: empiricaly/empirica
@empirica/core@1.6.2
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
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 thetajriba.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
becomesEMPIRICA_LOG_LEVEL
--server.addr
becomesEMPIRICA_SERVER_ADDR
--production
becomesEMPIRICA_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
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
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'sonEnd
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
Patch Changes
- 776f11b: Require
player.get("ended")
to be present in order to show exit steps.
@empirica/core@1.5.0-next.2
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
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
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'sonEnd
callback. This fix improves event ordering
overall.
@empirica/core@1.4.6
Patch Changes
- 88934e6: Fix EmpiricaMenu SVG React warnings.