Skip to content

Release 2026-03-15: tier-billing-modules#21

Merged
pel19072 merged 3 commits intomainfrom
develop
Mar 15, 2026
Merged

Release 2026-03-15: tier-billing-modules#21
pel19072 merged 3 commits intomainfrom
develop

Conversation

@pel19072
Copy link
Copy Markdown
Owner

Release — Railway Production Promotion

E2E verified on Railway development environment ✓

Features included

  • feat/tier-billing-modules: Tier.modules (JSON), price_yearly (Float GTQ), subscription billing_cycle; check_tier_limit() utility; TierPublic schema; SubscriptionWithTier extended fields; Alembic migration divides existing price values by 100 (cents → GTQ)
  • ci: add push trigger to develop for release composition workflow

Merge order

Merge this PR first — GitHub Actions will run alembic upgrade head against the production DB before backends are merged.

Test plan

  • GitHub Actions migrate-prod job succeeds
  • Production backend services start cleanly (no migration errors in Railway logs)

pel19072 and others added 3 commits February 26, 2026 16:33
…billing cycle

- Change tier.price from Integer (cents) to Float (GTQ); migration divides existing values by 100
- Add tier.price_yearly (Float, nullable) for annual pricing option
- Add tier.modules (JSON, nullable) for per-tier module access control ["core","admin","management","automations"]
- Add subscription.billing_cycle (String, NOT NULL, default MONTHLY) for per-company billing period choice
- Update TierBase, TierUpdate, TierOut schemas to use float prices and include modules/price_yearly
- Add TierPublic schema for the public pricing page (no Stripe IDs)
- Update SubscriptionOut/SubscriptionUpdate/SubscriptionWithTier schemas with billing_cycle and tier_price_yearly/tier_modules
- Add database_utils/utils/tier_limits.py with check_tier_limit() for enforcing plan usage limits

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pel19072 pel19072 merged commit 236e4d8 into main Mar 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant