Skip to content

v1.1.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mathewc mathewc released this 09 Nov 20:22
· 986 commits to dev since this release
  • Added TimeoutAttribute allowing functions to declaratively request function cancellation when a timeout expires. This builds on our existing CancellationToken binding support.
    • The attribute can be applied at the class/method level. A global timeout can also be specified via JobHostConfiguration.FunctionTimeout.
    • To receive the timeout cancellation, a function must include a CancellationToken parameter
    • The function should pass the token along to any sub Tasks that are initiated. If the function is not async, it can poll the token for cancellation (CancellationToken.IsCancellationRequested), or use the other CancellationToken monitoring methods.
    • sample here
  • Added DisableAttribute allowing for contitional enable/disable of triggered functions (see sample here).
    • e.g. you can dynamically enable/disable functions based on application settings
  • Added a CloudBlobDirectory binding for blobs
  • Updates to Singleton
    • allow specification of storage account (via SingletonAttribute.Account) supporting global level locks
    • added SingletonMode allowing for Listener level singletons
  • Change JobHost to start all triggered function listeners in parallel
  • WebHook Trigger Updates
    • allow WebHook functions to return custom responses (via WebHookContext binding)
    • added ASP.NET WebHooks SDK integration
  • ErrorTrigger
    • allow job functions to be triggered based on error rates (e.g. sliding window, custom, etc.)
    • integrate with 3rd party services to send Email/SMS alerts
    • see Error Alerting for more information
  • TimerTrigger Updates
    • added TimerTriggerAttribute.RunOnStartup to allow a function to be run immediately on startup (then on schedule thereafter)
  • Lots of bug fixes