A React component for building Web forms from JSON Schema.

Overview
Comments
  • Module not found: Error: Can't resolve '@material-ui/core' and '@material-ui/icons'

    Module not found: Error: Can't resolve '@material-ui/core' and '@material-ui/icons'

    Description

    When I use rjsf out-of-the-box, right after installation I get some unnecessary warnings in the console.

    Steps to Reproduce

    1. Import form for MUI version 5.
    2. Observe warnings in the console.

    Expected behavior

    No warnings.

    Actual behavior

    I use rjsf as follows with Material UI version 5.

    import { MuiForm5 as Form } from '@rjsf/material-ui';
      <Form schema={schema}>
        <></>
      </Form>
    

    That gives me the following warning in the console:

    WARNING in ../../node_modules/@rjsf/material-ui/dist/material-ui.esm.js 1139:21-49
    Module not found: Error: Can't resolve '@material-ui/core' in '/... ... .../node_modules/@rjsf/material-ui/dist'
    ...
    WARNING in ../../node_modules/@rjsf/material-ui/dist/material-ui.esm.js 1140:23-52
    Module not found: Error: Can't resolve '@material-ui/icons' in '/... ... .../node_modules/@rjsf/material-ui/dist'
    

    Version

    From package.json:

        "@emotion/react": "^11.7.1",
        "@emotion/styled": "^11.6.0",
        "@mui/icons-material": "^5.4.4",
        "@mui/material": "^5.3.1",
        "@rjsf/core": "^4.1.0",
        "@rjsf/material-ui": "^4.1.0",
    
    question material-ui 
    opened by jakub-astrahit 62
  • Add support for both Material UI 4 and 5 in @rjsf/material-ui (fix #2555)

    Add support for both Material UI 4 and 5 in @rjsf/material-ui (fix #2555)

    Reasons for making this change

    Fix #2555 by adding side-by-side support for both the Material UI 4 and 5 themes as follows:

    • Updated core to add React 17 as a peer-dependency to support the @mui libraries which requires it
      • This required removing the create-react-ref library that didn't support React 17, updating the single usage of it in a test with React.createRef()
    • Ran the mui v4->v5 over the @material-ui source code
      • Cleaned up the imports structures of the code base
      • Removed the TextFieldProps in favor of simply using the updated WidgetProps in may of the TextField based widgets
      • Made a few other smaller Typescript fixes to a few Widgets
      • Created a new React context, MuiComponentContext that will be used for encapsulating the@material-ui or @mui components and icons
        • Updated ALL of the field, widget and helper components in @rjsf/material-ui to use the MuiComponentContext to obtain the appropriate Material UI definitions
          • Removed the @rjsf/material-ui IconButton component in favor of explicitly using the Material UI IconButton wrapped around each of the 4 Icons (Add, ArrowDownward, ArrowUpward or Remove)
      • Updated the existing Material UI 4 Theme to attempt to load a MaterialUIContext from the @material-ui libraries, which is used in the new Mui4TagName component to wrap a form with a MuiComponentContext for Material UI 4
      • Updated the material-ui version 4 tests snapshot
      • Added new MuiForm5 and Theme5 components that attempt to load a Mui5Context from the @mui libraries, which is used in the new Mui5TagName component to wrap a form with a MuiComponentContext for Material UI 5
      • Added mui5 tests which are a copy of the version 4 tests except that one failing test was skipped (due to mui issue
      • Updated the root and material-ui README.md and a few other theme related documentation files
      • Added a screenshot5.png to the root directory
    • Updated playground to bump the @material-ui versions and as well as the babel ecosystem and core-js
      • Added a new src/emptyLibrary.js file that simply returns null
      • Updated the webpack config files to add new resolve aliases for the @mui libraries to return emptyLibrary since trying to load them will break things without React 17
    • Added a new playground-r17 package that contains only the core and material-ui themes
      • This required upgrading react-monoco-editor, monoco-editor and monaco-editor-webpack-plugin to versions that support React 17
      • Updated DemoFrame to use the @emotion/react CacheProvider in addition to the older @material-ui/styles StylesProvider
      • NOTE: I am not sure how to update the main deployment system to integrate this with the main published playground
        • @epicface perhaps we can work together to figure this out?
        • In the meantime, developers can use this non-published playground to test with

    Checklist

    • [x] I'm updating documentation
    • [x] I'm adding or updating code
      • [x] I've added and/or updated tests
      • [ ] I've updated docs if needed
      • [x] I've updated the changelog with a description of the PR
    • [x] I'm adding a new feature
      • [x] I've updated the playground with an example use of the feature
    opened by heath-freenome 54
  • Add more schemas to validate against

    Add more schemas to validate against

    Reasons for making this change

    Right now we have no clear way to validate data using anything other then draft-6, which is default for ajv version 5. By updating ajv to newest available version (6.7.0) and making changes listed here: https://github.com/epoberezkin/ajv#using-version-6 we would be able to validate data using other drafts. There are no breaking changes between v5 and v6: https://github.com/epoberezkin/ajv/releases/tag/v6.0.0

    Checklist

    • [x] I'm updating documentation
      • [x] I've checked the rendering of the Markdown text I've added
      • [ ] If I'm adding a new section, I've updated the Table of Content
    • [x] I'm adding or updating code
      • [x] I've added and/or updated tests
      • [x] I've updated docs if needed
      • [x] I've run npm run cs-format on my branch to conform my code to prettier coding style
    • [x] I'm adding a new feature
      • [ ] I've updated the playground with an example use of the feature
    awaiting review 
    opened by aerfio 41
  • Unable to trigger form submit/validation externally from the form

    Unable to trigger form submit/validation externally from the form

    Prerequisites

    • [x] I have read the documentation;
    • [x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

    Description

    Requirements from my design team require the submit buttons to be logically separate in structure, both is usage of React and the DOM. I'm looking for a way to submit and/or validate the form externally or pass in errors that I have validated externally. It doesn't seem possible right now and I couldn't find a way to do it that didn't seem like a complete hack relying on the internals of RJSF.

    Steps to Reproduce

    The following is essentially the crux of the structure. Our design team wants the buttons to be above the form in a header instead of below and the structure of the application prevents wrapping the header inside the form. Any help with the ability to submit/validate/display errors without having buttons as children of the form would be useful.

    <div>
      <Header>
        <button>Submit</button>
        <button>Cancel</button>
      </Header>
      <Form {...formProps}>
        <span/>
      </Form>
    </div>
    

    Version

    0.41.2

    wontfix possibly close 
    opened by aackerman 38
  • Support customization / props of submit button using ui:submitButtonOptions

    Support customization / props of submit button using ui:submitButtonOptions

    Reasons for making this change

    Currently there is no options to hide the submit button or change the text of the button. ui:submitButtonProps will allow you to change the text, if it is required for readonly forms and disable it. Fixes https://github.com/rjsf-team/react-jsonschema-form/issues/1602

    Checklist

    • [X] I'm updating documentation
    • [X] I'm adding or updating code
      • [X] I've added and/or updated tests
      • [X] I've updated docs if needed
      • [X] I've updated the changelog with a description of the PR
    • [X] I'm adding a new feature
      • [X] I've updated the playground with an example use of the feature
    opened by jacqueswho 35
  • React 17 submit event not bubbling

    React 17 submit event not bubbling

    Because of the changes in way react 17 attaches event listeners, submitting the form programatically no longer works because submit event doesn't bubble. Solution for this would be to add bubbles: true when dispatching CustomEvent submit.

    awaiting response core 
    opened by dreadheadsic 34
  • feature: add semantic ui theme form components

    feature: add semantic ui theme form components

    Reasons for making this change

    This is my first pull request and addition to the open-source community. Could you please let me know what else I need to do. My source of inspiration was what was done for rjsf-material-ui project. Because the project was done in typescript, I could not follow the build guide. Could you perhaps assist me with this?

    #1537

    Checklist

    • [ ] I'm updating documentation
    • [ ] I'm adding or updating code
      • [ ] I've added and/or updated tests
      • [ ] I've updated docs if needed
    • [x] I'm adding a new feature
      • [ ] I've updated the playground with an example use of the feature
    opened by jacqueswho 34
  • Should we move to Bootstrap v4?

    Should we move to Bootstrap v4?

    Bootstrap 4 is out of alpha now...

    I don't want rjsf to have to support too much. Ideally we could support either one or zero HTML/CSS frameworks "by default", and the other ones could be added by users in other packages or something. But I think the fact that Bootstrap v3 is now deprecated means the one we support "by default" shouldn't be that. On the other hand, moving unilaterally to a new Bootstrap might be a breaking change for our users. Or maybe it wouldn't be so bad, because it's just a version bump on a dependency in package.json. Thoughts?

    opened by glasserc 32
  • Chakra UI Theme

    Chakra UI Theme

    Reasons for making this change

    Adding support for chakra UI, we're already using this in production for one of our projects, you can get the package here https://github.com/kpilens/rjsf-chakra-ui/packages/492794

    If this is related to existing tickets, include links to them as well. Fixes #1640

    Checklist

    • [ ] I'm updating documentation
    • [x] I'm adding or updating code
      • [ ] I've added and/or updated tests
      • [ ] I've updated docs if needed
    • [x] I'm adding a new feature
      • [ ] I've updated the playground with an example use of the feature
    opened by koolamusic 31
  • Allow the insertion of errors from outside JSONSchema validation

    Allow the insertion of errors from outside JSONSchema validation

    It's great to be able to define a regex to validate an input, however, that regex should really not be shown to the user. I'd like to be able to define an error string "Your username must only contain letters, numbers and underscores" rather than having it display the regex it isn't matching... no average user can understand what it's looking for from displaying a regex.

    opened by nuclearspike 30
  • Omit Unused Data Prop

    Omit Unused Data Prop

    As mentioned in https://github.com/mozilla-services/react-jsonschema-form/issues/754 ,

    We have a working solution for only returning the data actually used in the form. In addition to the problems stated in the reported issue, we also dont want passthrough unused data, even if we provided it originally. We just want to get the data from whatever is in the visible form. As stated, there is no super straight fwd solution, but we think we found a pretty reasonable and not too intrusive solution.

    The idea is....

    • Add a name attribute to all of the fields that is the json path to the form data, e.g. foo.bar.1.name (something that IMO should be there regardless of this solution).

    • Checkboxes no longer have randomly generated names

    onSubmit we can get all of the form elements and make a list of name attributes (the paths).

    • use lodash _.pick(formData, [ARRAY_OF_FIELD_NAMES]) to get only the used data and return that as the formData.

    We do this if they set the omitUnusedData prop to true otherwise it defaults to false and works as is.

    My coworker @codegains helped me out a bit on this too.

    ==================

    A couple things I wish were better...

    • ~~I wish there was a more reliable way to generate the paths rather than doing string manipulation on the id. But it was hard to access all the necessary data at the point of adding the name attribute.~~

    • ~~The idToPath could fail if the consumer provides a idPrefix prop with an underscore .~~

    @codegains update addresses both of the above. no longer an issue

    The bonus of having these paths as the name attributes on the fields is that in the future you could potentially simplify your submit and changes with something like https://github.com/maxatwork/form2js (this is super old but basically it gathers formData based on the name attributes more like traditional html forms).

    awaiting response 
    opened by travisdahl 29
  • Remove ajv8 alias

    Remove ajv8 alias

    Reasons for making this change

    Remove ajv8 alias as it just complicates things, I don't see a benefit to keep it in. This will also address https://github.com/skypackjs/skypack-cdn/issues/337 (which needs to resolved to fix https://github.com/rjsf-team/react-jsonschema-form/issues/3215).

    opened by epicfaace 1
  • Fix umd builds

    Fix umd builds

    Fix umd builds by adding a default JSONSchemaForm export. This addresses part of the issue of https://github.com/rjsf-team/react-jsonschema-form/issues/3215.

    opened by epicfaace 2
  • fix: Fixed 3170 by passing `uiSchema` into the `validateFormData()` call

    fix: Fixed 3170 by passing `uiSchema` into the `validateFormData()` call

    Reasons for making this change

    Fixes #3170 by updating types and implementations to support passing uiSchema to the validateFormData() call so that it can be forwarded to customValidate() and transformErrors()

    • In @rjsf/utils, updated the ValidatorType to take the F generic so that validateFormData() can be passed uiSchema?: UiSchema<T, S, F>
      • This required updating all of the schema-based functions to also take the F generic and properly adding generics to all the function calls
      • Also, the CustomValidator and ErrorTransformer types were updated to take all the generics needed to add the uiSchema?: UiSchema<T, S, F> parameter to the functions
    • In @rjsf/validator-ajv6, updated the customizeValidator and AJV6Validator implementations to add the S and F generics
      • Updated validateFormData() to accept a new optional uiSchema parameter that is passed to transformErrors() and customValidate()
    • In @rjsf/validator-ajv8, updated the customizeValidator and AJV8Validator implementations to add the F generic
      • Updated validateFormData() to accept a new optional uiSchema parameter that is passed to transformErrors() and customValidate()
    • In @rjsf/core, updated the ValidatorType, CustomValidator and ErrorTransformer types to add the appropriate missing generics
      • Also passed uiSchema to the validateFormData() call
    • Updated the utility-functions.md file to add the new generics
    • Updated the typescript.md file to switch to using customizeValidator() with the generics to get the validator
    • Updated the CHANGELOG.md file accordingly

    Checklist

    • [ ] I'm updating documentation
    • [x] I'm adding or updating code
      • [ ] I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
      • [x] I've updated docs if needed
      • [x] I've updated the changelog with a description of the PR
    • [ ] I'm adding a new feature
      • [ ] I've updated the playground with an example use of the feature
    opened by heath-freenome 0
  • fix: Add generic type support to the fluent-ui theme

    fix: Add generic type support to the fluent-ui theme

    • Partially fixes #3072

    Checklist

    • [ ] I'm updating documentation
    • [X] I'm adding or updating code
      • [ ] I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
      • [ ] I've updated docs if needed
      • [X] I've updated the changelog with a description of the PR
    • [ ] I'm adding a new feature
      • [ ] I've updated the playground with an example use of the feature
    opened by nickgros 0
  • chore(deps): bump react-bootstrap from 1.6.5 to 2.7.0

    chore(deps): bump react-bootstrap from 1.6.5 to 2.7.0

    Bumps react-bootstrap from 1.6.5 to 2.7.0.

    Release notes

    Sourced from react-bootstrap's releases.

    v2.7.0

    2.7.0 (2022-12-07)

    Bug Fixes

    • Dropdown: fic missing .show class on dropdown toggle when active (#6508) (eaa4bb9)
    • Modal: fix modal not closing when keyboard=false (#6515) (92703d5)

    Features

    • AccordionBody: add transition callback props (#6478) (ba092df)
    • Dropdown: add support for centered dropdown menus (#6490) (500ee94)
    • Ratio: add support for portrait size ratios (#6501) (3cfdab1)

    v2.6.0

    2.6.0 (2022-11-06)

    Bug Fixes

    Features

    • Spinner: make the animation default to border (#6468) (fb3e4d5)

    v2.5.0

    2.5.0 (2022-08-05)

    Bug Fixes

    • Offcanvas: prevent children mounting twice on show when not responsive (#6416) (e2c4eeb)
    • ensure consistent API for custom variants (#6398) (8a81903)
    • update @​restart/ui to 1.3.1 (#6408) (a49d435)

    v2.5.0-beta.1

    2.5.0-beta.1 (2022-07-08)

    Bug Fixes

    ... (truncated)

    Changelog

    Sourced from react-bootstrap's changelog.

    2.7.0 (2022-12-07)

    Bug Fixes

    • Dropdown: fic missing .show class on dropdown toggle when active (#6508) (eaa4bb9)
    • Modal: fix modal not closing when keyboard=false (#6515) (92703d5)

    Features

    • AccordionBody: add transition callback props (#6478) (ba092df)
    • Dropdown: add support for centered dropdown menus (#6490) (500ee94)
    • Ratio: add support for portrait size ratios (#6501) (3cfdab1)

    2.6.0 (2022-11-06)

    Bug Fixes

    Features

    • Spinner: make the animation default to border (#6468) (fb3e4d5)

    2.5.0 (2022-08-05)

    Bug Fixes

    • Offcanvas: prevent children mounting twice on show when not responsive (#6416) (e2c4eeb)
    • ensure consistent API for custom variants (#6398) (8a81903)
    • update @​restart/ui to 1.3.1 (#6408) (a49d435)

    ... (truncated)

    Commits
    • cc0e52f Publish v2.7.0
    • 92703d5 fix(Modal): fix modal not closing when keyboard=false (#6515)
    • 847f04a chore(deps): update all non-major dependencies (#6513)
    • 96c7bdd chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /www (#6512)
    • 3b97f6f chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#6511)
    • 212fa9f docs(Button): fix consistent code style in Types example (#6509)
    • ba092df feat(AccordionBody): add transition callback props (#6478)
    • 63637e1 chore(deps): bump loader-utils from 1.4.0 to 1.4.2 in /www (#6494)
    • 3cfdab1 feat(Ratio): add support for portrait size ratios (#6501)
    • eaa4bb9 fix(Dropdown): fic missing .show class on dropdown toggle when active (#6508)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
Releases(v5.0.0-beta.15)
  • v5.0.0-beta.15(Dec 23, 2022)

    @rjsf/core

    • Pass the schema along to the ArrayFieldItemTemplate as part of the fix for #3253
    • Tweak Babel configuration to emit ES5-compatible output files, fixing #3240

    @rjsf/material-ui

    • Reverse the condition used in the onChange handler in the RangeWidget, fixing #2161

    @rjsf/mui

    • Reverse the condition used in the onChange handler in the RangeWidget, fixing #2161

    @rjsf/utils

    • Update the ArrayFieldItemTemplate to add schema as part of the fix for #3253
    • Fix improper merging of nested allOfs (#3025, #3227), fixing #2923
    • Added a new ErrorSchemaBuilder class to enable building a proper ErrorSchema without crazy castings, fixing #3239

    @rjsf/validator-ajv6

    • Updated the validator to use the ErrorSchemaBuilder in the toErrorSchema() function to simplify the implementation

    @rjsf/validator-ajv8

    • Updated the validator to use the ErrorSchemaBuilder in the toErrorSchema() function to simplify the implementation
    • Updated the validator to properly map missing required field errors in the ErrorSchema, fixing #3260

    Dev / docs / playground

    • Fixed the documentation for ArrayFieldItemTemplate as part of the fix for #3253
    • Added documentation for ErrorSchemaBuilder in the utility-functions.md, fixing #3239
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.14(Dec 12, 2022)

    @rjsf/antd

    • No longer render extra 0 for array without errors, fixing #3233

    @rjsf/core

    • Added ref definition to ThemeProps fixing #2135
    • Updated the onChange handler in Form to use the new preventDuplicates mode of mergeObjects() when merging extraErrors when live validation is off, fixing #3169

    @rjsf/material-ui

    • Fix RangeWidget missing htmlFor and schema.title #3281

    @rjsf/mui

    • Fix RangeWidget missing htmlFor and schema.title #3281

    @rjsf/utils

    • Updated computedDefaults (used by getDefaultFormState) to skip saving the computed default if it's an empty object unless includeUndefinedValues is truthy, fixing #2150 and #2708
    • Expanded the getDefaultFormState util's includeUndefinedValues prop to accept a boolean or "excludeObjectChildren" if it does not want to include undefined values in nested objects
    • Updated mergeObjects to add new preventDuplicates mode when concatenating arrays so that only unique values from the source object array are copied to the destination object array

    Dev / docs / playground

    • Removed extraneous leading space on the examples in the validation documentation, fixing #3282
    • Updated the documentation for mergeObjects() for the new preventDuplicates mode of concatenating arrays
    • Updated the documentation for unpkg releases to the correct name fixing the confusion found in #3262
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.13(Nov 15, 2022)

    @rjsf/playground

    • Fix Vite development server #3228

    @rjsf/validator-ajv8

    • Fix additionalProperties validation #3213
    • Report all schema errors thrown by Ajv. Previously, we would only report errors thrown for a missing meta-schema. This behavior is unchanged for @rjsf/validator-ajv6.
    • Disable Ajv strict mode by default.
    • Add RJSF-specific additional properties keywords to Ajv to prevent errors from being reported in strict mode.
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.12(Nov 3, 2022)

    @rjsf/antd

    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/bootstrap

    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/chakra-ui

    • Automatically close single-choice Select widget on selection
    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/core

    • BREAKING CHANGE: ShowErrorList prop changed to support false, top or bottom; true is no longer a valid value as the default changed from true to top #634
    • Added the new generic, S extends StrictRJSFSchema = RJSFSchema, for schema/rootSchema to every component that needed it.
    • Fix omitExtraData with field names with dots #2643
    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110
    • Changed the F = any generic to be F extends FormContextType = any to better support how formContext is defined and used, partially fixing #3072

    @rjsf/fluent-ui

    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/material-ui

    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/mui

    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/semantic-ui

    • Updated the tests to use the @rjsf/validator-ajv8 fixing #3110

    @rjsf/utils

    • Beta-only potentially BREAKING CHANGE: Changed all types that directly or indirectly defined schema/rootSchema to add the generic S extends StrictRJSFSchema = RJSFSchema and use S as the type for them.
      • StrictRJSFSchema was added as the alias to JSON7Schema and RJSFSchema was modified to be StrictRJSFSchema & GenericObjectType
      • This new generic was added BEFORE the newly added F = any generic because it is assumed that more people will want to change the schema than the formContext types
      • This provides future support for the newer draft versions of the schema
    • Updated the ValidatorType interface to add a new rawValidation() method for use by the playground
    • Added the FormContextType alias to GenericObjectType and changing the F = any generic to be F extends FormContextType = any to better support how formContext is defined and used, partially fixing #3072

    @rjsf/validator-ajv6

    • Fixed a few type casts given the new expanded definition of the RJSFSchema type change
    • Deprecated this library in favor of the @rjsf/validator-ajv8
    • Refactored out the rawValidation() function for use by the playground

    @rjsf/validator-ajv8

    • Updated the typing to add the new S extends StrictRJSFSchema = RJSFSchema generic and fixed up type casts
    • Added the AjvClass prop to the CustomValidatorOptionsType to support using the Ajv2019 or Ajv2020 class implementation instead of the default Ajv class; fixing #3189
    • Refactored out the rawValidation() function for use by the playground

    Dev / docs / playground

    • Updated the 5.x upgrade guide and utility-functions.md to document the new StrictRJSFSchema, the S generic and changing the F generic extend
    • Updated the validation guide to document the new AjvClass prop on CustomValidatorOptionsType and mentioning the deprecation of @rjsf/validator-ajv6
    • Updated the playground to add support for using the AJV 8 validator with the draft-2019-09 and draft-2020-12 schemas and to make the AJV8 validator the default validator, marking AJV6 as deprecated
    • Updated all the documentation to switch to Typescript notation where missing along with switching to using the @rjsf/validator-ajv8 validator as the default
    • Added a way of doing a raw Ajv validation in the playground to determine whether an issue is with RJSF or Ajv
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.11(Oct 10, 2022)

    @rjsf/antd

    • Updated FieldTemplate to no longer render additional, unnecessary white space for fields that have empty help and extra information, fixing #3147
    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/bootstrap-4

    • Make label generation consistent with other themes by refactoring the code into the FieldTemplate instead of having the widgets implementing the label, fixing #2007
    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/chakra-ui

    • Added support for chakra-react-select v4, fixing #3152
    • In SelectWidget use Select from chakra-react-select for both single- and multiple-choice select
    • In SelectWidget multiple-choice select display label rather than value for selected items
    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/core

    • Extended Form.onChange to optionally return the id of the field that caused the change, fixing #2768
    • Fixed a regression in earlier v5 beta versions where additional properties could not be added when additionalProperties was true (#3719).
    • Fixed a regression in v5 beta version where BooleanField was altering readonly props (#3188.
    • Updated ArrayFieldDescriptionTemplate and ArrayFieldTitleTemplate to not render content when ui:label is false, fixing #2535
    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/fluent-ui

    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/material-ui

    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/mui

    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/semantic-ui

    • Updated ArrayFieldTemplate to always render ArrayFieldDescriptionTemplate since that template deals with the optional description
    • Pass the schema into the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate, fixing #3176

    @rjsf/utils

    • Updated the onChange prop on FieldProps and FieldTemplateProps to add an optional id parameter to the callback.
    • BREAKING CHANGE: Updated the DescriptionFieldProps and TitleFieldProps to add a new required schema prop. Also updated the ArrayFieldDescriptionTemplate and ArrayFieldTitleTemplate to make description and title optional while pulling all the other props but id from the associated type.

    Dev / docs / playground

    • Added an error boundary to prevent the entire app from crashing when an error is thrown by Form. See #3164 for closed issues.
    • Updated the playground to log the id of the field being changed on the onChange handler
    • Updated form-props.md to describe the new id parameter being returned by the Form.onChange handler
    • Updated custom-templates.md to add the new schema prop to the ArrayFieldDescriptionTemplate, ArrayFieldTitleTemplate, DescriptionFieldTemplate and TitleFieldTemplate documentation
    • Updated the contributing.md to describe setting up the husky precommit hooks for the first time git clone of the repo; Also added guidance for developing on underpowered computers; Finally discussed code-coverage requirements for some packages.
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.10(Sep 28, 2022)

    @rjsf/antd

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Added name to the input components that were missing it to support remix
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, protecting against non-arrays
    • Converted antd to Typescript, indirectly fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3123)

    @rjsf/bootstrap

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Added name to the input components that were missing it to support remix
    • Simplified the CheckboxWidgets code to eliminate a ternary in favor of a simple inline={inline} property since all the rest of the props were the same
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, removing unnecessary casts to any and protecting against non-arrays
    • Fixed an issue where CheckboxesWidget incorrectly rendered inner <form> elements around each checkbox, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2355)

    @rjsf/chakra-ui

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Added name to the input components that were missing it to support remix
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, removing unnecessary casts to any and protecting against non-arrays

    @rjsf/core

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Added name to the input components that were missing it to support remix
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value

    @rjsf/fluent-ui

    • Add stubbed WrapIfAdditionalTemplate. additionalProperties is currently not supported in @rjsf/fluent-ui (See #2777).
    • Added name or id (for those fluent components not supporting name) to the input components that were missing it to support remix
    • Fixed DateTimeWidget to properly use BaseInputTemplate rather than TextWidget
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, removing unnecessary casts and protecting against non-arrays, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2138)
    • Fixed RadioWidget so that it supports read-only and disabled states

    @rjsf/material-ui

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Added name to the input components that were missing it to support remix
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, removing unnecessary casts to any and protecting against non-arrays

    @rjsf/mui

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Added name to the input components that were missing it to support remix
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, removing unnecessary casts to any and protecting against non-arrays

    @rjsf/semantic-ui

    • Convert WrapIfAdditional to WrapIfAdditionalTemplate
    • Fixed ArrayFieldTemplate and ObjectFieldTemplate's AddButton to show the non-labeled version. (https://github.com/rjsf-team/react-jsonschema-form/pull/3142)
    • Added name to the input components that were missing it to support remix, including fixing incorrect names as ids in some situations
    • Fixed CheckboxesWidget and RadioWidget to have unique ids for each radio element by appending the option.value, protecting against non-arrays
    • Converted semantic-ui to Typescript

    @rjsf/utils

    • Added WrapIfAdditionalTemplate and WrapIfAdditionalTemplateProps to simplify theming and make it easier to override Field behavior for schemas with additionalProperties.
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.9(Sep 22, 2022)

    @rjsf/antd

    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/bootstrap

    • Updated the FieldErrorTemplate to remove the explicit typing of the error to string to support the two options
    • Updated Theme to use the renamed ThemeProps from @rjsf/core
    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/chakra-ui

    • Updated Theme to use the renamed ThemeProps from @rjsf/core
    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/core

    • Updated the FieldErrorTemplate to remove the explicit typing of the error to string to support the two options
    • Implemented programmatic validation via new validateForm() method on Form, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2755, https://github.com/rjsf-team/react-jsonschema-form/issues/2552, https://github.com/rjsf-team/react-jsonschema-form/issues/2381, https://github.com/rjsf-team/react-jsonschema-form/issues/2343, https://github.com/rjsf-team/react-jsonschema-form/issues/1006, https://github.com/rjsf-team/react-jsonschema-form/issues/246)
    • Renamed WithThemeProps to ThemeProps to prevent another breaking-change by returning the type back to the name it had in version 4
    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
    • Updated ArrayField to fall back to SchemaField if ArraySchemaField is not defined, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3131)

    @rjsf/fluent-ui

    • Updated Theme to use the renamed ThemeProps from @rjsf/core
    • Pass uiSchema appropriately to all of the IconButtons and ArrayFieldItemTemplate components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/material-ui

    • Updated Theme to use the renamed ThemeProps from @rjsf/core
    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/mui

    • Updated Theme to use the renamed ThemeProps from @rjsf/core
    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/semantic-ui

    • Updated the FieldErrorTemplate to use the children variation of the List.Item that supports ReactElement
    • Pass uiSchema appropriately to all of the IconButtons, ArrayFieldItemTemplate and WrapIfAdditional components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    @rjsf/utils

    • Updated the FieldErrorProps type to make it support an array of string and ReactElement
    • Updated the IconButtonProps type to add uiSchema, adding the <T = any, F = any> generics to it and the associated ButtonTemplates in TemplatesType AND added uiSchema to ArrayFieldTemplateItemType as well, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)

    Dev / docs / playground

    • Updated the custom-templates.md file to add the missing asterisk to the new FieldErrorTemplate and FieldHelpTemplate
    • Updated the playground to add a new button for programmatically validating a form
    • Also updated the validation.md documentation to describe how to programmatically validate a form
    • Fixed the chakra-ui custom uiSchema documentation to make it clear they work on a per-field basis, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2865)
    • Added formElement breaking-change documentation to the 5.x upgrade guide.md
    • Replace Webpack with Vite
    • Updated documentation for ArraySchemaField to better represent the updated implementation, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3131)
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.8(Sep 16, 2022)

  • v5.0.0-beta.7(Sep 14, 2022)

    @rjsf/antd

    • Only show description when there really IS a description, fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2779)
    • Refactored the FieldErrorTemplate from inside of FieldTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/bootstrap-4

    • Refactored the FieldErrorTemplate and FieldHelpTemplate from inside of FieldTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/chakra-ui

    • Refactored the FieldErrorTemplate and FieldHelpTemplate from inside of FieldTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/core

    • Added new field ArraySchemaField, assigned to SchemaField by default, that is used by the ArrayField to render the children for each array field element
    • Refactored the internal ErrorList and Help components from inside of SchemaField to new templates: FieldErrorTemplate and FieldHelpTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/material-ui

    • Refactored the FieldErrorTemplate and FieldHelpTemplate from inside of FieldTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/mui

    • Refactored the FieldErrorTemplate and FieldHelpTemplate from inside of FieldTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/semantic-ui

    • Converted RawErrors and HelpField into FieldErrorTemplate and FieldHelpTemplate, removing their explicit calls from FieldTemplate; fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/3104)

    @rjsf/utils

    • Added new FieldErrorProps and FieldHelpProps types
    • Added new FieldErrorTemplate and FieldHelpTemplate to the TemplatesType

    Dev / docs / playground

    • Updated the custom-templates.md file to add documentation for the new FieldErrorTemplate and FieldHelpTemplate
    • Updated the custom-widgets-fields.md file to add documentation for the new ArraySchemaField field.
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.6(Sep 9, 2022)

    @rjsf/bootstrap-4

    • Change custom attribute to bsPrefix by @WillowP, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2648)

    @rjsf/core

    • Added tests for the new @rjsf/validator-ajv8 to the validate_test.js file to ensure the validation works with both validator implementations

    @rjsf/mui

    • Fixed the README.md to correct the package name in several places to match the actual package

    @rjsf/utils

    • Fixed the README.md to remove references to ajv6 validator, adding link to the utility-functions.md in the docs
    • Fixed the README.md to correct the package name in several places to match the actual package
    • Updated getDefaultFormState() so that oneOf and anyOf default values do not always use the first option when formData contains a better option, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2183)

    @rjsf/validator-ajv6

    • Fixed the README.md to correct the package name in several places to match the actual package

    @rjsf/validator-ajv8

    • Support for localization (L12n) on a customized validator using a Localizer function passed as a second parameter to customizeValidator(), fixing (https://github.com/rjsf-team/react-jsonschema-form/pull/846, and https://github.com/rjsf-team/react-jsonschema-form/issues/1195)
    • Fixed the README.md to correct the package name in several places to match the actual package

    Dev / docs / playground

    • Added two new validator selections, AJV8 and AJV8_es to the list of available validators for the playground; Using the second one will translate error messages to spanish.
    • Updated the validation documentation to clarify the case of empty strings being stored as null in certain cases.
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.5(Sep 6, 2022)

  • v5.0.0-beta.4(Sep 3, 2022)

    @rjsf/chakra-ui

    • Added missing test snapshot that prevented v5.0.0-beta.3 from releasing

    @rjsf/semantic-ui

    • Switched devDependencies for React to 17.x and use dts to build and test the library (rather than tsdx)
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.3(Sep 3, 2022)

    @rjsf/core

    • Added a requestSubmit() call to the Form.submit() function, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2104, https://github.com/rjsf-team/react-jsonschema-form/issues/3023)
    • Added missing children property on the FormProps type for Form
    • Throw an error when the required validator prop has not been provided to the Form

    @rjsf/antd

    • Do not show errors if extraErrors has [] (https://github.com/rjsf-team/react-jsonschema-form/pull/2576).
    • Added support for schema.examples in the material ui theme fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2368, https://github.com/rjsf-team/react-jsonschema-form/issues/2557)

    @rjsf/fluent-ui

    • Added support for schema.examples in the material ui theme fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2368, https://github.com/rjsf-team/react-jsonschema-form/issues/2557)

    @rjsf/material-ui

    • Added support for schema.examples in the material ui theme fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2368, https://github.com/rjsf-team/react-jsonschema-form/issues/2557)

    @rjsf/material-ui

    • Added support for schema.examples in the material ui theme fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2368, https://github.com/rjsf-team/react-jsonschema-form/issues/2557)

    @rjsf/semantic-ui

    • Upgraded from the 1.x to 2.x version of semantic-ui-react
    • Added support for schema.examples in the material ui theme fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2368, https://github.com/rjsf-team/react-jsonschema-form/issues/2557)

    @rjsf/bootstrap-4

    • Avoid importing the whole of react-icons (https://github.com/rjsf-team/react-jsonschema-form/pull/3046, https://github.com/react-icons/react-icons/issues/154)

    Dev / docs / playground

    • Fixed missing playground import error by adding source-map-loader
    • Fixed up the incorrectly formatted 5.x Migration Guide
    • Added a Programmatic Submit button on the playground form to allow users to test the ability to programmatically submit a form
    • Regenerated the package-lock.json files using clean node_modules directories
    • Fixed issue with playground controls in top right corner not functioning properly due to missing validator
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.2(Aug 29, 2022)

  • v5.0.0-beta.1(Aug 28, 2022)

    Global changes across all themes:

    • Node 16 is now the default node engine for all packages, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2687)
    • Refactored all themes to use the new @rjsf/utils library functions and types
    • Refactored the individual theme forms to consolidate templates as part of the fix for https://github.com/rjsf-team/react-jsonschema-form/issues/2526
      • All the work implementing the BaseInputTemplate should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2926, https://github.com/rjsf-team/react-jsonschema-form/issues/2889, https://github.com/rjsf-team/react-jsonschema-form/issues/2875, https://github.com/rjsf-team/react-jsonschema-form/issues/2223)
      • Also made the display of title and description consistent across themes, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2481, https://github.com/rjsf-team/react-jsonschema-form/issues/2363, https://github.com/rjsf-team/react-jsonschema-form/issues/2219)
      • This change also ensures that all templates are properly exported, resolving (https://github.com/rjsf-team/react-jsonschema-form/issues/2365)
    • Bumped most devDependencies to the latest versions where possible
    • Switched all repos package.json and package-lock.json files to be built and maintained by Node 16.
    • Adding button templates help to change text for buttons (https://github.com/rjsf-team/react-jsonschema-form/issues/2082, https://github.com/rjsf-team/react-jsonschema-form/issues/2357)

    @rjsf/utils

    • New package created by refactoring and converting to Typescript the utils.js file from core into independent functions.
      • Resolves (https://github.com/rjsf-team/react-jsonschema-form/issues/1655, https://github.com/rjsf-team/react-jsonschema-form/issues/2480, https://github.com/rjsf-team/react-jsonschema-form/issues/2341)
    • Updated types from core in utils to better match the implementation across all themes
      • Included adding a bunch of new types for existing and new features
      • The type updates should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2871, https://github.com/rjsf-team/react-jsonschema-form/issues/2673, https://github.com/rjsf-team/react-jsonschema-form/issues/2347, https://github.com/rjsf-team/react-jsonschema-form/issues/2186)
    • Clear errors on formData change when liveOmit=true when "additionalProperties: false" issue 1507 (https://github.com/rjsf-team/react-jsonschema-form/pull/2631)

    @rjsf/validator-ajv6

    • New package created by refactoring and converting to Typescript the validator.js file from core into independent functions as well as a class that implements the new ValidatorType interface.
    • Added support for customizing the options passed to the creation of the ajv instance.

    @rjsf/validator-ajv6

    • A BREAKING CHANGE to toErrorList() was made so that it takes fieldPath: string[] rather than fieldName='root' as part of the fix to (https://github.com/rjsf-team/react-jsonschema-form/issues/1596)
      • The returned errors also now adds property from the fieldPath along with the proper path from the property to the stack message, making it consistent with the AJV errors.
        • Previously the stack attribute would say root: error message; now it says . error message
      • In addition, the extra information provided by AJV is no longer lost from the errors when merged with custom validation, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).

    @rjsf/core

    • Converted core to Typescript (https://github.com/rjsf-team/react-jsonschema-form/issues/583)
    • ui:emptyValue now works with selects (https://github.com/rjsf-team/react-jsonschema-form/issues/1041)
    • Refactoring utils.js into the new @rjsf/utils fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2719)
    • BREAKING CHANGE Fix overriding core submit button className (https://github.com/rjsf-team/react-jsonschema-form/issues/2979)
    • Fix ui:field with anyOf or oneOf no longer rendered twice (#2890)
    • BREAKING CHANGE Fixed anyOf and oneOf getting incorrect, potentially duplicate ids when combined with array (https://github.com/rjsf-team/react-jsonschema-form/issues/2197)
    • formContext is now passed properly to SchemaField, fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2394, https://github.com/rjsf-team/react-jsonschema-form/issues/2274)
    • Added ui:duplicateKeySuffixSeparator to customize how duplicate object keys are renamed when using additionalProperties.
    • The extraErrors are now consistently appended onto the end of the schema validation-based errors information that is returned via the onErrors() callback when submit fails.
      • In addition, the extra information provided by AJV is no longer stripped from the errors during the merge process, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).
    • Fixed id generation for RadioWidget to no longer use random numbers fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2461)
    • Correctly call the onChange handler in the new set of props if it changed, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1708).
    • Fixed race condition for onChange when formData is controlled prop, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/513),

    @rjsf/antd

    • Fix esm build to use @rollup/plugin-replace to replace antd/lib and rc-picker/lib with antd/es and rc-picker/es respectively, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2962)

    @rjsf/bootstrap-4

    • Bootstrap-4 withTheme customizations should work properly now (https://github.com/rjsf-team/react-jsonschema-form/issues/2058)
    • ArrayFieldTemplate refactor seems to have fixed https://github.com/rjsf-team/react-jsonschema-form/issues/2775
    • Fix issues with SelectField (https://github.com/rjsf-team/react-jsonschema-form/issues/2616, https://github.com/rjsf-team/react-jsonschema-form/issues/2875)

    @rjsf/chakra-ui

    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

    @rjsf/material-ui

    • The theme for Material UI version 5 (i.e. @rjsf/mui) was split out of the theme for version 4 (i.e. @rjsf/material-ui) to resolve the following issues:
    • Material-UI TextWidget now respects inputType in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
      • Also respects step for number type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)
    • Material-UI UpDownWidget now support min/max/step (https://github.com/rjsf-team/react-jsonschema-form/issues/2022)
    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)
    • Select properly accepts true or false (https://github.com/rjsf-team/react-jsonschema-form/issues/2326)

    @rjsf/mui

    • The theme for Material UI version 5 (i.e. @rjsf/mui) was split out of the theme for version 4 (i.e. @rjsf/material-ui) to resolve the following issues:
    • Material-UI TextWidget now respects inputType in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
      • Also respects step for number type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)
    • Material-UI UpDownWidget now support min/max/step (https://github.com/rjsf-team/react-jsonschema-form/issues/2022)
    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

    @rjsf/semantic-ui

    • Fix missing error class on fields (https://github.com/rjsf-team/react-jsonschema-form/issues/2666)
    • Fixed the main definition in semantic-ui to fix (https://github.com/withastro/astro/issues/4357)
    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

    Dev / docs / playground

    • Demonstrate use of ui:field with anyOf (#2890)
    • Playground now uses webpack 5
    • Corrected number field default (https://github.com/rjsf-team/react-jsonschema-form/issues/2358)
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0-beta.0(Aug 28, 2022)

    Global changes across all themes:

    • Node 16 is now the default node engine for all packages, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2687)
    • Refactored all themes to use the new @rjsf/utils library functions and types
    • Refactored the individual theme forms to consolidate templates as part of the fix for https://github.com/rjsf-team/react-jsonschema-form/issues/2526
      • All the work implementing the BaseInputTemplate should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2926, https://github.com/rjsf-team/react-jsonschema-form/issues/2889, https://github.com/rjsf-team/react-jsonschema-form/issues/2875, https://github.com/rjsf-team/react-jsonschema-form/issues/2223)
      • Also made the display of title and description consistent across themes, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2481, https://github.com/rjsf-team/react-jsonschema-form/issues/2363, https://github.com/rjsf-team/react-jsonschema-form/issues/2219)
      • This change also ensures that all templates are properly exported, resolving (https://github.com/rjsf-team/react-jsonschema-form/issues/2365)
    • Bumped most devDependencies to the latest versions where possible
    • Switched all repos package.json and package-lock.json files to be built and maintained by Node 16.
    • Adding button templates help to change text for buttons (https://github.com/rjsf-team/react-jsonschema-form/issues/2082, https://github.com/rjsf-team/react-jsonschema-form/issues/2357)

    @rjsf/utils

    • New package created by refactoring and converting to Typescript the utils.js file from core into independent functions.
      • Resolves (https://github.com/rjsf-team/react-jsonschema-form/issues/1655, https://github.com/rjsf-team/react-jsonschema-form/issues/2480, https://github.com/rjsf-team/react-jsonschema-form/issues/2341)
    • Updated types from core in utils to better match the implementation across all themes
      • Included adding a bunch of new types for existing and new features
      • The type updates should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2871, https://github.com/rjsf-team/react-jsonschema-form/issues/2673, https://github.com/rjsf-team/react-jsonschema-form/issues/2347, https://github.com/rjsf-team/react-jsonschema-form/issues/2186)
    • Clear errors on formData change when liveOmit=true when "additionalProperties: false" issue 1507 (https://github.com/rjsf-team/react-jsonschema-form/pull/2631)

    @rjsf/validator-ajv6

    • New package created by refactoring and converting to Typescript the validator.js file from core into independent functions as well as a class that implements the new ValidatorType interface.
    • Added support for customizing the options passed to the creation of the ajv instance.

    @rjsf/validator-ajv6

    • A BREAKING CHANGE to toErrorList() was made so that it takes fieldPath: string[] rather than fieldName='root' as part of the fix to (https://github.com/rjsf-team/react-jsonschema-form/issues/1596)
      • The returned errors also now adds property from the fieldPath along with the proper path from the property to the stack message, making it consistent with the AJV errors.
        • Previously the stack attribute would say root: error message; now it says . error message
      • In addition, the extra information provided by AJV is no longer lost from the errors when merged with custom validation, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).

    @rjsf/core

    • Converted core to Typescript (https://github.com/rjsf-team/react-jsonschema-form/issues/583)
    • ui:emptyValue now works with selects (https://github.com/rjsf-team/react-jsonschema-form/issues/1041)
    • Refactoring utils.js into the new @rjsf/utils fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2719)
    • BREAKING CHANGE Fix overriding core submit button className (https://github.com/rjsf-team/react-jsonschema-form/issues/2979)
    • Fix ui:field with anyOf or oneOf no longer rendered twice (#2890)
    • BREAKING CHANGE Fixed anyOf and oneOf getting incorrect, potentially duplicate ids when combined with array (https://github.com/rjsf-team/react-jsonschema-form/issues/2197)
    • formContext is now passed properly to SchemaField, fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2394, https://github.com/rjsf-team/react-jsonschema-form/issues/2274)
    • Added ui:duplicateKeySuffixSeparator to customize how duplicate object keys are renamed when using additionalProperties.
    • The extraErrors are now consistently appended onto the end of the schema validation-based errors information that is returned via the onErrors() callback when submit fails.
      • In addition, the extra information provided by AJV is no longer stripped from the errors during the merge process, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).
    • Fixed id generation for RadioWidget to no longer use random numbers fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2461)
    • Correctly call the onChange handler in the new set of props if it changed, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1708).
    • Fixed race condition for onChange when formData is controlled prop, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/513),

    @rjsf/antd

    • Fix esm build to use @rollup/plugin-replace to replace antd/lib and rc-picker/lib with antd/es and rc-picker/es respectively, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2962)

    @rjsf/bootstrap-4

    • Bootstrap-4 withTheme customizations should work properly now (https://github.com/rjsf-team/react-jsonschema-form/issues/2058)
    • ArrayFieldTemplate refactor seems to have fixed https://github.com/rjsf-team/react-jsonschema-form/issues/2775
    • Fix issues with SelectField (https://github.com/rjsf-team/react-jsonschema-form/issues/2616, https://github.com/rjsf-team/react-jsonschema-form/issues/2875)

    @rjsf/chakra-ui

    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

    @rjsf/material-ui

    • The theme for Material UI version 5 (i.e. @rjsf/mui) was split out of the theme for version 4 (i.e. @rjsf/material-ui) to resolve the following issues:
    • Material-UI TextWidget now respects inputType in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
      • Also respects step for number type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)
    • Material-UI UpDownWidget now support min/max/step (https://github.com/rjsf-team/react-jsonschema-form/issues/2022)
    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)
    • Select properly accepts true or false (https://github.com/rjsf-team/react-jsonschema-form/issues/2326)

    @rjsf/mui

    • The theme for Material UI version 5 (i.e. @rjsf/mui) was split out of the theme for version 4 (i.e. @rjsf/material-ui) to resolve the following issues:
    • Material-UI TextWidget now respects inputType in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
      • Also respects step for number type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)
    • Material-UI UpDownWidget now support min/max/step (https://github.com/rjsf-team/react-jsonschema-form/issues/2022)
    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

    @rjsf/semantic-ui

    • Fix missing error class on fields (https://github.com/rjsf-team/react-jsonschema-form/issues/2666)
    • Fixed the main definition in semantic-ui to fix (https://github.com/withastro/astro/issues/4357)
    • Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

    Dev / docs / playground

    • Demonstrate use of ui:field with anyOf (#2890)
    • Playground now uses webpack 5
    • Corrected number field default (https://github.com/rjsf-team/react-jsonschema-form/issues/2358)
    Source code(tar.gz)
    Source code(zip)
  • v4.2.3(Aug 6, 2022)

    What's Changed

    • Reduce stale bot threshold to 1.75 years by @heath-freenome in https://github.com/rjsf-team/react-jsonschema-form/pull/2957
    • Emit and publish transpiled code (fix #2966) by @nickgros in https://github.com/rjsf-team/react-jsonschema-form/pull/2988

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.2.2...v4.2.3

    Source code(tar.gz)
    Source code(zip)
  • v4.2.2(Jul 15, 2022)

    What's Changed

    • Move webpack-cli install to root package.json by @nickgros in https://github.com/rjsf-team/react-jsonschema-form/pull/2934

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.2.1...v4.2.2

    Source code(tar.gz)
    Source code(zip)
  • v4.2.1(Jul 15, 2022)

    What's Changed

    • fix typo by @epicfaace in https://github.com/rjsf-team/react-jsonschema-form/pull/2854
    • Build all packages with TypeScript, including core by @nickgros in https://github.com/rjsf-team/react-jsonschema-form/pull/2799
    • fix(@rjsf/chakra-ui): append SubmitButton by @terrierscript in https://github.com/rjsf-team/react-jsonschema-form/pull/2860
    • fix: Pass uiSchema to custom ArrayField by @bakajvo in https://github.com/rjsf-team/react-jsonschema-form/pull/2769
    • fix(@rjsf-antd): Submit button type bug (#2867) by @sarpere in https://github.com/rjsf-team/react-jsonschema-form/pull/2869
    • Docs: Clarify registry object structure and that it's passed down to custom widgets by @epicfaace in https://github.com/rjsf-team/react-jsonschema-form/pull/2886
    • fix: allow UISchemaSubmitButtonOptions properties to be undefined by @maxpou in https://github.com/rjsf-team/react-jsonschema-form/pull/2876
    • Create FUNDING.yml by @epicfaace in https://github.com/rjsf-team/react-jsonschema-form/pull/2866
    • docs: fix schema dependencies link by @epicfaace in https://github.com/rjsf-team/react-jsonschema-form/pull/2885
    • chore(deps): bump core-js-pure from 3.21.1 to 3.23.3 by @dependabot in https://github.com/rjsf-team/react-jsonschema-form/pull/2902
    • chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/fluent-ui by @dependabot in https://github.com/rjsf-team/react-jsonschema-form/pull/2805

    New Contributors

    • @terrierscript made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2860
    • @bakajvo made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2769
    • @sarpere made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2869
    • @maxpou made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2876

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.2.0...v4.2.1

    Source code(tar.gz)
    Source code(zip)
  • v4.2.0(May 6, 2022)

    @rjsf/core

    • Feature for ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)
    • Fix ui:orderable and ui:removable in arrays (#2797)
    • Fix for nested allOf blocks with multiple if/then/else statements failing to render correctly (https://github.com/rjsf-team/react-jsonschema-form/pull/2839)

    Dev / docs / playground

    • Enable ui options in playground, to demonstrate submit button options (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)
    • Document the material-ui context and hook (#2757)

    @rjsf/material-ui

    • SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2833)
    • Fixed bundler warning issue (#2762) by exporting a @rjsf/material-ui/v4 and @rjsf/material-ui/v5 sub-package
      • NOTE: @rjsf/material-ui was retained to avoid a breaking change, but using it will continue to cause bundler warnings
      • See the README.md for the @rjsf/material-ui package for updated usage information
    • Fixed (#2831) for material-ui by removing the DefaultChildren passed into the themes

    @rjsf/bootstrap-4

    • SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)

    @rjsf/semantic-ui

    • SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)

    @rjsf/antd

    • SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)

    @rjsf/fluent-ui

    • SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)

    New Contributors

    • @lpillonel made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2795
    • @innerkore made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2832
    • @sophstad made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2797
    • @milesmcc made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2844
    • @constantingoeldel made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2850
    • @ranihorev made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2851
    • @stuartwilkes made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2839

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.1.1...v4.2.0

    Source code(tar.gz)
    Source code(zip)
  • v4.1.1(Mar 28, 2022)

    @rjsf/material-ui

    • Fix bloated bundle size by individually requiring all MUI components (#2754)
    • Add new useMuiComponent() hook as a shortcut for useContext(MuiComponentContext)

    New Contributors

    • @rollercodester made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2754
    • @kokoyroy made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2770

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.0.1...v4.1.1

    Source code(tar.gz)
    Source code(zip)
  • v4.1.0(Mar 25, 2022)

    What's Changed

    @rjsf/core

    • To improve performance, skip validating subschemas in oneOf / anyOf if formData is undefined (#2676)
    • Fixed the toIdSchema() typescript definition to add new idSeparator prop along with the spelling of idPrefix
      • Also passed the new idSeparator prop through to the AnyOfField and OneOfField inside of SchemaField
      • Updated ArrayField in @rjsf/core to pass idSeparator and idPrefix through to SchemaField, fixing a small bug
    • Added support for the new ui:hideError feature, which allows you to hide errors at a field level

    @rjsf/material-ui

    • Remove console.log() of the import error in MaterialUIContext and Mui5Context
    • Export the MaterialComponentContext (#2724)

    Dev / docs / playground

    • Added documentation for the new ui:hideError feature

    New Contributors

    • @KittyJose made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2676

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.0.1...v4.1.0

    Source code(tar.gz)
    Source code(zip)
  • v4.0.1(Feb 22, 2022)

    • Bumped the peer dependencies of @rjsf/core to ^4.0.0 for all of themes in package.json
    • Also, added tests to all themes to verify that the tagName prop works as expected

    @rjsf/core

    • Updated Form to support the semantic-ui and material-ui themes to allow them work when tagName is provided
    • Support if/then/else (#2700)

    @rjsf/material-ui

    • Fixed up the Theme and Theme5 implementations to deal with a regression in which adding tagName caused the 2 themes to not work
    • Only console.log() the import error in MaterialUIContext and Mui5Context when not in production to eliminate tons of warnings for released code

    @rjsf/semantic-ui

    • Fixed up the Theme implementation to deal with a regression in which adding tagName caused the theme to not work

    New Contributors

    • @nickgros and @Juansasa made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2700

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v4.0.0...v4.0.1

    Source code(tar.gz)
    Source code(zip)
  • v4.0.0(Feb 18, 2022)

    @rjsf/core

    • Add React 17 as a supported peer-dependency
    • Introduce idSeparator prop to change the path separator used to generate field names (https://github.com/rjsf-team/react-jsonschema-form/pull/2628)
    • Array fields support custom widgets (previously, only multiple-choice arrays with enums or uniqueItems support it) (https://github.com/rjsf-team/react-jsonschema-form/pull/2697)

    @rjsf/material-ui

    • Added React 17 as an optional peer dependency
    • Minimum version of React required to use package is now React 16.3
    • Bumped required minimum versions of @material-ui/core and @material-ui/icons to the latest (4.12.0 and 4.11.1)
      • New exports: MuiForm4 and Theme4 are aliases to the material-ui version 4 MuiForm and Theme
      • The Material-UI 4 theme will fallback to a form with a message indicating @material-ui is not available when one (or both) of the libraries are not installed
    • Added support for material-ui version 5 on top of React 17
      • Requires React 17 so will need to upgrade project
      • Added @mui/material, @mui/icons-material, @emotion/react and @emotion/styled as optional peer dependencies
      • New exports: MuiForm5 and Theme5 support using the Material UI 5 libraries instead of version 4
      • The Material-UI 5 theme will fallback to a form with a message indicating @mui is not available when one (or both) of the libraries are not installed

    @rjsf/chakra-ui

    • Added support for this new theme

    Dev / docs / playground

    • Upgraded playground to use React 17
    • Differentiated the material-ui 4 and 5 themes
    • Added chakra-ui theme

    New Contributors

    • @gpop made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2647
    • @ianwith made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2644
    • @rodrigofuentes made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2692
    • @green7ea made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2628
    • @dieseldjango made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2695
    • @alfonsoar made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2697
    • @octalpixel made their first contribution in https://github.com/rjsf-team/react-jsonschema-form/pull/2714

    Full Changelog: https://github.com/rjsf-team/react-jsonschema-form/compare/v3.2.1...v4.0.0

    Source code(tar.gz)
    Source code(zip)
  • v3.2.1(Nov 19, 2021)

    @rjsf/core

    • Don't crash when non-object formData is passed in to a schema item with additionalProperties (https://github.com/rjsf-team/react-jsonschema-form/pull/2595)
    • Upgrade jsonpointer to 5.0.0 to address security vulnerability (https://github.com/rjsf-team/react-jsonschema-form/pull/2599)
    Source code(tar.gz)
    Source code(zip)
  • v3.2.0(Oct 20, 2021)

    @rjsf/core

    • Fix for clearing errors after updating and submitting form (https://github.com/rjsf-team/react-jsonschema-form/pull/2536)
    • bootstrap-4 TextWidget wrappers now pull from registry, add rootSchema to Registry, fix FieldProps.onFocus type to match WidgetProps (https://github.com/rjsf-team/react-jsonschema-form/pull/2519)
    • Added global readonly flag to the Form (https://github.com/rjsf-team/react-jsonschema-form/pull/2554)
    • Fix to allow changing additionalProperties to falsy values (https://github.com/rjsf-team/react-jsonschema-form/pull/2540)
    • Pass uiSchema to custom Boolean widget (https://github.com/rjsf-team/react-jsonschema-form/pull/2587)

    @rjsf/bootstrap-4

    • bootstrap-4 TextWidget wrappers now pull from registry, add rootSchema to Registry, fix FieldProps.onFocus type to match WidgetProps (https://github.com/rjsf-team/react-jsonschema-form/pull/2519)

    @rjsf/fluent-ui

    • fluent-ui: Allow value of 0 in TextWidget (https://github.com/rjsf-team/react-jsonschema-form/pull/2497)

    Dev / docs / playground

    • Several dependency updates
    • Added global readonly flag to the Form (https://github.com/rjsf-team/react-jsonschema-form/pull/2554)
    • Enable source maps in playground, for development (https://github.com/rjsf-team/react-jsonschema-form/pull/2568)
    Source code(tar.gz)
    Source code(zip)
  • v3.1.0(Aug 13, 2021)

    @rjsf/core

    • Properly assign label prop for MultiSelect ArrayField (#2459)
    • Take into account implicitly defined types when rendering labels for fields (#2502)

    @rjsf/antd

    • Add default Form export to @rjsf/antd (#2514)

    @rjsf/fluent-ui

    • Make material-ui and fluent-ui pull TextWidget from the registry; remove registry prop from
      in TextWidget (#2515)

    @rjsf/material-ui

    • Make material-ui and fluent-ui pull TextWidget from the registry; remove registry prop from
      in TextWidget (#2515)

    @rjsf/semantic-ui

    • Use getDisplayLabel to properly show labels for widgets (#2225)
    • Add submit button, email, url, date widgets (#2224)

    Dev / docs / playground

    • Several dependency updates
    Source code(tar.gz)
    Source code(zip)
  • v3.0.2(Aug 10, 2021)

    Dev / docs / playground

    • Re-released all versions and disabled canary publishing due to an issue with publishing 3.0.1. (https://github.com/rjsf-team/react-jsonschema-form/pull/2505).
    Source code(tar.gz)
    Source code(zip)
  • v3.0.1(Aug 4, 2021)

    @rjsf/core

    • Add null check to componentDidUpdate (#2441)
    • Load 3.0 codepen examples in documentation once more (#2470)
    • 2474 drop unused monaco editor output from core build (#2476)
    • #2439 bump core dep in package peer deps (#2479)

    Dev / docs / playground

    • Deploy canary builds to npm from master (#2435)
    • Update 3.x upgrade guide.md (#2436, #2445)
    • Update CODEOWNERS (#2487)
    • Change from npm install to npm ci in release pipeline (#2442)
    Source code(tar.gz)
    Source code(zip)
  • v3.0.0(Jun 25, 2021)

    v3 is out, with breaking changes!

    Breaking changes

    See https://react-jsonschema-form.readthedocs.io/en/latest/3.x%20upgrade%20guide/ for more details / an upgrade guide.

    • Give Help elements a predictable ID (#2360)
    • Drop support for node 8, 9, 10 (#2299)
    • Don't pull in all of core-js with core (#1601) (#2211)
    • Fix default values and matching schemas when oneOf / anyOf subschemas contain references (#2272)

    @rjsf/core

    • Export ArrayFieldTemplate (#2335)
    • Remove componentWillReceiveProps from AltDateWidget (#2339)
    • Bump jsdom to 16 (#2324)
    • Make onBlur and onFocus accept any types for value (#2366)
    • Pass registry to ObjectFieldTemplate (#2370)
    • remove: remove react-codemirror2 packages. (#2359)
    • Add key to examples tag (#2390)
    • Fix onSubmit type (#2398)
    • Replace shortid with nanoid (#2424)
    • Hide grid for hidden fields (material-ui, bootstrap-4, fluent-ui); pass hidden prop to ObjectFieldTemplate (#2405)

    @rjsf/antd

    • remove annoying console.log (#2329)

    @rjsf/bootstrap-4

    • fix: readonly checkbox for bootstrap-4 (#2306)
    • Fix display of 0 for UpDownWidget (bootstrap-4 and material-ui) (#2325)
    • Hide grid for hidden fields (material-ui, bootstrap-4, fluent-ui); pass hidden prop to ObjectFieldTemplate (#2405)

    @rjsf/fluent-ui

    • Hide grid for hidden fields (material-ui, bootstrap-4, fluent-ui); pass hidden prop to ObjectFieldTemplate (#2405)

    @rjsf/material-ui

    • Fix display of 0 for UpDownWidget (bootstrap-4 and material-ui) (#2325)
    • Hide grid for hidden fields (material-ui, bootstrap-4, fluent-ui); pass hidden prop to ObjectFieldTemplate (#2405)

    Dev / docs / playground

    • Fix local build errors from @types/json-schema (#2310)
    • Add 2.x migration guide to the docs (#2430)
    • Release to npm using CI (#2283)
    • Fix various vulnerabilities in dependencies (various PRs, including #2337)
    Source code(tar.gz)
    Source code(zip)
Build forms in React, without the tears 😭

Build forms in React, without the tears. Visit https://formik.org to get started with Formik. Organizations and projects using Formik List of organiza

Formium 31.8k Jan 8, 2023
Relay is a JavaScript framework for building data-driven React applications.

Relay · Relay is a JavaScript framework for building data-driven React applications. Declarative: Never again communicate with your data store using a

Facebook 17.5k Dec 29, 2022
A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)

nwb nwb is a toolkit for: Quick Development with React, Inferno, Preact or vanilla JavaScript Developing: React Apps Preact Apps Inferno Apps Vanilla

Jonny Buchanan 5.5k Dec 21, 2022
Set up a modern web app by running one command.

Create React App Create React apps with no build configuration. Creating an App – How to create a new app. User Guide – How to develop apps bootstrapp

Facebook 98.4k Jan 1, 2023
A Higher Order Component using react-redux to keep form state in a Redux store

redux-form You build great forms, but do you know HOW users use your forms? Find out with Form Nerd! Professional analytics from the creator of Redux

Redux Form 12.6k Dec 27, 2022
A toolchain for React component styling.

Radium yarn add radium # or npm install --save radium Radium is a set of tools to manage inline styles on React elements. It gives you powerful stylin

Formidable 7.4k Jan 1, 2023
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress ?? Looking for v5? The main branch is unde

styled-components 38k Dec 30, 2022
A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform

React Redux Universal Hot Example About This is a starter boilerplate app I've put together using the following technologies: Isomorphic Universal ren

Erik Rasmussen 12.1k Jan 7, 2023
Get started with React, Redux, and React-Router.

Deprecation Warning This project was started at the advent of the Redux ecosystem, and was intended to help users get up and running quickly. Since th

David Zukowski 10.3k Dec 23, 2022
Declarative routing for React

React Router Declarative routing for React Docs View the docs here Migrating from 2.x/3.x? 3.x docs 2.x docs Packages This repository is a monorepo th

React Training 49.3k Jan 8, 2023
Official React bindings for Redux

React Redux Official React bindings for Redux. Performant and flexible. Installation Using Create React App The recommended way to start new apps with

Redux 22.5k Jan 5, 2023
A React utility belt for function components and higher-order components.

A Note from the Author (acdlite, Oct 25 2018): Hi! I created Recompose about three years ago. About a year after that, I joined the React team. Today,

Andrew Clark 14.8k Dec 23, 2022
Ruthlessly simple bindings to keep react-router and redux in sync

Project Deprecated This project is no longer maintained. For your Redux <-> Router syncing needs with React Router 4+, please see one of these librari

React Community 7.9k Dec 30, 2022
:recycle: React integration for Apollo Client

React Apollo ⚠️ THIS PROJECT HAS BEEN DEPRECATED ⚠️ Please note that 4.0.0 is the final version of all React Apollo packages. React Apollo functionali

Apollo GraphQL 6.9k Jan 7, 2023
🏁 High performance subscription-based form state management for React

You build great forms, but do you know HOW users use your forms? Find out with Form Nerd! Professional analytics from the creator of React Final Form.

Final Form 7.2k Jan 6, 2023
A simple library for uni-directional dataflow application architecture with React extensions inspired by Flux

RefluxJS A simple library for unidirectional dataflow architecture inspired by ReactJS Flux. Installation You can currently install the package as a n

null 5.4k Dec 21, 2022
CSS media queries in react - for responsive design, and more.

react-responsive Information Package react-responsive Description Media queries in react for responsive design Browser Version >= IE6* Demo The best s

contra 6.5k Jan 5, 2023
Seamless mapping of class names to CSS modules inside of React components.

React CSS Modules React CSS Modules implement automatic mapping of CSS modules. Every CSS class is assigned a local-scoped identifier with a global un

Gajus Kuizinas 5.3k Dec 28, 2022
React bindings for MobX

mobx-react ?? ?? ?? This repo has been moved to mobx Package with React component wrapper for combining React with MobX. Exports the observer decorato

MobX 4.9k Jan 4, 2023