react-jsonschema-form: ANNOUNCEMENT: Breaking changes planned for v3

The next version of rjsf will be v3, and we’ll add a few breaking changes to it.

Planned changes

PRs that are nearly ready and will be added in v3:

  • refactor: types for withTheme #2279
  • No core-js in core #2211
  • Drop support for node 8 / 9 #2031
  • Drop support for node 10 #2299
  • Maintain AJV properties when custom validator is in use. #2002

Other potential changes

If someone makes PRs for these issues, we might be able to get them into v3.

  • noHtml5Validate should be true by default #1184
  • Fieldset preventing flexbox styling #762

These PRs would be good to add, but still have some work to do on them:

Have suggestions for changes / additional items we should add to this list? Feedback welcome!

cc @ri0ter @erunion @stanlemon @mattcosta7 @zepatrik @wegry @jimmycallin @robophred @bmmpt

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 5
  • Comments: 17 (14 by maintainers)

Commits related to this issue

Most upvoted comments

@epicfaace You also mentioned this old PR of mine to be a breaking change https://github.com/rjsf-team/react-jsonschema-form/pull/1522

might be time to merge it then (or let me know if you want me to revert the breaking change part). personally i would love to see rjsf to be strict mode valid as a part of v3.

@wegry Thanks for checking. I’d like to clean up https://github.com/rjsf-team/react-jsonschema-form/blob/master/docs/3.x upgrade guide.md (ensure that the tone is consistent, everything is clear, etc.) before release because multiple people have added to it and it doesn’t read very well at the moment.

It’s been quite a while since I made this post, so I’m going to go ahead and release v3 soon so we don’t have too much time lag between versions. We can release the other pending breaking changes in v4 (which could probably come relatively soon after v3 and have less breaking changes).

Some thoughts…

  • Previously we discussed swapping out native controls in the Material UI theme for their provided ones, specifically the date picker.
  • Any widget built around arrays and nesting requires a lot of work in a new theme, it would be great if to make that a lighter lift.
  • This might be controversial, but perhaps we drop the verbose date picker with tons of selects altogether.

Sounds good! Might want to look into the discussions in this PR and consider them as well https://github.com/rjsf-team/react-jsonschema-form/pull/2010

Sounds good.

Is that a breaking change?

I don’t believe so. Just something I’ve been hankering for.