Billing tiers on the install page, plan picker on licences (1.6.2)

- Install page shows the 12-month event-income band (Cross Events 2.0.2+),
  the tier it falls in with its price and founding price, and flags a
  licence whose plan is a different tier.
- Licence card: Plan picker (Trial or Seed to Network).
- Protocol doc: 14 income bands and eventIncome12m.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-03 12:18:02 +02:00
co-authored by Claude Opus 5.5
parent 922a17fbed
commit 219b08538f
10 changed files with 103 additions and 12 deletions
+18
View File
@@ -5,6 +5,24 @@ versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [1.6.2] - 2026-11-03
### Added
- **Billing tiers.** The install page's Licence box shows the plan, the site's **event income over
the last 12 months** (`income.eventIncome12m`, sent by Cross Events 2.0.2+; no donations or
sponsorships) and the tier that income falls in, with its price and founding price. It notes
when the licence's plan is a different tier. The tiers are in `frontend/src/lib/tiers.ts`
(the public prices are in crosscode-site `src/data/pricing.mjs`: change both together).
- **Plan on the licence card** (customer page): Trial or one of the eight tiers (Seed to Network).
A licence still on the old `standard` plan keeps it until it's changed.
### Changed
- Protocol doc: 14 income bands up to `over R10 000 000` (Cross Events 2.0.2), and
`eventIncome12m`. Older installs still send the old bands; their `over R100 000` can't be placed
in a tier.
## [1.6.1] - 2026-10-30
### Changed