Граф коммитов

363 Коммитов

Автор SHA1 Сообщение Дата
Eric Jizba d22a8c2b4a
Fix public builds from forks (#282)
Based on this PR from host: https://github.com/Azure/azure-functions-host/pull/10256

And clean up CodeQL settings based on this PR: https://github.com/Azure/azure-functions-host/pull/10198
2024-07-11 14:16:53 -07:00
Eric Jizba 3f316a7206
Add Node.js 22 to tests (#278) 2024-06-24 15:05:57 -07:00
Eric Jizba dda970c12e
Run builds nightly (#276) 2024-06-24 11:37:22 -07:00
Eric Jizba c708cc333d
Update release pipeline to use 1es templates [v3.x] (#271) 2024-06-12 10:59:16 -07:00
Eric Jizba 25c4639db1
Switch to 1es pipelines [v3.x] (#266) 2024-06-06 16:18:19 -07:00
Eric Jizba a7c950cc60
Add code mirror pipeline (#263) 2024-05-29 15:53:00 -07:00
Eric Jizba f23711892c
Adjust v3.x branch for v4 GA (#149) 2023-09-26 10:18:08 -07:00
Eric Jizba 4292066bf6
Validate tag/version in release pipeline (#143) 2023-09-15 15:39:14 -07:00
Hossam Mabed 1d89ce9941
add node 20 preview support to readme (v3) (#136) 2023-09-13 14:10:47 -07:00
Hossam Mabed 7c4deb5526
add node 20 to test pipeline (v3) (#140) 2023-09-13 11:47:14 -07:00
dependabot[bot] 6b680b186f
Bump word-wrap from 1.2.3 to 1.2.4 (#114)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 14:57:13 -07:00
Eric Jizba 2b2177c7f5
Add build version to prerelease package drop (#93) 2023-06-01 14:42:58 -07:00
Eric Jizba d2cb03fbfa
Update v3 readme for v4 announcement (#68) 2023-03-23 14:43:14 -07:00
dependabot[bot] c3271ba457
Bump webpack from 5.74.0 to 5.76.0 (#67)
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 13:53:51 -07:00
Eric Jizba 752fd22351
Mark Node 18 as GA (#57) 2023-02-01 11:13:51 -08:00
Eric Jizba 6740c156a4
Turn on "return-await" eslint rule [v3.x] (#48) 2022-12-16 10:57:02 -08:00
Eric Jizba a0861b4321
Bump version to 3.5.0 (#42) 2022-12-05 13:59:43 -08:00
Eric Jizba c2bec64979 Bump version [v3.x] 2022-11-01 15:12:54 -07:00
Hossam Mabed bd93dcadad
Add a flag to allow suppressing of bad pattern errors/warnings (#33)
* initial try

* add testing

* pass context

* rename

* remove suppression of extra log warning

* rename and suppress only the one error

* remove test file
2022-10-31 17:06:07 -07:00
Eric Jizba 7e03daf00f
Update dependencies (#32) 2022-10-25 16:45:50 -07:00
Hossam Mabed 163ba516a3
update version (#27) 2022-09-27 14:56:04 -07:00
Eric Jizba 3b99686a31
Update bundle/package process as fitting for an npm package (#26) 2022-09-27 12:59:09 -07:00
Hossam Mabed 80c72f7fb0
Make RPC HTTP converter copy input by value (#14)
* fix bug

* add validation

* remove unnecessary ts flags
2022-09-27 11:44:47 -07:00
Eric Jizba 3059701721 Bump version 2022-08-25 18:16:45 -07:00
Eric Jizba f193568e86
Fix bug where nested "bytes" property fails with TypeError (#9) 2022-08-25 18:10:10 -07:00
Eric Jizba b0ba7130c0
Add HttpRequest.get method to types (#10) 2022-08-25 18:09:04 -07:00
Eric Jizba 949472a6aa
Clean up error naming (#11) 2022-08-25 18:08:37 -07:00
Eric Jizba 52945a34a3
Remove enums from core api (#6) 2022-08-25 17:46:13 -07:00
Eric Jizba 258f042958 Update notice 2022-08-25 11:48:50 -07:00
Eric Jizba c02aa7d50d Copy over latest types-core from worker 2022-08-23 13:47:33 -07:00
Eric Jizba ad0f20bfe5
Bump version (#5) 2022-08-23 11:32:44 -07:00
Eric Jizba f9c54304ff
Add bufferBody property to http request (#4)
And replicate old host behavior to prevent breaking changes
2022-08-23 11:25:02 -07:00
Eric Jizba 22259cafb0
Split types into multiple files (#3) 2022-08-19 15:27:32 -07:00
Eric Jizba c0538500c5 Make sure ci build fails if unit tests fail 2022-08-18 12:17:08 -07:00
Eric Jizba c9878d0ec8
Update readme and notice (#2) 2022-08-18 10:08:27 -07:00
Eric Jizba 0911b73a74
Split programming model out of worker to create framework package (#1) 2022-08-18 09:42:04 -07:00
dependabot[bot] a96fbb3314
Bump terser from 5.9.0 to 5.14.2 (#611)
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 11:40:13 -07:00
Hossam Mabed 87cc7f3a47
Fix environment variables casing bug (#604)
* fix env var casing bug

* localize testing of casing to Windows

* update test

* update startApp tests too
2022-07-07 11:13:56 -07:00
Hossam Mabed ad99f5d4f5
Add app-level startup hooks (#577)
* add startup and teardown hook support

* add initial types

* move hook data handling to wokrer channel

* add app startup hooks to worker init handler

* run new script file on functionEnvironmentReloadRequest

* add logger to base hook

* refactor

* update comment

* create copies of hook data for invocation contexts

* don't copy for app startup hook data + add function app directory

* function environment reload logic

* implement logger interface in hook context

* add host version to startup hooks

* fix tests

* rename app startup function

* remove teardown hooks

* proper message category and functionInvocationId in hook logs

* make sure it compiles

* remove logger

* refactor app startup code

* don't reset the hook data

* simplify copying hook data

* add specialization test for environment reload handler

* add test for loading entry point in specialization scenario

* add test for running app startup hook in non-specialization scenario

* assert called with right context

* add test for specialization scenario

* add test for persisting hook data from startup hooks

* add comment

* allow functionAppDirectory to be undefined in workerInitRequest

* rename to appStart

* one more file rename

* add appHookData and hookData distinction + tests

* fix tests

* remove outdated comment

* non null hostVersion and remove log warning

* fix tests

* old hookData behavior

* address PR comments
2022-06-28 16:45:48 -07:00
dependabot[bot] ed6224f217
Bump Newtonsoft.Json (#599)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 11.0.2 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/11.0.2...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 16:59:33 -07:00
Eric Jizba bbfc4abb26
Temporarily remove app startup feature (#596)
In order to get Node 18 support out faster
2022-06-13 15:05:50 -07:00
Eric Jizba 47aa14f228
Allow Node 18 in the host (#591) 2022-06-09 13:04:52 -07:00
Alexey Rodionov 4ba4fa7b81
Detect blocking sync operations during function executions (Fixes #558) 2022-06-06 16:36:55 -07:00
microsoft-github-policy-service[bot] d51a7b0ae9
Adding Microsoft SECURITY.MD (#584) 2022-06-03 10:19:37 -07:00
dependabot[bot] 395f2b4bbe
Bump protobufjs from 6.11.2 to 6.11.3 (#588)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 10:16:05 -07:00
Eric Jizba e79a3e3d79
Fixes to release types pipeline (#583) 2022-05-23 14:52:54 -07:00
Eric Jizba 7c53e2f09c
Run e2e tests against webpacked worker (#580) 2022-05-13 13:45:31 -07:00
Eric Jizba 84493853fe
Allow Node.js 18 for testing purposes only (#581) 2022-05-13 11:19:40 -07:00
Eric Jizba 680d13d645
Fix "Cannot find module" e2e test failure (#579) 2022-05-13 11:19:17 -07:00
Eric Jizba b71802eeb8
Remove unreachable/duplicate version checks (#578) 2022-05-09 10:05:34 -07:00