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

Serverless framework version 3 deprecation notice #632

Open
ryanolee opened this issue Feb 27, 2023 · 1 comment
Open

Serverless framework version 3 deprecation notice #632

ryanolee opened this issue Feb 27, 2023 · 1 comment

Comments

@ryanolee
Copy link
Contributor

What

Looks like this plugin uses an older way of defining parameters for framework version v3 .
(See: https://serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA_V3)

 deprecation triggered in the last command:

CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
 - OfflineEdgeLambdaPlugin for "port", "cloudfrontPort", "disableCache", "cacheDir", "fileDir"
Please report this issue in plugin issue tracker.
Starting with next major release, this will be communicated with a thrown error.

Why might this be a problem?

This will lead to full incompatibility with serverless framework V4.

How can this be fixed

Possibly detecting the framework version and registering using the newer method on v3+

@ryanolee
Copy link
Contributor Author

Will have a look into this if I get the chance 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant