Skip to content

Bump @architect/inventory from 2.2.1 to 3.0.0#2

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/architect/inventory-3.0.0
Closed

Bump @architect/inventory from 2.2.1 to 3.0.0#2
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/architect/inventory-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Feb 21, 2022

Bumps @architect/inventory from 2.2.1 to 3.0.0.

Changelog

Sourced from @​architect/inventory's changelog.

[3.0.0] 2022-01-04

Added

  • Architect 10 plugin API support! Specifically:
    • plugins.set.runtimes - custom runtime support (still in beta)
    • plugins.set.env - add environment variables to all Lambdas
    • plugins.set.events|http|scheduled|tables-streams|ws - generate or drop in Lambdas in Architect pragmas
    • plugins.set.customLambdas - generate or drop in unique Lambdas with custom event sources
    • More below...
  • Added inv|get.plugins tree + methods
    • What used to be plugins in the plugins beta is now customLambdas (see next item)
  • Added inv|get.customLambdas
    • Formerly inv|get.plugins
  • Added inv._project.customRuntimes
  • Added low-level support for build destinations to runtime plugins that register type transpiled or compiled
  • Added handlerModuleSystem property for nodejs14.x Lambdas, with a value of cjs or esm based on Lambda + Node.js conventions
  • Added handlerFile detection for nodejs14.x + deno Lambdas
    • This will detect the correct handler file on the filesystem, and fall back to a default handler file if none are found (e.g. index.js in nodejs14.x)
  • Added inv._arc.deployStage property, enabling Inventory to be aware of an intended deploy stage; (this property may change, consider it in beta!)
  • Added built-in support for reading .env files when enumerating local env var preferences

Changed

  • Breaking change: changed _project.src, added _project.cwd, making both the pair significantly more literal and descriptive
    • _project.src is now the default source tree folder (eg $cwd/src)
    • _project.cwd refers to the current working directory of the project
  • Breaking change: _project.env is now by default an object populated by three properties: local, plugins, and aws, reflecting the env vars found for each environment
  • Breaking change: AWS region prioritizes a region passed via param over AWS_REGION env var; this should realistically have little or no effect in practice
  • Breaking change: legacy @tables-streams folders (src/tables/... and src/streams/...) are now deprecated
    • Existing functions can be simply moved to src/tables-streams/{name} (or use a custom src property)
  • Breaking change: renamed lambda.handlerFunction to lambda.handlerMethod
  • Breaking change: prioritize mod.ts|js handlers in Deno Lambdas
  • Breaking change: removed toml support
  • Breaking change: removed get.macros method; as @macros are now automatically mapped to the Architect plugins, you can simply use get.plugins instead
  • Performance improvements to building inv.shared + inv.views
  • Improved memory footprint of Inventory object by preserving references in lambdaSrcDirs, lambdasBySrcDir
    • Added pragma property to all Lambdas to aid in reference preservation
  • Tidy up order of enumerated properties in each Lambda Update CI
  • Stop publishing to the GitHub Package registry

Fixed

  • Added file path validation because aws-sdk blows up on !ascii paths; fixes #1292, thanks @​GustMartins!
  • Fixed env var validation from preference files
  • Fixed error bubbling when reading a preferences file with issues

... (truncated)

Commits
  • 89e0cc1 3.0.0
  • 272da97 Update deps
  • 1293a7f No need to npm install during package publishing
  • f425f37 Update deps
  • ecb7874 3.0.0-RC.10
  • bb0c887 Improve printing stack traces for plugin exceptions
  • c3122ea 3.0.0-RC.9
  • 0125e10 Fix issue where setter plugins defining absolute src properties may have pr...
  • b4f17cd 3.0.0-RC.8
  • 58a0d42 Pass deep frozen copy of inventory to plugins
  • Additional commits viewable in compare view

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/inventory](https://github.com/architect/inventory) from 2.2.1 to 3.0.0.
- [Release notes](https://github.com/architect/inventory/releases)
- [Changelog](https://github.com/architect/inventory/blob/main/changelog.md)
- [Commits](architect/inventory@v2.2.1...v3.0.0)

---
updated-dependencies:
- dependency-name: "@architect/inventory"
  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 21, 2022
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Mar 28, 2022

Superseded by #15.

@dependabot dependabot Bot closed this Mar 28, 2022
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/architect/inventory-3.0.0 branch March 28, 2022 08:23
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