Releases: testing-library/angular-testing-library
Releases · testing-library/angular-testing-library
v12.3.0
v12.2.2
v12.2.1
v12.2.0
v13.0.0-beta.8
v13.0.0-beta.7
v13.0.0-beta.6
13.0.0-beta.6 (2022-11-25)
chore
BREAKING CHANGES
- BEFORE:
The minimum version of Angular is v14.0.0
AFTER:
The minimum version of Angular is v14.1.0
v13.0.0-beta.5
v13.0.0-beta.4
13.0.0-beta.4 (2022-11-25)
Features
BREAKING CHANGES
rerender
expects properties to be wrapped in an object containingcomponentProperties
(orcomponentInputs
andcomponentOutputs
to have a more fine-grained control).
BEFORE:
await render(PersonComponent, {
componentProperties: {
name: 'Sarah'
}
});
await rerender({ name: 'Sarah 2' });
AFTER:
await render(PersonComponent, {
componentProperties: {
name: 'Sarah'
}
});
await rerender({
componentProperties: {
name: 'Sarah 2'
}
});
v13.0.0-beta.3
13.0.0-beta.3 (2022-11-22)
Bug Fixes
BREAKING CHANGES
- This change is made to have the same behavior as the run time behavior.
BEFORE:
The ngOnChanges
lifecycle is always invoked when a component is rendered.
AFTER:
The ngOnChanges
lifecycle is only invoked if a component is rendered with componentProperties
.