824 Commits

Author SHA1 Message Date
Maciej Jastrzebski 63bc5124a4 v12.1.0 v12.1.0 2023-04-28 11:59:40 +02:00
Maciej Jastrzebski 17649638a1 fix: proper stack trace for findBy* and findAllBy* queries (#1394)
* fix: fix stacktrace for findBy* queries
* chore: cleanup
2023-04-27 14:42:58 +02:00
Stephen Hanson f7c8400246 feat: Render element tree in query error messages (#1378)
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2023-04-27 11:05:10 +02:00
Maciej Jastrzebski 5f770cb846 fix: experiments app 2023-04-25 13:57:08 +02:00
Maciej Jastrzebski e2073e2a2c chore: experiments app (#1391) 2023-04-25 13:06:42 +02:00
Maciej Jastrzebski 78194d19e7 refactor: remove stale tests (#1392) 2023-04-24 11:13:46 +02:00
Stephen Hanson 4ac2833ae6 fix: docs link to GitHub (#1390) 2023-04-21 21:44:10 +02:00
Maciej Jastrzebski 7b02f510d6 chore: fix migration guide role prop naming (#1382) 2023-04-05 18:21:07 +02:00
Josh Justice 7eb1114dc9 Fix typo in "derived" in v12 migration guide (#1376) 2023-04-04 20:06:35 +02:00
Maciej Jastrzebski c6f976f597 chore: update deps 2023-04-04 (#1380) 2023-04-04 20:05:49 +02:00
Stephen Hanson 2c8909f9a6 Fix broken link in contributing.md (#1377)
This just fixes a broken link in the contributing guide.

Before: https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
After: https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github
2023-03-31 21:31:06 +02:00
Maciej Jastrzebski 63187c4180 v12.0.1 v12.0.1 2023-03-23 10:51:55 +01:00
Jarda Snajdr 6bf8d246e6 detectHostComponentNames: render test tree inside act to avoid timer leaks (#1371)
* detectHostComponentNames: render test tree inside act to avoid timer leaks

* chore: tweaks

* refactor: extract common renderWithAct function

* chore: tweaks

---------

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2023-03-23 10:48:17 +01:00
Jarda Snajdr f79d41dc6a Flush all pending microtasks and updates before returning from waitFor (#1366)
* Flush all pending microtasks and updates before returning from waitFor

* Disable a linter error, its advice is not good

* refactor: use `flushMicroTasks` util

* refactor: add legacy fake timer test

* refactor: tweaks

---------

Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
2023-03-23 10:04:45 +01:00
dependabot[bot] 0783af9e72 chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 (#1372)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 18:03:28 +01:00
Maciej Jastrzebski 3eebab255b Add migration link to readme 2023-03-17 11:48:05 +01:00
Maciej Jastrzebski 6c77ad897e Tweak dependabot.yml 2023-03-16 13:16:37 +01:00
Maciej Jastrzebski 939380d5f5 chore: disabled renovate (#1370) 2023-03-16 12:53:03 +01:00
Maciej Jastrzebski b898952e5f chore: upgrade deps 2023-03-16 (#1369) 2023-03-16 12:45:31 +01:00
renovate[bot] 7628005b7e fix(deps): update all minor & patch deps (#1363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 18:57:38 +01:00
Maciej Jastrzebski f5fc6d4472 v12.0.0 v12.0.0 2023-03-15 09:44:52 +01:00
Maciej Jastrzebski 4256d0c83c v12 release (#1314)
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>
2023-03-15 09:41:38 +01:00
Maciej Jastrzebski c4d36e4ee3 v11.5.4 v11.5.4 2023-03-08 14:56:23 +01:00
Maciej Jastrzebski 468f7f5992 fix: disable container deprecation warning (main) (#1362)
* fix: disable container deprecation warning

* chore: fix lint
2023-03-08 14:46:31 +01:00
Maciej Jastrzebski 45d5cc14a4 v11.5.3 v11.5.3 2023-03-07 08:02:23 +01:00
Maciej Jastrzebski eb2e087002 fix: duplicate AccessibilityState type (cherry-pick of #1355) (#1361) 2023-03-07 08:00:41 +01:00
Maciej Jastrzebski 0bd11a40ff Update dependabot.yml 2023-03-06 15:48:52 +01:00
Maciej Jastrzebski 59beeea970 Update dependabot.yml 2023-03-06 15:47:02 +01:00
Maciej Jastrzebski 1718e430f6 chore: yarn upgrade (#1356) 2023-03-06 11:20:09 +01:00
dependabot[bot] 37ff200d11 chore(deps-dev): bump @testing-library/jest-native from 5.4.1 to 5.4.2 (#1342)
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native) from 5.4.1 to 5.4.2.
- [Release notes](https://github.com/testing-library/jest-native/releases)
- [Changelog](https://github.com/testing-library/jest-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-native/compare/v5.4.1...v5.4.2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-native"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 10:57:41 +01:00
Pierre Zimmermann 43e02e443a docs: update docs on custom jest preset (#1316)
* docs: update docs on custom jest preset

* docs: flip conditions on modern timers and react native version

* Update README.md

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>

* Update title in readme for custom jest preset

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>

---------

Co-authored-by: pierrezimmermann <pierrez@nam.tech>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2023-02-17 14:37:08 +01:00
Maciej Jastrzebski 3739c89d32 chore: upgrade docusaurus 2.3.1 (#1336)
* chore: upgrade docusaurus
* chore: upgrade website react
2023-02-17 12:37:46 +01:00
Maciej Jastrzębski 2c5e9ff796 chore: tweak renovate schedule 2023-02-17 11:06:18 +01:00
Maciej Jastrzebski 61cefc495d chore: renovate config (#1333) 2023-02-17 10:22:14 +01:00
dependabot[bot] 26f9169aa1 chore(deps-dev): bump @types/react from 18.0.27 to 18.0.28 (#1331)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.27 to 18.0.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 00:13:35 +01:00
renovate[bot] 4487b62e1b chore(deps): update node.js to v8.17.0 (#1326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 12:20:45 +01:00
renovate[bot] 81b2bf6e8d chore(deps): update codecov/codecov-action action to v3 (#1327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 12:19:52 +01:00
renovate[bot] 3c48c3e908 chore(deps): update dependency react-native to v0.71.3 (#1323)
* chore(deps): update dependency react-native to v0.71.3

* chore: remove @ts-expect-errors comments

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2023-02-16 11:50:47 +01:00
renovate[bot] 924b5fc197 Add renovate.json (#1322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 11:40:46 +01:00
Maciej Jastrzebski 47b125c195 refactor(breaking): rename container to UNSAFE_root; introduce root host element (#1298) 2023-02-14 00:32:51 +01:00
Maciej Jastrzębski 1e8b3baa45 v11.5.2 v11.5.2 2023-02-08 15:11:37 +01:00
Maciej Jastrzebski 2b5d0d2a3d fix: get host component names on render (modified) (#1306)
Co-authored-by: pierrezimmermann <pierrez@nam.tech>
2023-02-08 15:09:20 +01:00
dependabot[bot] 15e2db7869 chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /website (#1303)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 11:49:34 +01:00
dependabot[bot] 163e2e7f2c chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 (#1300)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 11:49:08 +01:00
dependabot[bot] 921fd1bb4a chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 (#1299)
Bumps [eslint](https://github.com/eslint/eslint) from 8.32.0 to 8.33.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.32.0...v8.33.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 15:40:30 +01:00
dependabot[bot] 5adadd3b3a chore(deps): bump pretty-format from 29.4.0 to 29.4.1 (#1297)
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/pretty-format)

---
updated-dependencies:
- dependency-name: pretty-format
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 15:39:55 +01:00
Maciej Jastrzebski 8bd19520bf chore: deprecate some a11y queries (#1226) 2023-01-28 22:31:56 +01:00
Maciej Jastrzębski 897b7de7f7 v11.5.1 v11.5.1 2023-01-26 21:38:56 +00:00
Maciej Jastrzebski 4decd45f5e fix: force cast await to proper type (#1293)
* fix: force cast await to proper type

* fix: ci

* refactor: remove support for mock act

* refactor: tweaks

* chore: remove unused test

* chore: fix lint

* refactor: code review changes
2023-01-26 22:28:10 +01:00
dependabot[bot] 0abb4a40f9 chore(deps-dev): bump babel-jest from 29.4.0 to 29.4.1 (#1295)
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/babel-jest)

---
updated-dependencies:
- dependency-name: babel-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 16:50:46 +01:00