Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @architect/architect from 10.16.3 to 11.0.4 #37

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 2024

Bumps @architect/architect from 10.16.3 to 11.0.4.

Changelog

Sourced from @​architect/architect's changelog.

[11.0.4] 2024-02-10

Fixed

  • Fixed issue where an unflattened dependency tree in node_modules could result in Node.js issuing a MaxListenersExceededWarning

[11.0.0 - 11.0.3] 2024-02-05

Architect 11 (Cadborosaurus) is now fully based on aws-lite, and no longer makes use of the AWS SDK or CLI. This dramatically decreases installation time, while massively increasing speed in all AWS operations. Read more about this change at https://arc.codes.

Added

  • Added experimental --fast flag, which ships project to AWS without waiting around to determine if the deployment completed successfully. Use with care!
  • Improved cross-platform deployment of native modules to arm64 Lambda (the new default in Architect 11)
    • This means any non-arm64 and/or non-Linux machine will now best-effort deploy to arm64 Linux; users are highly encouraged to validate application functionality that relies on native modules
    • This is accomplished by adding the npm --cpu + --os flags, supported by npm v10.1+ – this version of npm is bundled with Node.js 18.19+ or 20.7+
    • If you are using pnpm, Yarn, or a version of npm < v10.1, you must continue to deploy Lambdas to arm64 as before

Changed

  • Architect no longer requires or makes use of the AWS SDK and AWS CLI
    • As such, installation, setup, and deployments are all significantly faster
  • Breaking change: Sandbox no longer includes aws-sdk + @aws-sdk/* as dependencies
    • Projects that rely on the AWS SDK should install those dependencies to their project directly
    • Consult the Architect upgrade guide for more information
  • Breaking change: nodejs20.x and python3.12 are now the default Node.js and Python Lambda runtimes, respectively
    • The Node.js version is not itself a breaking change, however the version of AWS SDK available to your code will change from v2 to v3 – this is entirely an AWS decision, which we are managing as best we can (by way of offering aws-lite as an alternative)
    • For folks who need to continue using AWS SDK v2, simply set @aws runtime nodejs16.x in your project manifest
    • However, be warned: nodejs16.x (and AWS SDK v2 in Lambda) are scheduled for deprecation in a few months
    • Consult the Architect upgrade guide for more information
  • Breaking change: arm64 is now the default Lambda architecture
    • This change only impacts projects that utilize native modules or Lambda layers with binaries; projects that make use of regular Node.js packages will not be impacted by this change
  • Breaking change: removed support for Node.js 14.x (now EOL, and no longer available to created in AWS Lambda)
  • Architect no longer requires the AWS CLI, nor Python. So if you'd like to remove either or both, feel free!
  • Deploy no longer writes sam.json + sam.yaml files upon each deploy
    • However, if you do want to see the sam.json being deployed, use the --dry-run or --debug|-d CLI flags
  • AWS Lambda no longer supports Go-specific runtimes; as such, go and golang runtime aliases are no longer available
  • Added Node.js 20.x to test matrix

Fixed

  • Fixed issue where ignoreDependencies would not work if only a single dependency was ignored; thanks @​andybee!
  • Fixed issues surrounding correctly toggling @cdn (experimental + undocumented) as enabled or disabled
  • Potentially breaking fix: resolved mismatch between RouteSelectionExpression in deployed Architect apps vs. locally in Sandbox
    • The RouteSelectionExpression is now $request.body.action, meaning WebSocket code running locally can now be the same as production code, like so: ws.send(JSON.stringify({ action: 'custom-endpoint', ... }))

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps [@architect/architect](https://github.com/architect/architect) from 10.16.3 to 11.0.4.
- [Release notes](https://github.com/architect/architect/releases)
- [Changelog](https://github.com/architect/architect/blob/main/changelog.md)
- [Commits](architect/architect@v10.16.3...v11.0.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 12, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 19, 2024

Superseded by #39.

@dependabot dependabot bot closed this Feb 19, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/architect/architect-11.0.4 branch February 19, 2024 17:05
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants