Skip to content

v1.0.0

Choose a tag to compare

@stainless-app stainless-app released this 16 Sep 15:22
e80c62f

1.0.0 (2025-09-15)

Full Changelog: v0.3.0...v1.0.0

⚠ BREAKING CHANGES

  • api: add pagination support to multiple endpoints - Added pagination to CustomerList, AlertList, InvoiceList, CommitList, CreditList, CreditGrantList, CustomerAlerts, UsageList, CustomFields list, and ContractListBalances endpoints.
  • api: enhance subscriptions and commits/credits - Added Individual enum to SubscriptionConfig and rate_type enums to UpdateCredit/UpdateCommit.
  • go-sdk: migrate to V2 code generator - Migrated Go SDK to V2 code generator with improved type safety, better error handling, and enhanced struct generation. Existing Go SDK integrations will require updates to new method signatures and package structure. See our Migration Guide for detailed step-by-step instructions.
  • api: add comprehensive shared types to SDK - Added 34 new shared types including BaseThresholdCommit, BaseUsageFilter, Commit, CommitHierarchyConfiguration, CommitRate, CommitSpecifier, CommitSpecifierInput, Contract, ContractV2, ContractWithoutAmendments, Credit, CreditTypeData, Discount, EventTypeFilter, HierarchyConfiguration, ID, Override, OverrideTier, OverwriteRate, PaymentGateConfig, PaymentGateConfigV2, PrepaidBalanceThresholdConfiguration, PrepaidBalanceThresholdConfigurationV2, PropertyFilter, ProService, Rate, RecurringCommitSubscriptionConfig, ScheduledCharge, ScheduleDuration, SchedulePointInTime, SpendThresholdConfiguration, SpendThresholdConfigurationV2, Subscription, Tier, and UpdateBaseThresholdCommit.

Features

  • api: add archived_at field to CustomerBillingConfiguration (c9e9fc1)
  • api: add comprehensive shared types to SDK - Added 34 new shared types including BaseThresholdCommit, BaseUsageFilter, Commit, CommitHierarchyConfiguration, CommitRate, CommitSpecifier, CommitSpecifierInput, Contract, ContractV2, ContractWithoutAmendments, Credit, CreditTypeData, Discount, EventTypeFilter, HierarchyConfiguration, ID, Override, OverrideTier, OverwriteRate, PaymentGateConfig, PaymentGateConfigV2, PrepaidBalanceThresholdConfiguration, PrepaidBalanceThresholdConfigurationV2, PropertyFilter, ProService, Rate, RecurringCommitSubscriptionConfig, ScheduledCharge, ScheduleDuration, SchedulePointInTime, SpendThresholdConfiguration, SpendThresholdConfigurationV2, Subscription, Tier, and UpdateBaseThresholdCommit. (c9e9fc1)
  • api: add created_at field to Commit (c9e9fc1)
  • api: add customer billing configuration endpoints - Added set and retrieve endpoints for customer billing configurations. (c9e9fc1)
  • api: add pagination support to multiple endpoints - Added pagination to CustomerList, AlertList, InvoiceList, CommitList, CreditList, CreditGrantList, CustomerAlerts, UsageList, CustomFields list, and ContractListBalances endpoints. (c9e9fc1)
  • api: Add support for granular spend threshold alerts with group key filters. (c9e9fc1)
  • api: enhance subscriptions and commits/credits - Added Individual enum to SubscriptionConfig and rate_type enums to UpdateCredit/UpdateCommit. (c9e9fc1)
  • go-sdk: migrate to V2 code generator - Migrated Go SDK to V2 code generator with improved type safety, better error handling, and enhanced struct generation. Existing Go SDK integrations will require updates to new method signatures and package structure. See our Migration Guide for detailed step-by-step instructions. (c9e9fc1)

Bug Fixes

  • close body before retrying (c9e9fc1)

Chores

Documentation

  • enhance API documentation - Added more detailed descriptions and styling improvements, and enhanced usage filter documentation with additional context. (c9e9fc1)