All Versions
171
Latest Version
Avg Release Cycle
19 days
Latest Release
97 days ago

Changelog History
Page 3

  • v3.0.0-rc.4 Changes

    September 09, 2020
    • ๐Ÿ’ฅ Breaking: Reworked GraphQLBridge.getField. #769
    • โž• Added: More JSON Schema properties are handled automatically in JSONSchemaBridge. #748
    • ๐Ÿ›  Fixed: Missing props of SelectField in uniforms-bootstrap4. #785, #793
  • v3.0.0-rc.3 Changes

    August 13, 2020
    • ๐Ÿ’ฅ Breaking: Minimum graphql version for uniforms-bridge-graphql is now 15.0.0. #781
    • ๐Ÿ›  Fixed: Styling mismatch in some uniforms-antd fields. #773
  • v3.0.0-rc.2 Changes

    July 30, 2020
    • ๐Ÿ›  Fixed: Fixed inferred type in ListItemField.
  • v3.0.0-rc.1 Changes

    July 29, 2020
    • ๐Ÿ›  Fixed: Delay in AutoForm validation. #769
  • v3.0.0-rc.0 Changes

    July 15, 2020
    • ๐Ÿ’ฅ Breaking: Minimum antd version for uniforms-antd is 4.0.0. #696
    • ๐Ÿ’ฅ Breaking: Minimum @material-ui/core version for uniforms-material is 4.0.0. #758
    • โž• Added: New FieldProps and HTMLFieldProps utility types. #760
    • โž• Added: Improved typing of filterDOMProps. To properly register a new property, extend FilterDOMProps interface. #763
      declare module 'uniforms' {
        interface FilterDOMProps {
          customPropToFilter: never;
        }
      }
    
      filterDOMProps.register('customPropToFilter');
    
    • ๐Ÿ›  Fixed: Escaping special characters. #753
    • ๐Ÿ›  Fixed: Changed state of AutoForm regression. #765
  • v3.0.0-alpha.5 Changes

    June 17, 2020
    • ๐Ÿ’ฅ Breaking: Removed modelSync from AutoForm state. #739
    • โž• Added: New kind: 'leaf' | 'node' flag for connectField. #741
  • v3.0.0-alpha.4 Changes

    June 03, 2020
    • ๐Ÿ’ฅ Breaking: Removed injectName helper. It was used to force context updates and got replaced by the new context directly. #720
    • ๐Ÿ’ฅ Breaking: Removed includeInChain option of connectField. #738
    • ๐Ÿ’ฅ Breaking: Reworked ListField components family. #721
  • v3.0.0-alpha.3 Changes

    May 06, 2020
    • ๐Ÿ’ฅ Breaking: Removed BaseForm.getChangedKeys. Use changedKeys directly.
    • ๐Ÿ’ฅ Breaking: Removed default exports in the uniforms package. Use named imports instead (e.g. import { BaseForm } from 'uniforms'). This allows to effectively export types along with values.
    • ๐Ÿ’ฅ Breaking: Removed createSchemaBridge. This includes removal of BaseForm.state.bridge, check on all bridges, and the automatic bridge creation for SimpleSchema. For motivation and more insigths see #718.
    • ๐Ÿ’ฅ Breaking: Reworked validation flow. For motivation and more insigths see #711.
      • Bridge validators can be asynchronous.
      • Bridge validators have to return errors instead of throwing them.
      • onValidate is no longer using callbacks. The error (or the lack of it) has to be returned either synchronously or asynchronously (i.e. wrapped in a promise).
      • onSubmitSuccess and onSubmitFailure got removed. To preserve the current behavior, simply combine them into the onSubmit: diff -onSubmit={onSubmit} -onSubmitSuccess={onSubmitSuccess} -onSubmitFailure={onSubmitFailure} +onSubmit={model => { + const result = onSubmit(model); + result.then(onSubmitSuccess, onSubmitFailure); + return result; +}}`
    • ๐Ÿ”„ Changed: For performance reasons getField, getSubfields, and getType of all bridges are now memoized.
    • ๐Ÿ”„ Changed: For performance reasons filterDOMProps.registered is now readonly string[] instead of string[]. Internally, omit got replaced with pickBy and filterDOMProps.registered is now sorted. filterDOMProps.register behavior remains unchanged.
  • v3.0.0-alpha.2 Changes

    April 08, 2020
    • ๐Ÿ’ฅ Breaking: Moved transpiled files from the packages roots (e.g. import BaseForm from 'uniforms/BaseForm') to es5 directories. Try not to rely on that and use let your bundler do its best (e.g. import { BaseForm } from 'uniforms').
    • ๐Ÿ’ฅ Breaking: Removed BaseField from uniforms. Migrate to useField.
    • ๐Ÿ’ฅ Breaking: Removed baseField from connectField. Migrate to useField.
    • ๐Ÿ’ฅ Breaking: Removed ensureValue from connectField. You have to do it manually (e.g. do value ?? '' instead of value).
    • ๐Ÿ’ฅ Breaking: Removed includeParent from connectField. Use useField as many types as needed.
    • ๐Ÿ’ฅ Breaking: Removed mapProps from uniforms. Migrate to useField.
    • ๐Ÿ’ฅ Breaking: Shape of the context changed - changed, changedMap, submitting, and validating were lifted from state to the root.
    • ๐Ÿ’ฅ Breaking: A lot of types changed.
    • โž• Added: useField and useForm in uniforms.
  • v3.0.0-alpha.1 Changes

    January 22, 2020
    • ๐Ÿ’ฅ Breaking: Removed deprecated lifecycle methods in favor of the new ones. It may break custom form components using componentWillReceiveProps and componentWillMount.