Skip to content

v1.6.0

Compare
Choose a tag to compare
@glasserc glasserc released this 06 Jun 19:36
83be940

New features

  • Add withTheme higher-order component (#1226).
  • Improve support for customization -- pass schema to AnyOfField / OneOfField (#1302), pass label, placeholder and registry to ArrayField (#1301), pass required to custom checkbox widgets (#1259).
  • Support readOnly from latest JSON Schema draft (#1282).
  • Allow unknown format properties, in accordance with JSON Schema spec (#1277).
  • Numbers can now be nullable (#1269).
  • Support widgets that are wrapped using React.ForwardedRef (#1227).
  • Add example for collapsing fields to documentation (#1294).
  • Schemas without type but with properties are now assumed to be object (#1292).

Bug fixes

  • Update wording in documentation (#1266).
  • Correctly use $ref when matching options with oneOf (#1287).
  • Remove setState call in FileWidget to fix test failures especially with newer node (#1285).
  • Ensure defaults are passed along for multiselect arrays when filling items to match minItems (#1264).
  • Fix bugs with defaults in combination with schema dependencies and oneOf/anyOf (#1304).