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 v3: new design & how to integrate #446

Open
mnapoli opened this issue Nov 5, 2021 · 4 comments
Open

Serverless Framework v3: new design & how to integrate #446

mnapoli opened this issue Nov 5, 2021 · 4 comments

Comments

@mnapoli
Copy link

mnapoli commented Nov 5, 2021

Hi 👋 , Serverless Framework core team here!

We're working on the v3 beta version right now. The v3 will include a redesigned CLI output:

image

You can try the v3 beta with: npm i serverless@pre-3

To help plugins integrate with that new design (and build a great user experience), we've added new APIs for plugins:

We've identified 2 options for plugins:

  • either support both v2 and v3 in the current version: if the 3rd argument is passed to the plugin's constructor, you can switch logging to the new design and use the new CLI output APIs
  • or create a new version of the plugin that only supports v3

Any feedback is appreciated! If you want to update the plugin to use these new APIs, feel free to ping me if you have any questions!

If you don't have time to update the plugin, let me know, we'll see how we can help.

@bboure
Copy link
Collaborator

bboure commented Nov 5, 2021

Hi!

Thank you for chiming in. I will have a look at this asap.
I was actually about to work on a v2 of this plugin (see RFC).
I will evaluate the two possibilities and see what fits best for this plugin and our users.

I won't hesitate to contact you in case of questions.

@mnapoli
Copy link
Author

mnapoli commented Nov 5, 2021

👍 awesome!

@epanfile
Copy link

@bboure what is the status on the re-write of this wonderful plugin? Cannot upgrade to serverless v3 because I am very much tied to this plugin...

@bboure
Copy link
Collaborator

bboure commented Sep 17, 2022

@epanfile version 1 of this plugin should be compatible with v3 of serverless framework.
It might not be a smooth experience due to the changes in the command output api, but it should work.
Actually, I have done it and it worked.

You may want to have a look at the v2 of this plugin. It is still in alpha (see the alpha branch). Unfortunately, I have not had much time to test it enough to the point of being confident that it's stable for an official release.
Feel free to give it a try and report any issue. That would actually help moving this forward for a possible official release.

npm i serverless-appsync-plugin@alpha

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

3 participants