Skip to content

v1.0.0

Compare
Choose a tag to compare
@jrolfs jrolfs released this 28 May 01:01
· 286 commits to main since this release

1.0.0 (2020-05-28)

Bug Fixes

  • add extends support for v1.12+ (fbe69b2)
  • align puppeteer extend fn names (631dd12)
  • allow puppeteer 2.x.x peerDependency (#22) (bd84bbb)
  • better document API (9bfb092)
  • getQueriesForElement always binds (c6373c6)
  • pass regex flags too (8b577db)
  • stricter regex creation (0b6c336)
  • support desctructing for /extend context (51e7ea6), closes #4
  • support older puppeteer versions (aec552c)
  • support puppeteer 1.6.x (70ed565)
  • support puppeteer 1.7+ (73666d1)
  • support regex search on raw queries object (7c4ec82)
  • utils -> queries (9ab40e0)

Features

  • add extend export (e69a91d)
  • add getNodeText method (2104763)
  • add support for queryAll* methods (94e15dd)
  • bump to dom-testing-library v3 (3a575ad)
  • export individual methods (0f70a8f)
  • expose wait method (ad69d24)
  • expose within/getQueriesForElement (75de197)
  • initial commit (b7f34ea)
  • initial functionality (3b92e6c)
  • only support node 10 and 12 (#24) (9d9b97b)
  • update @testing-library/dom to 7 (#30) (67106ba)
  • update wait-for-expect to 1.2.x (07df394)
  • upgrade to dom-testing-library 4.x.x (4eba0d9)

BREAKING CHANGES

  • updated to new major versions of @testing-library/dom and wait-for-expect
  • drop support for node 8
    • getBy and findBy throw on multiple matches
  • *ByValue functions removed
  • *BySelectText functions removed

See https://github.com/testing-library/dom-testing-library/releases/tag/v4.0.0

  • now using v3 of dom-testing-library
  • rename extendObjectWithTestingUtils to getQueriesForElement