Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testing-library/dom-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.16.0
Choose a base ref
...
head repository: testing-library/dom-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.0.2
Choose a head ref
  • 10 commits
  • 34 files changed
  • 4 contributors

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    d344a67 View commit details
    Browse the repository at this point in the history
  2. docs: add MichaelDeBoey as a contributor (#462)

    * docs: update README.md
    
    * docs: update .all-contributorsrc
    Kent C. Dodds authored Mar 4, 2020
    Configuration menu
    Copy the full SHA
    d88a1ba View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. docs: add NMinhNguyen as a contributor (#466)

    * docs: update README.md
    
    * docs: update .all-contributorsrc
    
    Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
    allcontributors[bot] authored Mar 6, 2020
    Configuration menu
    Copy the full SHA
    bb4a1ed View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2020

  1. fix: Drop Node 8 (#459)

    Closes #430
    
    BREAKING CHANGE: This drops support for Node 8. Node 10 or greater is now required.
    kentcdodds committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    c3ab843 View commit details
    Browse the repository at this point in the history
  2. feat(ByLabelText): change selector to match target (not label) (#373)

    Closes #372
    
    BREAKING CHANGE: If you used the `selector` option in `ByLabelText` queries, then you will probably need to update that code to be able to find the label you're looking for.
    airjp73 authored and kentcdodds committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    eea7e4d View commit details
    Browse the repository at this point in the history
  3. feat(waitFor): replace wait with waitFor

    Closes #376
    Closes #416
    
    BREAKING CHANGE: wait is now deprecated in favor of waitFor (which has basically the same API except it requires a callback and it also accepts optional mutation observer arguments).
    BREAKING CHANGE: `waitForElement` is deprecated in favor of `find*` queries or `wait`.
    BREAKING CHANGE: `waitForDomChange` is deprecated in favor of `wait`
    BREAKING CHANGE: default timeout for async utilities is now 1000ms rather than 4500ms. This can be configured: https://testing-library.com/docs/dom-testing-library/api-configuration
    Kent C. Dodds authored and kentcdodds committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    2b641e1 View commit details
    Browse the repository at this point in the history
  4. feat: remove mutationobserver shim (#457)

    Closes #413
    Closes #357
    
    BREAKING CHANGE: MutationObserver is supported by all major browsers and recent versions of JSDOM. If you need, you can create your own shim (using @sheerun/mutationobserver-shim) and attach it to the window.
    Kent C. Dodds authored and kentcdodds committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    e3fdb8e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b711a4 View commit details
    Browse the repository at this point in the history
  6. fix(find*): waitForElement was still in use (#476)

    Kent C. Dodds authored Mar 12, 2020
    Configuration menu
    Copy the full SHA
    c0a4eb2 View commit details
    Browse the repository at this point in the history
  7. fix: remove very old deprecated method

    This should have been in the major version bump but wasn't.
    
    Nobody should be using this anyway so I'm just pushing this in directly.
    
    Sorry if this broke you. I'll send you a gif if you ask me to 💚
    Kent C. Dodds authored Mar 12, 2020
    Configuration menu
    Copy the full SHA
    98e5bb3 View commit details
    Browse the repository at this point in the history
Loading