Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 28, 2022

Bumps serverless-offline from 8.8.1 to 9.1.0.

Release notes

Sourced from serverless-offline's releases.

v9.1.0

Features

Bug Fixes

Maintenance Improvements

  • make handler private field (fbdb162)
  • move _HANDLER to aws env vars (3c92cd4)
  • remove #getEnv (f6f40fd)
  • remove resolve joins in provider envs (e459110)

v9.0.0

BREAKING CHANGES

  • requires serverless v3.2 or higher, support for serverless v1 and v2 was removed.
  • requires node.js v14.18 or higher. note that this only applies to run the plugin, you can still use nodejs12.x as a lambda runtime.
  • this plugin is now a pure esm module. this should not matter to most users as the plugin is usually being loaded by serverless itself. you might run into issues if you are running the plugin programmatically or if you are using a plugin for this plugin.
  • worker threads are now being used by default. this resembles closer characteristics to how lambdas behave. the --useWorkerThreads flag was therefore removed. if you want to run in the previously default in-process mode you have to use the new --useInProcess flag.
  • reloading handlers for development is now an opt-in, as opposed to be an opt-out. for that reason (and others) the flag name was changed to --reloadHandler. --allowCache has been removed.
  • handler reloading within the node.js process (in-process mode) was removed and is not possible anymore, as it was buggy and the cause for countless memory leaks. removing this also sets the stage for supporting esm handlers, which are not accessible within require.cache. if the in-process mode is being preferred, one might want to use nodemon or similar to trigger handler reloading (which would restart the entire node process)
Changelog

Sourced from serverless-offline's changelog.

9.1.0 (2022-07-27)

Features

  • add local environment variables flag (#1513) (4de5620)
  • copy all AWS_xxx environment variables from local (c6d5546)
  • rename localEnvironmentVariables flag to localEnvironment (b041577)

Bug Fixes

  • change default lambda runtime to nodejs14.x (1ad9fbd)
  • Cleanly exit node process (#1508) (ff9d0b5)
  • env property is always a string (a226d63)
  • remove duplicate env.IS_OFFLINE variable (b7f7072)
  • remove replay (d325837)

Maintenance Improvements

  • make handler private field (fbdb162)
  • move _HANDLER to aws env vars (3c92cd4)
  • remove #getEnv (f6f40fd)
  • remove resolve joins in provider envs (e459110)

9.0.0 (2022-07-18)

⚠ BREAKING CHANGES

  • use node: protocol imports (#1435)
  • use fs/promises (#1432)
  • remove serverless v1 support
  • remove node.js v12 support, add v18 (#1424)

Features

  • add 'configValidationMode: error' option (8de4008)
  • add 'configValidationMode: error' option, Part 2 (3610786)
  • add 'configValidationMode: error' option, Part 3 (6f3e66b)
  • add 'configValidationMode: error' option, Part 4 (b7e73f2)
  • add 'configValidationMode: error' option, Part 5 (39d37cb)
  • add new runtimes (#1464) (3ae08c4)
  • add object.hasown shim (ea0aebf)
  • add package.json exports field (2c263d0)
  • add reload handler flag (f662dc5)
  • bump esm-only deps (#1456) (5faa4d1)
  • display memory leak warning for in-process handlers (2192a5f)
  • remove babel, use esm (#1455) (1f4d836)
  • remove even more serverless v2 logging (677d1b1)
  • remove more serverless v2 logging (6b101aa)
  • remove serverless v2 logging (404093c)
  • support serverless v3 (#1444) (1e9445e)

... (truncated)

Commits
  • bcab0c1 v9.1.0
  • 73f2922 doc: remove whitespace
  • b041577 feat: rename localEnvironmentVariables flag to localEnvironment
  • f7ff427 test: use destructuring
  • c6d5546 feat: copy all AWS_xxx environment variables from local
  • fbdb162 refactor: make handler private field
  • d8cfe84 test: remove unmaintained esm module from examples
  • d1ffb91 doc: order nit
  • 2082fe0 test: remove npm install
  • 3c1b145 test: skip go test if not detected
  • 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 [serverless-offline](https://github.com/dherault/serverless-offline) from 8.8.1 to 9.1.0.
- [Release notes](https://github.com/dherault/serverless-offline/releases)
- [Changelog](https://github.com/dherault/serverless-offline/blob/master/CHANGELOG.md)
- [Commits](dherault/serverless-offline@v8.8.1...v9.1.0)

---
updated-dependencies:
- dependency-name: serverless-offline
  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 Jul 28, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 1, 2022

Superseded by #159.

@dependabot dependabot bot closed this Aug 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/serverless-offline-9.1.0 branch August 1, 2022 10:55
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