ember-simple-auth icon indicating copy to clipboard operation
ember-simple-auth copied to clipboard

Missing `for` and `since` in options in deprecations.

Open Mikek2252 opened this issue 4 years ago • 2 comments

  • Ember Simple Auth: The AuthenticatedRouteMixin is now deprecated
  • Ember Simple Auth: The session service's events API is deprecated; to add custom behavior to the authentication or invalidation handling, override the handleAuthentication or handleInvalidation methods.
  • Ember Simple Auth: The ApplicationRouteMixin is now deprecated; it can be safely removed.

The following deprecations are missing the for and since options which are causing additional depreciations warnings. Build 3.1.0

Mikek2252 avatar Feb 04 '21 13:02 Mikek2252

this is the full message shown in the console When calling `deprecate` you must provide `for` in options. Missing options.for in "ember-simple-auth.mixins.authenticated-route-mixin" deprecation [deprecation id: ember-source.deprecation-without-for]

IgorKvasn avatar Feb 19 '21 17:02 IgorKvasn

Chiming in since I hit this deprecation message too today.

ESA won't be usable on ember 4.0 until this deprecation is removed

bartocc avatar Nov 29 '21 17:11 bartocc