Skip to content

Releases: trycourier/courier-python

v6.1.0

23 May 13:24
4f6e778
Compare
Choose a tag to compare

What's Changed

  • updating readme by @bwebs in #77
  • (fix): remove hard failures when schemas don't align with payload by @fern-api in #81

New Contributors

  • @bwebs made their first contribution in #77

Full Changelog: v6.0.5...v6.1.0

v6.0.5

03 May 20:57
9ec8d5b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.4...v6.0.5

v6.0.4

03 May 19:17
1694c9f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.3...v6.0.4

v6.0.3

01 May 02:48
88090df
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.2...v6.0.3

v6.0.2

22 Apr 21:36
7f4aeab
Compare
Choose a tag to compare

What's Changed

  • (fix): None idempotency headers are excluded by @fern-api in #70

Full Changelog: v6.0.1...v6.0.2

v6.0.1

19 Apr 13:17
93c8c46
Compare
Choose a tag to compare

What's Changed

  • (fix): remove recursive type references in elemental_node by @fern-api in #68

Full Changelog: v6.0.0...v6.0.1

v6.0.0

10 Apr 03:22
29fc63f
Compare
Choose a tag to compare

Releasing a non-beta version of the v6 Python SDK.

This PR brings the SDK to the latest Fern generator, which includes a number of fixes and improvements such as: allowing extra fields to pass through on models, consolidating the module paths throughout the SDK, allowing forward compatible enums, and more!

v6.0.0b1

01 Feb 00:58
d1b3a5d
Compare
Choose a tag to compare
v6.0.0b1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v6.0.0b0...v6.0.0b1

v6.0.0b0

26 Jan 17:34
71685b2
Compare
Choose a tag to compare
v6.0.0b0 Pre-release
Pre-release

We now use 🌿 Fern to generate our Python SDK. This releasing has breaking changes, it comes with several quality of life upgrades:

  • Endpoint coverage: All endpoints that are supported in our Node SDK are now also supported in python.
  • Resource-scoped SDK methods: Endpoints are scoped under their resource. For example, instead of courier.deleteBrands the SDK now reads courier.brands.delete(...)
  • Docs on Hover: All endpoint and parameter level documentation that you see on our docs website are now embedded directly within the SDKs.
  • Strongly Typed: All requests, responses and methods are annotated with mypy types. You should get autocomplete as you use the SDK. Note that request and response models are all Pydantic.
  • Async Client: The SDK now exports an async python client in addition to a sync client. Just use AsyncCourier :
    from courier.client import AsyncCourier
    
    client = AsyncCourier(authorization_token="..") # defaults to os.getenv("COURIER_AUTH_TOKEN")
  • Courier Module: The SDK exports a courier module and all the types are nested within this module.
    import courier
    
    courier. # see all the types you have access to
  • HTTPX: The Python SDK now uses httpx instead of requests for the underlying client. For advanced usecases such as proxies and transports, you can directly pass in your own httpx client!