What's Changed
New Features
- feat(reports): comparison figures as facts, and one dataset pattern for the report engine (#4787, #4788) by @ryceg in #4802
Other Changes
- feat(people): goals show as a met count in the Review lens and on their own bars in the person panel (#3641) by @ryceg in #4736
- fix(connectors): end a CareLink auto-basal at the next one only within its cycle by @ryceg in #4786
- feat(connectors): CareLink records a pump battery change when the battery level jumps by @ryceg in #4795
- fix(carelink): work out a pump's UTC offset to the nearest quarter hour (#4776) by @ryceg in #4798
- refactor(data): lost-commit checks a later writer can fool move to the transaction-id check (part of #4758) by @ryceg in #4799
- fix(web): the duration tests read the shared units, and the countdown reads its date without a mutable Date by @ryceg in #4801
- fix(v4): CareLink pump-mode spans follow the pump's real clock by @ryceg in #4803
- test(web): the GlucoseValueIndicator pulse test holds the animation instead of racing a 200 ms cap (#4771) by @ryceg in #4808
- refactor(auth): login code redeem and device code approve judge a lost commit by its transaction (#4758) by @ryceg in #4800
- refactor(connectors): connectors read their configuration through the store-failure view (#4369) by @ryceg in #4806
- refactor: AuditedSoftDelete* take the token last, one year check in the year overview, and the repeat-wait comment (#4783, #4791, #4758) by @ryceg in #4809
- ci: split the app's browser component suite across four shards, coverage on main only by @ryceg in #4804
- feat(demo): the clinic's people have goals (#4785) by @ryceg in #4797
- ci: count only the app's covered sources as not measured, and skip a bad shard report by @ryceg in #4810
- test: one gate for local test runs, on one shared Postgres by @ryceg in #4807
- fix(reports): count chart glucose points against the run's limit, and limit concurrent custom report runs (#4713, #4714) by @ryceg in #4816
- fix(connectors): a connector with nothing stored opens its settings with defaults (#4813) by @ryceg in #4817
- fix(test-gate): break slots by their owner file, judge death by heartbeat age by @ryceg in #4818
- ci: coverage finds each report family at any depth, so an app-only pull request is reported (#4821) by @ryceg in #4828
- fix(basal): pump suspensions reported only as pump state deliver no basal (#4796) by @ryceg in #4829
- fix(web): pending states on the public clock and the People goals column (#4767, #4780) by @ryceg in #4820
- translate goal actions, errors and remaining time by @josevicns in #4812
- translate connector setup and permission messages by @josevicns in #4826
- fix(oauth): discovery documents advertise endpoints on the site's own origin by @ryceg in #4841
- fix(connectors): the NocturneRemote live listener sends through the connector's own client by @ryceg in #4840
- fix(oauth): the OpenID discovery document advertises only what the server does by @ryceg in #4855
- test(api): faster demo clinic flagged test, one MongoDB for the migration fixtures by @ryceg in #4853
- fix(web): People kept rows stay with their tab, and roster forced clicks wait for the chart (#4811, #4763) by @ryceg in #4831
- fix(devices): the reservoir fallback leaves out suspended time through the statistics fallback; clear basal/IOB analyzer warnings (#4822, #4819) by @ryceg in #4832
- fix(connectors): CareLink places a sync without server time by the tenant's time zone, and logs the rounding residual (#4794) by @ryceg in #4837
- ci: split the .NET test jobs across runners and start slow classes first (critical path ~20 -> ~14 min) by @ryceg in #4854
- fix(api): v4 refusals carry their status, so the web app shows the reason (#4814, non-auth half) by @ryceg in #4833
- fix(web): remote functions bind client arguments by name and log only unexpected errors (#4427, #4815) by @ryceg in #4868
- fix(basal): an open pump suspension ends at the pump's first later delivery (#4830) by @ryceg in #4870
- fix(api): auth and setup refusals carry their status, and the connector form shows per-field errors (#4814) by @ryceg in #4858
- feat(connectors): operator-armed raw response capture for any connector by @ryceg in #4839
- test: Cache tests run in CI, a free browser API port, one People overview mock (#4862, #4872, #4873) by @ryceg in #4875
- fix(demo): a seeded clinic goal shows the too-little-data state (#4805) by @ryceg in #4877
- fix: pump-mode readers follow the open-suspension rule, CareLink alarm mapper, v4 422 refusals answer 400 (#4871, #4859, #4864) by @ryceg in #4876
- fix(openapi): a query parameter MVC requires is required in the documents (#4861) by @ryceg in #4878
- fix(connectors): the NocturneRemote live listener sets each request's Authorization header itself by @ryceg in #4857
- feat(peers): a server's identity, peer records, operator policy and signed requests (#4843) by @ryceg in #4889
- fix(connectors): the Nightscout live listener sends only through a connector client by @ryceg in #4908
- fix(therapy): no therapy settings means no scheduled basal for any reader (#4836) by @ryceg in #4896
- fix(auth): the last-admin refusal reaches the page, one not-configured exception, OIDC override saves in one update (#4863, #4866, #4867) by @ryceg in #4891
- fix(calendar): the sticky header draws above day numbers and tracker icons (#4915) by @ryceg in #4920
- fix(goals): a 1-day goal reads "1 day", and People/Goals tests use the shared query stubs (#4879, #4882) by @ryceg in #4916
- test(api): exclude alert evaluations from the fixture cleanup and count only a request's own reads (#4887, #4911) by @ryceg in #4926
- refactor: clear the named doc and using warnings, and Core.Clinical.Tests uses the shared mocks (#4883, #4903) by @ryceg in #4925
- fix(insulin): scheduled basal between temps counts, the split is unknown with no schedule, and a suspension reads in any case (#4880, #4907, #4905) by @ryceg in #4923
- fix(iob): chart IOB, the retrospective and the prediction read the basal schedule with no therapy settings (#4906) by @ryceg in #4934
- refactor(api): every v4 400 problem goes through BadRequestProblem (#4865) by @ryceg in #4931
- feat(teams): team pages under People, one Invite dialog, who sees whom, and a batch group add by @ryceg in #4912
- fix(profiles): keep the top-level fields uploaders set for followers by @bjorkert in #4888
- feat(dashboard): draw temporary targets on the glucose chart by @purplenoodlesoop in #4777
- fix(pump-mode): every reader takes a stored pump mode in any case by @ryceg in #4939
- fix(write-back): deleting a written-back treatment deletes its upstream copy by @ryceg in #3489
- perf(demo): seed a year of demo history newest first as a background job (#4919) by @ryceg in #4928
- chore(sdk): the client SDKs are AGPL-3.0-or-later by @ryceg in #4950
- feat(connectors): Rockit as a first-class uploader by @ryceg in #4949
- feat(bridge): loadRetro, food deltas and the full dataUpdate on authorize for classic sockets by @ryceg in #4944
- fix(connectors): send only header values a header carries by @ryceg in #4954
- feat(reports): AID use, steps, sleep and device alarm facts for flags, goals and rolling figures by @ryceg in #4957
- refactor(reports): the Treatment Log and the treatments dataset share one read by @ryceg in #4958
- feat(reports): the builder offers on-request figures and keeps named columns in place by @ryceg in #4961
- feat(reports): a link opens a ready-made report in the builder over a page's range by @ryceg in #4965
- refactor(settings): Nocturne's own settings leave the v3 settings table (#4941) by @ryceg in #4966
- feat: classic socket writes for AAPS v1 (dbAdd, dbUpdate, dbUpdateUnset, dbRemove) and real authorize acks by @ryceg in #4956
- fix(auth): v3 settings search and the live settings stream need settings.admin by @ryceg in #4960
- fix(connectors): carry a request's body on a redirect only within its origin by @ryceg in #4947
- Reports: chart parity for drawing the AGP page from its template by @ryceg in #4974
- Reports: run the server's templates over a range, for share links and guests too by @ryceg in #4976
- Reports: the AGP page draws its glucose pattern from the agp template and opens it as a custom report by @ryceg in #4978
- fix(iob): bolus IOB is unknown with no insulin set by @ryceg in #4967
- fix(v3): deleted documents answer 410, repeat and permanent delete as Nightscout does by @ryceg in #4973
- test(web): fix the new report page test's navigation mock by @ryceg in #4981
- test(web): the new custom report page's navigation mock keeps the stub's replaceState by @ryceg in #4979
- fix(web): day counts read "1 day", one calendar cell overlay, two test flakes, and svelte-check sets its heap by @ryceg in #4980
- fix: Rockit is an app, not an AID algorithm by @ryceg in #4984
- Reports: facts for meter checks, Nocturne alerts, compression lows and heart rate by @ryceg in #4992
- fix: case-insensitive state-span reads, a stopped demo service that sleeps, pruned guard source walks by @ryceg in #4988
- fix(actogram): tooltip time must match the shown reading by @BlackSoul697 in #4991
- Reports: the comparison page draws the comparison template, and opens as a custom report by @ryceg in #4994
- test(charts): fix the comparison figure test's types (main's web-static) by @ryceg in #5001
- web: the comparison page reads the time zone reason without a type assertion (main's lint) by @ryceg in #5007
- e2e: the comparison report spec reads the template's figures by @ryceg in #5010
- fix: no invented insulin curves for Glooko insulins, no basal defaults in the charts package by @ryceg in #4995
- perf(seed): the sample-data seed writes its history by array insert by @ryceg in #5003
- fix(analytics): use shared basal delivery for monthly overview totals by @maestro-00 in #5012
- translate team invitations and custom report messages by @josevicns in #5002
- web: one module for counted time phrases, and page tests for the template hand-off by @ryceg in #5017
- fix(api): v4 400 bodies go through V4Problems; alert setup stops answering raw exception text by @ryceg in #5009
- fix(connectors): unparseable redirects, final guard refusals, and refusal messages that reach the run by @ryceg in #5005
- fix(analytics): basal totals count scheduled basal through one rule by @ryceg in #5014
- fix: same-instant suspensions end together, demo loop lifecycle races, one repo walker for tests by @ryceg in #5015
- fix(e2e): the API fits its container: ReadyToRun migrations and a heap limit that leaves room for code by @ryceg in #5020
- fix: say why IOB is unknown and invent no insulin defaults or chart limits by @ryceg in #5023
- fix(connectors): a future-dated record no longer freezes the resume point; Tandem keeps its own position by @ryceg in #5027
- fix: a redacted retrospective timeline point reads its dosing state as unknown, not 0 by @ryceg in #5024
- fix(tandem): resolve pump times with the pump's clock changes, and a tandem-redate command for stored records by @ryceg in #5029
- fix: clear invented insulin curves from imported records, and say when the insulin with an action time is not primary by @ryceg in #5042
- fix(auth): API token picker covers child rows from the parent, offers data sources, and disables levels above the caller's access by @ryceg in #5039
- fix(connectors): Nocturne Remote import clears the remote's device and link ids by @ryceg in #5037
- feat(auth): a remote account kind and the remote person's session (#4844) by @ryceg in #4959
- feat(connectors): Nocturne Remote imports heart rate and sleep from their own endpoints by @ryceg in #5038
- refactor(auth): platform administration is a right of an active subject by @ryceg in #3779
- fix(tandem): tandem-redate reads the block logged under a wrong pump date, and moves zone-only rows only with --rezone by @ryceg in #5045
- fix: one repo-root rule for tests, the linker plans for its id array, and a health-series backfill is silent by @ryceg in #5058
- refactor(treatments): one factory builds a record's insulin context from a PatientInsulin by @ryceg in #5063
- fix(web): one formatter each for glucose ranges, GMI and calendar dates by @ryceg in #5062
- fix(activity): a connector's first activity sync is stored without a broadcast by @ryceg in #5070
- fix(glooko): an insulin named by a brand alias resolves to its catalogue formulation by @ryceg in #5065
- fix(connectors): the connection status sits centred beside the chevron by @ryceg in #5052
- docs(connectors): Nocturne Remote import remarks name the kept correlation id by @ryceg in #5051
- feat(wrapped): Nocturne Wrapped, the year in review by @ryceg in #5013
- fix(v3): settings soft delete, history, PATCH, 410 and a block-free permanent delete (AAPS pairing) by @ryceg in #4986
- fix(oauth): OAuth discovery states response_modes_supported as query by @Beehtrix in #4860
- fix(tandem): the pump clock reads a set before a zone-history move, and an undone hour set, in the zone by @ryceg in #5067
- feat(i18n): complete German localization by @BlackSoul697 in #4206
- feat(locales): Czech translation by @Pieselak in #3071
- feat(reports): the AGP report follows the AGP Report v5.0 layout on the consensus ranges by @ryceg in #5054
- feat(loop-analysis): settings analysis facts from Trio's feat/settings-analysis by @ryceg in #4998
- feat(wrapped): public Wrapped links by @ryceg in #5047
- fix(nightscout): the activity, food and profile write-back skips a record pulled from the same Nightscout by @ryceg in #5072
- fix(connectors): the publisher reuses a person's insulin of the same formulation, and its action time applies by @ryceg in #5075
- fix(state-spans): a resume ends every open copy of a linked suspension by @ryceg in #5066
- fix(wrapped): launch polish from phone testing (#5074) by @ryceg in #5076
- fix(v3): status, version and lastModified answer a storage error with 500, as Nightscout does by @ryceg in #5078
- fix(sdk-java): serialize models through one shared adapter so R8 can shrink them by @ryceg in #5082
New Contributors
Full Changelog: v0.3.5...v0.4.0