azure-func-http
azure-func-http copied to clipboard
chore(deps): update dependency @azure/functions to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @azure/functions | ^1.0.3 || ^2.0.0 || ^3.0.0 -> ^1.0.3 || ^2.0.0 || ^3.0.0 || ^4.0.0 |
||||
| @azure/functions | 3.5.1 -> 4.7.2 |
Release Notes
Azure/azure-functions-nodejs-library (@​azure/functions)
v4.7.2
What's Changed
- Bump serialize-javascript and mocha by @​dependabot in https://github.com/Azure/azure-functions-nodejs-library/pull/332
- Updating the Release Version by @​swapnil-nagar in https://github.com/Azure/azure-functions-nodejs-library/pull/349
New Contributors
- @​swapnil-nagar made their first contribution in https://github.com/Azure/azure-functions-nodejs-library/pull/341
Full Changelog: https://github.com/Azure/azure-functions-nodejs-library/compare/v4.7.0...v4.7.2
v4.7.0
Added
- [Webpubsub] Add types for input/output/trigger by @​phanthaiduong22 in https://github.com/Azure/azure-functions-nodejs-library/pull/311
- MySql Changes for JS by @​guptaheena in https://github.com/Azure/azure-functions-nodejs-library/pull/319
- update to 4.7.0 by @​hallvictoria in https://github.com/Azure/azure-functions-nodejs-library/pull/334
New Contributors
- @​phanthaiduong22 made their first contribution in https://github.com/Azure/azure-functions-nodejs-library/pull/311
- @​guptaheena made their first contribution in https://github.com/Azure/azure-functions-nodejs-library/pull/319
Full Changelog: https://github.com/Azure/azure-functions-nodejs-library/compare/v4.6.1...v4.7.0
v4.6.1
What's Changed
- Add build vulnerability scan by @​hallvictoria in https://github.com/Azure/azure-functions-nodejs-library/pull/317
- Add port validation checks for HTTP streaming by @​hallvictoria in https://github.com/Azure/azure-functions-nodejs-library/pull/315
- Bump undici from 5.28.4 to 5.28.5 by @​dependabot in https://github.com/Azure/azure-functions-nodejs-library/pull/328
- Update version to 4.6.1 by @​hallvictoria in https://github.com/Azure/azure-functions-nodejs-library/pull/329
Full Changelog: https://github.com/Azure/azure-functions-nodejs-library/compare/v4.6.0...v4.6.1
v4.6.0
Fixed
- Bump cookie from 0.6.0 to 0.7.0 by @​dependabot in https://github.com/Azure/azure-functions-nodejs-library/pull/310
Full Changelog: https://github.com/Azure/azure-functions-nodejs-library/compare/v4.5.1...v4.6.0
v4.5.1
Fixed
- Fixed undefined HTTP params when streaming is enabled #​285
v4.5.0
Added
- Support for log hooks #​228. This feature requires Azure Functions Host v4.34+
- Allow specifying worker capabilities during setup #​255
Fixed
- Retry options were ignored #​250
v4.4.0
Added
- Support for params when using preview http streams feature #​229
- Support for SQL trigger #​88
Changed
- The values of some system-generated request headers have changed when using the preview http streams feature. These values should now match the behavior when not using http streams.
v4.3.0
Added
- Preview support for HTTP Streams. Learn more in our blog post 🎉
Fixed
- Fixed error with out-of-sync binding names https://github.com/Azure/azure-functions-nodejs-library/issues/210
v4.2.0
Added
clone()method toHttpRequestandHttpResponse#​207
v4.1.0
Added
- Pre-invocation, post-invocation, app-start, and app-terminate hooks using
app.hook.#​7 - Warmup trigger #​176
connectionproperty to EventGridOutputOptions #​177
Fixed
- Bug where output isn't set if used in both
extraOutputandreturn#​179
v4.0.1
Add link to blog post and discussion to README
v4.0.0
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
- Support registering functions directly in your code instead of in
function.jsonfiles #​569 and #​480 - Allow classes like
InvocationContextandHttpRequestto be constructed in test environments outside the Azure Functions runtime
Changed
- Update minimum version of Node.js to 18.x
- Update minimum version of TypeScript to 4.x
- Switch the order of arguments. For example,
(context, request)is now(request, context)#​34 - Simplify
contextobject #​204- Rename
ContexttoInvocationContext - Remove
context.done(). We assume your function (async or sync) is done as soon as it returns - Remove
context.executionContext. You can findfunctionNameandretryContexton the rootcontextobject instead - Remove
context.bindingDefinitionsin favor ofcontext.options - Remove
context.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'sconsolemethods - Remove
context.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.extraOutputs - Clean up
context.bindingMetadata- Rename to
context.triggerMetadata - Remove legacy
sysproperty - Remove logic that was recursively attempting to convert objects from rpc values, causing #​607
- Make camel-case logic consistent so that it applies to the whole object - specifically including arrays which were previously excluded
- Rename to
- Rename
- Remove http classes that were unique to Azure Functions in favor of new classes representing a subset of the fetch standard based on the undici npm package.
- Rename
RequesttoHttpRequest- Change
queryfrom typeHttpRequestQueryto Node.js core typeURLSearchParams
- Change
- Remove
HttpResponseSimple/HttpResponseFull/HttpResponsetypes in favor ofHttpResponseclass andHttpResponseInitinterface- Remove
statusCodein favor ofstatus - Remove
end,send,sendStatus, andjson. These were callback methods based oncontext.done()which is no longer supported - Remove header-related methods (
setHeader,header,set,getHeader,get,removeHeader,type) from base response object. You must useresponse.headersfor any header-related methods
- Remove
- Change
headersfrom typeHttpRequestHeaders/HttpResponseHeadersto fetch standard typeHeaders - Remove body properties
body,rawBody,bufferBody, andparseFormBody()in favor of fetch standard methodsarrayBuffer(),blob(),formData(),json(), andtext()
- Rename
- Handle all falsy values appropriately. Treat it as data to be passed along instead of occasionally converting it to
null#​388 - Remove
setup()method. v4 of the programming model is automatically setup when you register any function from theappobject
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 these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.