Skip to content

Fix barrel-import and inject deprecations#800

Merged
SergeAstapov merged 1 commit into
ember-animation:masterfrom
backspace:fix-barrel-import-deprecations
Jun 18, 2026
Merged

Fix barrel-import and inject deprecations#800
SergeAstapov merged 1 commit into
ember-animation:masterfrom
backspace:fix-barrel-import-deprecations

Conversation

@backspace

Copy link
Copy Markdown
Contributor

This continues #796 without touching the documentation.

The library imported ViewUtils and _setClassicDecorator from the `ember`
barrel and read `Ember.testing`, all deprecated and removed in
ember-source 7.0.0. Import getViewBounds from @ember/-internals/views,
setClassicDecorator from @ember/-internals/metal, and use
@embroider/macros isTesting() instead.

The test-app's own components, routes, and a test imported `inject` from
@ember/service; switch them to the `service` named export.

Library changes taken from NullVoxPopuli's nvp/ember-7 branch (PR ember-animation#796),
scoped to the deprecation fixes; the docs app and dependency/tooling
changes from that branch are left out.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SergeAstapov

Copy link
Copy Markdown
Collaborator

thank you @backspace !

@SergeAstapov
SergeAstapov merged commit 0500b49 into ember-animation:master Jun 18, 2026
20 of 23 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants