Socket
Socket
Sign inDemoInstall

@rjsf/utils

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rjsf/utils - npm Package Versions

23
8

6.0.0-alpha.0

Diff

rjsf-bot
published 5.20.0 •

Changelog

Source

5.20.0

@rjsf/core

  • Support allowing raising errors from within a custom Widget #2718
  • Updated ArrayField, BooleanField and StringField to call optionsList() with the additional UiSchema parameter, fixing #4215 and #4260

@rjsf/utils

  • Updated the WidgetProps type to add es?: ErrorSchema<T>, id?: string to the params of the onChange handler function
  • Updated UIOptionsBaseType to add the new enumNames prop to support an alternate way to provide labels for enums in a schema, fixing #4215
  • Updated optionsList() to take an optional uiSchema that is used to extract alternate labels for enums or oneOf/anyOf in a schema, fixing #4215 and #4260
    • NOTE: The generics for optionsList() were expanded from <S extends StrictRJSFSchema = RJSFSchema> to <S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any> to support the UiSchema.

Dev / docs / playground

  • Update the custom-widget-fields.md to add documentation for how to raise errors from a custom widget or field
rjsf-bot
published 5.19.4 •

Changelog

Source

5.19.4

@rjsf/core

  • Fix XSS when rendering schema validation errors #4254
    • NOTE: This will have potential consequences if you are using the translateString feature and are trying to render HTML. Switching to Markdown will solve your problems.

@rjsf/utils

  • Updated the ValidatorType interface to add an optional reset?: () => void prop that can be implemented to reset a validator back to initial constructed state
    • Updated the ParserValidator to provide a reset() function that clears the schema map
  • Also updated the default translatable string to use Markdown rather than HTML tags since we now render them with Markdown

@rjsf/validator-ajv8

  • Updated the AJV8Validator to implement the reset() function to remove cached schemas in the ajv instance

Dev / docs / playground

  • Updated the Validator dropdown to add AJV8 (discriminator) which sets the AJV validator discriminator option to true to support testing schemas with that option in them
rjsf-bot
published 5.19.3 •

Changelog

Source

5.19.3

@rjsf/antd

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/chakra-ui

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/fluentui-rc

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/material-ui

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/mui

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/semantic-ui

  • SelectWidget now displays an empty option when appropriate, fixing #4197
rjsf-bot
published 5.19.2 •

Changelog

Source

5.19.2

@rjsf/core

  • Removed .only on tests that was accidentally added in 5.19.0
rjsf-bot
published 5.19.1 •

Changelog

Source

5.19.1

Dev / docs / playground

  • Bumped the peer dependencies to 5.19.x due to use of new API in 5.19.0
rjsf-bot
published 5.19.0 •

Changelog

Source

5.19.0

@rjsf/antd

  • Updated AltDateWidget to use the new dateRangeOptions() function in utils to support relative Years and reversing the order of the Year choices

@rjsf/chakra-ui

  • Updated AltDateWidget to use the new dateRangeOptions() function in utils to support relative Years and reversing the order of the Year choices

@rjsf/core

  • Fixed case where readOnly from a JSON Schema was not applied in SchemaField (#4236)
  • Updated AltDateWidget to use the new dateRangeOptions() function in utils to support relative Years and reversing the order of the Year choices

@rjsf/utils

  • Added a new dateRangeOptions() function to implement relative Years in (via negative ranges) and reversing the order of the Year choices

Dev / docs / playground

  • Added documentation for the new dateRangeOptions() function as well as showing examples of using relative Years and reversed Year ordering
rjsf-bot
published 5.18.6 •

Changelog

Source

5.18.6

@rjsf/antd

  • Fix disabled property of options in CheckboxesWidget and RadioWidget (#4216)

@rjsf/core

  • Fixed omitExtraData not working in onSubmit and validateForm; fixing #4187, #4165 and #4109

@rjsf/utils

  • Fix IdSchema and PathSchema types (#4196)

@rjsf/validator-ajv6

  • Fix IdSchema and PathSchema types (#4196)

@rjsf/validator-ajv8

  • Fix IdSchema and PathSchema types (#4196)
rjsf-bot
published 5.18.5 •

Changelog

Source

5.18.5

@rjsf/antd

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/bootstrap4

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/chakra-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/core

  • Fix case where NumberField would not properly reset the field when using programmatic form reset (#4202)[https://github.com/rjsf-team/react-jsonschema-form/issues/4202]
  • Updated widgets to handle undefined target in onFocus and onBlur handlers
  • Fix field disable or readonly property can't cover globalOptions corresponding property (#4212)[https://github.com/rjsf-team/react-jsonschema-form/pull/4212]
  • Added support for default values in additionalProperties in #4199, fixing #3195

@rjsf/fluent-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/fluentui-rc

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/material-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/mui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/semantic-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@rjsf/validator-ajv6

  • Improved performance issues with large schema dependencies and oneOf conditions #4203.

@rjsf/validator-ajv8

  • Improved performance issues with large schema dependencies and oneOf conditions #4203.
rjsf-bot
published 5.18.4 •

Changelog

Source

5.18.4

Dev / docs / playground

  • Fixed typo in constants.ts, Form.tsx
23
8
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc