Skip to content

Releases: testing-library/angular-testing-library

v6.1.0

11 Jun 11:09
Compare
Choose a tag to compare

6.1.0 (2019-06-11)

Features

  • use render without render options (#21) (a9f0065)

v6.0.1

03 Jun 18:45
662f135
Compare
Choose a tag to compare

6.0.1 (2019-06-03)

Bug Fixes

  • add providers to configureTestingModule (#22) (662f135)

v6.0.0

31 May 20:57
7f1dce6
Compare
Choose a tag to compare

6.0.0 (2019-05-31)

Features

BREAKING CHANGES

v5.0.1

31 May 19:55
474253f
Compare
Choose a tag to compare

5.0.1 (2019-05-31)

Bug Fixes

v5.0.0

29 May 19:11
f99e707
Compare
Choose a tag to compare

5.0.0 (2019-05-29)

chore

  • update dependencies to Angular version 8.0.0 (#16) (f99e707)

BREAKING CHANGES

  • This version requires Angular version 8

v4.0.3

13 May 20:22
5da50f3
Compare
Choose a tag to compare

4.0.3 (2019-05-13)

Bug Fixes

  • don't include jest-utils in main package (#15) (5da50f3)

v4.0.2

05 May 15:48
95a256f
Compare
Choose a tag to compare

4.0.2 (2019-05-05)

Bug Fixes

  • keep migrations folder structure (#7) (95a256f)

v4.0.1

05 May 15:35
9a2b105
Compare
Choose a tag to compare

4.0.1 (2019-05-05)

Bug Fixes

v4.0.0

05 May 15:15
Compare
Choose a tag to compare

4.0.0 (2019-05-05)

chore

  • update dom-testing-library (4a793b2)

Code Refactoring

  • remove getFromTestBed (53409eb)
  • rename createComponent to render (3c2df01)

Features

  • add migrations to fix breaking changes (32a552a)
  • add wrapper and queries render options (3b04682)
  • allow to pass component properties with the template syntax (a6a6fda)
  • debug accepts an element to be pretty printed (d39b758)
  • no need to pass the component as declaration with the component syntax (9cd8e91)

BREAKING CHANGES

  • The parameters parameter has been renamed to componentProperties and has also been moved to RenderOptions.
    To create a component via the component syntax, just pass it to the render function.

BEFORE:

const component = createComponent(
  {
    component: HomeComponent,
    parameters: { welcomeText: 'hello' }
  },
  {
    declarations: [ HomeComponent ]
  }
)

AFTER:

const component = render(HomeComponent, { componentProperties: { welcomeText: 'hello' }, declarations: [ HomeComponent ] })
  • See the changelog of dom-testing-library
  • The createComponent function has been renamed to render
  • The getFromTestBed function has been removed, use Angular's TestBed.get instead

v3.2.0

24 Mar 12:33
Compare
Choose a tag to compare

3.2.0 (2019-03-24)

Features