@rjsf/core
Advanced tools
Changelog
5.21.2
SchemaField
to pass required
flag to _AnyOfField
/_OneOfField
Form
to deal with null objects in filterErrorsBasedOnSchema()
, fixing #4306ErrorSchemaBuilder
to support adding, updating, and removing paths that are numbers, fixing #4297retrieveSchema
to not merge contains
properties in allOf
schema lists, fixing #2923custom-widgets-fields.md
to add examples of wrapping a widget/fieldChangelog
5.21.1
deepEquals()
from [#4292]deepEquals()
instead of lodash.isEqual()
from [#4292]Changelog
5.21.0
Form
to fix focusOnError()
to support the ids that include dots, fixing #4279@mui/material
and @mui/icon-material
, fixing 4283deepEquals()
to use fast-equals.createCustomEqual()
instead of lodash.isEqualWith()
, fixing #4291
lodash.isEqual()
to deepEquals()
in many of the utility functions as well@rjsf/utils
deepEquals()
instead of lodash.isEqual()
to improve performance, fixing #4291@mui/*
version 6, changing the name of the dropdown from material-ui-5
to mui
Changelog
5.20.1
5.20.x
due to types and API changes in @rjsf/utils
Changelog
5.20.0
ArrayField
, BooleanField
and StringField
to call optionsList()
with the additional UiSchema
parameter, fixing #4215 and #4260WidgetProps
type to add es?: ErrorSchema<T>, id?: string
to the params of the onChange
handler functionUIOptionsBaseType
to add the new enumNames
prop to support an alternate way to provide labels for enum
s in a schema, fixing #4215optionsList()
to take an optional uiSchema
that is used to extract alternate labels for enum
s or oneOf
/anyOf
in a schema, fixing #4215 and #4260
optionsList()
were expanded from <S extends StrictRJSFSchema = RJSFSchema>
to <S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any>
to support the UiSchema
.custom-widget-fields.md
to add documentation for how to raise errors from a custom widget or fieldChangelog
5.19.4
ValidatorType
interface to add an optional reset?: () => void
prop that can be implemented to reset a validator back to initial constructed state
ParserValidator
to provide a reset()
function that clears the schema mapMarkdown
rather than HTML tags since we now render them with Markdown
AJV8Validator
to implement the reset()
function to remove cached schemas in the ajv
instanceValidator
dropdown to add AJV8 (discriminator)
which sets the AJV validator discriminator option to true
to support testing schemas with that option in themChangelog
5.19.3