chore(deps): update dependency @azure/functions to v4 #80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.2.0->^4.0.0Release Notes
Azure/azure-functions-nodejs-library (@azure/functions)
v4.7.3Compare Source
What's Changed
Full Changelog: Azure/azure-functions-nodejs-library@v4.7.2...v4.7.3
v4.7.2Compare Source
What's Changed
New Contributors
Full Changelog: Azure/azure-functions-nodejs-library@v4.7.0...v4.7.2
v4.7.0Compare Source
Added
New Contributors
Full Changelog: Azure/azure-functions-nodejs-library@v4.6.1...v4.7.0
v4.6.1Compare Source
What's Changed
Full Changelog: Azure/azure-functions-nodejs-library@v4.6.0...v4.6.1
v4.6.0Compare Source
Fixed
Full Changelog: Azure/azure-functions-nodejs-library@v4.5.1...v4.6.0
v4.5.1Compare Source
Fixed
v4.5.0Compare Source
Added
Fixed
v4.4.0Compare Source
Added
Changed
v4.3.0Compare Source
Added
Fixed
v4.2.0Compare Source
Added
clone()method toHttpRequestandHttpResponse#207v4.1.0Compare Source
Added
app.hook.#7connectionproperty to EventGridOutputOptions #177Fixed
extraOutputandreturn#179v4.0.1Compare Source
Add link to blog post and discussion to README
v4.0.0Compare Source
The new Node.js programming model is now Generally Available! 🎉 This changelog is meant as a detailed list of changes in the new version. See the official upgrade guide for a less detailed, more user-friendly list of the changes.
Added
function.jsonfiles #569 and #480InvocationContextandHttpRequestto be constructed in test environments outside the Azure Functions runtimeChanged
(context, request)is now(request, context)#34contextobject #204ContexttoInvocationContextcontext.done(). We assume your function (async or sync) is done as soon as it returnscontext.executionContext. You can findfunctionNameandretryContexton the rootcontextobject insteadcontext.bindingDefinitionsin favor ofcontext.optionscontext.logsub-methods (context.log.error/context.log.warn/etc.) in favor of methods on the rootcontextobject (context.error/context.warn/etc.). Also Remove theverboseoption in favor oftraceanddebugto match Node.js'sconsolemethodscontext.req,context,res, andcontext.bindings. The primary input is always an argument to your function, the primary output is always the return value of your function, and everything else can be accessed oncontext.extraInputsorcontext.extraOutputscontext.bindingMetadatacontext.triggerMetadatasyspropertyRequesttoHttpRequestqueryfrom typeHttpRequestQueryto Node.js core typeURLSearchParamsHttpResponseSimple/HttpResponseFull/HttpResponsetypes in favor ofHttpResponseclass andHttpResponseInitinterfacestatusCodein favor ofstatusend,send,sendStatus, andjson. These were callback methods based oncontext.done()which is no longer supportedsetHeader,header,set,getHeader,get,removeHeader,type) from base response object. You must useresponse.headersfor any header-related methodsheadersfrom typeHttpRequestHeaders/HttpResponseHeadersto fetch standard typeHeadersbody,rawBody,bufferBody, andparseFormBody()in favor of fetch standard methodsarrayBuffer(),blob(),formData(),json(), andtext()null#388setup()method. v4 of the programming model is automatically setup when you register any function from theappobjectv3.5.1Compare Source
Update readme for v4 announcement
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.