Releases: trycourier/courier-java
Releases · trycourier/courier-java
3.3.0
3.2.1
3.2.0
3.1.2
v3.1.2
v3.1.1
3.1.1
v3.1.0
v3.0.4
v3.0.3
- Resource-scoped SDK methods: Endpoints are scoped under their resource. For
example, instead ofcourier.deleteBrands
the SDK now readscourier.brands.delete(...)
- Docs on Hover: All endpoint and parameter level documentation that you see
on our docs website is now embedded directly within the SDKs. - Retries with exponential backoff: The SDK will automatically retry failures with
exponential backoff. - Strongly Typed: The SDK has Java objects to describe each of our request and
response models. Each object has a staticbuilder
method and uses the staged
builder pattern.UserRecipient.builder() .email("marty_mcfly@email.com") .build();
- Unions The SDK has natively supports unions. Every union is modelled as a java
class that has static factory methods.// Message has static factory methods that either take a TemplateMessage or // ContentMessage Message.of(TemplateMessage.builder()...) Message.of(ContentMessage.builder()...)