diff --git a/docs/api-bridges.md b/docs/api-bridges.md index 7bd648b96..bb1bd6d35 100644 --- a/docs/api-bridges.md +++ b/docs/api-bridges.md @@ -14,9 +14,12 @@ Currently available bridges: - `GraphQLBridge` in `uniforms-bridge-graphql` ([schema documentation](https://graphql.org/)) - `JSONSchemaBridge` in `uniforms-bridge-json-schema` ([schema documentation](https://json-schema.org/)) - `SimpleSchema2Bridge` in `uniforms-bridge-simple-schema-2` ([schema documentation](https://github.com/longshotlabs/simpl-schema#readme)) -- `SimpleSchemaBridge` in `uniforms-bridge-simple-schema` ([schema documentation](https://github.com/Meteor-Community-Packages/meteor-simple-schema/blob/master/DOCS.md)) - `ZodBridge` in `uniforms-bridge-zod` ([schema documentation](https://zod.dev/)) +Deprecated bridges: + +- `SimpleSchemaBridge` in `uniforms-bridge-simple-schema` ([schema documentation](https://github.com/Meteor-Community-Packages/meteor-simple-schema/blob/master/DOCS.md)) + If you see a lot of [`Warning: Unknown props...`](https://fb.me/react-unknown-prop) logs, check if your schema or theme doesn't provide extra props. If so, consider [registering it with `filterDOMProps`](/docs/api-helpers#filterdomprops). ## `GraphQLBridge` @@ -228,6 +231,12 @@ const bridge = new SimpleSchema2Bridge({ schema }); ## `SimpleSchemaBridge` +:::caution + +SimpleSchemaBridge is deprecated since uniforms v4. + +::: + ```tsx import SimpleSchemaBridge from 'uniforms-bridge-simple-schema'; import { SimpleSchema } from 'aldeed:simple-schema';