Skip to content

Medora 0.4.0 (19)

Choose a tag to compare

@github-actions github-actions released this 22 Sep 04:21
· 81 commits to main since this release

What's new in 0.4.0+19

Features

  • "delete all data" reaches every device
  • stock changes go out once each through the server ledger
  • run the sync cycle on the v2 server contract
  • every repository stamps its writes with the injected clock
  • the merge resolves each column with its own edit time
  • local writes record an edit time per column
  • sync v2 keeps an edit time per column
  • the sync v2 merge engine (row merge, settle, per-row pull and push)
  • three-way row merge for sync v2
  • local schema v16 with sync bookkeeping and edit times on every write
  • client and fake for the sync v2 server contract
  • sync v2 migration with a server change cursor, row versions and a stock ledger
  • a settings gear on the four main tabs

Fixes

  • a force sync that could not run says so
  • the same value set again later is the latest edit
  • an undo made before a slot is dropped still beats the take
  • a dose dropped while its batch waits is never sent
  • a child written while its parent is deleted ends deleted
  • a quantity left as it was in the form is not a count
  • an edit back to the old value is the latest edit
  • rows under a deleted parent never block a device, and a regenerated slot stays
  • the server never holds a live row under a deleted parent
  • a legacy write ignores a sent map in one place, and the checks send per-column times
  • a 0.3.0 row merged in does not keep the device's edit time
  • a deleted prescription refuses edits
  • signing back in keeps the stock changes still waiting
  • stock changes replay in the order they were made
  • edit times are stored in UTC from the datasource clock
  • bottom-bar labels shrink to 0.85x rather than break a word
  • an Expiring Soon chip replaces "Low Stock · Expiring Soon"
  • a failed End logs the error type, not its text
  • the low-stock links open Medications filtered to low stock
  • pulls end only on an empty page; client and fake follow the stock rules
  • sync v2 takes TRUNCATE away and never refuses a stock change for good
  • "ongoing" mid-line on Add/Edit Treatment is lower case
  • section headings wrap instead of being cut
  • bottom-bar labels stay whole instead of breaking mid-word
  • only an as-needed prescription is offered a week
  • search on Medications and Treatments keeps the whole app bar
  • the sync status is an icon, so the gear and title stay on screen
  • the settings gear works again after go() closed Settings
  • Low Stock and Active Treatments say how many rows they hide
  • a failed End says so
  • "ongoing" in the middle of the shared text is lower case
  • switching back from as-needed offers a week, not 0 days