Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 18, 2022

Bumps @architect/functions from 4.0.0 to 5.0.2.

Changelog

Sourced from @​architect/functions's changelog.

[5.0.0 - 5.0.2] 2022-01-18

Added

  • @architect/functions is faster and leaner than ever, now down to about 425KB (from ~950KB). This means even faster cold starts and overall performance!
  • Added support for Sandbox dynamic port selection
  • Added rawBody property, handy for use with external libraries that may need access to the raw body contents for things like signing
    • Moving forward, Arc Functions consumers should consider the isBase64Encoded property to correspond only to rawBody, and to be unrelated to the body property
    • See also: the change below re. base64 decoding of text/plain + */xml bodies

Changed

  • Breaking change: Architect no longer automatically populates, relies on, or makes direct use of NODE_ENV or ARC_CLOUDFORMATION env vars. @architect/functions v5+ now requires Architect v10 / Sandbox v5 or later.
    • Added top-level check for correct minimum version, fixes #1313; thanks @​monkbroc!
  • Breaking change: removed support for legacy Sandbox @ws internals, requiring Sandbox v5
  • Breaking change: removed http.express method, moved to @architect/express
    • Before this change, @architect/functions had 19 dependencies and weighed in at ~950KB; after it has 12 dependencies (down 7), and weighs about 475KB, for about a 50% reduction!
  • Breaking change: removed deprecated methods:
    • arc.http.middleware (deprecated August 2019) is now arc.http.async
    • arc.http.helpers.static (deprecated June 2019) is now arc.static
  • Breaking change: removed arc.tables.doc + arc.tables.db methods
    • These methods are still available after table instantiation like so: let { _doc, _db} = await arc.tables()
    • This change enables Architect Functions to only load aws-sdk when absolutely necessary, making it 20-30x faster to run in Lambda for usage that does not rely on DynamoDB
  • Stop publishing to the GitHub Package registry
  • Added checks to ensure there are no mysterious failures when required env vars are not present
  • Preference for ARC_* namespaced env vars:
    • ARC_SESSION_TABLE_NAME > SESSION_TABLE_NAME
    • ARC_SESSION_TTL > SESSION_TTL
    • ARC_SESSION_DOMAIN > SESSION_DOMAIN
    • All non-namespaced names will continue to be supported until at least Architect 11; we suggest changing them over to the namespaced equivalents as soon as is convenient

[4.1.2] 2022-02-07

Changed

  • Architect Functions now fails gracefully in Architect 10+ / Sandbox 5+
  • Base 64 decodes text/plain, text/xml and application/xml payloads based off Content-Type

[4.1.1] 2021-11-22

  • Fix crash on missing ARC_WSS_URL env var when @ws is defined in a project

[4.1.0] 2021-11-20

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@architect/functions](https://github.com/architect/functions) from 4.0.0 to 5.0.2.
- [Release notes](https://github.com/architect/functions/releases)
- [Changelog](https://github.com/architect/functions/blob/main/_changelog.md)
- [Commits](architect/functions@v4.0.0...v5.0.2)

---
updated-dependencies:
- dependency-name: "@architect/functions"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 18, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 25, 2022

Superseded by #27.

@dependabot dependabot bot closed this Feb 25, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/architect/functions-5.0.2 branch February 25, 2022 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants