Releases: Metronome-Industries/metronome-python
Releases · Metronome-Industries/metronome-python
v4.5.0
4.5.0 (2026-04-17)
Full Changelog: v4.4.0...v4.5.0
Features
- Add override created at in api responses
- Add recurring_commit_ids and remove recurring_credit_ids from api
- External fixes for rollover credits
- Map missing
contract_namewhen returning Packages - Add priority to threshold commit schemas
- Add discount_configuration to contract edit API
- Return day in package_list_response
- Support nullable discount fraction on contract update inputs
Docs
- Update balance guides
- Fully document CreditAdd/CreditUpdate fields in API spec
Bug Fixes
- client: preserve hardcoded query params when merging with user params
- deps: bump minimum typing-extensions version
- ensure file data are only sent as 1 parameter
- pydantic: do not pass
by_aliasunless set - sanitize endpoint path params
Performance Improvements
- client: optimize file structure copying in multipart requests
Chores
- ci: skip lint on metadata-only changes
Refactors
- tests: switch from prism to steady
v4.4.0
4.4.0 (2026-03-09)
Full Changelog: v4.3.0...v4.4.0
Features
- Add archive_billing_configurations endpoint
- Enable rollover fraction on credits
Bug Fixes
- fix request delays for retrying to be more respectful of high requested delays
Docs
- update documentation for /usage/groups
Chores
v4.3.0
4.3.0 (2026-03-03)
Full Changelog: v4.2.0...v4.3.0
Breaking Change
- Remove minimum config field from Rate and Override schemas
v4.2.0
4.2.0 (2026-03-02)
Full Changelog: v4.1.0...v4.2.0
Breaking Changes
- Removed
priorityparameter and response field from contracts — thepriorityfield is no longer accepted as an input or returned in contract responses.
Features
subscription_idfield on invoice line items — invoice line item objects now include asubscription_idfield.- Compound group keys supported in
/v1/usage/groups— the usage groups endpoint now supports compound group keys for more granular usage aggregation. - New package endpoints — the SDK has been updated to include new package endpoints.
Bug Fixes
- Request cancellation during retry wait — fixed an issue where a request could not be canceled while it was waiting to retry.
NullStructserialization — the encoder now correctly serializesNullStructvalues.
Docs
v4.1.0
4.1.0 (2026-02-04)
Full Changelog: [v4.0.0...v4.1.0]
Features
- Add
excludefield to commit and override specifiers shape in the API - Support TieredPercentage rate on CommitRate
- Expose add revenue config in edit contract api
- Release account hierarchy
- Add API to allow editing net payment terms
- Add getNetBalance endpoint
Bug Fixes
- docs: fix mcp installation instructions for remote servers
Chores
- ci: upgrade
actions/github-script
Documentation
v4.0.0
4.0.0 (2026-01-17)
Full Changelog: v3.2.0...v4.0.0
⚠ BREAKING CHANGES
- Remove
use_list_pricesfrom Rate objects (cface3) - Add
revenue_system_paymentsto Payment object andrevenue_system_invoiceto Invoice object (892c65)
Features
- Add recurring commit ID and subscription config to Commit and Credit objects. (1a719d)
- Add support for custom fields on package terms (6f9712)
- client: add support for binary request streaming (4fdf13d)
Chores
Documentation
- prominently feature MCP server setup in root SDK readmes (0708fd1)
v3.2.0
3.2.0 (2025-12-18)
Features
- feat: Update contract creation endpoints to allow setting revenue system configuration
- feat: Add
commit_transactionsto the body of/upsertAvalaraCredentialsendpoint - feat: Add
seat_filterfield to creation request and response parameters of the alert object - feat: Add
quantityfield to plan pricing adjustment response - feat: Add
external_payment_idfield toExternalInvoice - feat: Add
descriptionfield toCreditresponse - feat: Include
custom_sqltoaggregation_typeinUsageSearchResponse - feat: Return object response for
SetBillingConfigurationsendpoint - feat: update create alert api to allow LowRemainingSeatBalanceReached alert
Documentation
- docs: Add gcp_marketplace enum
- docs: Move contract edit v2 from beta to GA
v3.1.0
3.1.0 (2025-10-31)
Full Changelog: v3.0.0...v3.1.0
Features
- Add
payment_method_idtoPaymentGateway.Stripe - Add
billing_provider_errortoinvoice.external_invoice - Add avalara creds + billing provider APIs.
- Add
exclude_zero_balancesfield to Contract list balances API. - Add
METRONOMEtoBillingProvidertype - (private beta) Add
low_remaining_seat_balance_reachedCustomerAlert type. - Add v2 notifications APIs
Bug Fixes
- client: close streams without requiring full consumption (ed2abf0)
Chores
v3.0.0
3.0.0 (2025-10-16)
Full Changelog: v2.0.0...v3.0.0
⚠ BREAKING CHANGES
- api: Remove
customer_idfrom preview events request params
v2.0.0
2.0.0 (2025-10-10)
Full Changelog: v1.0.0...v2.0.0
⚠ BREAKING CHANGES
- Update Preview Events API to return list of invoices
Features
- Add payment APIs and config
- Add
billing_periodsto Subscription - Add
add_billing_provider_configuration_updateto the Contract edit API - Add
hierarchy_configurationto the Commit and Credit edit APIs - Add
updated_atto Customer object - Add
rate_typeto Recurring Commit and Recurring Credit
Chores
- types: change optional parameter type from NotGiven to Omit (28b9d7e)