Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dev-deps): update dependency @testing-library/angular to v16 #323

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/angular 11.0.4 -> 16.0.0 age adoption passing confidence

Release Notes

testing-library/angular-testing-library (@​testing-library/angular)

v16.0.0

Compare Source

Features
BREAKING CHANGES

v15.2.0

Compare Source

Features

v15.1.0

Compare Source

Features

v15.0.0

Compare Source

Features
BREAKING CHANGES
  • Requires Angular v17 to test deferrable views.

v14.5.1

Compare Source

Bug Fixes
  • revert methods to test deferrable views (0582c04)

v14.5.0

Compare Source

Features

v14.4.1

Compare Source

Bug Fixes

v14.4.0

Compare Source

Features

v14.3.0

Compare Source

Features

v14.2.0

Compare Source

Features

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Features

v14.0.0

Compare Source

Features
BREAKING CHANGES
  • Use rerender instead of change.
  • Use rerender instead of changeInput.

For more info see https://github.com/testing-library/dom-testing-library/releases/tag/v9.0.0

v13.4.0

Compare Source

Features
  • support ngOnChanges with correct simpleChange object within rerender (#​366) (83c323f), closes #​365

v13.3.0

Compare Source

Features
  • deprecate change and changeInput in favor of rerender (#​371) (dc4c22f)

v13.2.1

Compare Source

Bug Fixes

v13.2.0

Compare Source

Features
  • add initialRoute parameter to avoid resolver issues with using a default route (#​367) (d3407ca)

v13.1.0

Compare Source

Features

v13.0.2

Compare Source

Bug Fixes

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Features
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],
});
  • 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.

  • 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' 
  }
});
  • BEFORE:

The minimum version of Angular is v14.0.0

AFTER:

The minimum version of Angular is v15.0.0

  • The config property detectChanges is renamed to detectChangesOnRender.

BEFORE:

const component = await render(AppComponent, {
  detectChanges: false
});

AFTER:

const component = await render(AppComponent, {
  detectChangesOnRender: false
});

v12.3.0

Compare Source

Features
  • deprecate detectChanges in favor of detectChangesOnRender (#​340) (63c27e2)

v12.2.2

Compare Source

Bug Fixes
  • disable updateBuildableProjectDepsInPackageJson (65cccbe)

v12.2.1

Compare Source

Bug Fixes

v12.2.0

Compare Source

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

v12.1.2

Compare Source

Bug Fixes

v12.1.1

Compare Source

Bug Fixes

v12.1.0

Compare Source

Features
  • support componentImports option for standalone components (experimental) (#​307) (459b500)

v12.0.2

Compare Source

Bug Fixes

v12.0.1

Compare Source

Bug Fixes

v12.0.0

Compare Source

Features
BREAKING CHANGES
  • This version requires Angular v14+

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner May 13, 2024 04:33
Copy link
Contributor Author

renovate bot commented May 13, 2024

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants