Skip to content

Releases: rjsf-team/react-jsonschema-form

v0.50.0

06 Sep 16:21
e842db7

Choose a tag to compare

New features

  • Onfocus support (#657)
  • Add formData to ArrayFieldTemplate props (#645)
  • Pass more props to ErrorList (#658)
  • Add ui:description and ui:title mechanism to ObjectField. (#619)
  • Support oneOf and anyOf as alternative of enum/enumNames (#581)

Bug fixes

  • Upgrade prettier to 1.5.2 (#629), and then again to 1.6.1.
  • Fix ui:description for arrays (#685)
  • Fix #681: Warn on invalid array schema provided. (#684)
  • Fix typo in README (#680)
  • Fix ui:title for arrays (fixes #677) (#678)
  • Fix ui:title for objects (fixes #665) (#676)
  • Fix multipleOf IEEE-754 floats issue (#671)
  • Fix inconsistent form status state (#660)
  • Fix behaviour of arrays with minItems and default (#663)
  • Fix minItems bug with multiSelect and formData (#661)
  • Add Advanced conditional fields example (#646)
  • Fix example of conditional fields so that it doesn't mutate the schema.properties. (#640)
  • Fix validation pattern example in README (fixes #628).

v0.49.0

08 Jun 20:50
68077a7

Choose a tag to compare

  • Update for custom input types (#572)
  • Added possibility to change title and description by ui:schema. (#587)
  • Fixes default value for object missing properties (#589)
  • Fixes array without items for custom fields (#590)
  • Upgrade prettier to 1.4.2. (#602)
  • Add type="button" to ArrayFieldTemplate example (#601)

v0.48.2

07 May 17:50
ecf9373

Choose a tag to compare

Bugfixes

  • Fix regression introduced in v0.48.1 (#575) preventing to specify a custom registry prop (#576)

v0.48.1

07 May 13:11
4344e53

Choose a tag to compare

Bugfixes

  • Fix a compatibility issue with React.PropTypes and most recent versions of React (#568)
  • Fix #574: Fix circular dependency issues with the registry prop. (#575)

v0.48.0

28 Apr 18:05
22ee8d9

Choose a tag to compare

New features

  • Handle references to deep schema definitions (#554)

Bugfixes

  • Fix #563: Remove remaining React.PropTypes references.

This ensures compatibility with latest React versions, which have moved PropTypes to their own independent package.

Internal changes

  • Upgrade prettier to v1.2.2.
  • Fix coding style check command.

v0.47.0

25 Apr 13:09
62454a4

Choose a tag to compare

New features

  • Make the base input widget customizable. (#547)
  • Add a label uiSchema option for omitting a specific field label (#558)

Bugfixes & Internal Changes

  • add prop-types package and add respective imports b/c it was deprecated (#549)

v0.46.0

07 Apr 15:36
a3d2b43

Choose a tag to compare

New features

  • The new ui:emptyValue uiSchema directive allows having a field set to a default value when emptied. (#539)
  • Pass uiSchema to custom array templates. (#537)
  • Add sharing capability to the Playground. (#535)

v0.45.0

23 Mar 23:00
8b58e6e

Choose a tag to compare

New features

  • Fix #223: Allow adding a custom validation error at a given array index (#521)

Bugfixes

v0.44.0

21 Mar 09:00
0f9d1d2

Choose a tag to compare

New features

  • Add support for a rows attribute for the textarea widget. (#450)
  • #434 - Render empty array item fields when minItems is specified (#484)
  • Add a has-danger class to the form error list (#502)
  • Show description for boolean fields (#498)
  • Fix #488: Add a custom Form ErrorList prop.

Bugfixes

  • Fix impossibility to use stateful ArrayFieldTeplate comp. (#519)
  • Centralized shouldComponentUpdate handling in SchemaField (#490)

v0.43.0

22 Feb 16:29
9c849c1

Choose a tag to compare

Highlights

  • Improved performance and reactivity.
  • More consistent validation behavior and UX for array field items.

Backward incompatible changes

  • ObjectField and ArrayField are now stateless components, their local state handling has been dropped entirely, resulting in large performance improvements.
  • The defaultFieldValue helper from the utils module has been removed, as it wasn't used anymore. Note: this should only impact people importing anything else than Form from the package.

New features

  • Fix #411: Enable required field on radio options. (#469)
  • Spread formContext to ArrayTemplateField, files and multiselect arrays (#456)
  • From #476: Non-nullable array item fields are now marked as required in the UI.

Bugfixes

  • Don't pass consumed SchemaField class names to child component (#439)
  • Turn ObjectField and ArrayField into stateless components (#480)
  • Fix #471: Drop default value initialization at the widget level. (#476)

Kudos

Special thanks to @crumblix and @knilink for their help on this release. You folks rock!