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
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 (#371)
- Pass data to
FieldTemplateas strings instead of as React components (#341) - Pass
schema&uiSchemato the field template component (#379) - Add
ui:orderwildcard feature and improve error messages (#368) - Add support for widget autofocus (#288)
- Array field optional sortability (#345)
- Radio widget support for integers and numbers (#325)
- Add support for inline radios and checkboxes. (fix #346) (#348)
- Added ref to
FileWidget. (#355) - Added
removableandaddableoptions for array items (#373) - Enable Windows development (#320)
Bugfixes, enhancements
- Fix
minimum/maximum==0forUpDownWidgetandRangeWidget(#344) - Handle numbers requiring trailing zeros with more grace (#334)
- Pass empty title to
TitleFieldinstead of name (#311) asNumber: returnundefinedwhen value is empty string (#369)- Use glyphicons for buttons by default. (fix #337) (#375)
- Support old versions of React (#312)