Skip to content

Commit 6a32016

Browse files
committed
more changes
1 parent fa5c165 commit 6a32016

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

MIGRATION.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
## Migrating to JSON Forms 3.0
44

5-
### Core
6-
7-
#### Additional parameter for testers
5+
### Additional parameter for testers
86

97
Previously the testers had the following interfaces.
108

@@ -28,11 +26,9 @@ type RankedTester = (uischema: UISchemaElement, schema: JsonSchema, rootSchema:
2826
This allows the testers to resolve any `$ref` they might encounter in their handed over `schema`.
2927
Therefore the manual resolving of JSON Schemas before handing them over to JSON Forms does not need to be performed in those cases.
3028

31-
### React
32-
33-
#### Removal of JSON Schema $Ref Parser
29+
### Removal of JSON Schema $Ref Parser
3430

35-
With version 3.0 of JSON Forms, we removed the `json-schema-ref-parser` dependency within the core package.
31+
We removed the `json-schema-ref-parser` dependency within the core package.
3632
This change only affects users of the React variant, Vue and Angular users are not affected.
3733

3834
`json-schema-ref-parser` was used to resolve external JSON Schema references.
@@ -89,12 +85,12 @@ function App() {
8985

9086
For more information have a look at our [ref-resolving](https://jsonforms.io/docs/ref-resolving) docs page.
9187

92-
#### Update to Material UI v5 in React Material
88+
### Update to Material UI v5 in React Material
9389

9490
Material UI was updated from version 4 to version 5 which introduced a lot of breaking changes.
9591
To update your application see the official Material UI [migration guide](https://mui.com/guides/migration-v4/).
9692

97-
#### Removal of React Material extended renderer set
93+
### Removal of React Material extended renderer set
9894

9995
Previously we maintained a separate 'extended' renderer set to not force all consumers of JSON Forms to consume the Material UI lab dependency.
10096
With the update to Material UI v5 the lab dependency became more important as it also contains all date and time pickers.
@@ -103,7 +99,7 @@ Therefore we now require the lab dependency and removed the no longer needed ext
10399
If you consumed the extended renderer set then just revert to the normal renderer set.
104100
There should not be any behavior changes.
105101

106-
#### Removal of Class Components in React Material
102+
### Removal of Class Components in React Material
107103

108104
All React Material class components were refactored to functional components.
109105
Please check whether you extended any of our base renderers in your adaptation.

0 commit comments

Comments
 (0)