Skip to content

Releases: testing-library/angular-testing-library

v12.2.1

03 Dec 20:31
2b357d1
Compare
Choose a tag to compare

12.2.1 (2022-12-03)

Bug Fixes

v12.2.0

28 Nov 16:11
6e951ad
Compare
Choose a tag to compare

12.2.0 (2022-11-28)

Features

  • childComponentOverrides property to override nested child providers (#332) (6e951ad)

v13.0.0-beta.8

25 Nov 17:57
5b848f5
Compare
Choose a tag to compare
v13.0.0-beta.8 Pre-release
Pre-release

13.0.0-beta.8 (2022-11-25)

Bug Fixes

  • angular peer dependencies allow v15 (5b848f5)

v13.0.0-beta.7

25 Nov 15:43
fa38ba3
Compare
Choose a tag to compare
v13.0.0-beta.7 Pre-release
Pre-release

13.0.0-beta.7 (2022-11-25)

Bug Fixes

v13.0.0-beta.6

25 Nov 12:35
e185fc8
Compare
Choose a tag to compare
v13.0.0-beta.6 Pre-release
Pre-release

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

25 Nov 12:25
50aa0ac
Compare
Choose a tag to compare
v13.0.0-beta.5 Pre-release
Pre-release

13.0.0-beta.5 (2022-11-25)

Features

  • add ability to turn off auto detect changes (#329) (50aa0ac)

v13.0.0-beta.4

25 Nov 11:44
ce3a612
Compare
Choose a tag to compare
v13.0.0-beta.4 Pre-release
Pre-release

13.0.0-beta.4 (2022-11-25)

Features

  • add more fine-grained control over inputs and outputs (#328) (ce3a612)

BREAKING CHANGES

  • rerender expects properties to be wrapped in an object containing componentProperties (or componentInputs and componentOutputs 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

22 Nov 18:30
3fe94da
Compare
Choose a tag to compare
v13.0.0-beta.3 Pre-release
Pre-release

13.0.0-beta.3 (2022-11-22)

Bug Fixes

  • don't invoke ngOnChanges when no properties are provided (#326) (3fe94da), closes #323

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.

v13.0.0-beta.2

21 Nov 18:55
d4a6ef4
Compare
Choose a tag to compare
v13.0.0-beta.2 Pre-release
Pre-release

13.0.0-beta.2 (2022-11-21)

Bug Fixes

v13.0.0-beta.1

21 Nov 17:44
eb506f1
Compare
Choose a tag to compare
v13.0.0-beta.1 Pre-release
Pre-release

13.0.0-beta.1 (2022-11-21)

Features

  • rename ɵcomponentImports to componentImports (bff8acb)
  • update to Angular 15 (71184b7)

BREAKING CHANGES

  • The render property ɵcomponentImports is not experimental anymore, and is renamed to componentImports

BEFORE:

render(ParentComponent, {
ɵcomponentImports: [ChildComponent],
});

AFTER:

render(ParentComponent, {
componentImports: [ChildComponent],
});