Skip to content

Releases: ActiveCampaign/postmark-dotnet

Allow nullable LinkTrackingOptions

17 Mar 08:38
Compare
Choose a tag to compare

This is a minor release that adds the following changes:

  • Make LinkTrackingOptions nullable in PostmarkMessageBase.TrackLinks. If the value is not provided, the default server's LinkTracking option will be used instead.
  • Add NuGet package SPDX license expression

Add support for Webhooks API

08 Dec 11:25
f7cfff8
Compare
Choose a tag to compare

This release adds support for the Postmark Webhooks API.

Additionally, it removes the discontinued Tags Triggers API-related functions.

Please feel free to contact us if you have any questions!

Add support for Layout Templates

16 Jul 11:27
729c9f8
Compare
Choose a tag to compare

This release adds support for a new Postmark feature: Layout Templates.

There are no breaking changes as this release only adds new optional parameters to the template-related functions and new fields to the template models.

Changes:

  • Add TemplateType and LayoutTemplate fields to the PostmarkTemplate and PostmarkTemplateListingResponse models
  • Add TemplateType and LayoutTemplate optional parameters to GetTemplatesAsync, CreateTemplateAsync, ValidateTemplateAsync
  • Add LayoutTemplate optional parameter to EditTemplateAsync

Please feel free to contact us if you have any questions!

Template Alias Bugfix

07 Nov 22:01
Compare
Choose a tag to compare

This release resolves an issue that prevented sending templated messages using a TemplateAlias.

Better HttpClient Utilization

21 Sep 13:16
Compare
Choose a tag to compare

Previous versions of the postmark-dotnet library would instantiate multiple instances of the HttpClient. This pattern is not recommended by the .net team, and could cause some types of resource exhaustion in high concurrency use cases.

This version of the postmark library will now create a single HttpClient when you instantiate your first PostmarkClient or PostmarkAdminClient instance, and reuse the instance as needed for the lifetime of your application.

This version is largely compatible with previous versions of the client, however, the request Timeout option is no longer available during client instantiation (the timeout is set to 30 seconds).

Additionally, the NuGet package now only targets netstandard2, which should be largely compatible with recent versions of .net.

Support for new endpoints.

20 Jul 21:43
Compare
Choose a tag to compare

This release adds support for recent improvements to the Postmark API, including:

As always, we hope these improvements make your integration with Postmark even better, but please feel free to contact us in support if you have any questions!

New endpoints, full framework targetting, bugfixes!

25 Apr 20:21
Compare
Choose a tag to compare

This release provides the following improvements:

  • The NuGet package can now target the full framework again. This is useful incases where the .net core sdk has not been installed, and older versions of Visual Studio.
  • Template Alias support
  • The "headers" collection passed to a outbound message constructor is now used when sending messages.
  • Redundant To, Cc, Bcc classes have been replaced with a Recipient class when listing outbound messages.

Thanks to all the people that reported issues or submitted pull requests!

New API support

30 Oct 13:12
Compare
Choose a tag to compare

This release adds support for setting the clickhookurl, and deliveryhookurl on Servers.

Additionally, support for two new click summary endpoints have been added.

.net Core Support!

25 Sep 18:32
Compare
Choose a tag to compare

At long last, we've updated the library for .net core.

This update is mostly compatible with previous versions of the library, but removes support for older versions of .net. We now require at least .net standard 1.1.

The updated package includes some minor improvements/breaking changes related to the inclusion of both a Text and Html body part in some of the convenience sending methods, but depending on how extensive your integration is, should only require some minor modifications to your code.

Adding a few missing properties to API payloads.

19 Apr 13:10
Compare
Choose a tag to compare
  • Adding Name, From, and ServerID to Bounce responses.
  • Adding TrackLinks to PostmarkMessage and Server classes.