vazco/uniforms v3.0.0-alpha.2 Release Notes

Release Date: 2020-04-08 // about 2 years ago
    • ๐Ÿ’ฅ 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.