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

WARNING: Plugin ServerlessWebpack uses deprecated hook before:deploy:createDeploymentArtifact #126

Closed
alfondotnet opened this issue May 22, 2017 · 4 comments · Fixed by #244
Assignees
Milestone

Comments

@alfondotnet
Copy link

Getting these warnings while deploying my functions:

Serverless: WARNING: Plugin ServerlessWebpack uses deprecated hook before:deploy:createDeploymentArtifacts
Serverless: WARNING: Plugin ServerlessWebpack uses deprecated hook after:deploy:createDeploymentArtifacts

Serverless version: 1.13.1
Serverless-webpack version: ^1.0.0-rc.4

@HyperBrain
Copy link
Member

The plugin should hook the new aws:package:* events instead.

For a detailed overview see the lifecycle cheat sheet

@HyperBrain
Copy link
Member

This is a breaking change according to semver as it will require a Serverless version of 1.12+ and will leave users of previous Serverless versions behind.

So I'll remove the 3.1.0 milestone and add it to a breaking 4.0.0 milestone.

@akolybelnikov
Copy link

@HyperBrain how can I make the plugin hook the new aws:package:* events?
Serverless Version: 1.23.0
Serverless-webpack version : ^3.1.2

@HyperBrain
Copy link
Member

@akolybelnikov This is fixed in #244 . I will prepare a release in the next days, so the warnings are gone.

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

Successfully merging a pull request may close this issue.

3 participants