npm @rjsf/core 6.0.0-beta.16

11 hours ago

@rjsf/antd

  • Updated the ArrayFieldTemplate, FieldTemplate and ObjectFieldTemplate to get formContext from the registry

@rjsf/core

  • Updated ArrayField, Form, LayoutMultiSchemaField and SchemaField to stop passing formContext

@rjsf/daisyui

  • Updated FieldTemplate to remove formContext as it is never used

@rjsf/semantic-ui

  • Updated the ArrayFieldTemplate, BaseInputTemplate, CheckboxWidget, FieldTemplate, RadioWidget, RangeSelect, SelectWidget, TextareaWidget and ObjectFieldTemplate to get formContext from the registry

@rjsf/utils

  • BREAKING CHANGE: Removed formContext from the following interfaces because it is available on registry:
    • ErrorListProps, FieldProps, FieldTemplateProps, ArrayFieldTemplateProps and WidgetProps
  • Update mergeDefaultsWithFormData to properly handle overriding undefined formData with a null default value, fixing #4734
  • Fixed object reference sharing in arrays with minItems when using oneOf schemas, fixing #4756
  • Updated getWigets() to output the schema when throwing errors, fixing #4731

Dev / docs / playground

  • Updated the documentation to remove formContext from the interface documentation, adding a BREAKING CHANGE notification in the v6.x upgrade guide
  • POTENTIAL BREAKING CHANGE: Updated the cjs build for all packages to generate .cjs files instead of .js files and updating the exports to make the require statements use .cjs, fixing [#4754]#4754)
  • Updated v6.x upgrade guide.md to note the change to the cjs builds

Don't miss a new core release

NewReleases is sending notifications on new releases.