Skip to content

[@types/ember] Add url property to deprecation options#32538

Closed
simonihmig wants to merge 2 commits intoDefinitelyTyped:masterfrom
simonihmig:fix-deprecate
Closed

[@types/ember] Add url property to deprecation options#32538
simonihmig wants to merge 2 commits intoDefinitelyTyped:masterfrom
simonihmig:fix-deprecate

Conversation

@simonihmig
Copy link
Copy Markdown
Contributor

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change. (Run with npm test.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Jan 27, 2019

@simonihmig Thank you for submitting this PR!

🔔 @jedmao @bttf @dwickern @chriskrycho @theroncross @mfeckie @alexlafroscia @mike-north @BryanCrotaz - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

@makepanic
Copy link
Copy Markdown
Contributor

I think the url type is also useful for the ember__application module, see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ember__application/deprecations.d.ts

Can you update it too?

@typescript-bot typescript-bot added Owner Approved A listed owner of this package signed off on the pull request. Merge:Express and removed Awaiting reviewer feedback labels Jan 31, 2019
@typescript-bot
Copy link
Copy Markdown
Contributor

A definition owner has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped!

@simonihmig
Copy link
Copy Markdown
Contributor Author

Can you update it too?

Yes, will do so. Don't merge yet!

@PranavSenthilnathan PranavSenthilnathan added the Revision needed This PR needs code changes before it can be merged. label Jan 31, 2019
@simonihmig
Copy link
Copy Markdown
Contributor Author

Updated @ember/application/deprecations as well, ready for another review!

id: 'no-longer-advised',
until: 'v4.0'
until: 'v4.0',
url: 'https://emberjs.com'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure if it's better, but if you split this call into two where one contains the url and the other doesn't, it keeps the old test while testing the new (optional) behavior.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, updated it!

@armanio123
Copy link
Copy Markdown

Let me know when you feel confident for merging and I can take care of that.

@simonihmig
Copy link
Copy Markdown
Contributor Author

Let me know when you feel confident for merging and I can take care of that.

From my point of view, this should be ready.

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Feb 5, 2019

@simonihmig The Travis CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@simonihmig
Copy link
Copy Markdown
Contributor Author

The failing test seems unrelated. Also fails in master, as well as in #32770

@typescript-bot typescript-bot added the Other Approved This PR was reviewed and signed-off by a community member. label Feb 5, 2019
@typescript-bot
Copy link
Copy Markdown
Contributor

@simonihmig I haven't seen anything from you in a while and this PR currently has problems that prevent it from being merged. The PR will be closed tomorrow if there aren't new commits to fix the issues.

@simonihmig
Copy link
Copy Markdown
Contributor Author

Rebased this again, in the hope that this fixes the (unrelated) test failures.

@mike-north
Copy link
Copy Markdown
Contributor

Tests are currently failing on master w/ TS 3.4 nightlies due to microsoft/TypeScript#29765 (fix PR: microsoft/TypeScript#29787)

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Feb 11, 2019

@simonihmig The Travis CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@mike-north
Copy link
Copy Markdown
Contributor

looks like the TS upstream fix is in. Once a new dev release is published, we should see tests passing once again

@typescript-bot typescript-bot added the Abandoned This PR had no activity for a long time, and is considered abandoned label Feb 18, 2019
@typescript-bot
Copy link
Copy Markdown
Contributor

@simonihmig To keep things tidy, we have to close PRs that aren't mergeable but don't have activity from their author. No worries, though - please open a new PR if you'd like to continue with this change. Thank you!

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

Labels

Abandoned This PR had no activity for a long time, and is considered abandoned Other Approved This PR was reviewed and signed-off by a community member. Owner Approved A listed owner of this package signed off on the pull request. Revision needed This PR needs code changes before it can be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants