Skip to content

Commit

Permalink
Version Packages (#393)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Aug 19, 2023
1 parent ecc92b8 commit 60cdac3
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 62 deletions.
18 changes: 0 additions & 18 deletions .changeset/add-user-with-flags.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/add-version-log-on-serve.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/enable-env-vars.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-add-stages-dynamically.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/increase-max-line.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/menu-hidden-centered.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/serve-use-taj-file.md

This file was deleted.

40 changes: 40 additions & 0 deletions lib/@empirica/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @empirica/core

## 1.6.1

### Patch Changes

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

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

You can also use environment variables:

```bash
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.

## 1.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/@empirica/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@empirica/core",
"version": "1.6.0",
"version": "1.6.1",
"description": "Empirica Core",
"author": "Nicolas Paton <nicolas.paton@gmail.com>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 60cdac3

Please sign in to comment.