Skip to content

Commit

Permalink
update deprecation message and version
Browse files Browse the repository at this point in the history
  • Loading branch information
pzuraq committed Sep 11, 2018
1 parent cc0db47 commit e530f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@ember/-internals/runtime/lib/system/core_object.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ class CoreObject {

if (properties !== DELAY_INIT) {
deprecate(
'using `new` with EmberObject has been deprecated. Please use `create` instead.',
'using `new` with EmberObject has been deprecated. Please use `create` instead, or consider using native classes without extending from EmberObject.',
false,
{
id: 'object.new-constructor',
until: '3.5.0',
until: '3.9.0',
}
);

Expand Down

0 comments on commit e530f3d

Please sign in to comment.