Repository navigation
Calends 1.22.0
Calends 1.22 adds postpaid billing and custom usage meters, with usage and charges shown together in subscription details.
Highlights
- Postpaid billing. Bills arrive at the end of each period and use the price of the service period they cover. Stops and mid-period plan changes prorate the final bill; late payments remain attached to the earlier period they settle.
- Custom usage meters. Track per-period usage or cumulative readings with any unit, including an empty unit. Details show latest usage, average per period, average unit price and total, plus a usage chart aligned with the fee chart and a usage column in charge records.
- Usage in the charge sheet. Enter the period’s usage while recording a regular charge. Usage data remains separate from payment amounts.
- Focused fee forecasts. The detail chart forecasts only the next charge. Postpaid charge and usage bars share the midpoint of the service period; cash reports and calendars keep the payment date.
- Two new MCP tools.
set_metersandadd_readingsuse the existing write permissions, previews and in-app assistant confirmation flow. The catalogue now contains 36 tools, with titles in all 14 interface languages. Usage meters and readings are excluded from public responses.
Fixes
- Next charge includes today consistently in the sidebar, subscription details, calendar and list.
- Corrected postpaid final-period proration, late-bill period assignment and the first cumulative-reading period.
- Restored the average-usage reference line and aligned usage chart ticks and bars.
- Moved sheet delete actions to the lower left and restored standard detail-table header height.
- Updated Wrangler to 4.156.0 and refreshed billing and self-hosting documentation.
Upgrading
No new SQL migrations or data conversion are required. Postpaid billing, meters and readings are optional; existing subscriptions retain prepaid behavior. Keep the same configuration and data volume, and refresh open tabs after upgrading.
Images
Multi-architecture images (linux/amd64, linux/arm64) are available from Docker Hub and GitHub Container Registry:
docker pull xizozhe/calends:1.22.0
docker pull ghcr.io/imetn/calends:1.22.0The 1.22 tags follow this release series; latest follows main.