@rjsf/validator-ajv6
Advanced tools
Changelog
5.0.0-beta.8
Changelog
v5.0.0-beta.6
@rjsf/validator-ajv8
to the validate_test.js
file to ensure the validation works with both validator implementationsREADME.md
to correct the package name in several places to match the actual packageREADME.md
to remove references to ajv6 validator, adding link to the utility-functions.md
in the docsREADME.md
to correct the package name in several places to match the actual packagegetDefaultFormState()
so that oneOf and anyOf default values do not always use the first option when formData contains a better option, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2183)README.md
to correct the package name in several places to match the actual packageLocalizer
function passed as a second parameter to customizeValidator()
, fixing (https://github.com/rjsf-team/react-jsonschema-form/pull/846, and https://github.com/rjsf-team/react-jsonschema-form/issues/1195)README.md
to correct the package name in several places to match the actual packageAJV8
and AJV8_es
to the list of available validators for the playground; Using the second one will translate error messages to spanish.null
in certain cases.Changelog
v5.0.0-beta.5
Changelog
v5.0.0-beta.4
devDependencies
for React to 17.x and use dts
to build and test the library (rather than tsdx
)Changelog
v5.0.0-beta.2
@rjsf/utils
library now that it is published on npmChangelog
v5.0.0-beta.1
@rjsf/utils
library functions and typestemplates
as part of the fix for https://github.com/rjsf-team/react-jsonschema-form/issues/2526
BaseInputTemplate
should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2926, https://github.com/rjsf-team/react-jsonschema-form/issues/2889, https://github.com/rjsf-team/react-jsonschema-form/issues/2875, https://github.com/rjsf-team/react-jsonschema-form/issues/2223)title
and description
consistent across themes, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2481, https://github.com/rjsf-team/react-jsonschema-form/issues/2363, https://github.com/rjsf-team/react-jsonschema-form/issues/2219)package.json
and package-lock.json
files to be built and maintained by Node 16.utils.js
file from core
into independent functions.
types
from core
in utils
to better match the implementation across all themes
formData
change when liveOmit=true
when "additionalProperties: false" issue 1507 (https://github.com/rjsf-team/react-jsonschema-form/pull/2631)validator.js
file from core
into independent functions as well as a class that implements the new ValidatorType
interface.
ajv
instance.toErrorList()
was made so that it takes fieldPath: string[]
rather than fieldName='root'
as part of the fix to (https://github.com/rjsf-team/react-jsonschema-form/issues/1596)
errors
also now adds property
from the fieldPath
along with the proper path from the property
to the stack
message, making it consistent with the AJV errors.
stack
attribute would say root: error message
; now it says . error message
errors
when merged with custom validation, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).ui:emptyValue
now works with selects (https://github.com/rjsf-team/react-jsonschema-form/issues/1041)utils.js
into the new @rjsf/utils
fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2719)ui:field
with anyOf or oneOf no longer rendered twice (#2890)anyOf
and oneOf
getting incorrect, potentially duplicate ids when combined with array (https://github.com/rjsf-team/react-jsonschema-form/issues/2197)formContext
is now passed properly to SchemaField
, fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2394, https://github.com/rjsf-team/react-jsonschema-form/issues/2274)ui:duplicateKeySuffixSeparator
to customize how duplicate object keys are renamed when using additionalProperties
.extraErrors
are now consistently appended onto the end of the schema validation-based errors
information that is returned via the onErrors()
callback when submit fails.
errors
during the merge process, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).RadioWidget
to no longer use random numbers fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2461)onChange
handler in the new set of props if it changed, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1708).onChange
when formData
is controlled prop, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/513),@rollup/plugin-replace
to replace antd/lib
and rc-picker/lib
with antd/es
and rc-picker/es
respectively, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2962)withTheme
customizations should work properly now (https://github.com/rjsf-team/react-jsonschema-form/issues/2058)ArrayFieldTemplate
refactor seems to have fixed https://github.com/rjsf-team/react-jsonschema-form/issues/2775SelectField
(https://github.com/rjsf-team/react-jsonschema-form/issues/2616, https://github.com/rjsf-team/react-jsonschema-form/issues/2875)@rjsf/mui
) was split out of the theme for version 4 (i.e. @rjsf/material-ui
) to resolve the following issues:
inputType
in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
step
for number
type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)@rjsf/mui
) was split out of the theme for version 4 (i.e. @rjsf/material-ui
) to resolve the following issues:
inputType
in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
step
for number
type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)main
definition in semantic-ui
to fix (https://github.com/withastro/astro/issues/4357)ui:field
with anyOf
(#2890)