Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @rjsf/* to 5.22.4 #1744

Merged
merged 14 commits into from
Nov 16, 2024
Merged

Update @rjsf/* to 5.22.4 #1744

merged 14 commits into from
Nov 16, 2024

Conversation

MarekBodingerBA
Copy link
Collaborator

@MarekBodingerBA MarekBodingerBA commented Nov 12, 2024

This update is part of larger set of changes needed for #1715.

In order to have support for advanced conditions I managed to implement custom experimental_customMergeAllOf to have super fast merging of conditional fields (the slowest part of RJSF right now):
rjsf-team/react-jsonschema-form#4308

However the same update brought these two regression (or improvements 🤷?)

Also, I wouldn't be confident to make such a change without extensive test coverage we have now so it helps us to move fast tremendously. In addition, Cypress tests helped me to find a serious issue during the development for the first time. 💪

…se "enum" everywhere and provide enumMetadata, remove support of number values in radio group (problematic and not used)
…us to join SelectMultiple + CheckboxGroup and Select + RadioGroup
…, the possibility to have number was removed as it doesn't make sense, and it is hard to cast to string safely, new ValueAdapter was created to handle conversion between boolean <-> string as react-aria RadioGroup only support string values, the previous logic (creating "value-1", "value-2") was cumbersome
# Conflicts:
#	forms-shared/tests/definitions/__snapshots__/formDefinitions.ts.snap
@MarekBodingerBA MarekBodingerBA marked this pull request as ready for review November 14, 2024 12:49
Copy link
Contributor

@mpinter mpinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right - I understand what is happening where and why, that's probably enough :)

🚢

@mpinter mpinter added pr: fix & ship 🚢 No additional review needed before merge - some work may be required, if specified in last review and removed pr: needs review 🙏 labels Nov 15, 2024
Copy link

github-actions bot commented Nov 15, 2024

Test build pipeline info 🚀

Changes in the code and tag info:

➡️ Changes in forms-shared: true

➡️ Changes in next: true

➡️ Changes in strapi: false

➡️ Changes in nest-forms-backend: true

➡️ Changes in nest-clamav-scanner: false

➡️ Changes in nest-tax-backend: false

We are going to build 🚢

🔜 forms-shared together with nest-forms-backend and next as those needs to be rebuild when forms-shared are changed

🔜 next

🔜 nest-forms-backend

🥳 Bratiska-cli successfully built an image from path: next/
🥳 Bratiska-cli successfully built an image from path: nest-forms-backend/

@MarekBodingerBA MarekBodingerBA enabled auto-merge (squash) November 16, 2024 15:09
@MarekBodingerBA MarekBodingerBA merged commit a6e7c3a into master Nov 16, 2024
15 checks passed
@MarekBodingerBA MarekBodingerBA deleted the update-rjsf-5-22-4 branch November 16, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix & ship 🚢 No additional review needed before merge - some work may be required, if specified in last review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants