Skip to content

Releases: Metronome-Industries/metronome-python

v4.5.0

21 Apr 20:14
891d6c9

Choose a tag to compare

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_name when 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_alias unless 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

11 Mar 23:41
70eb3b8

Choose a tag to compare

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

03 Mar 21:18
5fa0de2

Choose a tag to compare

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

02 Mar 22:57
8e6f90d

Choose a tag to compare

4.2.0 (2026-03-02)

Full Changelog: v4.1.0...v4.2.0

Breaking Changes

  • Removed priority parameter and response field from contracts — the priority field is no longer accepted as an input or returned in contract responses.

Features

  • subscription_id field on invoice line items — invoice line item objects now include a subscription_id field.
  • 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.
  • NullStruct serialization — the encoder now correctly serializes NullStruct values.

Docs

v4.1.0

04 Feb 21:12
5ea5df7

Choose a tag to compare

4.1.0 (2026-02-04)

Full Changelog: [v4.0.0...v4.1.0]

Features

  • Add exclude field 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

17 Jan 01:25
ab4ec86

Choose a tag to compare

4.0.0 (2026-01-17)

Full Changelog: v3.2.0...v4.0.0

⚠ BREAKING CHANGES

  • Remove use_list_prices from Rate objects (cface3)
  • Add revenue_system_payments to Payment object and revenue_system_invoice to 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

  • internal: codegen related update (5359acb)
  • internal: update actions/checkout version (874dc0b)

Documentation

  • prominently feature MCP server setup in root SDK readmes (0708fd1)

v3.2.0

19 Dec 18:54
5758e01

Choose a tag to compare

3.2.0 (2025-12-18)

Features

  • feat: Update contract creation endpoints to allow setting revenue system configuration
  • feat: Add commit_transactions to the body of /upsertAvalaraCredentials endpoint
  • feat: Add seat_filter field to creation request and response parameters of the alert object
  • feat: Add quantity field to plan pricing adjustment response
  • feat: Add external_payment_id field to ExternalInvoice
  • feat: Add description field to Credit response
  • feat: Include custom_sql to aggregation_type in UsageSearchResponse
  • feat: Return object response for SetBillingConfigurations endpoint
  • 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

31 Oct 21:28
25e5542

Choose a tag to compare

3.1.0 (2025-10-31)

Full Changelog: v3.0.0...v3.1.0

Features

  • Add payment_method_id to PaymentGateway.Stripe
  • Add billing_provider_error to invoice.external_invoice
  • Add avalara creds + billing provider APIs.
  • Add exclude_zero_balances field to Contract list balances API.
  • Add METRONOME to BillingProvider type
  • (private beta) Add low_remaining_seat_balance_reached CustomerAlert type.
  • Add v2 notifications APIs

Bug Fixes

  • client: close streams without requiring full consumption (ed2abf0)

Chores

  • bump httpx-aiohttp version to 0.1.9 (6fc03bc)
  • internal/tests: avoid race condition with implicit client cleanup (53f9064)

v3.0.0

16 Oct 04:32
5fce47a

Choose a tag to compare

3.0.0 (2025-10-16)

Full Changelog: v2.0.0...v3.0.0

⚠ BREAKING CHANGES

  • api: Remove customer_id from preview events request params

v2.0.0

11 Oct 00:09
9286485

Choose a tag to compare

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_periods to Subscription
  • Add add_billing_provider_configuration_update to the Contract edit API
  • Add hierarchy_configuration to the Commit and Credit edit APIs
  • Add updated_at to Customer object
  • Add rate_type to Recurring Commit and Recurring Credit

Chores

  • types: change optional parameter type from NotGiven to Omit (28b9d7e)