CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 30
Releases: ui-schema/ui-schema
0.5.0-alpha.1
153e896
Compare
This release is published under the
next
tag and won't be installed automatically. To use it, specify the version when installing or updating.
- @ui-schema/dictionary > v0.1.0-alpha.1
- @ui-schema/ds-bootstrap > v0.5.0-alpha.1
- @ui-schema/ds-material > v0.5.0-alpha.1
- @ui-schema/json-pointer > v0.5.0-alpha.1
- @ui-schema/json-schema > v0.5.0-alpha.1
- @ui-schema/kit-dnd > v0.1.0-alpha.1
- @ui-schema/material-dnd > v0.1.0-alpha.1
- @ui-schema/pro > v0.1.0-alpha.1
- @ui-schema/material-pickers > v0.5.0-alpha.1
- @ui-schema/react > v0.5.0-alpha.1
- @ui-schema/ui-schema > v0.5.0-alpha.1
Changes
- 🐛 fixes for cjs and no-type-in-package.json compatibility
- ✨ new
getFields
util to get static schema, especially for mui table widget - ✨ rewrite ArrayValidator, add
prefixItems
/draft-2020-12 support - 🪥 move
schemaRulesToNative
to/ui-schema
- 🔧 make design-systems independent from
/json-schema
- ✨ ds-material: mui v7 grid
- ✨ ds-bootstrap: add
schemaRulesToNative
to text/number widgets
Assets 2
0.5.0-alpha.0
a3b6ed7
Compare
This release is published under the
next
tag and won't be installed automatically. To use it, specify the version when installing or updating.A basic migration guide is in the repo. Full changelog drops after
beta
- check the README notice on how to try the alpha!For a concrete migration example, see this commit updating @ui-schema/material-code to the new version.
Split up of packages, Node.js, ESM, rewrite codebase to TS and stricter types, MUI6, React19, new render engine, new plugin systems, new validator engine, more JSON Schema keywords, new schema resource system, more reliable schema merging, resolving complete $ref chains and other recursive applicators, and a lot of polished and improved internals.
All while keeping architecture and overall API changes minimal! You'll just need to update some imports, rename a few things - and optionally clean up the deprecations ;)
- @ui-schema/dictionary > v0.1.0-alpha.0
- @ui-schema/ds-bootstrap > v0.5.0-alpha.0
- @ui-schema/ds-material > v0.5.0-alpha.0
- @ui-schema/json-pointer > v0.5.0-alpha.0
- @ui-schema/json-schema > v0.5.0-alpha.0
- @ui-schema/kit-dnd > v0.1.0-alpha.0
- @ui-schema/material-dnd > v0.1.0-alpha.0
- @ui-schema/material-pickers > v0.5.0-alpha.0
- @ui-schema/pro > v0.1.0-alpha.0
- @ui-schema/react > v0.5.0-alpha.0
- @ui-schema/ui-schema > v0.5.0-alpha.0
Assets 2
0.4.7
Compare
None breaking.
ui-schema@0.4.7
- ✨ support
type: "object"
widget binding- only intended for supplying a custom
ObjectRenderer
, adding a default widget forobject
is safer via a SimplePlugin, as theobject
binding is used in e.g. ds-material for rendering the object content inside container widgets likeFormGroup
- only intended for supplying a custom
- 🔧 include immutable v5 in peer dependency range
- 🔧 add
sideEffects: false
to rootpackage.json
- 🐛 fix
DefaultHandler
plugin, which caused the following plugin to run twice- using default plugins, this did not affect behaviour, as the subsequent plugins behave idempotent
ds-material@0.4.3
- ✨ add
widgetsBindingBasic
, for easier setup of custom bindings without increased bundle size- does not include any default widgets
- does not include any default plugins and validators
- ✨ move widget binding type exports to
BindingType
, while keeping existing exports inwidgetsBinding
for backwards compatibility - ✨ add missing types for all supported
type
bindings:array
,object
,null
; make alltype
widget bindings optional - 🔧 include immutable v5 in peer dependency range
- fix stricter typing in v5: in
TableRenderer
, added5
as default for rows-per-page
- fix stricter typing in v5: in
- 🔧 add
sideEffects: false
to rootpackage.json
Example of widgetsBindingBasic
:
import { MuiWidgetBinding } from '@ui-schema/ds-material/BindingType'
import { pluginStack } from '@ui-schema/ds-material/pluginStack'
import { validators } from '@ui-schema/ui-schema/Validators/validators'
import { BoolRenderer, NumberRenderer, Select, SelectMulti, StringRenderer, TextRenderer } from '@ui-schema/ds-material/Widgets'
import { widgets } from '@ui-schema/ds-material/widgetsBindingBasic'
const customWidgets: MuiWidgetBinding = {
...widgets,
// add the default plugins or provide your own:
pluginSimpleStack: validators,
pluginStack: pluginStack,
// add support for `type` keyword widgets
types: {
string: StringRenderer,
boolean: BoolRenderer,
number: NumberRenderer,
integer: NumberRenderer,
},
// add some widgets for the `widget` keyword
custom: {
Text: TextRenderer,
Select: Select,
SelectMulti: SelectMulti,
},
}
Misc
Include immutable v5 in peer dependency range and add sideEffects: false
to all root package.json
:
ds-bootstrap@0.4.3
dictionary@0.0.13
material-pickers@0.4.0-alpha.6
pro@0.0.14
kit-dnd@0.0.8
material-dnd@0.0.17
material-editorjs@0.0.14
material-slate@0.0.13
Assets 2
0.4.6
Compare
General fixes of invalid
import
/export
, which led to some CJS-ESM mix-up in bundlers. Fixed with adjusted import paths and backwards compatible new directories and index files.Update dev tools and deps, e.g. React v18, less babel plugins.
None breaking.
ui-schema@0.4.6
- 🐛 fix invalid
import
/export
- 🐛 fix some types for React v18
ds-bootstrap@0.4.2
- ✨ add
readOnly
keyword support inTextField
ds-material@0.4.2
- 🐛 fix invalid
import
/export
- 🐛 fix some types for React v18
- 🐛 fix
SelectMulti
invalid casting tostring
of selected value- fixes that only
string
oneOf.const
where possible for rendering selected value labels #226
- fixes that only
- 🐛 fix
OptionsBoolean
shows two*
whenrequired
- ✨ add
TableFooter
overflow, allowing TableFooter to overflow inTable
to not overflow outside of it - ✨ add
TextFieldCell
minWidth
with default40px
andview.minWidth
as keyword- to prevent inputs in cells with a small column header to disappear when Table is resized
Misc
Fixes of import
/export
and React 18 types in:
dictionary@0.0.12
material-pickers@0.4.0-alpha.5
pro@0.0.13
- only small patches, just that build succeeds
kit-dnd@0.0.7
material-dnd@0.0.16
material-editorjs@0.0.13
material-slate@0.0.12
Assets 2
0.4.5
Compare
@ui-schema/ui-schema
>0.4.5
Changes
- 🪥
ui-schema
Utils/useDebounceValue
adjusted internal state flow to flush in layout effects - ✨
ui-schema
simple-pluginSortPlugin
- ✨
ui-schema
simple-pluginInheritKeywords
#204- thanks to @averybross #207
- 📚 docs links and icons fixes, new read-widgets demos
Assets 2
0.4.4
Compare
Changed json-schema validation implementations / mui widget features.
@ui-schema/ui-schema
>0.4.4
@ui-schema/ds-material
>0.4.1
@ui-schema/material-pickers
>0.4.0-alpha.4
Changes
- 🐛
ui-schema
fixConditionalHandler
only validated objects / when some value exists #196 - ♻️
ui-schema
adjust validators to support recursive validations of objects- related to conditional handler fix
- new optional third parameter in:
validateSchema/validateSchema
(base function which may call the others)OneOfValidator/validateOneOf
ObjectValidator/validateObject
- 💩 deprecated:
validateSchema/validateSchemaObject
, moved logic as recursive logic toObjectValidator/validateObject
- ♻️
ui-schema
adjusted value-type specific validators to no longer rely ontype
keyword, switched to type of value checks (like already forconst/enum
keywords)- related to conditional handler fix
ObjectValidator
,PatternValidator
,MinMaxValidator
,ArrayValidator
,EmailValidator
,MultipleOfValidator
- ✨
ui-schema
addValueValidator/valueValidatorConst
support for any type comparison, e.g. object/list (as immutable), includes conversion of non-immutable values to immutable (for future non-immutable store values #197) - ♻️
ui-schema
split upUtil/memo
with newUtil/isEqualObject
andUtil/isEqual
- 💩 deprecated:
Util/memo/isEqual
, useUtil/isEqualObject
instead
- 💩 deprecated:
- ✨
mui
widgetOptionsBoolean
(Switch
) addview
keywordsdense
,titleVariant
,labelPlacement
,color
and more props #200 - ✨
mui
widgetSelectChips
addview.color
keyword - 🐛
mui
widgetWidgetOptionsRead
fix wrongly shownerror
color for empty entries - ♻️
mui
read widgets removeuseMeta
usage (as values already injected byPluginStack
) - 🪥
mui-pickers
optimize@mui/material
import paths
Assets 2
0.4.3
Compare
@ui-schema/ui-schema
>0.4.3
@ui-schema/ds-material
>0.4.0-beta.0
@ui-schema/dictionary
>0.0.11
None breaking, fixes and optimizes.
Features
- fix
ds-material
usage ofoneOf
title
in unify options #174 - core add error context to
oneOf
validation error - add translation for
oneOf
error indictionary
ds-material
deprecatedWidgetOneOfRead
,WidgetEnumRead
- 💎
ds-material
new universalWidgetOptionsRead
Assets 2
0.4.2
Compare
@ui-schema/ui-schema
>0.4.2
@ui-schema/ds-material
>0.4.0-alpha.6
@ui-schema/material-pickers
>0.4.0-alpha.3
@ui-schema/material-dnd
>0.0.15
@ui-schema/material-slate
>0.0.11
Moved @ui-schema/material-color
into an new repository: ui-schema/react-color - check new releases there in the future.
Removed scribble package @ui-schema/material-editable
.
Features
Assets 2
0.4.1
Compare
@ui-schema/ui-schema
>0.4.1
@ui-schema/ds-bootstrap
>0.4.1
@ui-schema/ds-material
>0.4.0-alpha.5
Moved @ui-schema/material-code
into an new repository: ui-schema/react-codemirror - check new releases there in the future.
Features
only internals, nothing needs to be adjusted
- ds-material fix esm resolving for single-files in root folder (
/widgetsBinding
,/pluginStack
) - general build/esm/typing generation fixes, removed babel-runtime from published code
Info
DO NOT use the following versions, as the build config was invalid, thus corrupted typing files:
@ui-schema/ui-schema
>0.4.0
@ui-schema/ds-bootstrap
>0.4.0
@ui-schema/ds-material
>0.4.0-alpha.4
Assets 2
0.4.0-beta.1
Compare
@ui-schema/ui-schema
>0.4.0-beta.1
@ui-schema/ds-material
>0.4.0-alpha.3
Features
- ds-material fix select
variant=outlined
labels #167 - core (internals)
PluginStack
/ObjectGroup
remove unnecessaryReact.Fragment