Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: remove animations dependency #531

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

Merged
timdeschryver merged 2 commits into beta from remove-animations
Jun 8, 2025
Merged

feat: remove animations dependency #531

timdeschryver merged 2 commits into beta from remove-animations
Jun 8, 2025

Conversation

Copy link
Member

@timdeschryver timdeschryver commented Jun 7, 2025
edited
Loading

Closes #525

Angular recommends using css animations, https://angular.dev/guide/animations/migration

BREAKING CHANGE

Because of the removal of the animations dependency, the NoopAnimationsModule is no longer automatically imported in the render function.

BEFORE:

The NoopAnimationsModule is always imported to the render the component.

AFTER:

Import the NoopAnimationsModule in your render configuration where needed:

 await render(SutComponent, {
 imports: [NoopAnimationsModule],
});

jonaskuske reacted with thumbs up emoji
BREAKING CHANGE
Because of the removal of the animations dependency, the NoopAnimationsModule is no longer automatically imported in the render.
BEFORE:
The NoopAnimationsModule was always imported to the render.
AFTER:
Import the NoopAnimationsModule where needed, or configure the default imports using configure:
`	s
configure({
 defaultImports: [NoopAnimationsModule],
});
`
@timdeschryver timdeschryver merged commit 59f73ae into beta Jun 8, 2025
6 checks passed
@timdeschryver timdeschryver deleted the remove-animations branch June 8, 2025 17:39
timdeschryver added a commit that referenced this pull request Aug 7, 2025
* feat: update to Angular 20 (#530)
BREAKING CHANGE:
The angular minimum version has changed.
BEFORE:
Angular 17,18,19 were supported.
AFTER:
Angular 20 (and up) is supported.
Reason: The method `TestBed.get` has been removed.
* feat: remove animations dependency (#531)
BREAKING CHANGE:
Angular recommends using CSS animations, https://angular.dev/guide/animations/migration
Because of the removal of the animations dependency, the `NoopAnimationsModule` is no longer automatically imported in the render function.
BEFORE:
The `NoopAnimationsModule` was always imported to the render the component.
AFTER:
Import the `NoopAnimationsModule` in your render configuration (where needed):
```ts
 await render(SutComponent, {
 imports: [NoopAnimationsModule],
});
```
* feat: add stronger types (#413)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /