Releases: JamesRandall/FunctionMonkey
Releases · JamesRandall/FunctionMonkey
Package updates
- Targets latest NuGet packages
Bug fixes
- Fixed race condition around environment variables in testing package
Acceptance Tests
- Added support for easy acceptance testing - see this blog post
Track remaining work on Cosmos
- Added support for tracking remaining work on the Cosmos trigger
To enable the feature simple set trackRemainingWork: true on the function:
.CosmosDb("cosmos-connection-string", cosmos => cosmos
.ChangeFeedFunction<CosmosEntityUpdateCommand>("documents",
"mydatabase",
trackRemainingWork:true)
)
See this blog post for details and full credit to @ealsur for the recipe - I've simply integrated it into Function Monkey for convenience.
ILogger Support
- The ILogger passed to function entry points by the Azure Functions runtime is now registered as a dependency in the IServiceCollection container. Internally an AsyncLocal coupled to a provider for the underlying logger is used.
Bug fixes
- Fixed an issue that would stop commands being deserialized if the content type included a charset
- Fixed an issue with Service Bus Subscription command compilation
Service Bus Update
- Moved to latest Web Job extension packages
- Exposed the Service Bus message lock token on the context
Binding fixes
- Nullable value type binding now supported on query parameters
- Enum's now support on query parameters
- Many thanks to @AKomyshan for the pull requests and help
Minor improvements
-
HTTP commands can now declare themselves as IStreamCommand and recieve a stream of the request body (query and route parameters will still be patched into the command)
-
PATCH now supported in OpenAPI