Skip to content

Tags: SampsonCrowley/react-jsonschema-form

Tags

v0.48.0

Toggle v0.48.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
n1k0 Nicolas Perriault
Bump v0.48.0.

New features:

* Handle references to deep schema definitions (rjsf-team#554)

Bugfixes:

* Fix rjsf-team#563: Remove remaining React.PropTypes references.

Internal changes:

* Upgrade prettier to v1.2.2.
* Fix coding style check command.

v0.47.0

Toggle v0.47.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
n1k0 Nicolas Perriault
Bump v0.47.0.

* Make the base input widget customizable. (rjsf-team#547)
* Add UI option for omitting field label (rjsf-team#558)
* add prop-types package and add respective imports b/c it was deprecated (rjsf-team#549)

v0.46.0

Toggle v0.46.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
n1k0 Nicolas Perriault
Bump v0.46.0

New features
============

- The new `ui:emptyValue` uiSchema directive allows having a
  field set to a default value when emptied. (rjsf-team#539)
- Pass uiSchema to custom array templates. (rjsf-team#537)
- Add sharing capability to the Playground. (rjsf-team#535)

v0.45.0

Toggle v0.45.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
n1k0 Nicolas Perriault
Bump v0.45.0.

* Fix rjsf-team#223: Allow adding a custom validation error at a given array index (rjsf-team#521)
* Fix rjsf-team#412: Readonly widgets behavior consistency (rjsf-team#525)

v0.44.0

Toggle v0.44.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
n1k0 Nicolas Perriault
Bump v0.44.0.

New features

* Add support for rows attribute of textarea widget. (rjsf-team#450)
* rjsf-team#434 - Render empty array item fields when minItems is specified (rjsf-team#484)
* Add a "has-danger" class to the form error list (rjsf-team#502)
* Show description for boolean fields (rjsf-team#498)
* Fix rjsf-team#488: Add a custom Form ErrorList prop.

Bugfixes

* Fix impossibility to use stateful ArrayFieldTeplate comp. (rjsf-team#519)
* Centralized shouldComponentUpdate handling in SchemaField (rjsf-team#490)

v0.43.0

Toggle v0.43.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
n1k0 Nicolas Perriault
Bump v0.43.0.

Highlights
---

- Improved performance and reactivity.
- More consistent validation behavior and UX for array field items.

Backward incompatible changes
---

- `ObjectField` and `ArrayField` are now stateless components, their
  local state handling has been dropped entirely, resulting in large
  performance improvements.
- The `defaultFieldValue` helper from the `utils` module has been
  removed, as it wasn't used anymore.

New features
---

* Fix rjsf-team#411:  Enable required field on radio options. (rjsf-team#469)
* Spread `formContext` to `ArrayTemplateField`, `files` and `multiselect`
  arrays (rjsf-team#456)
* From rjsf-team#471: Non-nullable array item fields are now marked as required in
  the UI.

Bugfixes
---

* Don't pass consumed `SchemaField` class names to child component (rjsf-team#439)
* Turn `ObjectField` and `ArrayField` into stateless components (rjsf-team#480)
* Fix rjsf-team#471: Drop default value initialization at the widget level. (rjsf-team#476)

Kudos
---

Special thanks to @crumblix and @knilink for their help on this release.
You guys rock!

v0.42.0

Toggle v0.42.0's commit message

Unverified

This user has not yet uploaded their public signing key.
Bump v0.42.0.

Breaking changes

When a text input is emptied by the user, it's value is now reset to `undefined` instead of being set to `""` (empty string) as previously. This better matches traditional HTML forms behavior.

New features

* Add an array field template component (rjsf-team#437)
* Wrap radio and checkbox labels into span to enable styling. (rjsf-team#428)
* Reset text inputs value when emptied (rjsf-team#442)
* Add transform hook for changing errors from json schema validation (rjsf-team#432)
* Add a noHtml5Validate prop (rjsf-team#448)
* Add support for a onBlur event handler (rjsf-team#431)
* Allow empty option for enum fields (rjsf-team#451)

Bugfixes

* Fix rjsf-team#452: Support recursively referenced definitions. (rjsf-team#453)
* Fix rjsf-team#454: Document what master actually is, suffix its version with -dev.

v0.41.2

Toggle v0.41.2's commit message

Unverified

This user has not yet uploaded their public signing key.
Bump v0.41.2.

* Update dependencies to their latest versions. (rjsf-team#386)
* Fix rjsf-team#385: Avoid dynamic requires. (rjsf-team#387)
* Fix rjsf-team#365: Tab stop for Add button + (rjsf-team#392)
* Add a single field form example in the playground (rjsf-team#390)
* Allow using field names containing a dot character (rjsf-team#397)
* Updated eslint config.
* Improve checkbox and radio button styles (rjsf-team#403)
* Add missing proptype for disabled (rjsf-team#416)
* Temporary fix for rjsf-team#349 and facebook/react#7630 radio widget bug (rjsf-team#423)

v0.41.1

Toggle v0.41.1's commit message

Unverified

This user has not yet uploaded their public signing key.
Bump v0.41.1.

v0.41.0

Toggle v0.41.0's commit message

Unverified

This user has not yet uploaded their public signing key.
Bump v0.41.0.

This release has been made possible by the combined work of @olzraiti, @maartenth, @vinhlh, @tiemevanveen , @dehli, @enjoylife, @PabloEn, @israelshirk, @sjhewitt and @rom10. Thank you folks!

Breaking changes
----------------

Support for passing `DescriptionField`, `TitleField` and `SchemaField` as `Form` props as been dropped in this release. You now have to always pass them through the `fields` prop.

Deprecations
------------

* Leverage `ui:options` everywhere (fix rjsf-team#370) (rjsf-team#378)

There's now a unique recommended way to specify options for widgets in uiSchema, which is the `ui:options` directive. Previous ways are still supported, but you'll get a warning in the console if you use them.

New features
------------

* Allow overriding the default fields/widgets (rjsf-team#371)
* Pass data to `FieldTemplate` as strings instead of as React components (rjsf-team#341)
* Pass `schema` & `uiSchema` to the field template component (rjsf-team#379)
* Add `ui:order` wildcard feature and improve error messages (rjsf-team#368)
* Add support for widget autofocus (rjsf-team#288)
* Array field optional sortability (rjsf-team#345)
* Radio widget support for integers and numbers (rjsf-team#325)
* Add support for inline radios and checkboxes. (fix rjsf-team#346) (rjsf-team#348)
* Added ref to `FileWidget`. (rjsf-team#355)
* Added `removable` and `addable` options for array items (rjsf-team#373)
* Enable Windows development (rjsf-team#320)

Enhancements and bugfixes
-------------------------

* Fix `minimum/maximum==0` for `UpDownWidget` and `RangeWidget` (rjsf-team#344)
* Handle numbers requiring trailing zeros with more grace (rjsf-team#334)
* Pass empty title to `TitleField` instead of name (rjsf-team#311)
* `asNumber`: return `undefined` when value is empty string (rjsf-team#369)
* Use [glyphicons](http://getbootstrap.com/components/#glyphicons) for buttons by default. (fix rjsf-team#337) (rjsf-team#375)
* Support old versions of React (rjsf-team#312)