Skip to content

Release datapipe-client - #276

Merged
jodeleeuw merged 1 commit into
mainfrom
changeset-release/main
Sep 22, 2026
Merged

jodeleeuw merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

datapipe-client@0.2.0

Minor Changes

  • 4479720: Accept experiment_id, the name the jsPsych extension and plugin use for the experiment ID, so the same option is spelled the same way everywhere.

    experimentID still works and there are no plans to remove it. Give one or the other. If both are given and differ, saveData, saveBase64Data and getCondition throw, and a session starts inert with a console warning. Nothing changes on the wire.

  • 132affd: Pass the session to saveData with session instead of flushing and reading sessionId yourself. saveData waits for the session to start and sends its id.

    Adds session.ready(), which resolves once the session has started (or failed to). It waits only for startup, not for staged writes, so a final submission from a background tab is no longer held up by a throttled flush. sessionId still works.

@jodeleeuw
jodeleeuw merged commit 2ee3198 into main Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant