Skip to content

v1.13.0

Compare
Choose a tag to compare
@thymikee thymikee released this 18 Mar 16:31

Deprecations

In preparations to v2 release, we decided to mark some APIs as deprecated or unsafe.

  • deprecate shallow (#264)
  • alias ByProps and ByType queries with UNSAFE_ (#261) – we consider removing these APIs in the future, but it's not decided yet

Features

  • add ByA11yValue queries (#262)
  • add ByA11yState queries (#260)

Fixes

  • more robust null/undefined check for text children in getByText (#239)

Docs

  • add new a11y queries and prepare for 2.x (#263)
  • add DocSearch as recommended by Docusaurus. (#254)
  • clarify how queryBy behaves (#251)