Skip to content

v4.6.2

Compare
Choose a tag to compare
@niemyjski niemyjski released this 10 Jan 23:37
70525fc

Version 4.6.2 is a feature release that added improved support for running in Serverless environments (e.,g Azure Functions and AWS Lambda) (#243). We also added a Serverless Sample project.

Feature

  • Added support for running in Serverless environments (e.g., Azure Functions and AWS Lambda) (#243). We added a new client configuration property called ProcessQueueOnCompletedRequest to control if queue is automatically processed when a request is completed. This is currently used by the ASP.NET Core NuGet Package and is set by default based on environment variables of the Serverless runtimes.
  • Added new disposable pattern for ensuring events are submitted, this is useful in critical code sections where you want to ensure events are submitted before the function returns.
    // will automatically trigger a client.ProcessQueue call when this method completes even if there is an unhandled exception
    using var _ = client.ProcessQueueDeferred();
    client.SubmitFeatureUsage("Serverless Function");

Upgrading to 4.6.2

If upgrading from v2 or v3 the upgrade process should include just updating your NuGet packages. Please see the upgrade guide for more information.

Please take a look at the change log for a full list of the changes.

Feedback

We're listening and we'd love to hear your feedback! Please send us your feedback by clicking on one of the links below!