·
67 commits
to main
since this release
Major Changes
- 0201f5e: Bump minimal
svelteversion to5.39.0 - 6e2bdc5: - Added a required
pathproperty to theConfigtype- Updated the
JsonPathstype to return a union ofPaths - Replaced the
nameprop withpathin theFieldcomponent
- Updated the
- de99d04: Remove
indexMapperandstringIndexMapperfromform/options.sveltemodule - 37e4bea: Turn
create*form methods intoqueries - 5b88676: - Add
mergeSchemasmethod to theMergerinterface- Update
resolveAllReferencesand related functions to accept aMergerinstance for schema merging - Make
mergerform option required
- Update
- fb04cdd: Remove generic validator parameter
- c4fb2b2: Add support for nullable schemas
- 2f8e90d: - Added a new required
createFormparameter:createIdBuilder- Removed the
idSeparatorandidPseudoSeparatorparameters - Removed the following types:
IdPrefixOptionIdSeparatorOptionIdPseudoSeparatorIdOptionsPathToIdOptions
focus-on-first-errormodule changes:- Updated signatures of
getErrorsListandgetFocusAction - Removed the
GetFocusActionOptionstype
- Updated signatures of
- Removed the
- 75f3134: Refactor standard schema validator factory signature
- 181c3ce: - The
makeEventHandlersfunction signature has been updated- Added the
hasFieldStatefunction to check a field’s state - The
isSubmittedandisChangedproperties are nowreadonly isSubmittedis reset after successful processing (validation +onSubmithandler)isChangedbecomestrueafter any interaction before the form is submitted or reset
- Added the
- 880f9b4: Add field actions support
- d2ac64f: - Add
fields/extra/*submodule- Remove the
templatesuffix from component names in thetemplates/*submodule - Replace the
fields/resolversubmodule with thethemesubmodule
- Remove the
- 00a9abc: - Replace
idproperty withpathinConfigtype- Remove
from.errorsproperty - Remove form
errorsbindable option - Replace
idFromPathwithgetIdfunction - Replace
createChildIdwithgetChildPathfunction - Replace
getErrorswithgetFieldErrorsfunction - Add
updateErrors,hasErrors,getErrorsfunctions
- Remove
- 8d4b2c2: Refactor array field context to make it extendable
- ae6aae3: Make
itemValueparameter ofItemTitlefunction required - 45ee96d: Rename
isObjectPrototoisRecordProto - 390b77e: Extract handlers application into
handlersAttachmenthelper - 2c1922a: - Remove
form.valueproperty- Remove
getSnapshotform option - Add
setValue,getValueSnapshotform methods - Use
ValidationResult<Output>as the return type forvalidateFormValueand
validateFormValueAsyncmethods
- Remove
- 1c46d22: Make
eventoptional forform.resetmethod - bc7b50b: Port rjsf-team/react-jsonschema-form#4490
- 3c90ec2: Remove
@sjsf/form/extra-fields/date-fieldextra field definition - ebc3038: Distinguish between missing and
undefinedvalues inui:options - f06e616: Remove
createprefix from creatable form options - d8e8922: Rename path form methods (
create*->get*) - 2bf6e64: Refactor
KeyedArrayinterface - f118bb5: Add schema consistency checks during merge
- 89f3ae2: - Change signature of
getSchemaDefinitionByPath- Remove
getRootSchemaTitleByPathfunction - Change
valueReftype inFieldcomponent from{ value: FieldValue }toRef<FieldValue>
- Remove
- 4cc459b: Simplify modern ID builder
- 3653592: Refactor object field context to make it extendable
- aa9c798: Change the error type to simple
string - 8c389f5: Refactor translation types
- e84b626: Replace the
validateandvalidateAsyncform methods with separate functions - aa34020: Add
length,setandvalidatemethods toArrayContextinterface - 2b810e7: Replace
validatorandmergerwith requiredcreateValidatorandcreateMergeroptions.
Consider all options as reactive. - b5a5c86: - Reuse merger options definition in
getDefaultFieldStateparameters- Move
includeUndefinedValuesoption from merger instance tomergeFormDataAndSchemaDefaultsmethod options
- Move
- 2109e98: Remove
form/static-analysismodule - 8c787f2: Turn
validateandvalidateAsyncmethods into queries - 3ac49c9: Remove
validatemethod formObjectContextandArrayContextinterfaces - c963ca3: Remove deprecated code
- 763c998: Use more fine-grained type augmentation
- 24aa0a2: Separate state related functions into queries and commands
- 3dd688b: Introduce
FormValidatortype - b2d6ac6: Add
unknownschema type - 16b68d7: Replace
FormInternalContextwithFormState
Minor Changes
- b9647e0: Add
validateandvalidateAsyncform methods - 51997f5: Export
createArrayComparatorandascComparatorfunctions - db92385: Add assert adapters for extra fields
- d315e2b: Add
ariahelpers functions - 130ab89: Add
HiddenIdPrefixInputform component - db2518b: Add and implement
collectErrorsUI option fortagsfield - 65f4343: Allow to extend
SchemaValuetype - 5284bc9: Allow to return update callback from form validator methods
- e07b994: Add ID options mapper
- 2b810e7: Add
createValidatorandcreateMergerform options for convenient use as defaults values.
Adderrorsoption for creating controlled forms.
RenameformHandlerstohandlers. - 3fca555: Add
AsyncFileListValidatorvalidator - f261cb8: Add node.js support for
lib/file - f60ae1f: Add
nativeFile*fields - ad86d61: Add
validators/file-sizevalidator - 3100b4d: Add
aggregatedFieldfield andaggregatedWidgetwidget definition
Patch Changes
- c3a3bcd: Fix generation of default value for additional property
- b735108: Remove tracking when calling
updateErrors - c303125: Disable
clearandclearEditaction buttons for read-only fields and disabled forms - b649510: Fix changes propagation in keyed array
- cffd71e: Port rjsf-team/react-jsonschema-form#4771
- ebbebbd: Fix handling of
dependenciesandif,then,elsekeywords ingetSchemaDefinitionByPathfunction - ca11ecb: Fix field state cleanup
- 8559a74: Fix combination field logic
- d60f113: Fix SSR rendering
- ed0a797: Fix oneOf/anyOf fields
- 87330b2: Port rjsf-team/react-jsonschema-form#4839
- 35dd9a4: Make
combinationfield SRR friendly - 4bcb241: Fix deduplication in intersection algorithms