Skip to content

Serverless framework version 3 deprecation notice #632

@ryanolee

Description

@ryanolee

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+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions