Release 4.1.0
4.1.0 (2026-08-01)
Features
Adds support for the MindfulnessSession record type and moves the Android
dependency from connect-client:1.1.0-alpha11 to stable 1.1.0.
MindfulnessSession
await insertRecords([
{
recordType: 'MindfulnessSession',
startTime: '2026-08-01T10:00:00.000Z',
endTime: '2026-08-01T10:20:00.000Z',
mindfulnessSessionType: MindfulnessSessionType.MEDITATION,
title: 'Morning meditation',
},
]);- New
MindfulnessSessionTypeconstant:UNKNOWN,MEDITATION,BREATHING,
MUSIC,MOVEMENT,UNGUIDED. - Requires
android.permission.health.READ_MINDFULNESS/WRITE_MINDFULNESS. - Aggregation is not supported for this record type by Health Connect.
- Still experimental upstream (
ExperimentalMindfulnessSessionApiin
connect-client:1.1.0) — fields and permissions may change, and it may not be
available on every device or Health Connect version.
Health Connect 1.1.0
The Metadata constructor is now internal, so id, dataOrigin and
lastModifiedTime are assigned by Health Connect on write and ignored if
supplied from JS. recordingMethod, clientRecordId, clientRecordVersion
and device are unaffected, as is metadata on read.
Docs and the example app cover the new record type.