Skip to content

feat: update to Angular 20#530

Merged
timdeschryver merged 1 commit intobetafrom
ng-20
Jun 7, 2025
Merged

feat: update to Angular 20#530
timdeschryver merged 1 commit intobetafrom
ng-20

Conversation

@timdeschryver
Copy link
Member

BREAKING CHANGE:

The angular minimum version has changed.

BEFORE:

Angular 17,18,19 were supported.

AFTER:

Angular 20 is supported:

  • TestBed.get is removed

BREAKING CHANGE:

The angular minimum version has changed.

BEFORE:

Angular 17,18,19 were supported.

AFTER:

Angular 20 is supported:
  - TestBed.get is removed
@timdeschryver timdeschryver changed the base branch from main to beta June 7, 2025 16:31
@timdeschryver timdeschryver merged commit 6a64bbe into beta Jun 7, 2025
6 checks passed
@timdeschryver timdeschryver deleted the ng-20 branch June 7, 2025 16:32
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant