Repository navigation
Releases
Releases · Metronome-Industries/metronome-node
v3.11.0
3.11.0 (2026-10-27)
Adds public billing and notification capabilities, including quantity-based balances, subscription controls, and custom pricing units.
Features
- Support
SPENDandQUANTITYaccess types when creating commits and credits, filtering balances, and configuring threshold notifications; expose quantity consumption on invoice line items. (94d646e) (ad105dd) (ea3d22d) - Rename billable metrics with
client.v1.billableMetrics.update(). (397c698) - Rename subscriptions through contract edits and read subscription product custom fields. (d70f181) (fd04231)
- Read credit creation timestamps from the
created_atresponse field. (a4da635) - Create and archive custom pricing units with
client.v1.pricingUnits.create()and.archive(). (7ead972) - Manage offset lifecycle notifications and list system notification types through
client.v2.notifications; useclient.v2.notifications.offset.edit()to enable or disable system notifications. (6b55f3b) - Create package usage-statement schedules with
day: 'CUSTOM_DATE'. (b85fd25) - Configure the duration, rate type, and rollover fraction of commits created by prepaid balance thresholds. (8f85b7a)
- Allow composite products to incorporate spend from other composite products with
include_composite_spend. (7d52216) - Prevent duplicate manual balance entries with
uniqueness_key. (99ad4d1) - Include historical commit invoices when listing invoices with
include_historical_commit_invoices. (01e7deb)
Documentation
- Clarify that archiving an already-archived threshold notification succeeds. (ccf9401)
- Update support portal links in contract documentation. (bc0121a)
Breaking changes
client.v1.contracts.list()andclient.v2.contracts.list()now return cursor-paginated pages. Iterate withfor await (const contract of client.v2.contracts.list(params))to retrieve every contract, or usepage.getNextPage()after awaiting the first page. Replace removedContractListResponsetype imports withContractsBodyCursorPageCursorField(v1) orContractV2sBodyCursorPageCursorField(v2). (4134a04)- Recurring commit and credit response models now require
anchor_date, and subscription response models requirecreated_at. Add these timestamps to typed fixtures or mocks you construct. (d66b0d7) (01e7deb) - The
@metronome/mcpserver source and installation instructions have been removed from this repository. Existing published versions remain available; consumers who need that server should pin an existing version while arranging a replacement. (c2464b0)
v3.10.0
3.10.0 (2026-07-22)
Full Changelog: v3.9.0...v3.10.0
Features
- Add
add_credit_type_conversionsfield to update_rate_card endpoint - Add
cost_basisto commits - Remove supersede from contract transition
- Add
applicable_contract_idsin edit customer commit
Docs
- Add
dailyrecurring commit description to docs - Update embeddable dashboard documentation
v3.9.0
3.9.0 (2026-07-02)
Full Changelog: v3.8.0...v3.9.0
Features
- Adds customer billing provider configuration schedule to contract apis (b59f319)
v3.8.0
3.8.0 (2026-07-01)
Full Changelog: v3.7.0...v3.8.0
Features
- Add rounding configuration for prorated recurring commit amounts
- Add alert specifiers to for
low_remaining_contract_credit_and_commit_balance_reachedthreshold notification creation payload - Add
any_commit_and_credit_idsfield to override specifier fields - Add
get_subscription_seats_historyendpoint - Add
created_byfield to commits - Add
dailyrecurrence_frequency enum for recurring commits - Add
skip_missing_seat_idsfrom balances - Add
ActionandAction_hovercolor overrides to embeddable dashboard endpoint api - Add
contract *id,*invoice_type, &show_unbillable_invoicesfields to embeddable dashboard api
Bug Fixes
- client: send content-type header for requests with an omitted optional body
Documentation
- Add RPS limit and batch recommendation to
addRateendpoint - Mcp-server: warn about HTTP transport auth and local code execution risks
- Add
created_bydescription specifies excluding system created commits - Add documentation for real-time evaluation status for a specific threshold notification-customer pair
- Add documentation for
is_commit_specificfield - Add description for threshold balance specifiers fields
v3.7.0
3.7.0 (2026-05-29)
Full Changelog: v3.6.0...v3.7.0
Breaking Changes
- editContract returns full edit in the response
- remove all deprecated
/payments/*endpoints from API - create contract returns contract data
Features
- add spend tracker and discount caps to contract endpoints
Bug Fixes
- mcp: use
pure-lockfilewhen building mcp server - typescript: upgrade tsc-multi so that it works with Node 26
v3.6.0
3.6.0 (2026-05-18)
Full Changelog: v3.5.0...v3.6.0
Breaking changes
- Remove billing anchor date field from api
Features
- Add alert specifiers to contract create API
- add contract_id filter to list invoices endpoint
- Add invoice type filter for list invoices api
- Add list seat balances API endpoint
- Add regenerated_from_invoice_id to
getInvoiceresponse - Add custom fields to create contract with package
- add archived_at to Credit schema
- Add sql_breakdown_granularity flag to product create/edit
- Ass custom fields to create contract with package
Bug Fixes
- add archived_at to Credit schema (parity with Commit) (cfaba9b)
Docs
- fix typo in
Create a Contractpage - fix API docs for one-off payment-gated commits
Bug Fixes
- client: add missing f-string prefix in file type error message
- use correct field name format for multipart file arrays
Chores
- support setting headers via env
v3.5.0
3.5.0 (2026-04-17)
Full Changelog: v3.4.1...v3.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
Chores
- ci: skip lint on metadata-only changes
- tests: bump steady to v0.22.1
Refactors
- tests: switch from prism to steady
v3.4.1
v3.4.0
3.4.0 (2026-03-11)
Full Changelog: v3.3.0...v3.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
v3.3.0
3.3.0 (2026-03-03)
Full Changelog: v3.2.0...v3.3.0
Breaking Change
- Remove minimum config field from Rate and Override schemas