@sjsf/form
@sjsf/form
2.1.0
2.0.2
Patch Changes
-
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4665 (
d06b974
) -
Fix generation of
d.ts
file forField
component (e9f95fe
) -
Remove the use of
effect.pre
to set the object’s default values (#138)
2.0.1
Patch Changes
2.0.0
Major Changes
-
Add support for
$ref
in UI schema (#100) -
Add
label
component (b215668
) -
Remove
lib/deep-equal
submodule (3f780ca
) -
Add
useLabel
property for thefieldTemplate
component (e8eaae3
) -
Extract array field logic into
createArrayContext
function (99b77fb
) -
Remove
forId
from theerrorList
component props (f6588ff
) -
Remove
uiOptions
property fromConfig
(#100) -
Bump peer and dev dependencies (
21e47cc
) -
Rename
fields/extra-widgets/file-widget
tofields/extra-widgets/file
(d75d847
) -
Remove
name
property fromConfig
(1da5c84
) -
Make
checkboxes
andfile
widgets optional (8fa706b
) -
Replace
asyncProxy
withcreateAsyncBinding
(#119) -
Refactor action logic: (
8606f26
)- Remove
debounce
combinator - Add
untrack
combinator result
- Remove
-
The
DefaultFormMerger
class has been replaced by thecreateFormMerger
factory. (43c86da
) -
Update
initialValue
type inFormOptions
to bePartial<T>
(#135) -
Rename
FoundationalComponent
toFoundationalComponentType
(9ca2d7f
) -
Relax component compatibility checks. (
cb176ac
) Add atype
discriminator for field, template, and widget properties. RemoveEqual
andExpandAndEqual
types fromlib/types
-
Remove
use-mutation
submodule (c616f00
) -
Remove
proxy
function fromlib/svelte.svelte
(1138f61
) -
Migrate to
resolver
based providers (dfd96e7
) -
Bump svelte to 5.25.0, relax patch versions of peer dependencies. (
33fcab1
) -
Refactor form API: (
daabc32
)- Renames:
form.validation
->form.submission
validationCombinator
->submissionCombinator
validationDelayedMs
->submissionDelayedMs
validationTimeoutMs
->submissionTimeoutMs
form.submit
now returnsvoid
- Renames:
-
Add support for extra attributes in input, textarea, and select attribute functions (
ef7ea00
) -
Move
checkboxes
andfile
widgets to extra folder (701c3fc
) -
Remove the UI options
submitButtonText
andadditionalPropertyKeyPrefix
in favor of the newtranslations
option. (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-data
submodule (3c865f3
) -
Refactor action logic: (
d958dfc
)run
methods now returnsvoid
- Added
runAsync
method that returnsPromise<R>
- Fixed
state_referenced_locally
warning
-
Remove
asSnippet
function (a9dc859
) -
Rename
FormTag
toForm
(#100) -
Rename
setFromContext
tosetFormContext
(e9a861b
) -
Remove
UiSchemaRootContent
type (49e4b89
) -
Extract object field logic into
createObjectContext
function (73ee1fb
) -
Add support for
patternProperties
keyword (162b001
) -
Rename submodule
prevent-data-loss
toprevent-page-reload
(1ae4972
) -
Replace action
Status
enum with string literals (5e85a87
) -
Remove
validate
andvalidateAsync
form state methods (#130) -
Remove
AnyKey
type (d569453
) -
Migrate to a new
Validator
type model (dfd96e7
) -
Remove
required
andforId
from thetitle
component props (52676ca
) -
Remove
getValueByPath
function (1516c2d
)
Minor Changes
-
Add
fromFactories
function tolib/resolver
(61b8dab
) -
Add
tagsField
extra field andtagsWidget
extra widget definition (cff3574
) -
Add
env
lib (#71) -
Add combobox widget type (
4abf5d6
) -
The
getValueByPath
function has been returned. (f37bf4a
) -
Add
css
lib (#71) -
Add
extraUiOptions
property to form options (1a552e8
) -
Pass
widgetType
property to thefieldTemplate
component (749a333
) -
Add
useDatePickerForDateFormat
function tofields/extra-widgets/date-picker
(768f8c2
) -
Use
untrack
inside the followingAction
methods:run
,runAsync
, andabort
. (5206095
) -
Export
JsonPaths
type form@sjsf/form/lib/types
(#135) -
Add
getSchemaDefinitionByPath
function (eb9ad24
) -
Add
validators/precompile
submodule (9882dd8
) -
Add
Field
component (#135) -
Add
lib/component
submodule (#100) -
Add
matches
method toAction
for type narrowing (f626bd8
) -
Add
arraySubSchemasMergeType
option formergeSchemas
function (b2c896b
) -
Add
getUiSchemaByPath
function (283d6de
) -
Add
resolver
lib (d5c93c3
) -
Add options parameter to
createFormMerger
factory (0bcf9c6
) -
Add support for
discriminator
schema property (f6fd57c
) -
Add standard schema form value validator (
c43eb93
) -
Add
registry
form 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
enumField
recognition incompat
resolver (6f4942b
) -
Fix type of
fields
resolver (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
submitButtonText
andadditionalPropertyKeyPrefix
in favor of the newtranslations
option. (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
patternProperties
keyword (162b001
)
Minor Changes
- Add support for
discriminator
schema property (f6fd57c
)
2.0.0-next.10
Major Changes
-
Add support for
$ref
in UI schema (#100) -
Remove
uiOptions
property fromConfig
(#100) -
Rename
FormTag
toForm
(#100)
Minor Changes
Patch Changes
2.0.0-next.9
Major Changes
-
Extract array field logic into
createArrayContext
function (99b77fb
) -
Extract object field logic into
createObjectContext
function (73ee1fb
)
Minor Changes
-
Add
validators/precompile
submodule (9882dd8
) -
Add
arraySubSchemasMergeType
option formergeSchemas
function (b2c896b
)
2.0.0-next.8
Major Changes
-
Rename
fields/extra-widgets/file-widget
tofields/extra-widgets/file
(d75d847
) -
Rename
FoundationalComponent
toFoundationalComponentType
(9ca2d7f
) -
Relax component compatibility checks. (
cb176ac
) Add atype
discriminator for field, template, and widget properties. RemoveEqual
andExpandAndEqual
types fromlib/types
-
Add support for extra attributes in input, textarea, and select attribute functions (
ef7ea00
) -
Remove
UiSchemaRootContent
type (49e4b89
)
Minor Changes
-
Add
fromFactories
function tolib/resolver
(61b8dab
) -
Add
tagsField
extra field andtagsWidget
extra widget definition (cff3574
) -
Add
extraUiOptions
property to form options (1a552e8
) -
Add
useDatePickerForDateFormat
function tofields/extra-widgets/date-picker
(768f8c2
)
2.0.0-next.7
Major Changes
-
Add
label
component (b215668
) -
Add
useLabel
property for thefieldTemplate
component (e8eaae3
) -
Remove
forId
from theerrorList
component props (f6588ff
) -
Remove
proxy
function fromlib/svelte.svelte
(1138f61
) -
Remove
required
andforId
from thetitle
component props (52676ca
)
Minor Changes
- Pass
widgetType
property to thefieldTemplate
component (749a333
)
Patch Changes
2.0.0-next.6
Patch Changes
- Fixed
enumField
recognition incompat
resolver (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
getValueByPath
function has been returned. (f37bf4a
) -
Add standard schema form value validator (
c43eb93
) -
Add function
getRootSchemaTitleByPath
(84f9ff9
)
2.0.0-next.3
Major Changes
-
The
DefaultFormMerger
class has been replaced by thecreateFormMerger
factory. (#83) -
Remove
AnyKey
type (#83) -
Remove
getValueByPath
function (#83)
Minor Changes
-
Add
getSchemaDefinitionByPath
function (#83) -
Add
getUiSchemaByPath
function (#83) -
Add options parameter to
createFormMerger
factory (0bcf9c6
)
2.0.0-next.2
2.0.0-next.1
Major Changes
-
Make
checkboxes
andfile
widgets optional (#81) -
Move
checkboxes
andfile
widgets to extra folder (#81)
Patch Changes
2.0.0-next.0
Major Changes
-
Remove
lib/deep-equal
submodule (#78) -
Remove
use-mutation
submodule (#78) -
Migrate to
resolver
based providers (#78) -
Remove
legacy-omit-extra-data
submodule (#78) -
Remove
asSnippet
function (#78) -
Rename submodule
prevent-data-loss
toprevent-page-reload
(#78) -
Migrate to a new
Validator
type 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-validator
submodule (#60) -
Add
FormElement
,RawForm
,Form2
components (#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
isSchemaValueDeepEqual
andisSchemaDeepEqual
functions (#55) -
Add
createForm3
function (#54)Migration
- Replace
useForm2
withcreateForm3
. - If custom form is used it should call
setFormContext(form.context)
before usingFormContent
andSubmitButton
components.
- Replace
Patch Changes
1.7.0
Minor Changes
-
Add
constAsDefaults
option 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.run
to theonSuccess
andonFailure
handlers. (#39) -
Add
lib/memoize
submodule (#36) -
Implement array and object fields revalidation (#41)
-
Add support for async validation (#39)
-
Add
debounce
andthrottle
mutation combinators (#39)
Patch Changes
-
Fix
array
based inputs validation (#40) -
Do not consider
const
inreadonly
attribute calculation. (#34)
1.6.1
Patch Changes
-
Port fix for
getArrayDefaults
(753a8bd
)
1.6.0
Minor Changes
1.5.1
Patch Changes
-
d8b4211
Thanks @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
c75aa31
Thanks @x0k! - AddpreventDataLoss
function for handlingbeforeunload
event -
#26
dad20e1
Thanks @x0k! - Allow to pass multiple arguments tomutation.run
method -
#26
a6606d1
Thanks @x0k! - Add form optionpseudoIdSeparator
Patch Changes
-
#26
34b2481
Thanks @x0k! - Changed the value ofDEFAULT_ID_SEPARATOR
This change may be a BREAKING change for you if you code implicitly depends on this constant.
-
#26
89a3e04
Thanks @x0k! - Remove forcedundefined
forvalue
inonSubmit
handler of the form -
#26
0084022
Thanks @x0k! - Allow to pass aMap
andArray
to theinitialErrors
form option
1.4.0
Minor Changes
-
56a406a
Thanks @x0k! - AddisChanged
property to the from state -
5ac9c3f
Thanks @x0k! - AddupdateErrorsByPath
method to theFormState
-
d0d7d36
Thanks @x0k! - Addsubmit
andreset
methods to theFormState
1.3.0
Minor Changes
-
fe35ad2
Thanks @x0k! - Reset form value in default reset handler -
#22
6144b9a
Thanks @x0k! - ImplementuseForm
API, AddFormContent
andSubmitButton
components -
e2c9d61
Thanks @x0k! - Allow to augmentInputAttributes
type
Patch Changes
-
23f37ab
Thanks @x0k! - Port a bunch of fixes forgetDefaultFormState
: -
b88b944
Thanks @x0k! - Use the stricterComputeDefaultsProps2
type
1.2.0
Patch Changes
1.1.2
Patch Changes
1.1.1
Patch Changes
1.1.0
Minor Changes
Patch Changes
-
#16
81b6952
Thanks @x0k! - Port fix ofgetClosestMatchingOption
to improve the scoring of sub-property objects -
2e08cd4
Thanks @x0k! - Make fields ofconst
property 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
-
8c337bb
Thanks @x0k! - Removescheduler-polyfill
due SSR errors -
ae990a7
Thanks @x0k! - Move options mapping helpers toform
package -
7d0cd8a
Thanks @x0k! - Move datalist creation logic to form fields