All Versions
12
Latest Version
Avg Release Cycle
28 days
Latest Release
3 days ago

Changelog History
Page 1

  • v2.0.0-alpha.1

    November 09, 2019

    🛠 Alpha version of v2.0.0 is out! It's in alpha so we can iron out bug fixes and still add some other breaking changes if need be. Please check it out and give feedback!

    💥 Breaking changes

    • React 16+ is now a peer dependency (#1408)
    • 👍 We no longer actively support Node version < 8 (#1462)
    • ✂ Removed setState, setImmediate, safeRenderCompletion helpers/hacks (#1454)
    • 0️⃣ Inject defaults in arrays (#1499)

    🔋 Features

    • ➕ Add material-ui theme in the main repo (#1420) (note: has not been fully integrated yet -- this will be fully integrated when we publish multiple packages with lerna - #1501)
    • ➕ Add extraErrors prop for async validation (#1444)

    🛠 Fixes

    • 🛠 Fix issue with false as formData on radio components (#1438)
    • 🔒 Security patches (#1458, #1459)
    • Memo components in custom widgets and fields. (#1447)
    • 🗄 Introduce Form autoComplete attribute and deprecate autocomplete (#1483)
    • 🔀 Rewrite mergeSchemas to fix schema dependencies merging (#1476)
    • ⚡️ Update arrays correctly when changing index (#1485)
    • ⚡️ Update anyOf schema to correctly update items in an array (#1491)
    • ⚡️ Update schema to re-render when idschema changes (#1493)
  • v1.8.0

    August 26, 2019

    🆕 New features

    • 👍 Allow restriction of accepted filetypes in file widget (#1246)
    • 👌 Support adding items to an array at any position, instead of always at the end (#1352)

    🛠 Fixes

    • 🔄 Change inclusion of lodash dependencies to fix errors when using Yarn (#1366)
    • 🛠 Fix dependency defaults when using Form as an uncontrolled component (#1371)
    • 👕 Reformat tests (#1372) and fix linting (#1373)
    • 👉 Use the Monaco editor component in the playground instead of CodeMirror (#1374, #1379)
    • ➕ Add missing space in playground (#1384)
    • ➕ Add Bootstrap version to playground (#1386)
    • 🛠 Fix bug with trying to enter numbers such as "0.1" (#1360)
    • 🛠 Fix bug where user editing of additionalProperties names was erased (#1401)
    • Playground now records whether "live" was set (#1403)
    • 🛠 Fix bug in omitData where data was always cast into an object, even if it should have remained an array (#1406)
    • 👌 Support $ref in additionalProperties (#1402)
    • 🛠 Fix bug where data was being omitted incorrectly (#1419)
  • v1.7.0

    July 16, 2019

    🆕 New features

    • Pass registry to ArrayFieldTemplate (#1317)
    • ➕ Add "Omit extra data" prop (#1283), including a "live omit" option (#1332, #1356)
    • NumberField now has access to min and max props (#1341)
    • 👍 Allow for a custom tag name to be used instead of form (#1345)
    • ➕ Added properties ui:FieldTemplate, ui:ArrayFieldTemplate, and ui:ObjectFieldTemplate to uiSchema (#1152)

    🐛 Bug fixes

    • 🛠 Fix nested dependencies updating (#1320)
    • Minor follow-ups from #1283 (#1331)
    • Pass formContext to SchemaField (#1330)
    • 🛠 Fix bug where defaults are not applied correctly for anyOf/oneOf schemas (#1338)
    • 📚 Ensure all widgets are represented in documentation (#1350)
    • Array items now have unique, stable keys (#1335)
    • Prevent submits from propagating when forms are nested in other forms (#1336)
    • ⚡️ Update to Babel 7 (#1322)
  • v1.6.1

    June 08, 2019

    🛠 Bugfix release: provide a safe default when calculating dependencies (#1313).

  • v1.6.0

    June 06, 2019

    🆕 New features

    • ➕ Add withTheme higher-order component (#1226).
    • 👌 Improve support for customization -- pass schema to AnyOfField / OneOfField (#1302), pass label, placeholder and registry to ArrayField (#1301), pass required to custom checkbox widgets (#1259).
    • 👌 Support readOnly from latest JSON Schema draft (#1282).
    • 👍 Allow unknown format properties, in accordance with JSON Schema spec (#1277).
    • Numbers can now be nullable (#1269).
    • 👌 Support widgets that are wrapped using React.ForwardedRef (#1227).
    • ➕ Add example for collapsing fields to documentation (#1294).
    • Schemas without type but with properties are now assumed to be object (#1292).

    🐛 Bug fixes

    • 📚 Update wording in documentation (#1266).
    • Correctly use $ref when matching options with oneOf (#1287).
    • ✂ Remove setState call in FileWidget to fix test failures especially with newer node (#1285).
    • 0️⃣ Ensure defaults are passed along for multiselect arrays when filling items to match minItems (#1264).
    • 🛠 Fix bugs with defaults in combination with schema dependencies and oneOf/anyOf (#1304).
  • v1.5.0

    April 17, 2019

    🆕 New features

    • 👍 Custom string formats are now supported (#1186).
    • We now use SelectWidget to render the oneOf / anyOf control (#1220).
    • ➕ Add NullField (#1238).

    🐛 Bug fixes

    • Do not error if File is not defined (#1253).
    • 🛠 Fix mistake in validation docs (#1251).

    🚀 P.S. v1.4.1 was published for 8 minutes or so. It's the same as this release and only existed as long as it took for me to realize that a minor version bump was necessary and not a patch version.

  • v1.4.0

    April 04, 2019

    🆕 New features

    • 🛠 The errors argument in transformErrors now have a schemaPath (#1205). Fixes #838 and #818.
    • 👍 Basic support for nullable types (#1213). This is a targeted fix that allows "type": [<T>, "null"] to be interpreted as "type": <T>.
    • ⚠ No longer throw an error, but log a warning instead, when properties in ui:order do not correspond to any property in the schema (#814).

    🐛 Bug fixes

    • 👉 Use plain text in playground demos (#1215).
    • ⬇️ Reduce number of "empty" meaningless divs (#1218).
    • 🔀 Don't try to "merge" Files (#1234).
    • 📚 Documentation - no longer pass a schema attribute when rendering HTML (#946).
    • Document placeholder and autofocus widget props (#1223).
    • ➕ Add the Mozilla Code of Conduct (#1240).
  • v1.3.0

    March 06, 2019

    🆕 New features

    • 👍 Better support for $schema to let you control the metaschema to validate against (#1130).
    • 👍 Better handling of decimal points and trailing zeroes in numbers (#1183).
    • Submit events on Form now provide the event as the second argument (#1172).
    • Infer types for schemas defined using const (#1174).

    🐛 Bug fixes

    • 🛠 Fix multiple bugs related to switching between options in anyOf/oneOf (#1169).
    • 🛠 Fix a bug causing rjsf to put an empty select item in enums which shouldn't have any (#1163).
    • 🛠 Fix documentation build and remove dependency on toctoc (#1189).
    • Clean up HTML removing unnecessary wrapper elements (#1158).
    • Don't add required on checkbox inputs in cases where it doesn't make sense (#1194).

    Internal changes

    • Code coverage reports are now generated using nyc (#1170).
    • ➕ Add a bunch of files to .gitignore (#1171).
    • ➕ Add full sourcemaps by default for development (#1208).
  • v1.2.1

    February 04, 2019

    🐛 Bug fixes

    • 🛠 Fix typos in documentation (#1135).
    • 🛠 Fix corner case in how we fill array items (#871).
    • 👍 anyOf actually supports oneOf as well (#1133) and can work inside array items (#1131).
    • 🛠 Fix custom labels on booleans (#1137).
    • 👍 Arrays now support hidden fields (#978).
    • 👀 Radio boolean fields now have an ID (see #1139).
    • Filenames of data URLs are now URI encoded (#967).
    • Resolve $ref schemas inside a $ref (#1142).
    • 🛠 Fix bug where anyOf branch was not selected correctly (#1129).
    • Name is not required in data-url format (#1147).
    • 👉 Use div instead of p to wrap submit buttons (#766).
    • 👍 uiSchema supports additionalProperties (#1144).

    📚 Documentation

    • 📚 Documentation is now hosted on ReadTheDocs and organized into several files in docs/ rather than one giant README (#1138).
    • ➕ Add a link to a JSFiddle that demonstrates using a custom component with ui:help (#1145).
    • 👀 Document an unfortunate interaction between schema dependencies and additionalProperties: false (#1149, based on work in #1018; see also #1148).

    Thanks very much to new maintainer @epicfaace who has been putting a lot of time and effort into cleaning up this repository!

  • v1.2.0

    January 14, 2019

    🆕 New features

    • ➕ Add preliminary support for anyOf (#1118). Thanks @LucianBuzzo for the hard work on a long-requested feature!

    🐛 Bug fixes

    • 🖐 Handle reordering of array elements better (#1125).