@sjsf/form
@sjsf/form
2.4.0
Minor Changes
-
Add
RefandBindtypes (#190) -
Export mergers from
form/mergers(#191) -
Add
json-schema,math,ord,traverserlibs, newarrayfunctions (#191)
2.3.0
Minor Changes
-
Pass item value to
itemTitlefunction (#178) -
Add
keyedArraysMapform option (#180) -
Add
keyedArrayoption tocreateArrayContext,createTupleContextfunctions. (#182)
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4757 (
8772516) -
Fix population of missing tuple items (
66ca1a5) -
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4745 (
123fc70)
2.2.4
Patch Changes
- Revert “[form] Preserve array keys by injecting default values instead of state replacing” (
bab9bce)
2.2.3
Patch Changes
-
Fix omitting dependency arrays in the schema transformer (
8be9383) -
Preserve array keys by injecting default values instead of state replacing (#170)
2.2.2
2.2.1
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4710 (
9cf65bd) -
Deprecate
from.contextproperty (#159)
2.2.0
Minor Changes
Patch Changes
- Migrate to
task.sveltelib (803d56d)
2.1.2
Patch Changes
-
Clarify the empty field name warning in the
Fieldcomponent (35afc7b) -
Fix display of custom enum names in
booleanSelectField(f2f1cbc)
2.1.1
2.1.0
2.0.2
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4665 (
d06b974) -
Fix generation of
d.tsfile forFieldcomponent (e9f95fe) -
Remove the use of
effect.preto set the object’s default values (#138)
2.0.1
Patch Changes
2.0.0
Major Changes
-
Add support for
$refin UI schema (#100) -
Add
labelcomponent (b215668) -
Remove
lib/deep-equalsubmodule (3f780ca) -
Add
useLabelproperty for thefieldTemplatecomponent (e8eaae3) -
Extract array field logic into
createArrayContextfunction (99b77fb) -
Remove
forIdfrom theerrorListcomponent props (f6588ff) -
Remove
uiOptionsproperty fromConfig(#100) -
Bump peer and dev dependencies (
21e47cc) -
Rename
fields/extra-widgets/file-widgettofields/extra-widgets/file(d75d847) -
Remove
nameproperty fromConfig(1da5c84) -
Make
checkboxesandfilewidgets optional (8fa706b) -
Replace
asyncProxywithcreateAsyncBinding(#119) -
Refactor action logic: (
8606f26)- Remove
debouncecombinator - Add
untrackcombinator result
- Remove
-
The
DefaultFormMergerclass has been replaced by thecreateFormMergerfactory. (43c86da) -
Update
initialValuetype inFormOptionsto bePartial<T>(#135) -
Rename
FoundationalComponenttoFoundationalComponentType(9ca2d7f) -
Relax component compatibility checks. (
cb176ac) Add atypediscriminator for field, template, and widget properties. RemoveEqualandExpandAndEqualtypes fromlib/types -
Remove
use-mutationsubmodule (c616f00) -
Remove
proxyfunction fromlib/svelte.svelte(1138f61) -
Migrate to
resolverbased providers (dfd96e7) -
Bump svelte to 5.25.0, relax patch versions of peer dependencies. (
33fcab1) -
Refactor form API: (
daabc32)- Renames:
form.validation->form.submissionvalidationCombinator->submissionCombinatorvalidationDelayedMs->submissionDelayedMsvalidationTimeoutMs->submissionTimeoutMs
form.submitnow returnsvoid
- Renames:
-
Add support for extra attributes in input, textarea, and select attribute functions (
ef7ea00) -
Move
checkboxesandfilewidgets to extra folder (701c3fc) -
Remove the UI options
submitButtonTextandadditionalPropertyKeyPrefixin favor of the newtranslationsoption. (f30da6d) -
Fix https://github.com/x0k/svelte-jsonschema-form/issues/103 (
1c75328)Renames in the following submodules:
@sjsf/form/fields/array/*@sjsf/form/fields/object/*@sjsf/form/templates/*
-
Remove
legacy-omit-extra-datasubmodule (3c865f3) -
Refactor action logic: (
d958dfc)runmethods now returnsvoid- Added
runAsyncmethod that returnsPromise<R> - Fixed
state_referenced_locallywarning
-
Remove
asSnippetfunction (a9dc859) -
Rename
FormTagtoForm(#100) -
Rename
setFromContexttosetFormContext(e9a861b) -
Remove
UiSchemaRootContenttype (49e4b89) -
Extract object field logic into
createObjectContextfunction (73ee1fb) -
Add support for
patternPropertieskeyword (162b001) -
Rename submodule
prevent-data-losstoprevent-page-reload(1ae4972) -
Replace action
Statusenum with string literals (5e85a87) -
Remove
validateandvalidateAsyncform state methods (#130) -
Remove
AnyKeytype (d569453) -
Migrate to a new
Validatortype model (dfd96e7) -
Remove
requiredandforIdfrom thetitlecomponent props (52676ca) -
Remove
getValueByPathfunction (1516c2d)
Minor Changes
-
Add
fromFactoriesfunction tolib/resolver(61b8dab) -
Add
tagsFieldextra field andtagsWidgetextra widget definition (cff3574) -
Add
envlib (#71) -
Add combobox widget type (
4abf5d6) -
The
getValueByPathfunction has been returned. (f37bf4a) -
Add
csslib (#71) -
Add
extraUiOptionsproperty to form options (1a552e8) -
Pass
widgetTypeproperty to thefieldTemplatecomponent (749a333) -
Add
useDatePickerForDateFormatfunction tofields/extra-widgets/date-picker(768f8c2) -
Use
untrackinside the followingActionmethods:run,runAsync, andabort. (5206095) -
Export
JsonPathstype form@sjsf/form/lib/types(#135) -
Add
getSchemaDefinitionByPathfunction (eb9ad24) -
Add
validators/precompilesubmodule (9882dd8) -
Add
Fieldcomponent (#135) -
Add
lib/componentsubmodule (#100) -
Add
matchesmethod toActionfor type narrowing (f626bd8) -
Add
arraySubSchemasMergeTypeoption formergeSchemasfunction (b2c896b) -
Add
getUiSchemaByPathfunction (283d6de) -
Add
resolverlib (d5c93c3) -
Add options parameter to
createFormMergerfactory (0bcf9c6) -
Add support for
discriminatorschema property (f6fd57c) -
Add standard schema form value validator (
c43eb93) -
Add
registryform option (#100) -
Add function
getRootSchemaTitleByPath(84f9ff9)
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4617 (
38ae583) -
Fix https://github.com/x0k/svelte-jsonschema-form/issues/72 (
f1c6d71) -
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4644 (
00a1ea1) -
Refactor async logic in file fields (#118)
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4637 (
ba140fb) -
Improve focusable element detection (
ebb8315) -
Fix theme resolver type (
b1221f9) -
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4570 (#100)
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4600 (
1e641de) -
Refactor matching logic to improve validation performance and accuracy (
69535c3) -
Fixed
enumFieldrecognition incompatresolver (6f4942b) -
Fix type of
fieldsresolver (8f33350) -
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4626 (
50c357a)
2.0.0-next.15
Major Changes
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4644 (
00a1ea1) -
Refactor async logic in file fields (#118)
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4637 (
ba140fb)
2.0.0-next.14
2.0.0-next.13
2.0.0-next.12
Major Changes
-
Remove the UI options
submitButtonTextandadditionalPropertyKeyPrefixin favor of the newtranslationsoption. (f30da6d) -
Fix https://github.com/x0k/svelte-jsonschema-form/issues/103 (
1c75328)Renames in the following submodules:
@sjsf/form/fields/array/*@sjsf/form/fields/object/*@sjsf/form/templates/*
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4617 (
38ae583) -
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4600 (
1e641de) -
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4626 (
50c357a)
2.0.0-next.11
Major Changes
- Add support for
patternPropertieskeyword (162b001)
Minor Changes
- Add support for
discriminatorschema property (f6fd57c)
2.0.0-next.10
Major Changes
-
Add support for
$refin UI schema (#100) -
Remove
uiOptionsproperty fromConfig(#100) -
Rename
FormTagtoForm(#100)
Minor Changes
Patch Changes
2.0.0-next.9
Major Changes
-
Extract array field logic into
createArrayContextfunction (99b77fb) -
Extract object field logic into
createObjectContextfunction (73ee1fb)
Minor Changes
-
Add
validators/precompilesubmodule (9882dd8) -
Add
arraySubSchemasMergeTypeoption formergeSchemasfunction (b2c896b)
2.0.0-next.8
Major Changes
-
Rename
fields/extra-widgets/file-widgettofields/extra-widgets/file(d75d847) -
Rename
FoundationalComponenttoFoundationalComponentType(9ca2d7f) -
Relax component compatibility checks. (
cb176ac) Add atypediscriminator for field, template, and widget properties. RemoveEqualandExpandAndEqualtypes fromlib/types -
Add support for extra attributes in input, textarea, and select attribute functions (
ef7ea00) -
Remove
UiSchemaRootContenttype (49e4b89)
Minor Changes
-
Add
fromFactoriesfunction tolib/resolver(61b8dab) -
Add
tagsFieldextra field andtagsWidgetextra widget definition (cff3574) -
Add
extraUiOptionsproperty to form options (1a552e8) -
Add
useDatePickerForDateFormatfunction tofields/extra-widgets/date-picker(768f8c2)
2.0.0-next.7
Major Changes
-
Add
labelcomponent (b215668) -
Add
useLabelproperty for thefieldTemplatecomponent (e8eaae3) -
Remove
forIdfrom theerrorListcomponent props (f6588ff) -
Remove
proxyfunction fromlib/svelte.svelte(1138f61) -
Remove
requiredandforIdfrom thetitlecomponent props (52676ca)
Minor Changes
- Pass
widgetTypeproperty to thefieldTemplatecomponent (749a333)
Patch Changes
2.0.0-next.6
Patch Changes
- Fixed
enumFieldrecognition incompatresolver (6f4942b)
2.0.0-next.5
Major Changes
- Bump svelte to 5.25.0, relax patch versions of peer dependencies. (
33fcab1)
Patch Changes
- Refactor matching logic to improve validation performance and accuracy (
69535c3)
2.0.0-next.4
Minor Changes
-
The
getValueByPathfunction has been returned. (f37bf4a) -
Add standard schema form value validator (
c43eb93) -
Add function
getRootSchemaTitleByPath(84f9ff9)
2.0.0-next.3
Major Changes
-
The
DefaultFormMergerclass has been replaced by thecreateFormMergerfactory. (#83) -
Remove
AnyKeytype (#83) -
Remove
getValueByPathfunction (#83)
Minor Changes
-
Add
getSchemaDefinitionByPathfunction (#83) -
Add
getUiSchemaByPathfunction (#83) -
Add options parameter to
createFormMergerfactory (0bcf9c6)
2.0.0-next.2
2.0.0-next.1
Major Changes
-
Make
checkboxesandfilewidgets optional (#81) -
Move
checkboxesandfilewidgets to extra folder (#81)
Patch Changes
2.0.0-next.0
Major Changes
-
Remove
lib/deep-equalsubmodule (#78) -
Remove
use-mutationsubmodule (#78) -
Migrate to
resolverbased providers (#78) -
Remove
legacy-omit-extra-datasubmodule (#78) -
Remove
asSnippetfunction (#78) -
Rename submodule
prevent-data-losstoprevent-page-reload(#78) -
Migrate to a new
Validatortype model (#78)
Minor Changes
1.9.2
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4461 (#69)
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4462 (#70)
1.9.1
Patch Changes
- Use keyed array inside an array field to preserve items state (#65)
1.9.0
Minor Changes
-
Add omit extra data submodule (#56)
-
Add create action submodule (#61)
-
Add
fake-validatorsubmodule (#60) -
Add
FormElement,RawForm,Form2components (#60)
Patch Changes
-
Fix nested additional properties id’s inference (#62)
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4388 (#58)
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4425 fix (#59)
1.8.0
Minor Changes
-
Add
isSchemaValueDeepEqualandisSchemaDeepEqualfunctions (#55) -
Add
createForm3function (#54)Migration
- Replace
useForm2withcreateForm3. - If custom form is used it should call
setFormContext(form.context)before usingFormContentandSubmitButtoncomponents.
- Replace
Patch Changes
1.7.0
Minor Changes
-
Add
constAsDefaultsoption to get default form state function. (#34)This is a port of this PR Adding feature to support const as default bug fix seeming like a regression.
-
Pass arguments of
mutation.runto theonSuccessandonFailurehandlers. (#39) -
Add
lib/memoizesubmodule (#36) -
Implement array and object fields revalidation (#41)
-
Add support for async validation (#39)
-
Add
debounceandthrottlemutation combinators (#39)
Patch Changes
-
Fix
arraybased inputs validation (#40) -
Do not consider
constinreadonlyattribute calculation. (#34)
1.6.1
Patch Changes
- Port fix for
getArrayDefaults(753a8bd)
1.6.0
Minor Changes
1.5.1
Patch Changes
-
d8b4211Thanks @x0k! - Fix multi-field selectorThis is not a proper fix (array of multi-fields is still broken) but it’s a good place to start.
1.5.0
Minor Changes
-
#26
c75aa31Thanks @x0k! - AddpreventDataLossfunction for handlingbeforeunloadevent -
#26
dad20e1Thanks @x0k! - Allow to pass multiple arguments tomutation.runmethod -
#26
a6606d1Thanks @x0k! - Add form optionpseudoIdSeparator
Patch Changes
-
#26
34b2481Thanks @x0k! - Changed the value ofDEFAULT_ID_SEPARATORThis change may be a BREAKING change for you if you code implicitly depends on this constant.
-
#26
89a3e04Thanks @x0k! - Remove forcedundefinedforvalueinonSubmithandler of the form -
#26
0084022Thanks @x0k! - Allow to pass aMapandArrayto theinitialErrorsform option
1.4.0
Minor Changes
-
56a406aThanks @x0k! - AddisChangedproperty to the from state -
5ac9c3fThanks @x0k! - AddupdateErrorsByPathmethod to theFormState -
d0d7d36Thanks @x0k! - Addsubmitandresetmethods to theFormState
1.3.0
Minor Changes
-
fe35ad2Thanks @x0k! - Reset form value in default reset handler -
#22
6144b9aThanks @x0k! - ImplementuseFormAPI, AddFormContentandSubmitButtoncomponents -
e2c9d61Thanks @x0k! - Allow to augmentInputAttributestype
Patch Changes
-
23f37abThanks @x0k! - Port a bunch of fixes forgetDefaultFormState: -
b88b944Thanks @x0k! - Use the stricterComputeDefaultsProps2type
1.2.0
Patch Changes
1.1.2
Patch Changes
1.1.1
Patch Changes
1.1.0
Minor Changes
Patch Changes
-
#16
81b6952Thanks @x0k! - Port fix ofgetClosestMatchingOptionto improve the scoring of sub-property objects -
2e08cd4Thanks @x0k! - Make fields ofconstproperty readonly
1.0.0
Major Changes
0.2.7
Patch Changes
0.2.6
Patch Changes
0.2.5
Patch Changes
0.2.4
Patch Changes
0.2.3
0.2.2
Patch Changes
0.2.1
Patch Changes
0.2.0
Minor Changes
0.1.0
Minor Changes
0.0.6
Patch Changes
0.0.5
Patch Changes
0.0.4
Patch Changes
-
8c337bbThanks @x0k! - Removescheduler-polyfilldue SSR errors -
ae990a7Thanks @x0k! - Move options mapping helpers toformpackage -
7d0cd8aThanks @x0k! - Move datalist creation logic to form fields