Skip to content

Releases: testing-library/angular-testing-library

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

v3.1.0

14 Dec 19:08
Compare
Choose a tag to compare

3.1.0 (2018-12-14)

Features

  • re-export dom-testing-library (7738b26)

v3.0.3

02 Nov 13:48
Compare
Choose a tag to compare

3.0.3 (2018-11-02)

Bug Fixes

  • move publishConfig to project package (47ad255)