# Changelog

> What has changed in the webhook, the API and the SDKs, newest first.

How each part is versioned, and what can change without a new version, is on
[Versions](/docs/versions).

## December 2026

- **Changed on 4 January 2027: the selfie's eye area becomes the mean of dark circles and
  puffiness.** In the Web SDK and the Flutter SDK, `face_skin_eye_area_condition` from the selfie
  checkup reads puffiness under the eyes alone today. For selfie checkups started from 4 January
  2027, 00:00 UTC, it is the mean of dark circles and puffiness, as the Health Hub and the kiosk
  give it from 18 December 2026, and its results name `face_selfie_1` version `2027.01` instead of
  `2026.11`. The code, name, unit and range stay the same, and no other selfie value changes.
  - Values from before 4 January keep the old definition: a result names the version it was made
    on, so compare a person's eye area only within one version, and keep the version with each
    value you store.
  - Nothing to change in your code unless it compares eye-area values across that date. See
    [What changes on 4 January 2027](/docs/sdks/results#what-changes-on-4-january-2027).
- **On 18 December 2026, the face-skin values of the Health Hub, the kiosk and the earlier selfie
  page change.** They move to the skin analysis the selfie checkup of the Web SDK and the Flutter
  SDK already runs on. The codes, names, units and API
  versions stay the same and nothing breaks, but values from before 18 December and after it are
  not comparable: compare a person's face-skin results only within one side of that date.
  - Four meanings change: `face_skin_uniformness` measures how even the skin's colour is, no
    longer its texture; `face_skin_pores_health` weighs enlarged pores more heavily;
    `face_skin_acne_index` counts breakouts, broader than acne; `face_skin_eye_area_condition`
    becomes the mean of dark circles and puffiness. See
    [What changes on 18 December 2026](/docs/sdks/results#what-changes-on-18-december-2026).
  - The face-skin bands in [How YOU(th) bands a value](/docs/sdks/results#how-youth-bands-a-value)
    change on the same day, for every channel. The SDKs' selfie values do not change that day; its
    eye area becomes the same mean on 4 January 2027, with `modelVersion` `2027.01` (above).
- **The selfie checkup is available**, in the Web SDK and the Flutter SDK. It takes one photo of
  the person's face and returns up to ten skin biomarkers, such as redness, hydration and perceived
  age. Ask your YOU(th) contact to set its monthly limit for your key.
  - Web SDK: send `checkupType: "faceSelfie"`, with the checkup you already embed. See
    [The selfie checkup](/docs/sdks/web#the-selfie-checkup).
  - Flutter SDK: add `youth_sdk_face_selfie` at `v0.6.0`. See
    [Selfie checkup](/docs/sdks/flutter/selfie).
  - [Results](/docs/sdks/results#the-selfie-checkup) lists its biomarkers, and
    [Data and privacy](/docs/sdks/privacy#what-the-sdks-send) what it sends and how the photo is
    deleted: YOU(th) asks for that once its results are ready, and retries hourly until it succeeds.
- **Web SDK 0.8.0: YOU(th)'s scores with each result.** Nothing changes for a page that keeps
  0.7.0: the checkup asks for scores only when your page does. See
  [YOU(th)'s scores](/docs/sdks/web#youths-scores).
  - Pass `onScores` to `startCheckup`, and `onScoresError` to hear why a result came without them:
    `PROFILE_INCOMPLETE` when `user` gives no age from 18 to 120 or no `female` or `male` gender,
    `SCORES_UNAVAILABLE` when they could not be made. `onResult` comes first, as before.
  - A page with its own code sends `scores: true` in `init`, and finds `scores` or `scoresError`
    on each `result`: [the reference](/docs/sdks/web/reference#scores).
  - Where your organization gets scores, a result whose page asked for them waits up to 8 seconds
    for them. [Data and privacy](/docs/sdks/privacy#where-the-web-sdk-differs) says what is sent:
    the person's age and sex and the result's values, which YOU(th) does not keep.
  - The checkup says `0.8.0` in its `ready` message. Copy the 0.8.0 script tag from
    [Start a checkup](/docs/sdks/web#start-a-checkup), or install 0.8.0 from npm.

## November 2026

- **Flutter SDK 0.6.0 is released, tagged `v0.6.0`. It needs Flutter 3.47.5 or later, and removes
  nothing an app on 0.5.0 uses:** move `ref` to `v0.6.0` in every package you use, update Flutter
  if yours is older, and check the two new biomarkers below. Each biomarker now also carries its
  code in YOU(th)'s catalog, face video model 1 returns two more biomarkers, and the checkups can
  hand your app YOU(th)'s scores. No value changes, so the models' versions stay `2026.11`.
  - **Breaking: Flutter 3.47.5 or later.** An older Flutter no longer resolves the SDK. With it,
    the face selfie package builds with Xcode 27 as it is: its face detection (OpenCV) now targets
    iOS 15, which Xcode 27 requires. If you patched `dartcv4` in your pubspec to build with
    Xcode 27, you can remove the patch.
  - **Font weights from the console are used as set**, such as 640, instead of the nearest
    hundred.
  - **`code`.** Every `YouthDataPoint` has a `code`: the biomarker's code in YOU(th)'s catalog,
    the one the kiosk and the Web SDK send. `type` keeps the values it had until 1.0, and is
    deprecated. The two differ for 14 biomarkers. For face video: `hrv_rri` is `hrv_mean_rri`,
    `diabetes_risk` is `high_hba1c_risk`, `prq` is `pulse_respiration_quotient`,
    `baevsky_stress_index` is `stress_index`, `wellness_index` is `cardiorespiratory_wellness` and
    `wellness_level` is `cardiorespiratory_wellness_level`. For the mental voice checkup, the
    features lose `mental`: `voice_smoothness`, `voice_control`, `voice_liveliness`,
    `voice_energy_range`, `voice_clarity`, `voice_crispness`, `speech_rate` and `pause_duration`.
    Blood pressure still comes as `blood_pressure_systolic` and `blood_pressure_diastolic`.
  - **New names in `YouthBioType`.** Those 14 take the catalog's names, such as
    `YouthBioType.highHba1cRisk`. The old names, such as `YouthBioType.diabetesRisk`, still work,
    as the same values, and are deprecated. A `biomarkerScope` takes either.
  - **Two new face video biomarkers**, from model 1. `hemoglobin_index` is the hemoglobin's band
    for the person's sex: `very_low`, `low`, `normal` or `high`. It comes only when `gender` is
    `female` or `male`. `hba1c_estimate` is the HbA1c estimate, the same value as `hba1c`: in
    YOU(th)'s catalog, `hba1c` is a lab's value. `hemoglobin` and `hba1c` still come as before,
    until 1.0. Two things to check:
    - Code that lists every `YouthBioType` value in a `switch` must add `hemoglobinIndex` and
      `hba1cEstimate`: Dart refuses a `switch` that misses one.
    - A backend that takes only the biomarkers it knows must take these two, or skip them.
  - **YOU(th)'s scores, if your app wants them.** `YouthVideoFrame`, `YouthVoiceFrame`,
    `YouthFaceSelfieFrame` and the four controllers take `onFinalScores` and `onScoresError`. See
    [YOU(th)'s scores](/docs/sdks/flutter#youths-scores).
    - Your organization gets scores always with the YOU(th) app; otherwise ask your YOU(th) contact.
      Without them, or without `onFinalScores` in your app, nothing is asked and nothing changes.
    - `onFinalResults` always comes first, as before. Then `onFinalScores` gets the scores, or
      `onScoresError` says why there are none: `profileIncomplete`, when the person has no `age`
      from 18 to 120 or no `gender` of `female` or `male`, and nothing was asked; or
      `scoresUnavailable`.
    - They can come after the screen closed: check `mounted` before a `setState`.
    - The selfie's frame and controller take the person, `user`, for the scores alone.
  - **A screen rebuilt for another person.**
    - `YouthVideoFrame` given a new `userInfo` starts over for that person: a measurement under way
      for the person before ends without results. 0.5.0 kept measuring with the first profile.
    - `YouthFaceSelfieFrame` given a new `user` drops a photo not yet sent.
    - A checkup's results and scores go to the callbacks the screen had when the checkup started.
    - A new `key` for a new person works as before.
  - `selectedProvider` on `YouthVideoFrame` and `provider` on `YouthVideoController` stay in this
    release, deprecated: use `model`.
  - **Moving to the new names**, which you can do at any time before 1.0 removes the old:
    - Read `code` where you read `type`.
    - Replace the deprecated `YouthBioType` names: your analyzer lists them.
    - Show `hemoglobin_index` rather than `hemoglobin`, whose g/dL the camera estimates too roughly
      to show, and read `hba1c_estimate` rather than `hba1c`.
    - At 1.0, `type`, the old names, `hemoglobin` and the estimate's `hba1c` go.
- **One code per biomarker.** The [biomarker list](/docs/data/biomarkers) names each biomarker by
  one code, YOU(th)'s catalog's, for every channel: the API's webhooks (in preview), the kiosk and
  the SDKs, such as `cardiorespiratory_wellness` and the body skin codes, prefixed `body_skin_`.
  Two channels keep older names for now, which the list names beside each code: the Health Hub's
  current webhook, until its partners move to the API's, and the Flutter SDK, as its `type`, until
  its 1.0.
- **Breaking: Web SDK 0.7.0's biomarkers take the codes of YOU(th)'s catalog.** The checkup, which
  says `0.7.0` in its `ready` message, names each biomarker by its code in YOU(th)'s catalog, the
  code the kiosk sends too, and gives each value the catalog's shape. Match on the new codes before
  you use the checkup. The Flutter SDK's `type` keeps its names until its 1.0; from 0.6.0 its
  `code` gives these codes. See [Results](/docs/sdks/results) and the
  [biomarker list](/docs/data/biomarkers).
  - Fourteen codes change. `hrv_rri` is `hrv_mean_rri`, `wellness_index` is
    `cardiorespiratory_wellness`, `wellness_level` is `cardiorespiratory_wellness_level`,
    `diabetes_risk` is `high_hba1c_risk`, `prq` is `pulse_respiration_quotient` and
    `baevsky_stress_index` is `stress_index`. The mental voice checkup's features lose `mental`:
    `voice_smoothness`, `voice_control`, `voice_liveliness`, `voice_energy_range`,
    `voice_clarity`, `voice_crispness`, `speech_rate` and `pause_duration`.
  - Blood pressure is one biomarker, `blood_pressure`, in place of `blood_pressure_systolic` and
    `blood_pressure_diastolic`. Its `value` holds both numbers in mmHg,
    `{ "systolic": 118, "diastolic": 76 }`, and it comes only when both were measured.
  - A level is its word, such as `low` or `mild`, not its number. A level the measurement could
    not tell, `0` before, leaves its biomarker out. See
    [Status levels](/docs/sdks/results#status-levels).
  - Four units are corrected: `pulse_pressure` and `mean_arterial_pressure` are `mmHg`, and
    `normalized_stress_index` and `respiratory_symptoms_score` are `num`. The Flutter SDK keeps
    its units.
  - So the models' versions move: `face_video_1`, `face_video_2` and `voice_1` are `2026.11.1`.
    The voice checkup's version comes from YOU(th)'s service, so the Flutter SDK's voice results
    carry it too, with nothing else changed for them.
  - The hemoglobin estimate is `hemoglobin_index`, its band for the person's sex (`very_low`,
    `low`, `normal` or `high`), as the kiosk sends it: the camera's estimate is too rough for g/dL.
    It needs `gender` in `init.user`, `female` or `male`, and is left out without one. The Flutter
    SDK sends it from 0.6.0, and keeps `hemoglobin` until 1.0.
  - The HbA1c estimate is `hba1c_estimate`; `hba1c` is a lab's value.
  - A vital sign YOU(th)'s catalog has no code for is left out, where 0.6.0 sent it as `unknown`.
    Every biomarker the checkup returns is in the [biomarker list](/docs/data/biomarkers).
  - The helper and its script tag are 0.7.0 too. Its `Biomarker` type's `value` is
    `number | string | BloodPressure`, and it hands these values over, where 0.6.0 drops a result
    that holds one. Copy the tag from [Start a checkup](/docs/sdks/web#start-a-checkup).
  - The [messages](/docs/sdks/web/reference#messages) are version 2: their types and fields are
    version 1's, and `v` is `2`. A page on the 0.6.0 script now ends at once with
    `UNSUPPORTED_VERSION`, rather than receive results it would drop; load the 0.7.0 script. A
    page with its own code sends `v: 2` and reads the new codes and values.
- The kiosk sends its face scan's HbA1c estimate as `hba1c_estimate`; `hba1c` is a lab's value.
  Its checkups from before keep the estimate as `hba1c`.
- **Flutter SDK 0.5.0 is released, tagged `v0.5.0`.** It is the release candidates' SDK, with
  three changes since `v0.5.0-rc.2`. On a release candidate, move `ref` to `v0.5.0` in every package
  you use; the API is unchanged but for body composition's, below. Coming from 0.4.0, the entry for
  the release candidates below says what changes for your app, and
  [Add it to your app](/docs/sdks/flutter#add-it-to-your-app) how to install the packages.
  - The body composition checkup runs again, on YOU(th)'s service. After the video,
    `onFinalResults` of `YouthBodyCompositionController` receives six biomarkers, or those your
    `biomarkerScope` keeps, from the model `body_composition_1`, one to two minutes later, the
    same as the Web SDK's. See
    [Run a body composition checkup](/docs/sdks/flutter#run-a-body-composition-checkup) and
    [Results](/docs/sdks/results#the-body-composition-checkup).
    - It needs the person's `age`, `gender` (`female` or `male`), `height` and `weight`. A profile
      that lacks one or holds a value outside its range ends the checkup at once with a new code,
      `userDataRequired`, before the camera opens; 0.4.0 measured with made-up values instead.
    - It waits for its results in a new state, `waitForResults`, and can end with two new codes,
      `analysisFailed` and `resultsUnavailable`. See
      [the reference](/docs/sdks/flutter/reference#the-body-composition-checkup).
    - It has a [monthly limit](/docs/sdks#monthly-limits) of its own, counted once the video is
      uploaded. Ask your YOU(th) contact to set it: until then your key does not offer the
      checkup.
    - [Data and privacy](/docs/sdks/privacy#what-the-sdks-send) says what it sends: the person's
      sex, year of birth, height and weight, then the video, analysed under an id made for that
      checkup alone. YOU(th) keeps neither.
    - **Breaking:** coming from 0.4.0, `YouthBodyComposition` is gone, and with it the scan
      history, Future Me, deleting scans and users, and recording consent: YOU(th) keeps no body
      composition user. So are `YouthBodyCompositionScan`, `YouthBodyCompositionFutureMe`,
      `YouthFutureMePrediction`, `YouthBodyCompositionSubmitData`, and the controller's
      `onSubmitted`, `scanId` and `userId`. Take the results from `onFinalResults`, and keep your
      own record of the person's consent.
  - The voice checkups' recording animation takes the theme's `progressBarColor`, or your
    organization's theme from the console; with neither, it stays orange. See
    [The voice checkups](/docs/sdks/flutter/reference#the-voice-checkups).
  - The SDK's error reports tell the error service not to work out the device's IP address, or
    where the device is from it. See [Error reports](/docs/sdks/privacy#error-reports).
- **The Web SDK's body composition checkup shows the body in 3D, and Future Me.** Beside the
  results, the person turns their body's 3D model, or sees its picture where the browser can't
  draw 3D. Under them, Future Me shows the same body at a lower weight the person picks, down to a
  healthy body mass index: three per checkup, not counted. Both stay on the checkup's screen;
  `onResult` and the page's messages don't change. Its texts are new keys of
  [`messages`](/docs/sdks/web/reference#texts). See
  [Body composition](/docs/sdks/web#body-composition) and
  [Data and privacy](/docs/sdks/privacy#where-the-web-sdk-differs).
- **Web SDK 0.6.0 adds the body composition checkup.** Send `checkupType: "bodyComposition"` with
  the person's `age`, `gender` (`female` or `male`), `height` and `weight`: the person turns around
  once in front of the camera, and one to two minutes later `onResult` receives six biomarkers,
  `body_fat_percentage`, `body_vat_percentage`, `body_appendicular_lean_mass_percentage`,
  `body_skeletal_muscle_mass_percentage`, `body_mass_index` and `body_metabolic_age`, from the model
  `body_composition_1`. See [Body composition](/docs/sdks/web#body-composition) and
  [Results](/docs/sdks/results#the-body-composition-checkup).
  - A phone's camera gives the best results; on the web they are less accurate than in an app.
  - It needs Safari 18.4 or later, so iOS 18.4 on an iPhone or iPad: see
    [What your page needs](/docs/sdks/web#what-your-page-needs).
  - A profile the checkup cannot measure with ends it at once with a new code,
    `INVALID_USER_DATA`. Its other errors carry a `reason`, and the checkup shows them and offers to
    try again when a new try can help: see [Errors](/docs/sdks/web/reference#errors). Its texts are
    new keys of `messages`.
  - It has a [monthly limit](/docs/sdks#monthly-limits) of its own, counted once the video is sent.
    Ask your YOU(th) contact to set it: until then your key does not offer the checkup.
  - The helper and its script tag are 0.6.0, with the same code and the same `integrity` as 0.5.1:
    copy the tag from [Start a checkup](/docs/sdks/web#start-a-checkup). Nothing else changes for
    the other checkups.
- [Data and privacy](/docs/sdks/privacy#where-the-web-sdk-differs) says what the body composition
  checkup sends: the person's sex, year of birth, height and weight, then the video, analysed under
  an id made for that checkup alone.
- [Data and privacy](/docs/sdks/privacy#what-the-sdks-send) lists every connection the SDKs make
  and, for each, what it sends and what it never sends: the session, a face video's scan and its
  status, the voice and selfie checkups, and the error reports, with where the Web SDK differs.
- The Web SDK's helper 0.5.1 runs the same code as 0.5.0. Its npm README says how to start and
  stop the checkup in a React effect, and its script tag has a new address with the same
  `integrity`: copy it from [Start a checkup](/docs/sdks/web#start-a-checkup). The 0.5.0 tag
  keeps working.
- The Web SDK's helper is on npm as `@youth-healthtech/web-sdk` 0.5.0, under the MIT licence,
  with the same code as the script tag of that version. See
  [Start a checkup](/docs/sdks/web#start-a-checkup).
- The SDK pages correct a few facts:
  - In the Web SDK, a face video measurement that needs longer than its minute gets up to two
    minutes more before `MEASUREMENT_TIMEOUT`, not 30 seconds. See
    [The messages](/docs/sdks/web/reference#messages).
  - In the Web SDK, a voice checkup on a device with no microphone, or with one another app holds,
    ends with `MEASUREMENT_FAILED` and the `reason` `failed`. `MICROPHONE_UNAVAILABLE` means only
    that the microphone was not allowed. `PROVIDER_INIT_FAILED` can also come when the person
    presses the button, and `FACE_NOT_DETECTED` comes from face video model 1 only. See
    [Errors](/docs/sdks/web/reference#errors).
  - Each face video model has a [monthly limit](/docs/sdks#monthly-limits) of its own.
  - Face video model 1's library checks its licence online when a scan opens, as model 2's does.
    In the Web SDK, on a network that blocks its licence servers, that check goes through YOU(th).
    See [Data and privacy](/docs/sdks/privacy).
- A Web SDK page on an origin your organization does not list gets `ORIGIN_NOT_ALLOWED`, where it
  got `INVALID_API_KEY`. `INVALID_API_KEY` now means only a key that is unknown or revoked, or a
  session YOU(th) refused or ended. The checkup itself sends it, so it applies whichever version of
  the script your page loads. See [Errors](/docs/sdks/web/reference#errors).
- The Web SDK is no longer a preview. Its checkup runs at its production address,
  `https://sdk.youth-platform.io`: change the address in the script tag and wherever your page
  calls `startCheckup` or `nextCheckup`. The script is the same file, with the same `integrity`.
  See [Start a checkup](/docs/sdks/web#start-a-checkup).
  - You build and test with your test key, `pk_test_…`, and go live by swapping it for your live
    key, `pk_live_…`, on the same address. Your organization's admins issue both in the YOU(th)
    console, under SDK, Keys, and list your pages' origins under SDK, Access. Test checkups are
    never billed, and count against limits of their own. Keys for the preview address do not work
    at the production address. See [Keys](/docs/sdks#what-you-need).
  - A new section, [Test your integration](/docs/sdks/web#test-your-integration), lists what to
    try with your test key before you go live.
  - A new section,
    [Moving from the earlier Web SDK](/docs/sdks/web#moving-from-the-earlier-web-sdk), says what
    changes for a page built on it: the address, the keys, no `environment`, `model` in place of
    `selectedProvider`, the new refusals and more time for a slow measurement. The messages keep
    their version, `v: 1`.
  - The [iOS](/docs/sdks/ios) and [Android](/docs/sdks/android) pages use the production address
    too. Those setups stay previews.
- The Web SDK pages describe Web SDK 0.5.0. See the [Web SDK](/docs/sdks/web).
  - Every biomarker of a result names the model that measured it and that model's version, in
    two new fields, `model` and `modelVersion`, as in the Flutter SDK. Nothing else in a result
    changes. See [What a biomarker holds](/docs/sdks/results#what-a-biomarker-holds).
  - `model` names the face video model, with the Flutter SDK's values: `faceVideo1`,
    `faceVideo2` and `auto`. **A checkup that names no model now runs model 1**, or model 2 when
    your key offers only that; until now the person's profile chose. Send `model: "auto"` to keep
    the profile's choice. `selectedProvider` keeps working. See
    [Choose the face video model](/docs/sdks/web#choose-the-face-video-model).
  - `mediaShare` gives the picture a share of the iframe, and the panel's texts and button are
    drawn larger to fill the rest: for a kiosk, where the picture took nearly the whole screen and
    the instructions were small at its bottom edge. A checkup that does not send it looks as it
    did. See [On a kiosk](/docs/sdks/web#on-a-kiosk).
  - The script has a new address and a new `integrity`: copy the tag from
    [Start a checkup](/docs/sdks/web#start-a-checkup).
- [`AccessCode.redeemed`](/docs/webhooks#accesscoderedeemed) and
  [`Access.ended`](/docs/webhooks#accessended) are sent to the endpoints that take them: a
  redemption within seconds, rarely up to a day later, and the end of an access once the app has
  ended it.
- [Manage your endpoints](/docs/webhooks/endpoints) is no longer a preview: create, read and
  disable your webhook endpoints with the scope `webhooks:write`. An endpoint takes
  [`AccessCode.redeemed`](/docs/webhooks#accesscoderedeemed) and
  [`Access.ended`](/docs/webhooks#accessended), and the API reference lists both events.
- The API's credentials and authentication, access codes with their two events, webhook
  deliveries and the FHIR format are no longer previews: they describe what partners build
  against. Where an entry below says otherwise, this one replaces it. Three parts stay previews,
  and say so: [Manage your endpoints](/docs/webhooks/endpoints), the `Checkup.completed` and
  `Patient.registered` events, and [the read API](/docs/webhooks/catch-up) for checkups and
  members.
  - **Authentication is by key, and there is no client secret.** An integration proves itself
    with `private_key_jwt`: it signs a short JWT with its private key for each token request, and
    YOU(th) stores only the public key. Replace any `client_secret` in your code with a signed
    `client_assertion`. See [Authentication](/docs/authentication).
  - **Every token request sends `scope`.** A token asked for without one is refused by the API
    with `401` and `invalid_token`.
  - A new page, [Get API credentials](/docs/credentials): an organization's administrators create
    an integration in the console, with a key pair the console generates or a public key they
    upload, download its credentials file once, and replace a key within the same integration. A
    key is no longer changed by creating a second integration.
  - There are five scopes: `access_codes:read`, `access_codes:write`, `webhooks:write`,
    `checkups:read` and `patients:read`. Only one of your organization's Doctors gives the two
    that read health data, which cover the members who consented to share with your organization.
  - Lists page with `after` and `next`, in place of `cursor` and `next_cursor`. The codes' CSV is
    one file of every matching code, not paged. See
    [Read the codes](/docs/access-codes/order#read-the-codes).
  - `POST /v1/access-code-batches` requires an `Idempotency-Key`: without one it answers `400`
    and `idempotency_key_required`. A `503` can carry `Retry-After`, as a `429` can. See
    [Errors and rate limits](/docs/errors).
  - Ordering access codes has a daily limit: your organization's batches ordered in one day, from
    00:00 UTC, hold at most 1,000 codes together, unless your YOU(th) contact had it raised. An order
    past it answers `422` and `count_over_limit`, and makes nothing. See
    [The daily limit](/docs/access-codes/order#the-daily-limit).
  - A new page, [Manage your endpoints](/docs/webhooks/endpoints): your backend creates, reads and
    disables its webhook endpoints with the API, and an endpoint's address is HTTPS on port 443.
    The `Ping.check` test delivery is no longer described.
- The kiosk sends its face scan's hemoglobin estimate as `hemoglobin_index`, a category, as the
  Health Hub does. Its checkups from before keep their `hemoglobin` in g/dL.
- The Flutter SDK pages describe the SDK at 0.5.0, a release candidate tagged `v0.5.0-rc.2`. It
  needs Flutter 3.38.1 and Dart 3.10 or later, Android `minSdk` 28 and iOS 15.6. See the
  [Flutter SDK](/docs/sdks/flutter).
  - Already on `v0.5.0-rc.1`? Move `ref` to `v0.5.0-rc.2`; the API is unchanged. What changed:
    the face video error messages are rewritten for the person (see
    [Errors](/docs/sdks/flutter/reference#errors)), errors `7007`, `7008` and `7012` say the value
    can be corrected or left empty, and the pages list the Android permissions each package adds.
  - The SDK comes as one package per checkup: `youth_sdk_face_video` (both face video models, or
    `youth_sdk_face_video_1` or `youth_sdk_face_video_2` for one), `youth_sdk_voice`,
    `youth_sdk_face_selfie` and `youth_sdk_body_composition`. Replace `youth_sdk` in your
    `pubspec.yaml` with the packages of the checkups you run, each at `ref: v0.5.0-rc.2` with its
    own `path`, and import each package's library instead of `youth_sdk_exports.dart`. Your app
    then carries nothing of the checkups it does not run. See
    [Add it to your app](/docs/sdks/flutter#add-it-to-your-app).
  - A new page, [Data and privacy](/docs/sdks/privacy): what a checkup sends off the device in
    both SDKs, and what the checkups' own libraries send, face video model 2's crash reports and
    diagnostics among them. Each Flutter package has its own iOS privacy manifest.
  - Face video model 2 runs, with `youth_sdk_face_video` or `youth_sdk_face_video_2`. A model your
    key does not offer, or whose package your app does not carry, ends with error `2032` before the
    camera starts. See [the face video model](/docs/sdks/flutter#choose-the-face-video-model).
  - Android builds need no GitHub account or token any more: the packages carry every library
    they use.
  - With the face selfie package and Xcode 27, Flutter 3.47.5 or later: the selfie's face
    detection uses OpenCV, and an older Flutter resolves a build of it that Xcode 27 refuses.
    From April 2027, App Store Connect takes only builds made with Xcode 27. See
    [What your app needs](/docs/sdks/flutter#what-your-app-needs).
  - An iOS app declares `NSBluetoothAlwaysUsageDescription` in its `Info.plist`: without it, App
    Store Connect flags the upload (ITMS-90683). The SDK's own code does not use Bluetooth. See
    [iOS](/docs/sdks/flutter#ios).
  - There is one kind of key for both SDKs: a test key, `pk_test_…`, and a live key, `pk_live_…`.
    The key decides whether a checkup is a test, so `env` in `init` is deprecated and ignored:
    leave it out. See [What you need](/docs/sdks#what-you-need).
  - Each measurement is counted when it begins, against your organization's
    [monthly limits](/docs/sdks#monthly-limits). A refused measurement ends through `onError`:
    `2003` at the limit, `2010` for a revoked key, and `2032` for a checkup the key cannot use,
    such as one with no limit set. A voice checkup that is refused ends with `checkupCreateFailed`.
  - Error `1` (no face for seven seconds) ends a measurement only before it begins, and a
    measurement that does not start or finish in time ends with `1501`. The `process` state
    begins when the measurement does, not at the tap.
  - The checkups take [your organization's settings](/docs/sdks#your-organizations-settings) from
    the YOU(th) console: its theme, texts and language fill what your code leaves out.
    `progressBarColor` in `YouthVideoFrameTheme`, ignored before, now colours the record button's
    progress ring.
  - The SDK reports its own errors to YOU(th), never the person, a result or your key.
    `init(diagnostics: false)` turns the reports off: see
    [What leaves the device](/docs/sdks#what-leaves-the-device).
  - **Breaking:** `showBrand` is gone from `YouthFaceSelfieDetectionFrame`. "Powered by YOU(th)"
    shows unless YOU(th) hides it for your organization.
  - Choose the face video model with `model` on `YouthVideoFrame` and `YouthVideoController`:
    `faceVideo1`, `faceVideo2`, or `auto`, the one the person's profile suits among those your key
    offers. With none named, model 1 runs, or model 2 when your key offers only that.
    `selectedProvider`, the controller's `provider` and `FaceVideoScanProvider` still work, as the
    model they name, and are removed in 0.6.0. See
    [Choose the face video model](/docs/sdks/flutter#choose-the-face-video-model).
  - Face video model 2 gets nothing about the person, so it returns no health-risk indicators. It
    keeps nothing on the device and records no video.
  - The body composition checkup of 0.4.0 is not available in the release candidates: it ends
    with `checkupCreateFailed` before the camera starts. 0.5.0 runs it again, with a new API: see
    the entry for `v0.5.0` above.
  - The selfie checkup has [its own page](/docs/sdks/flutter/selfie), and is not switched on yet.
  - Every result names the model that produced it and that model's version, in
    `YouthDataPoint.model` and `modelVersion`. A face video model's version is fixed by the SDK
    release; voice and selfie results carry `unknown` until the service names it. See
    [results](/docs/sdks/flutter/reference#results).
  - Face video model 1 gives a `confidence`, `low`, `medium` or `high`, for five measurements:
    `heart_rate`, `breathing_rate`, `hrv_sdnn`, `hrv_rri` and `prq`. Other values carry none.
  - Face video model 1 no longer delivers the raw beat-to-beat intervals, which arrived with the
    type `unknown`. Their mean stays, as `hrv_rri`.
  - `initWithSessionProvider` starts the SDK with sessions your backend opens, so your key never
    ships in your app. YOU(th) recommends it for apps in production; `init` with a key stays for
    test keys and prototypes. See
    [Keep your key on your backend](/docs/sdks/flutter#keep-your-key-on-your-backend).
  - Your organization can switch off the face guide the SDK draws over the camera, and
    `YouthVideoController.face` says where the face is and whether it is placed well, so your app
    can draw its own. See [Draw your own face guide](/docs/sdks/flutter#draw-your-own-face-guide).
  - `YouthSdk().sdkVersion` gives the SDK's version.
  - A new `init` keeps the current session until the new one is open: only a rejected key ends
    it. A controller made before `init` works, in English until `init` sets the language.
  - Errors `7007`, `7008` and `7012` (a weight, age or height the face video model does not take)
    say the range it takes, and that the value can be corrected or left empty.
  - Stopping a voice checkup stops what it was sending. A microphone that does not start or stop
    within ten seconds fails the recording, and a checkup still waiting for its results two
    minutes after sending them ends with `resultsUnavailable`, so the screen never stays loading.
  - Error texts are written for the person, in their language, and the SDK writes nothing to the
    device log. The face video error messages carry no licence, sales or setup jargon: a checkup
    your app can't run says it isn't available and points to your app's support. See
    [Errors](/docs/sdks/flutter/reference#errors).
    Hints and errors meet WCAG AA contrast.
  - Face video model 1 no longer brings a product analytics library into Android builds.
  - A new section, [Android permissions](/docs/sdks/flutter#android-permissions), lists the
    permissions each package adds to your app. Declare `INTERNET` in your app's manifest yourself:
    a new Flutter app declares it only in debug and profile builds, so a release build without it
    cannot reach YOU(th). Model 1's `READ_PHONE_STATE` can be removed with `tools:node="remove"`.
  - What your `pubspec.yaml` resolves changes: the SDK adds `sentry` (from 9.0.0, before 11.0.0),
    takes `uuid` 3 or 4, and `record` 6.2.1, or 7 on Flutter 3.44 and later. Face video model 2's
    engine is pinned to one version: an app that depends on it too takes the same one.
- The SDK pages are shorter, and most are no longer previews: the
  [overview](/docs/sdks), [Results](/docs/sdks/results),
  [App Store and Google Play](/docs/sdks/app-stores), the Flutter SDK's pages and the
  [Web SDK reference](/docs/sdks/web/reference). The [Web SDK](/docs/sdks/web) stays a preview until
  its production address opens, and so do the selfie checkup and the [iOS](/docs/sdks/ios) and
  [Android](/docs/sdks/android) setups.
  - The [SDK quickstart](/docs/sdks/quickstart) is shorter: the steps from a key to a first
    result, and links for the rest.
  - The overview holds what both SDKs share: keys, monthly limits, your organization's settings,
    what leaves the device, and the wellness statement.
  - [Results](/docs/sdks/results#the-biomarkers) lists every biomarker the SDKs return.
    `parasympathetic_activity` and `stress_index_scaled` come from the Web SDK only.
- The [iOS](/docs/sdks/ios) and [Android](/docs/sdks/android) pages describe new setups, which
  replace a page of your own in a web view or a Custom Tab. An iOS app loads the checkup's page in a
  `WKWebView` and exchanges messages with it. An Android app opens it in a Custom Tab and receives
  one encrypted message when the person returns. YOU(th) switches each on for your organization,
  and has not verified them on devices yet.
- The API and its tokens have their hosts: `api.youth-platform.io` and
  `https://auth.youth-platform.io/realms/youth/protocol/openid-connect/token`, in place of the `example.com` placeholders. The signed
  example on [Verify a delivery](/docs/webhooks/verify#try-it) has a new signature, since its body
  names the host.
- Access codes are described, as a preview: [order a batch](/docs/access-codes/order), hand a code
  to each customer, and [end an access](/docs/access-codes/end-access) with one call. Two events
  come with them, `AccessCode.redeemed` and `Access.ended`; they name a code and never a person.
  See [Sell access with codes](/docs/access-codes).
- A [sandbox](/docs/sandbox) is described: a second organization of yours, on the same hosts, for
  your own testers.
- Your administrators create integrations themselves in the console, and an integration has
  [scopes](/docs/credentials#scopes).
- A refusal's body is a Problem document with a stable `code`, and a `POST` that creates something
  takes an `Idempotency-Key`: see [Errors and rate limits](/docs/errors).
- An endpoint that keeps answering `404` or `410` is paused: see
  [When an address is gone](/docs/webhooks/retries#when-an-address-is-gone).
- [Use the docs with AI](/docs/ai#prompts-to-start-from) has prompts for selling access with
  codes, for reconciling, for a sandbox test and for a review of your integration.
- The Web SDK pages start the checkup with your key alone. Your organization's settings saved in
  YOU(th)'s console give it the rest, and each change saved there reaches your pages; a field you
  set in `init` wins over them. See [Make it yours](/docs/sdks/web#make-it-yours).
- The new Web SDK takes no `environment`, and ignores it if sent. Its keys are `pk_test_…` (test:
  never billed, with its own limits) and `pk_live_…` (live: billed on production). Today the page
  serves test keys; when the production address opens, you get a new pair of keys and its address,
  and going live is swapping `pk_test_` for `pk_live_`. The Web SDK pages now cover the new SDK
  only. Partners on the address their YOU(th) contact gave them before keep their current setup
  until we move them.
- The Flutter SDK pages describe `youth_sdk` 0.3.2. To upgrade, change `ref` to `v0.3.2`; it needs
  Flutter 3.38.1 and Dart 3.10 or later.
  - 0.3.1 adds the selfie checkup: `YouthFaceSelfieFrame`, or `YouthFaceSelfieDetectionFrame` with
    `YouthFaceSelfieController` for your own screen. The person takes one photo of their face,
    which is sent for analysis, and it returns up to ten `face_skin_*` biomarkers: see
    the [selfie checkup](/docs/sdks/flutter/selfie). It uses the camera your app already asks for.
  - `YouthVideoFrameTheme` gains `primaryBtnColor`, `secondaryBtnColor`, `primaryBtnTextStyle`,
    `secondaryBtnTextStyle` and `selfieWarningTextStyle`, for the selfie's screen. They are
    optional, so nothing changes for the other checkups.
  - The biomarker list names the Flutter SDK among the channels that send the ten `face_skin_*`
    biomarkers.
- The [Flutter SDK reference](/docs/sdks/flutter/reference#errors) corrects what `1501`, `7005` and
  `7009` mean, and adds `0` and `2016`. A failed measurement can also end with an empty list and no
  error. Android merges more permissions into your app than the
  [Flutter SDK](/docs/sdks/flutter#android) page said.
- The Web SDK pages start with YOU(th)'s script tag, `web-sdk` 0.4.0, pinned to its integrity: it
  defines `YouthSDK.startCheckup` and `YouthSDK.nextCheckup`. The function to copy stays, for pages
  that speak the messages themselves.
- The Web SDK pages describe Web SDK 0.4.0, at its preview address, for test keys.
  Once your organization has a list of origins, the checkup refuses any other origin with
  `INVALID_API_KEY`, so tell your YOU(th) contact your pages' origins. It adds:
  - The voice checkups: `checkupType: "voice"` and `voiceType`. The iframe must also allow the
    microphone: see [The voice checkups](/docs/sdks/web#the-voice-checkups).
  - `diagnostics: false` turns the checkup's error reports off.
  - It needs Safari 18 or later, so iOS 18 or later on an iPhone or iPad, or Chrome or Edge 113
    or later: see [What your page needs](/docs/sdks/web#what-your-page-needs). The
    [iOS](/docs/sdks/ios) page asked for iOS 15.2 before.
  - `ready` carries the checkup's `version`, and `error` a `message` for your logs.
  - A face video measurement that needs longer than its minute says so with the progress state
    `extraTime`, for up to 30 seconds, before `MEASUREMENT_TIMEOUT`; its text is the new key
    `basicVideoExtraTime`. If your page switches over the states, handle it.
  - Each checkup has a [monthly limit](/docs/sdks#monthly-limits); past it, the checkup sends
    `SERVICE_UNAVAILABLE`.
- A new page, [Flutter SDK examples](/docs/sdks/flutter/examples), shows what an app receives from
  made-up checkups, including a partial result and errors.
- [Results](/docs/sdks/results#status-levels) names the levels a `status` biomarker takes. The Web
  SDK sends them too, as the level's number, with `0` for unknown: if your page dropped status
  biomarkers or showed the number, read it as a level. Results also gives the bands YOU(th) puts
  values in.
- The [Flutter SDK reference](/docs/sdks/flutter/reference#errors) groups the face video error
  codes by what to do, and gives the ages, weights and heights the measurement accepts.
- A new page, [App Store and Google Play](/docs/sdks/app-stores), says what to prepare for store
  review.
- The SDK pages no longer say the results are not to discuss with a doctor. Remind the person to
  consult a healthcare professional instead, as both stores ask. If your app shows the old words,
  change them: see [Say what your app is](/docs/sdks/app-stores#say-what-your-app-is).

## October 2026

- The Flutter SDK pages describe `youth_sdk` 0.2.6. To upgrade, change `ref` to `v0.2.6`.
  - 0.2.4 adds the mental voice checkup: `YouthVoiceFrame(type: VoiceScanType.mental)`, or
    `YouthVoiceController.mental` for your own screen. The person speaks for 30 seconds, and the
    checkup returns eight biomarkers, in the new units `octaves`, `dB`, `kHz²`, `words/min` and
    `sec`: if your app switches on `YouthBioUnitType` or `YouthBioType`, give it a default. See
    [Results](/docs/sdks/results#the-voice-checkups).
  - 0.2.5 adds `biomarkerScope` to `YouthSdk().init`: a `YouthBiomarkerScope` of `YouthBioType`s
    that every checkup's final results are limited to. See
    [the reference](/docs/sdks/flutter/reference#start).
  - 0.2.6 renames two of the mental checkup's biomarkers, to `voice_speech_mental_rate` and
    `voice_pause_mental_duration`.
- A webhook carries ids only: the setting for a delivery that carries the resource, and its
  `resource` field, are gone. Read the checkup's bundle or the member's `Patient` from
  `resource_url`. See [What a delivery carries](/docs/webhooks#what-a-delivery-carries).
- `occurred_at` is when YOU(th) recorded the event, at once or a moment after what it reports: for
  `Checkup.completed`, the checkup's completion, which `completed_from` filters on and the
  `DiagnosticReport`'s `issued` holds; its `effectiveDateTime` is now when the member took the
  checkup, not when it was completed. Catch up from a little before the newest `occurred_at` you have. See
  [List what you missed](/docs/webhooks/catch-up#list-what-you-missed).
- A webhook's `resource_url` names the read-API version your integration is set to, today `/v1`;
  you can also build it from the event's ids. While a new event type is sent beside the old one,
  handle each fact once, by its `checkup_id` or `patient_id` and what happened. See
  [Versions](/docs/versions).
- YOU(th)'s code and identifier systems have their final names, under
  `https://api.youth-platform.io/fhir/codes/` and `https://api.youth-platform.io/fhir/identifiers/`,
  in place of the `example.com` placeholders. Every checkup bundle carries the `Patient`. See
  [Code and identifier systems](/docs/data/fhir#code-and-identifier-systems).
- The webhook envelope has no `event_version`. An event type only gains optional fields; a change
  that could break your receiver comes as a new event type, sent beside the old one. See
  [Versions](/docs/versions).
- The FHIR reads sit under the resource they read: `GET /v1/checkups/{checkup_id}/fhir` for a
  checkup's bundle and `GET /v1/patients/{patient_id}/fhir` for a member's `Patient`, in place of
  `/v1/fhir/checkups/…` and `/v1/fhir/Patient/…`. A webhook's `resource_url` names the new routes.
  See [the read API](/docs/webhooks/catch-up#the-read-api).
- Webhook deliveries are signed as [Standard Webhooks](https://www.standardwebhooks.com/) describes,
  so its libraries verify them: the headers `webhook-id`, `webhook-timestamp` and
  `webhook-signature` replace the preview's `X-youth-*` headers, the signature is
  `v1,<base64>` over `<webhook-id>.<webhook-timestamp>.<body>`, signing secrets start with
  `whsec_`, and the body is sent as `application/json`. Two unsigned headers, `youth-event-type`
  and `youth-delivery-attempt`, name the event and count the attempts. The body itself does not
  change. See [Verify a delivery](/docs/webhooks/verify).
- The biomarker list names the channels that send each biomarker, and the code a channel uses
  where it differs: the kiosk sends 18 biomarkers under other codes for now, such as `hrv_mean_rri`
  for `hrv_rri`. It adds the biomarkers it left out: the Health Hub's `hemoglobin_index`, and
  those the kiosk and the SDKs send, such as `mean_arterial_pressure` and `pulse_pressure`.
  `blood_pressure_systolic` and `blood_pressure_diastolic`, which the SDKs send, are deprecated in
  favour of `blood_pressure`, one Observation with both sides.
- The Flutter SDK pages describe `youth_sdk` 0.2.3. To upgrade, change `ref` to `v0.2.3`.
  - 0.2.2 added the voice checkup, which returns `respiratory_symptoms_score`. It needs Flutter
    3.44 or later. It also adds the microphone permission to every app's Android manifest, even an
    app that never runs the voice checkup, and iOS apps need its `NSMicrophoneUsageDescription`:
    update your store privacy answers.
  - 0.2.3 delivers a `status` value as a `String`, such as `low`; 0.2.2 delivered a Dart enum. If
    your app read it with `toString()`, that still works; if it read the enum's `name`, read the
    value itself instead.
  - 0.2.3 names the blood pressure biomarkers as they should be shown, and exports
    `YouthVoiceController`, `YouthVoiceErrorData` and `YouthBioUnitType`.
- The webhook, the read API and FHIR, as these docs describe them, are published as a preview.
- The SDK pages describe the Web SDK 0.1.3 and the Flutter SDK 0.1.6: the face video checkup, its
  settings, errors and results. There is no native iOS or Android SDK yet: the iOS page and a new
  Android page describe an experimental setup with the Web SDK meanwhile.
- Six biomarkers have clearer names: `baevsky_stress_index` is the Stress index, `pns_index` the
  Rest response, `sns_index` the Alert response, `hrv_rmssd` the Instant heart rate variability,
  `hrv_sdnn` the Total heart rate variability and `hrv_rri` the Average heartbeats interval. Their
  codes and values do not change.
- The biomarker list takes the names and descriptions the YOU(th) app shows: for example,
  `face_skin_wrinkles_index` is the Lines index. Codes and values do not change.
