chore(deps): update dependency @azure/functions to v4 #5686
+132
−102
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.5.1
->4.6.0
Release Notes
Azure/azure-functions-nodejs-library (@azure/functions)
v4.6.0
Compare Source
Fixed
Full Changelog: Azure/azure-functions-nodejs-library@v4.5.1...v4.6.0
v4.5.1
Compare Source
Fixed
v4.5.0
Compare Source
Added
Fixed
v4.4.0
Compare Source
Added
Changed
v4.3.0
Compare Source
Added
Fixed
v4.2.0
Compare Source
Added
clone()
method toHttpRequest
andHttpResponse
#207v4.1.0
Compare Source
Added
app.hook.
#7connection
property to EventGridOutputOptions #177Fixed
extraOutput
andreturn
#179v4.0.1
Compare Source
Add link to blog post and discussion to README
v4.0.0
Compare 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.json
files #569 and #480InvocationContext
andHttpRequest
to be constructed in test environments outside the Azure Functions runtimeChanged
(context, request)
is now(request, context)
#34context
object #204Context
toInvocationContext
context.done()
. We assume your function (async or sync) is done as soon as it returnscontext.executionContext
. You can findfunctionName
andretryContext
on the rootcontext
object insteadcontext.bindingDefinitions
in favor ofcontext.options
context.log
sub-methods (context.log.error
/context.log.warn
/etc.) in favor of methods on the rootcontext
object (context.error
/context.warn
/etc.). Also Remove theverbose
option in favor oftrace
anddebug
to match Node.js'sconsole
methodscontext.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.extraInputs
orcontext.extraOutputs
context.bindingMetadata
context.triggerMetadata
sys
propertyRequest
toHttpRequest
query
from typeHttpRequestQuery
to Node.js core typeURLSearchParams
HttpResponseSimple
/HttpResponseFull
/HttpResponse
types in favor ofHttpResponse
class andHttpResponseInit
interfacestatusCode
in favor ofstatus
end
,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.headers
for any header-related methodsheaders
from typeHttpRequestHeaders
/HttpResponseHeaders
to fetch standard typeHeaders
body
,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 theapp
objectConfiguration
📅 Schedule: Branch creation - "after 5:00am every weekday, before 7:00am every weekday,every weekend" (UTC), Automerge - "before 7am every weekday" (UTC).
🚦 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.