You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I did a through scrub of the code base, looking for any pre-0.41 deprecated. I found what I was looking for.
The following is removed with this PR, listed along side the commit they were deprecated with and the release that deprecation went into effect.
command/Commands.js and command/Menus.js: Old export redirects (56ab3e9, Sprint 39)
editor/Editor.js: jQuery triggerHandler for "keyEvent" (21bea9d, Sprint 38)
search/QuickOpen.js: Backwards compatibility for addQuickOpenPlugin() (1ec5c8f, Sprint 23)
search/QuickOpen.js: Old export redirects (7d262804728, Sprint 19!) These were technically never deprecated, but they are also not documented either.
Few notes:
I came across this: 672c7e (utils/StringMatch.js), which landed in Sprint 25. I did not remove it for fear of breaking it because I do not know how that code works. Again, never deprecated, but it seems it was planned to be. @dangoor Since you made this commit, can you provide some insight here on what should be done?
I have not checked extension compatibility yet, but all except the first item will be tricky to catch, as everything else was removing statements in the function/method, not directly access statements or APIs.
Even after @dangoor's PR #9747, it looks like the removals here will break about 20 different extensions. I think we may want to revert some of these changes for 1.0, since some of the removed items (e.g. "keyEvent") were never actually formally deprecated, so authors had zero warning. (edit: and actually, "keyEvent" is even still listed in our docs...)
@ingorichter remember when reviewing stuff like this that it's always easy to search across all extensions using Kevin's Extension Grabber utility. The search results come back pretty fast, especially if you exclude 'node_modules' folders from the search...
For notes, I have been using the Extension Grabber (and updating the downloads before making changes) and AstroGrep (it's on SourceForge), but it must be missing stuff. I'll try the Silver Searcher on the other PRs once more.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Even more for #8751.
I did a through scrub of the code base, looking for any pre-0.41 deprecated. I found what I was looking for.
The following is removed with this PR, listed along side the commit they were deprecated with and the release that deprecation went into effect.
command/Commands.js
andcommand/Menus.js
: Old export redirects (56ab3e9, Sprint 39)editor/Editor.js
: jQuerytriggerHandler
for"keyEvent"
(21bea9d, Sprint 38)search/QuickOpen.js
: Backwards compatibility foraddQuickOpenPlugin()
(1ec5c8f, Sprint 23)search/QuickOpen.js
: Old export redirects (7d262804728
, Sprint 19!) These were technically never deprecated, but they are also not documented either.Few notes:
672c7e
(utils/StringMatch.js
), which landed in Sprint 25. I did not remove it for fear of breaking it because I do not know how that code works. Again, never deprecated, but it seems it was planned to be. @dangoor Since you made this commit, can you provide some insight here on what should be done?