Skip to content

v12 release - #1314

Merged
mdjastrzebski merged 10 commits into
mainfrom
v12
Mar 15, 2023
Merged

v12 release #1314
mdjastrzebski merged 10 commits into
mainfrom
v12

Conversation

@mdjastrzebski

@mdjastrzebski mdjastrzebski commented Feb 14, 2023

Copy link
Copy Markdown
Member

@thymikee

Copy link
Copy Markdown
Member

Do we have a release plan already? Starting with some RC or going straight to the stable release channel?

@mdjastrzebski

Copy link
Copy Markdown
Member Author

I would like to RC first, as we have some breaking changes. Going this way might help use catch some potential errors before reaching general public. IIRC @AugustinLF offered to test RC on his project.

@mdjastrzebski mdjastrzebski changed the title v12 v12 release Feb 14, 2023
@pierrezimmermannbam

Copy link
Copy Markdown
Collaborator

I think a RC is a good idea, I'll also try the latest version on my project

@mdjastrzebski

Copy link
Copy Markdown
Member Author

I've just releases v12.0.0-rc.0. Our first RC. 🎉

@AugustinLF @pierrezimmermannbam @MattAgn could you take it for a spin, and see if it works fine with our test suits?

@pierrezimmermannbam

Copy link
Copy Markdown
Collaborator

I just tried it on my current project, it doesn't work with toBeOnTheScreen matcher, I opened an issue #1338

@mdjastrzebski

Copy link
Copy Markdown
Member Author

@pierrezimmermannbam Jest Native 5.4.2 is out with the fix!

@mdjastrzebski

Copy link
Copy Markdown
Member Author

@pierrezimmermannbam how about other issues beside toBeOnTheScreen() issue? Where there any or all green?

@pierrezimmermannbam

Copy link
Copy Markdown
Collaborator

@mdjastrzebski I'll test with newer version of jest-native because it may have hidden other issues but so far I haven't seen other issues

@pierrezimmermannbam

Copy link
Copy Markdown
Collaborator

No other issues on my project, I've tested it on an older project as well, just got some byRole queries not working because they targeted non accessible elements 🎉

@AugustinLF

Copy link
Copy Markdown
Collaborator

Back from vacation, I'll try to update, will keep you updated in the upcoming days :)

@mdjastrzebski

Copy link
Copy Markdown
Member Author

I've just released RC 1 with fix for #1350.

@AugustinLF

Copy link
Copy Markdown
Collaborator

I tested the RC, and apart from the type issue I mentioned in #1351 and the container problem of #1350, nothing unexpected (it did caught a few accessibility errors, and improved some of our tests that were messy because of accessible={false} nested touchables, so overall, really happy with the release :)

@mdjastrzebski

Copy link
Copy Markdown
Member Author

Just released RC 2 🎉

@mdjastrzebski
mdjastrzebski force-pushed the v12 branch 2 times, most recently from 15b228f to 51302ce Compare March 7, 2023 07:04
@mdjastrzebski
mdjastrzebski marked this pull request as ready for review March 7, 2023 07:08
@mdjastrzebski

Copy link
Copy Markdown
Member Author

@AugustinLF, @pierrezimmermannbam, @MattAgn the RC 2 seems to be ready from my perspective, all reported issues (#1338, ) have been fixed.

Do you have any more tests to perform? Are you aware of any more issues?

Comment thread website/docs/MigrationV12.md Outdated
Comment thread website/docs/MigrationV12.md Outdated
mdjastrzebski and others added 10 commits March 8, 2023 14:57
* chore: enable all breaking changes

* fix: ci issues

* chore: fix lint

* chore: cleanup

* chore: add migration guide

* chore: update docs

* chore: docs tweaks

* chore: docs tweaks

* chore: remove useBreakingChanges config flag

* refactor: code review changes

* docs: tweaks
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
* docs: update migration guide to mention updating version of jest native

* docs: add note at top level to indicate it requires an update of jest native

* Update website/docs/MigrationV12.md

---------

Co-authored-by: pierrezimmermann <pierrez@nam.tech>
* fix: make container non-enumerable

* chore: fix lint, typecheck

* chore: code comment
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
@codecov

codecov Bot commented Mar 8, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (c4d36e4) 96.12% compared to head (be0b16a) 96.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1314   +/-   ##
=======================================
  Coverage   96.12%   96.13%           
=======================================
  Files          49       49           
  Lines        3359     3314   -45     
  Branches      503      491   -12     
=======================================
- Hits         3229     3186   -43     
+ Misses        130      128    -2     
Impacted Files Coverage Δ
src/queries/text.ts 100.00% <ø> (+2.10%) ⬆️
src/screen.ts 100.00% <ø> (ø)
src/config.ts 100.00% <100.00%> (ø)
src/helpers/accessiblity.ts 100.00% <100.00%> (ø)
src/queries/displayValue.ts 100.00% <100.00%> (ø)
src/queries/placeholderText.ts 100.00% <100.00%> (ø)
src/queries/role.ts 100.00% <100.00%> (ø)
src/render.tsx 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mdjastrzebski

Copy link
Copy Markdown
Member Author

If there are no more issues and/or comments regarding this RC, let's plan release for next Tuesday, Mar 14 😄

@mdjastrzebski
mdjastrzebski merged commit 4256d0c into main Mar 15, 2023
@mdjastrzebski
mdjastrzebski deleted the v12 branch March 15, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants