@rjsf/core
Advanced tools
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
Changelog
5.19.1
5.19.x
due to use of new API in 5.19.0
Changelog
5.19.0
AltDateWidget
to use the new dateRangeOptions()
function in utils
to support relative Years and reversing the order of the Year choicesAltDateWidget
to use the new dateRangeOptions()
function in utils
to support relative Years and reversing the order of the Year choicesreadOnly
from a JSON Schema was not applied in SchemaField (#4236)AltDateWidget
to use the new dateRangeOptions()
function in utils
to support relative Years and reversing the order of the Year choicesdateRangeOptions()
function to implement relative Years in (via negative ranges) and reversing the order of the Year choicesdateRangeOptions()
function as well as showing examples of using relative Years and reversed Year ordering