Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Jun 9, 2025

Automated Release PR

4.0.0 (2025-06-09)

Full Changelog: v3.24.0...v4.0.0

⚠ BREAKING CHANGES

  • client: breaking change to re-use types

Features


This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

A number of types that were previously defined in-line at each call site have now been declared as shareable types. This has the benefit of greatly reducing the number of duplicated definitions of the same types, but is also a breaking change since these types will be moving to a shared single definition.

A summary of the new types is below:

  Billing Configuration Models

  - Address
  - BillingCycleAnchorConfiguration
  - BillingCycleConfiguration
  - FixedFeeQuantityScheduleEntry
  - FixedFeeQuantityTransition
  - CustomExpiration
  - SubLineItemGrouping

  Pricing Models (Base)

  - Price
    - PriceUnitPrice
    - PricePackagePrice
    - PriceMatrixPrice
    - PriceTieredPrice
    - PriceTieredBPSPrice
    - PriceBPSPrice
    - PriceBulkBPSPrice
    - PriceBulkPrice
  - PriceInterval

  Advanced Pricing Models

  - PriceThresholdTotalAmountPrice
  - PriceTieredPackagePrice
  - PriceTieredWithMinimumPrice
  - PricePackageWithAllocationPrice
  - PriceMatrixWithAllocationPrice
  - PriceTieredWithProrationPrice
  - PriceUnitWithProrationPrice
  - PriceGroupedAllocationPrice
  - PriceMatrixWithDisplayNamePrice

  Discount and Adjustment Models

  - AmountDiscount
  - PercentageDiscount
  - UsageDiscount
  - TrialDiscount
  - Discount
  - CouponRedemption (formerly SubscriptionRedeemedCoupon)
  - TransformPriceFilter
  - AdjustmentInterval
  - AdjustmentIntervalAdjustment

  Monetary Adjustment Models

  - MonetaryAmountDiscountAdjustment
  - MonetaryMaximumAdjustment
  - MonetaryMinimumAdjustment
  - MonetaryPercentageDiscountAdjustment
  - MonetaryUsageDiscountAdjustment

  Plan Phase Adjustment Models

  - PlanPhaseAmountDiscountAdjustment
  - PlanPhaseMaximumAdjustment
  - PlanPhaseMinimumAdjustment
  - PlanPhasePercentageDiscountAdjustment
  - PlanPhaseUsageDiscountAdjustment

  Limit Models

  - Maximum (formerly PlanMaximum)
  - Minimum (formerly PlanMinimum)
  - MinimumInterval (formerly SubscriptionMinimumInterval)
  - MaximumInterval (formerly SubscriptionMaximumInterval)

  Cost and Allocation Models

  - AggregatedCost
  - PerPriceCost
  - Allocation
  - SubscriptionTrialInfo

  Configuration Parameter Models

  - BPSConfigParam
  - BulkBPSConfigParam
  - BulkConfigParam
  - MatrixConfigParam
  - PackageConfigParam
  - TieredBPSConfigParam
  - TieredConfigParam
  - UnitConfigParam

  Reference Models

  - CustomerMinified
  - SubscriptionMinified
  - InvoiceTiny
  - CreditNoteTiny
  - ItemSlim
  - BillableMetricTiny
  - TaxAmount

  Dimensional Pricing Models

  - DimensionalPriceConfiguration
  - MatrixValue
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Jun 9, 2025

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/orb-python/17037277fa161738f83680233c04f597741b1c1c'

Last updated: Mon, 09 Jun 2025 20:31:18 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 0aff841 to a76a33a Compare June 9, 2025 19:38
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 434e93c to 45ce124 Compare June 9, 2025 20:07
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from eed6456 to 166cfb3 Compare June 9, 2025 20:09
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 59c29fa to 1703727 Compare June 9, 2025 20:31
@sskhandek sskhandek merged commit 3146da6 into main Jun 9, 2025
4 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Jun 9, 2025

🤖 Release is at https://github.com/orbcorp/orb-python/releases/tag/v4.0.0 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants