v2.1.2
KoljaB/RealtimeTTSv2.1.2Apr 11, 2026by omkar273
AI Summary
A significant billing and infrastructure update focusing on subscription management, AI pricing integration, and new accounting support.
Key Highlights
- Removed deprecated `billing_cadeance` field from price creation
- Integrated subscription customer IDs into invoice processing
- Updated Gemini models from version 2.0 to 2.5
- Added Zoho Books integration with webhook handling and OAuth support
- Optimized usage-based charge calculation by querying ClickHouse
Breaking Changes
- Removed `billing_cadeance` field from price creation
New Features
- Implement retries for JSON parsing in Gemini pricing service
- Add meter_usage pipeline with invoice preview integration
- Add line item quantity change support
- Add support for onetime charges
- Add support for environment cloning
- Optimize meter list lookups per event name
- Update wallet tests for prepaid and postpaid wallets
Full Release Notes
## What's Changed * [BREAKING CHANGES]: we have removed `billing_cadeance` field from price creation * main -> develop by @omkar273 in https://github.com/flexprice/flexprice/pull/1555 * Release by @omkar273 in https://github.com/flexprice/flexprice/pull/1556 * feat: integrate subscription_customer_id into invoice processing by @omkar273 in https://github.com/flexprice/flexprice/pull/1557 * Feat/ai pricing v2 by @pratham-ez in https://github.com/flexprice/flexprice/pull/1558 * feat: implement retries for JSON parsing in Gemini pricing service an… by @pratham-ez in https://github.com/flexprice/flexprice/pull/1562 * feat(invoice): add subs customer id to invoice by @omkar273 in https://github.com/flexprice/flexprice/pull/1565 * main -> develop by @omkar273 in https://github.com/flexprice/flexprice/pull/1568 * fix(invoice): update billing reason handling in ComputeInvoice function by @omkar273 in https://github.com/flexprice/flexprice/pull/1536 * feat(customer): enhance EnsureCustomerSyncedToPaddle to backfill miss… by @pratham-ez in https://github.com/flexprice/flexprice/pull/1572 * feat: add meter_usage pipeline with invoice preview integration by @hiteshshimpi-55 in https://github.com/flexprice/flexprice/pull/1564 * feat(line-item): add line item quantity change by @omkar273 in https://github.com/flexprice/flexprice/pull/1570 * chore: update Gemini model version from 2.0 to 2.5 in configuration a… by @pratham-ez in https://github.com/flexprice/flexprice/pull/1576 * chore: update default Gemini model to "gemini-2.5-flash-lite" in conf… by @pratham-ez in https://github.com/flexprice/flexprice/pull/1579 * perf(meter-usage): cache meter list lookups per event name by @nkmishra1997 in https://github.com/flexprice/flexprice/pull/1573 * feat: add Zoho Books integration with webhook handling, OAuth support… by @pratham-ez in https://github.com/flexprice/flexprice/pull/1580 * feat(billing): optimize usage-based charge calculation by conditionally querying ClickHouse by @omkar273 in https://github.com/flexprice/flexprice/pull/1581 * feat(price): add support for onetime charges by @omkar273 in https://github.com/flexprice/flexprice/pull/1582 * chore: update wallet tests for prepaid and postpaid wallets by @omkar273 in https://github.com/flexprice/flexprice/pull/1333 * feat(environments): add support for env cloning by @subratsahilgupta in https://github.com/flexprice/flexprice/pull/1563 * Revert "feat(environments): add support for env cloning" by @subratsahilgupta in https://github.com/flexprice/flexprice/pull/1583 * main -> develop by @omkar273 in https://github.com/flexprice/flexprice/pull/1584 * Release by @omkar273 in https://github.com/flexprice/flexprice/pull/1571 * chore: remove outdated ParseGeminiPricing documentation and delete by @omkar273 in https://github.com/flexprice/flexprice/pull/1585 **Full Changelog**: https://github.com/flexprice/flexprice/compare/v2.1.1...v2.1.2