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

Add ember cli deprecation workflow #1284

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

arafatiqbal
Copy link
Contributor

@arafatiqbal arafatiqbal commented Jan 31, 2023

I figured this is a great addition to have to help keep track of the deprecations in the app.

If you want to know more about how to use this: https://guides.emberjs.com/release/configuring-ember/handling-deprecations/

Fixing this list of deprecations will/ might help with the upgrade #1272

@netlify
Copy link

netlify bot commented Jan 31, 2023

Deploy Preview for ember-deprecations ready!

Name Link
🔨 Latest commit fcddb4d
🔍 Latest deploy log https://app.netlify.com/sites/ember-deprecations/deploys/63d87969bf572c0009f07a33
😎 Deploy Preview https://deploy-preview-1284--ember-deprecations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

{ handler: 'silence', matchId: 'ember.built-in-components.import' },
{ handler: 'silence', matchId: 'this-property-fallback' },
],
};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to manually update this config which kind of sucks.

  1. Run the tests suite or navigate through the app
  2. Run deprecationWorkflow.flushDeprecations() in the console
  3. Copy the output, and paste it in here.

If you fix one of the deprecations, re-run the above, and update this file

@jenweber
Copy link
Contributor

jenweber commented Feb 3, 2023

Yeah, this addon is super helpful when there are a lot of deprecations!

Before merging, let's check in with @geneukum who has being doing a bunch of the upgrading. What do you think about adding this? Is there any particular config that would be helpful?

@geneukum
Copy link
Contributor

geneukum commented Feb 3, 2023

Yeah, this looks like a super useful addition to me as well!

I'd be curious which (if any) of the deprecations show up after we merge #1287 and #1279 though.

I guess that we may need to just be careful about ordering to make sure that we're not either silencing deprecations that don't need to be silenced or leaving around silences that have been resolved elsewhere?

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

Successfully merging this pull request may close these issues.

3 participants