Skip to content

Latest commit

 

History

History
103 lines (65 loc) · 2.15 KB

CHANGELOG.md

File metadata and controls

103 lines (65 loc) · 2.15 KB

change log

5.9

  • Support userAgent: false option to suppress adding user-agent header

5.8

  • Include user-agent header, can be set with userAgent option

5.7

  • Add current.effective/end to CurrentPhase

5.6

5.5

  • add end, trial to CurrentPhase
  • Add test clock support

5.4

  • add support for FeatureDefinition.divide

5.3

  • Add support for passing in an AbortSignal to cancel any requests on a given Tier client.

5.2

  • Add paymentMethodID, invoiceSettings, lookupPaymentMethods, requireBillingAddress

5.1

  • Support added for making requests to the Tier API server using CORS and browser credentials.
  • Added onError option to Tier client.

5.0

  • Add support for external Tier API server with Tier API Key
  • Rename TIER_SIDECAR env to TIER_BASE_URL
  • Refactor child_process into a dynamic import so that the main export can be safely used where child_process is unavailable.

4.1

  • Remove previous experimental iteration of Checkout
  • Implement Checkout using /v1/checkout API endpoint
  • This requires version 0.7.1 or higher of the tier binary

4.0

  • Move growing parameter lists into SubscribeOptions and ScheduleOptions object params.
  • Add support for trialDays option to tier.subscribe()
  • Add tier.cancel() method
  • Add experimental support for checkout option to tier.subscribe() and tier.schedule()
  • Consistently name option argument types as {Thing}Params instead of {Thing}Options
  • Add tier.can() interface

3.0

  • Add tier.push() method
  • Separate raw client mode from managed sidecar mode, to support environments lacking Node's child_process module.

2.4

  • Improve error handling

2.3

  • tier.pull() method
  • tier.pullLatest() method
  • use named exports

2.2

  • tier.limit() method

2.1

  • tier.phase() method
  • start sidecar listening on PID-specific port

2.x

Initial beta release.

1.x

All 1.x versions are actually a different (abandoned) package. Special thanks to Tian Jian for graciously letting us take over the name he was no longer using.