-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Deprecation Cleanup for 4.0 #19617
Comments
What do you think about deprecating Auto Location, is that something you'd like to get in before 4.0? It's a fairly low-impact deprecation, in that the change required is a one-line change in the config. More details in that PR and the associated RFC. But there is also no real rush, deprecating it doesn't "unlock" any new functionality, so could also wait until after 4.0 with merging it. |
@sandstrom This is a list of already deprecated APIs that need to be removed for 4.0. At this point, the master branch is already 4.0, and so no newly added deprecations will make it into 3.x. |
IE11 was removed in #19558 |
I can take this one since I did the original PR!
|
I understand we are all busy. It is commendable even finding time to track issues, review and contribute code in our spare time. But is there any urgency to get this issue across the line in the coming weeks or is there an often talked about timeline not publicized? I have a few PRs open in glimmer that need review and would be happy to help with any remaining ones (once this tracking checkboxes are updated with where we are at). |
There's definitely some urgency. 4.0 is the next release and ideally we would have gotten this all done before it even branched to beta. Participation definitely drops over the summer and a few have commented that in the future we should avoid summer for major release pushes. We probably need to find a way to not have time-bound work for major releases. |
Both |
|
Part of emberjs#19617 * Remove `someArray.addArrayObserver` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L532 * Remove `someArray.removeArrayObserver` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L548 * Remove `someArray.hasArrayObservers` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L571 * Remove `someArray.arrayContentWillChange` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L642 * Remove `someArray.arrayContentDidChange` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L670 (also at https://github.com/emberjs/ember.js/pull/19833/files#diff-79a0015ca0e6a6c3661d9119f4caf6b26b111af6bb0e5bb784558631c599a81cL357) * On the internal version of `addArrayObserver`, remove the optionality of `willChange` and `didChange` arguments to name the hooks. In framework code (and now in test) these are always provided. * Retain basically all the test coverage of array observers since they remain used by `ArrayProxy` internally (and through that interface, in Ember Data). Co-authored-by: Matthew Beale <[email protected]>
Part of #19617 * Remove `someArray.addArrayObserver` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L532 * Remove `someArray.removeArrayObserver` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L548 * Remove `someArray.hasArrayObservers` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L571 * Remove `someArray.arrayContentWillChange` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L642 * Remove `someArray.arrayContentDidChange` https://github.com/emberjs/ember.js/pull/19833/files#diff-8116921433c6e1664250d5735e4f9daeb6ea9e00940783e0c4db7adf88aa8772L670 (also at https://github.com/emberjs/ember.js/pull/19833/files#diff-79a0015ca0e6a6c3661d9119f4caf6b26b111af6bb0e5bb784558631c599a81cL357) * On the internal version of `addArrayObserver`, remove the optionality of `willChange` and `didChange` arguments to name the hooks. In framework code (and now in test) these are always provided. * Retain basically all the test coverage of array observers since they remain used by `ArrayProxy` internally (and through that interface, in Ember Data). Co-authored-by: Matthew Beale <[email protected]> (cherry picked from commit a9aedea)
This is done! Thank you to everybody who participated in deprecation removal <3 |
PLEASE FLAG REMOVAL/CLEANUP PRs WITH
[CLEANUP beta]
IN THE PR TITLE.The following are the deprecations in ember.js that are
until
4.0 or earlier. Each item includes the id of the deprecation in backticks. Searching for this id in the source will find the invocations of that deprecation.Remaining
application-template-wrapper
ember.js/lib/index.js
Line 131 in 5a36048
classic
editionember.js/lib/index.js
Line 123 in 5a36048
ember
is defined as a Bower dependency #19838 - Changebower
usage to athrow
instead of warn atember.js/lib/index.js
Line 47 in ce98e57
template-only-glimmer-components
deprecation into an error #19836 - Optional feature:template-only-glimmer-components
ember.js/lib/index.js
Line 140 in 5a36048
array-observers
Deprecation Guide Deprecation Invocation Site + 1 other in same fileember.component.reopen
Deprecation Guide Deprecation Invocation Site see also [DOC beta] Deprecation link for Ember.Component.reopen #19744 (comment)manager-capabilities.components-3-4
Deprecation Guide Deprecation Invocation Sitemanager-capabilities.modifiers-3-13
Deprecation Guide Deprecation Invocation Sitedeprecate-router-events
support code #19749 - Router Eventsdeprecate-router-events
Deprecation Guide Deprecation Invocation Site + a few other locationsVM Deprecations
argument-less-helper-paren-less-invocation
Deprecation Guide Deprecation Invocation Site: (1/2)autotracking.mutation-after-consumption
Deprecation Invocation Sitethis.
property fallbackthis-property-fallback
Deprecation Guide Deprecation Invocation Site🔒 Built-in Components
All should be 🔒 in #19806
ember.link-to.tag-name
Deprecation Guide Deprecation Invocation Siteember.built-in-components.import
Deprecation Guide Deprecation Invocation Site + other locationsember.built-in-components.legacy-attribute-arguments
Deprecation Guide Deprecation Invocation Site + 2 more in the same fileember.built-in-components.legacy-arguments
Deprecation Guide Deprecation Invocation Site + several moreember.built-in-components.reopen
Deprecation Guide Deprecation Invocation Site + several moreember-glimmer.link-to.positional-arguments
Deprecation Guide Deprecation Invocation Site + other locationsember.link-to.disabled-when
Deprecation Guide Deprecation Invocation Site + 1 more in the same fileCompleted
ember-global
Deprecation Guide Deprecation Invocation Siteember-console.deprecate-logger
Deprecation Guide Deprecation Invocation Site + other locations in this fileember-views.event-dispatcher.mouseenter-leave-move
Deprecation Guide Deprecation Invocation Site + other locations in this file + one other fileember-views.partial
Deprecation Guide Deprecation Invocation Siteember.component.send-action
Deprecation Guide Deprecation Invocation Site + one other in the same file + other locationsactions.custom-invoke-invokable
Deprecation Invocation Site + other locationsember-component.is-visible
Deprecation Guide Deprecation Invocation Sitedeprecate-string-based-component-manager
Deprecation Guide Deprecation Invocation Sitemeta-destruction-apis
Deprecation Invocation Site + 4 more in same fileember-metal.computed-deep-each
Deprecation Invocation Site + 1 other locationcomputed-property.override
Deprecation Guide Deprecation Invocation Sitecomputed-property.volatile
Deprecation Guide Deprecation Invocation Site.property()
on Computed Propertiescomputed-property.property
Deprecation Guide Deprecation Invocation SitealiasMethod
object.alias-method
Deprecation Guide Deprecation Invocation SitegetWithDefault
ember-metal.get-with-default
Deprecation Guide Deprecation Invocation Siteowner.legacy-owner-injection
Deprecation Invocation SiterenderTemplate
route-render-template
Deprecation Guide Deprecation Invocation Site + 1 more location in same file,disconnectOutlet
route-disconnect-outlet
Deprecation Guide Deprecation Invocation Siteapplication-controller.router-properties
Deprecation Guide Deprecation Invocation Site + 1 other in same fileember-runtime.deprecate-copy-copyable
Deprecation Guide Deprecation Invocation Sitefunction-prototype-extensions.property
Deprecation Guide Deprecation Invocation Site, Function Prototype Observes Extensionfunction-prototype-extensions.observes
Deprecation Guide Deprecation Invocation Site, Function Prototype On Extensionfunction-prototype-extensions.on
Deprecation Guide Deprecation Invocation Siteimplicit-injections
Deprecation Guide Deprecation Invocation SitetryInvoke
ember-utils.try-invoke
Deprecation Guide Deprecation Invocation SiteEmber.$
andthis.$
APIsember-views.curly-components.jquery-element
Deprecation Guide Deprecation Invocation Siteember-views.event-dispatcher.jquery-event
Deprecation Guide Deprecation Invocation Siteglobals-resolver
Deprecation Guide Deprecation Invocation Site + other locationsdeprecated-run-loop-and-computed-dot-access
Deprecation Invocation Site + other locationsmerge
ember-polyfills.deprecate-merge
Deprecation Guide Deprecation Invocation Siteember-string.loc
Deprecation Guide Deprecation Invocation Site3-0-browser-support-policy
Deprecation Guide Deprecation Invocation Sitewith
helper #19632 -{{#with
ember-glimmer.with-syntax
Deprecation Guide Deprecation Invocation Siteattrs
attrs-arg-access
Deprecation Guide Deprecation Invocation Site{{hasBlock}}
and{{hasBlockParams}}
has-block-and-has-block-params
Deprecation Guide Deprecation Invocation Site{{-in-element}}
glimmer.private-in-element
Deprecation Invocation SiteclassBinding
andclassNameBindings
to components in templatesclass-binding-and-class-name-bindings-in-templates
Deprecation Guide Deprecation Invocation Siteold-deprecate-method-paths
Deprecation Guide Deprecation Invocation Site + 1 other location in the same filesince
ember-source-deprecation-without-since
Deprecation Invocation Site, Deprecate withoutfor
ember-source-deprecation-without-for
Deprecation Invocation Siteember-env.old-extend-prototypes
Deprecation Guide Deprecation Invocation Sitetemplate-compiler.registerPlugin
Deprecation Guide Deprecation Invocation SiteThe text was updated successfully, but these errors were encountered: