+
Skip to content

Tags: reactual/faast.js

Tags

v3.0.4

Toggle v3.0.4's commit message
fix(deps): update dependency googleapis to v42

v3.0.3

Toggle v3.0.3's commit message
fix(deps): update dependency googleapis to v41

v3.0.2

Toggle v3.0.2's commit message
fix(google): Give google 5s buffer to send timeout message.

v3.0.1

Toggle v3.0.1's commit message
fix(google): Make google retry logic apply to api calls from trampoli…

…nes.

This should fix testsuite failures and make google timeout and other tests more robust.

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Inception (faastjs#63)

* fix: Fix issue with externalizing package dependencies.

By default faast.js will externalize dependencies in the webpack config when the packageJson option is used. This ensures that webpack will only bundle dependencies that are not turned into package layers. A regex was used to ensure that if an import loaded a file from within a subdirectory of a package then this was also excluded. Unfortunately this regex was not precise enough and matched any dependency where the package name appeared as a substring. This is fixed by requiring that the package name starts with the package dependency. This fixes in particular the case where faastjs is itself included as a package dependency.

* feat: Add rate limiter to limit speed of invocations.

Some services have rate limits that prevent abuse; cloud functions can easily overwhelm such services because of massive concurrency. Using the rate limiter restricts how fast faast.js invokes functions, which can help. Note that this rate limits faast.js invocations, not the actual calls to third party services. But it may be helpful in practice because the rate of issuance of requests upstream ultimately affects downstream request rates as well. Combined with the concurrency limit, these options can help reduce the chances of overwhelming services that aren't as scalable. In addition to rate limiting, this commit also adds a cancellation option to throttle to enable clearing pending throttled operations.

* fix(aws): Only set log retention policy on AWS if deleteResources is true.

This fixes a race condition in having multiple GC's potentially running, causing the gc testsuite to be flaky in verifying log group retention. Now the test verifies the log group is removed, not that the log
group retention is set.

* feat: Add include/exclude options which now support globs.

BREAKING CHANGE: Removed addDirectory and addZipFile options. These are removed in favor of
include/exclude, which supports globs and a simpler mechanism for mapping local paths to remote
paths using the cwd option. Zip files are no longer natively supported.

fixes faastjs#57

v2.1.0

Toggle v2.1.0's commit message
fix(google): Give google child process timeout 1s to send timeout mes…

…sage.

v2.0.4

Toggle v2.0.4's commit message
refactor: Remove dead code.

v2.0.3

Toggle v2.0.3's commit message
test(aws): Pass testsuite even with aws race condition.

v2.0.2

Toggle v2.0.2's commit message
build(typescript): Use incremental option for tsc to speed up compila…

…tion.

v2.0.1

Toggle v2.0.1's commit message
fix: Avoid interpreting error messages as format strings.

When errors arrive from remote cloud function invocations they might contain special characters such
as %, which are interpreted as format string fragments by VError. Use %s to avoid this
interpretation.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载