mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 10:09:02 +01:00
Metric history is now free on every plan. **Why:** Community installs already stored 90 days of daily averages (and 366 days of availability history), but the history reads refused anything past seven days. Paid installs barely use it: 12 of 88 covered paid installs read past seven days in the last 30 days. **What changes** - `/api/metrics-store/history`, `/api/availability-history` and `get_metric_history` serve every supported range on every plan; storage retention decides how far back the data goes. - `long_term_metrics` is a Community compatibility key with no upgrade reason. `TierHistoryDays` and `max_history_days` are removed from the entitlement and runtime payloads. - The downgrade purge is removed: no history or generated reports are deleted because a plan ended. - The chart lock overlay, the guest drawer lock panel, `HistoryLockPlanLink`, the billing "Metric History" row, the plan comparison row and the plan copy that sold history are removed. - README, plan docs, metrics-history help, API docs, the MCP tool description and the internal contracts describe the new behaviour. **Not in this PR:** the public pricing pages and licence-server pricing copy in pulse-pro, which change when the release carrying this ships.