nightscout-connect 0.0.13 Release Notes Draft
Highlights
Dexcom Share
- Supports newer G7-era
AuthenticatePublisherAccountresponses that return{ accountId: "..." }. - Preserves older bare-UUID account ID behavior.
- Propagates authentication and network failures instead of treating errors as successful data.
- Adds tests for US/OUS/custom server selection, accountId wrappers, non-HTTP failures, and timestamp/trend mapping.
Nightscout source/output
- Fixes Nightscout source token exchange where session authorization used an undefined headers object.
- Falls back to creating/reusing
nightscout-connect-readerwhenverifyauthis blocked but an API secret is available. - Keeps public-readable source sites tokenless.
- Adds explicit destination Nightscout config errors for missing endpoint or API secret.
- Adds entries, treatments, devicestatus, and profile copy support for Nightscout-to-Nightscout sync.
- Adds
CONNECT_SOURCE_COLLECTIONSandCONNECT_SOURCE_MAX_COUNTfor collection selection and batch size. - Adds fake-server and fixture-backed tests for source token flows and output writes with hashed
API-SECRET.
LibreLinkUp
- Safely defaults omitted
CONNECT_LINK_UP_REGIONtoEU. - Adds support/documentation for
EU2andCAplus explicit server override. - Handles multi-patient mismatch explicitly when
CONNECT_LINK_UP_PATIENT_IDis configured. - Tolerates missing graph/current readings.
- Preserves timezone-qualified timestamps without double shifting.
Glooko
- Adds configurable/generated device identity for login.
- Adds optional
CONNECT_GLOOKO_AUTH_MODE=api|web|auto.apiremains the default.webuses the web sign-in form with CSRF token handling.autotries API login first and falls back to web login on 422.
- Adds optional
CONNECT_GLOOKO_WEB_ORIGINfor regional/custom hosts. - Adds optional
CONNECT_GLOOKO_USE_V3_GRAPH=trueto fetchcgmHigh,cgmNormal, andcgmLowwhen v2 CGM readings are empty. - Resolves patient code via
/api/v3/session/userswhen web-login sessions do not return the olderuserLogin.glookoCode. - Fails clearly for 2FA-required responses, which are not implemented yet.
- Adds mmol/L fallback conversion when v3 graph
valueis absent andyis display-unit data.
Dependencies
- Updates safe dependency ranges for
axios,qs,tough-cookie,yargs, andmoment. - Removes unused
axios-har-trackerdev dependency. Active capture uses locallib/trace-axios.js. - Leaves major upgrades for later (
xstate5,axios-cookiejar-support7,tough-cookie6,yargs18).
Contributor credit
This release preserves prior contributor work on dev, including:
- Christopher Singhaus: Dexcom Share auth/G7 compatibility work from PR #55.
- BillyJBryant: LibreLinkUp crash fix.
- Adrian Caramaliu / ady624: LibreLinkUp delay/interval/docs work.
- Lucien Immink: Glooko device information work.
- Heiner1: work merged via
Heiner1/connect-issue.
Follow-up integration commits add tests, hardening, feature flags, and documentation on top of those contributions.
Known caveats
- Glooko web-login and v3 graph paths are unofficial and feature-flagged. They are supported by public evidence and fake-server tests, but should remain opt-in until live/sanitized fixtures validate EU, US, mmol/L, mg/dL, Omnipod 5, and CamAPS accounts.
- Glooko 2FA/OTP is detected and reported, but not implemented.
- Glooko timezone handling still uses fixed offsets. Named-timezone/DST handling should be a follow-up.
What's Changed
- fix: Fixing Libre Linkup Crash by @billyjbryant in #34
- new dev area post 0.0.12 release by @bewest in #26
- Implement Link Up Interval by @ady624 in #37
- Update index.js by @Heiner1 in #28
- Make Glooko work for EU servers by @lucienimmink in #31
- Fix linkup reporting delay by @ady624 in #36
New Contributors
- @billyjbryant made their first contribution in #34
- @ady624 made their first contribution in #37
- @Heiner1 made their first contribution in #28
- @lucienimmink made their first contribution in #31
Full Changelog: v0.0.12...v0.0.13