Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.99 KB

CHANGELOG.md

File metadata and controls

40 lines (31 loc) · 1.99 KB

Changelog

2.1.1 (2026-11-08)

Removed

  • The models dataacquisitionprocedure and admingroup: BrainSTEM no longer serves them, so loading them now raises "Unknown model" instead of requesting a route that returns 404.

Changed

  • Documentation describes exports as format 2.x; www.brainstem.org writes 2.2, in which recordings link to biology through experimental interfaces only. The client reads any 2.x export unchanged.

2.1.0 (2026-11-07)

Server requirements: BrainSTEM with the specimen-1 data model, the project/session export API (format 2.1) and the public agent reference (/reference/, format 1.x).

Added

  • export_project() and export_session(): download a project or session export (format 2.1), directly or as a background job (background=True) that the client polls and downloads. Problems raise ExportError.
  • agent_reference(page) and the brainstem reference <page> command: read the server's public agent reference without a token.
  • BrainstemClient(anonymous=True): read public data without logging in.
  • Routes for the specimen data model (specimenset, specimen, specimenprocedure, specimenproceduretemplate, specimenlog), interfaces, materials, episodes, coordinates and anatomical references; brainregion remains as a deprecated alias of anatomicalregion.
  • limit/offset and --per-page/--page paging, load_all=True merging of sideloaded lists.

Changed

  • The tags filter of load_project, load_subject, load_session, load_collection and load_cohort filters by tag name (filter{tags.name}), which the server now supports; tag ids were never returned by the API.
  • Device-flow errors returned by the server with a non-2xx status (invalid_device_code, token_error) raise AuthenticationError instead of requests.HTTPError.

2.0.0

  • Browser-based device authorization with 2FA; token cached at ~/.config/brainstem/token.
  • brainstem command-line interface (login, logout, load, save, delete).