Skip to content

Latest commit

 

History

History
1054 lines (678 loc) · 63.1 KB

CHANGELOG.md

File metadata and controls

1054 lines (678 loc) · 63.1 KB

v4.0.0-alpha.5 (2023-06-23)

  • Breaking: Unified the way of handling label and placeholder. #973

v4.0.0-alpha.4 (2023-05-12)

  • Breaking: Replaced allowedValues and transform with options. #806

v4.0.0-alpha.3 (2023-03-31)

  • Added: Support for minLenght and maxLength in LongTextField in uniforms-bootstrap5. #1252

v4.0.0-alpha.2 (2023-03-10)

  • Added: Support for min and max in DateField in uniforms-material and uniforms-mui. #1213
  • Added: Support for minLenght and maxLength in TextField in uniforms-bootstrap5. #1223
  • Changed: The inputRef type in NumField in uniforms-antd due to compatibility problems. #1230
  • Fixed: Display of ListDelField in uniforms-bootstrap5. #1226

v4.0.0-alpha.1 (2023-02-03)

  • Added: New experimental_absoluteName prop on AutoField. #1126
  • Breaking: Improved core package typings, most importantly replacing most anys with unknowns, forcing Model to be an object, and getting rid of DeepPartial. #1205
  • Breaking: Improved JSONSchemaBridge typings. #1158
  • Breaking: Removed props argument from Bridge.getProps. #1206

v3.10.2 (2022-12-23)

  • Fixed: Compatibility with Simple Schema v3 (on a basic level; full compatibility will be released in v4). #1189

v4.0.0-alpha.0 (2022-11-02)

  • Added: Zod integration. #1159
  • Breaking: Changed the way getInitialValue works with undefineds. #1171
  • Breaking: Moved the component prop check from the AutoField to the defaultComponentDetector. #1114
  • Breaking: Removed the autoField prop from QuickForm and its descendants. #980
  • Breaking: Removed the props argument from getInitialValue. It also implies removal of the initialCount prop from all bridges and ListFields. #1048
  • Breaking: AutoFields render Fragment instead of div by default. #1173

v3.10.1 (2022-10-07)

  • Fixed: Problems with DateField not always formatting correctly. #1162
  • Fixed: Problems with DateField not always rendering correctly. #1138
  • Fixed: Warning when the form got unmounted during submit. #1152

v3.10.0 (2022-07-25)

  • Added: Support for enums in GraphQLSchemaBridge. #1135
  • Fixed: Handling errors of fields with dots names in JSONSchemaBrdige. #1131

v3.10.0-rc.1 (2022-06-10)

  • Added: Support for React v18. #1109
  • Changed: All bridges calculate initial values (getInitialValue) for objects just like for arrays, i.e., recursively for all subfields. #1112

v3.10.0-rc.0 (2022-05-30)

  • Added: New theme: uniforms-mui. #1054
  • Added: Improved typings of SelectField in uniforms-material. #1111

v3.9.1 (2022-04-26)

  • Optimized: The kind="leaf" fields created using connectField will skip unnecessary context providers. #1108

v3.9.0 (2022-04-22)

  • Added: Handling of type="date" in DateField. #1099

v3.8.1 (2022-02-15)

  • Added: Fixed RegExp compatibility with Safari. #1088

v3.8.0 (2022-02-12)

  • Added: Support of complex names in joinName. #963

v3.7.0 (2021-12-18)

  • Added: New context property: formRef. #974
  • Changed: Both minCount and maxCount JSON Schema properties are now registered in filterDOMProps by default. #981
  • Changed: Return type of getNativeFormProps. #1037
  • Fixed: Error message when using useField without name. #976

v3.6.2 (2021-10-15)

  • Fixed: Handling of initialValue in NumField. #969
  • Fixed: Handling of label in BoolField in uniforms-semantic. #1042
  • Fixed: Handling of type in both SimpleSchema-based bridges. #1039

v3.6.1 (2021-09-29)

  • Fixed: All components in uniforms-material are now respecting the theme correctly. #993
  • Fixed: Build configuration. #1001
  • Fixed: Types of ListAddField and ListDelField in uniforms-antd for antd@4.16.13. #1004

v3.6.0 (2021-09-13)

  • Added: Explicit form types. #1003
  • Added: Support for changing field value in changedKeys. #982
  • Added: Support for recursive $refs in JSONSchemaBrdige. #1006
  • Fixed: Default values resolution in SimpleSchema bridges. #1008

v3.5.5 (2021-08-13)

  • Fixed: Types of DateField, LongTextField, NumField, and TextField in uniforms-material are now correctly based on TextFieldProps. #987

v3.5.4 (2021-08-05)

  • Fixed: Invalid publish occurred. Sorry!

v3.5.3 (2021-08-05)

  • Fixed: All package paths in package.json are now relative. #992

v3.5.2 (2021-07-30)

  • Fixed: All bridge methods are now unified between bridges. #957
  • Fixed: Incorrect module usage in package.json. None of the uniforms packages requires special Babel handling anymore (e.g., meteor.nodeModules.recompile in Meteor). #986
  • Fixed: FieldProps problems with type unions. #971
  • Optimized: The JSONSchemaBridge is now much faster. #957

v3.5.1 (2021-05-17)

  • Fixed: Incorrect label placing of DateField in uniforms-material. #961
  • Fixed: Incorrect null handling in getErrorMessages in GraphQLSchemaBridge. #950

v3.5.0 (2021-05-12)

  • Changed: Bumped minimal required version of tslib to 2.2.0. #949
  • Fixed: Handling of object fields with no properties in JSONSchemaBridge. #934
  • Fixed: Simplified typings of all field components. #949
  • Fixed: TypeScript error in uniforms-bootstrap4. #904
  • Optimized: The changedKeys helper. #953

v3.4.0 (2021-04-23)

  • Added: Ajv v8 support in JSONSchemaBridge. #923
  • Added: New showInlineError on AutoFields. #827
  • Added: Success styling in all Bootstrap themes. #899
  • Fixed: Handling of more anyOf cases in JSONSchemaBridge. #919
  • Fixed: Leaking setTimeout of BaseForm. #920
  • Optimized: The filterDOMProps helper. #939
  • Optimized: The joinName helper. #935

v3.3.0 (2021-03-31)

  • Added: Compatibility with React v17. #859
  • Added: New context property: submitted. #889
  • Added: New theme: uniforms-bootstrap5. #874
  • Fixed: Accessibility problems in many components. #867
  • Fixed: Handling of initialCount in optional list fields. #875
  • Fixed: Handling of JSONSchemaBridge errors with top-level fields containing spaces. #909

v3.2.1 (2021-03-10)

  • Fixed: Incorrect typings of some functions as methods. #887
  • Fixed: Invalid sideEffect configuration in uniforms-bridge-simple-schema and uniforms-bridge-simple-schema-2. #888
  • Fixed: Styling of SelectField in uniforms-semantic. #873

v3.2.0 (2021-02-17)

  • Added: Error styling to ListField in uniforms-antd. #844
  • Added: New layout prop in BaseForm in uniforms-antd to match AntD capabilities. #861
  • Added: The sideEffects flag to let bundlers do better at tree shaking. #843

v3.1.0 (2021-02-03)

  • Added: New readOnly prop in all form and field components. #674
  • Added: Replacable AutoField component. #640
  • Added: Support for HTML multiselects in SelectField prop in all themes. #737

v3.0.1 (2021-01-28)

  • Fixed: Missing step prop in NumField in uniforms-material. #855
  • Fixed: Unified NumField behavior across themes. #856

v3.0.0 (2021-01-14)

v3.0.0-rc.8 (2020-12-05)

  • Breaking: Due to synchronization of AutoForm model, autosave is now always asynchronous. #832
  • Added: The row for RadioField in uniforms-material. #834

v3.0.0-rc.7 (2020-11-30)

  • Breaking: Synchronous return and throw in onSubmit are no longer allowed. To return an error or some result, return Promise instead. #819
  • Fixed: Reverted some filterDOMProps.register calls added in #803. #815

v3.0.0-rc.6 (2020-10-26)

  • Added: The autoComplete prop is now correctly used in TextField. #809
  • Added: The validateStatus prop is now correctly handled in wrapField in uniforms-antd. #817
  • Fixed: Regression of accepting non-string labels in useField and connectField. #816

v3.0.0-rc.5 (2020-09-30)

  • Added: New disableItem prop in SelectField. #736
  • Added: New textFieldProps prop in SelectField in uniforms-material. #700

v3.0.0-rc.4 (2020-09-09)

  • 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 (2020-08-13)

  • 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 (2020-07-30)

  • Fixed: Fixed inferred type in ListItemField.

v3.0.0-rc.1 (2020-07-29)

  • Fixed: Delay in AutoForm validation. #769

v3.0.0-rc.0 (2020-07-15)

  • 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 (2020-06-17)

  • Breaking: Removed modelSync from AutoForm state. #739
  • Added: New kind: 'leaf' | 'node' flag for connectField. #741

v2.6.9 (2020-06-17)

  • Fixed: Resolving parallel properties and required in JSONSchemaBridge. #746

v3.0.0-alpha.4 (2020-06-03)

  • 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

v2.6.8 (2020-06-03)

  • Fixed: Resolving some $refs in JSONSchemaBridge. #722

v3.0.0-alpha.3 (2020-05-06)

  • 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:
    -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 (2020-04-08)

  • 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.

v2.6.7 (2020-03-25)

v3.0.0-alpha.1 (2020-01-22)

  • Breaking: Removed deprecated lifecycle methods in favor of the new ones. It may break custom form components using componentWillReceiveProps and componentWillMount.

v2.6.6 (2020-01-22)

v2.6.5 (2019-12-18)

  • Fixed: Invalid publish occurred. Sorry!

v2.6.4 (2019-12-18)

  • Fixed: Problems with unescaped id attributes. #671

v2.6.3 (2019-12-11)

  • Fixed: Problems with initialCount and minCount in GraphQLBridge, SimpleSchemaBridge and SimpleSchema2Bridge. #656
  • Fixed: Problems with incorrectly inferred types of some props. #661

v3.0.0-alpha.0 (2019-11-30)

  • Breaking: Migrated from the legacy context API. This change should be transparent for connectField but will break all components using context directly. As there's no documentation yet, see this commit to see what changed. To have an idea on how to proceed, see this commit.
  • Breaking: Raised minimum version of React to 16.8.0.
  • Breaking: Removed workaround for React < 16 in NumField.
  • Breaking: Removed nothing from uniforms as it's not needed in React >= 15.
  • Changed: Removed prop-types entirely in favor of incoming typings.
  • Changed: Renamed deprecated lifecycle methods.

v2.6.2 (2019-11-21)

  • Changed: Fixed minimal required version of tslib. #648

v2.6.1 (2019-11-13)

  • Changed: Reverted introduction of globalThis. #641

v2.6.0 (2019-11-06)

  • Added: ES6 compilation targets and module keyword in package.json. If your bundler supports tree shaking, you no longer have to use direct imports manually - simply use import { X } from 'uniforms'. #612
  • Changed: Internal structure of imports to stay in align with the ES5/ES6 bundles. #629
  • Fixed: Handling of default props of NumField in uniforms-material. #631.
  • Fixed: Missing wrapField export in uniforms-material. #629.

v2.5.0 (2019-10-16)

  • Changed: We've migrated to TypeScript! There should be no impact on plain JavaScript code and the runtime. We are still working on proper (not any) typings.

v2.4.1 (2019-10-02)

  • Fixed: Name conflict of type in JSONSchemaBridge. #604
  • Fixed: Parsing of dataPath in JSONSchemaBridge. #593

v2.4.0 (2019-08-28)

  • Added: Default labels in GraphQLSchemaBridge. #577
  • Added: Handling of placeholder and label in JSONSchemaBridge. #586
  • Fixed: Unified logic of getProps between all bridges. Right now it has a clear semantic: bridge.getProps(fieldName[, props]) should resolve all props that the schema defines, based on the field definition and given props (if applicable). Especially, it should not merge in given props nor resolve the final label or placeholder - BaseField handles that. It'll affect you only if you've called getProps directly. It also got rid of some additional undefined props in JSONSchemaBridge.

v2.3.1 (2019-08-14)

  • Fixed: Handling of default attribute in JSONSchemaBridge. #569
  • Fixed: Handling of placeholder and required props in most themes. #570
  • Fixed: Rendering placeholder in SelectField in uniforms-antd. #568

v2.3.0 (2019-08-01)

  • Added: Default exports in bridge packages. #562
  • Added: Support for extra and help in uniforms-antd theme. #559
  • Fixed: Conditional wrapper of NumFields in most themes is now React version specific. #558
  • Fixed: Deprecated icon in BoolField in uniforms-antd. #563

v2.2.0 (2019-07-12)

  • Added: Support for labelClassName in uniforms-bootstrap3 and uniforms-bootstrap4 themes. #548
  • Fixed: Handling of required validation in JSONSchemaBridge. #554
  • Fixed: Weird behaviour of SelectField with checkboxes in uniforms-antd. #549

v2.1.0 (2019-06-18)

  • Added: Support for @material-ui/core@4. #542

v2.0.0 (2019-06-10)

v2.0.0-alpha.1 (2019-05-16)

  • Fixed: Nested arrays in GraphQLBridge. #535
  • Fixed: SelectField in uniforms-material rendered inline error twice in certain situations.

v2.0.0-alpha.0 (2019-05-01)

  • Breaking: Separated schema packages. These are now:

    uniforms-bridge-graphql
    uniforms-bridge-json-schema
    uniforms-bridge-simple-schema
    uniforms-bridge-simple-schema-2
    

    To register a new schema, import uniforms-bridge-X or uniforms-bridge-X/register directly. Named exports and file names haven't changed, so imports looks like this:

    // GraphQL
    -import { GraphQLBridge } from 'uniforms';
    +import { GraphQLBridge } from 'uniforms-bridge-graphql';
    
    -import GraphQLBridge from 'uniforms/GraphQLBridge';
    +import GraphQLBridge from 'uniforms-bridge-graphql/GraphQLBridge';
    
    // JSON Schema
    -import { JSONSchemaBridge } from 'uniforms';
    +import { JSONSchemaBridge } from 'uniforms-bridge-graphql';
    
    -import JSONSchemaBridge from 'uniforms/JSONSchemaBridge';
    +import JSONSchemaBridge from 'uniforms-bridge-json-schema/JSONSchemaBridge';
    
    // SimpleSchema (Atmosphere version for Meteor)
    -import { SimpleSchemaBridge } from 'uniforms';
    +import { SimpleSchemaBridge } from 'uniforms-bridge-simple-schema';
    
    -import SimpleSchemaBridge from 'uniforms/SimpleSchemaBridge';
    +import SimpleSchemaBridge from 'uniforms-bridge-simple-schema/SimpleSchemaBridge';
    
    // SimpleSchema (npm version)
    -import { SimpleSchema2Bridge } from 'uniforms';
    +import { SimpleSchema2Bridge } from 'uniforms-bridge-simple-schema-2';
    
    -import SimpleSchema2Bridge from 'uniforms/SimpleSchema2Bridge';
    +import SimpleSchema2Bridge from 'uniforms-bridge-simple-schema-2/SimpleSchema2Bridge';
  • Breaking: Packages depending on the uniforms package are now using dependency instead of the peerDependency. Same goes for the schema packages and their schema respectives:

    uniforms-bridge-graphql ~> graphql
    uniforms-bridge-simple-schema-2 ~> simpl-schema
    
  • Breaking: Removed jsnext:main and module from package.json in all packages. It means that bundlers like Webpack will load the fully transpiled version now. It caused more troubles than it's worth. The original sources are still shipped in src directory.

  • Breaking: QuickForm.render logic was moved to QuickForm.getNativeFormProps. BaseForm is now the only form component with an explicit render method, what is good for custom themes and form components.

  • Breaking: SubmitField in uniforms-material now uses children by default and fallback to label. #523

  • Feature: Added createSchemaBridge.register for registering custom bridges.

  • Feature: Added onSubmit to the context data. Now every field can trigger the submit directly, without the form ref.

  • Fixed: SelectField label shrink state in uniforms-material. #522

v1.31.1 (2019-03-06)

  • Fixed: SelectField required state in uniforms-material. #512
  • Fixed: NumField value parsing in uniforms-material. #516

v1.31.0 (2019-01-23)

  • Added: Support for $ref property in JSONSchemaBridge. #507
  • Fixed: Warnings introduced in 1.30.0 in uniforms-material theme. #501
  • Fixed: Few style problems, by using differents components in uniforms-material theme. #505

v1.30.0 (2019-01-05)

  • Added: New variant prop in most uniforms-material fields. #495
  • Changed: Default SubmitField variant in uniforms-material. Minimum version of @material-ui/core is now 1.2.0. #498

v1.29.0 (2018-12-05)

  • Added: Support for placeholder in SelectField in uniforms-material. #489
  • Fixed: Handling of default values in ListField.
  • Fixed: Warning caused by setState on an unmounted component. #490
  • Fixed: Versioning scheme - no more file:../uniforms.

v1.28.0 (2018-11-25)

  • Added: Field label now defaults to title in JSONSchemaBridge. #488
  • Added: Proper styling for SelectField in uniforms-semantic. #482
  • Added: New labelProps props in DateField and SelectField in uniforms-material. #485
  • Added: New submitting and validating states in context. #449

v1.27.0 (2018-10-23)

v1.27.0-rc.2 (2018-10-12)

  • Changed: Added necessary invariant and warning dependencies as React no longer depends on fbjs. #475

v1.27.0-rc.1 (2018-10-06)

  • Added: Support for @material-ui/core@3.0.0.
  • Changed: Minimum version of @material-ui/core is 1.5.1, due to Babel updated.
  • Changed: No core-js polyfills are automatically included.
  • Fixed: Leaking checkboxes prop in uniforms-antd.
  • Fixed: Renamed few internals to preserve default displayNames.

v1.26.0 (2018-10-02)

  • Changed: Updated graphql dependency. #467
  • Fixed: Extracting fieldType for GraphQLBridge. #460
  • Fixed: Leaking rejections in ValidatedForm. #471
  • Fixed: RadioField handles error and help texts without warnings in uniforms-material.

v1.25.0 (2018-07-20)

v1.25.0-rc.3 (2018-06-27)

  • Changed: We are using Babel@7 now!

v1.25.0-rc.2 (2018-06-10)

  • Fixed: Explicitly pass text prop in TextField in uniforms-material.

v1.25.0-rc.1 (2018-06-05)

  • Changed: Updated uniforms-material to @material-ui/core. #349

v1.24.5 (2018-05-30)

  • Fixed: Added wrapperStyle to filterDOMProps defaults. #430
  • Fixed: ListAddField now clones given value to not keep its reference. #428

v1.24.4 (2018-05-27)

  • Fixed: Placeholders are now working with disabled labels on GraphQLBridge and JSONSchemaBridge. #421
  • Fixed: SubmitField labels.

v1.24.3 (2018-05-07)

  • Fixed: ListAddField and ListDelField in uniforms-bootstrap4 now use .badge instead of .label styling. #419

v1.24.2 (2018-04-25)

  • Added: Support for rows in LongTextField in uniforms-bootstrap3. #418
  • Fixed: Prop style was incorrectly used in uniforms-antd, therefore it was renamed to wrapperStyle. #416

v1.24.1 (2018-04-13)

  • Fixed: Invalid publish occurred. Sorry!

v1.24.0 (2018-04-06)

  • Added: Support for style in uniforms-antd. #404
  • Fixed: Added allowedValues to filterDOMProps defaults. #403

v1.23.2 (2018-03-18)

  • Fixed: Added transform to filterDOMProps defaults. #399

v1.23.1 (2018-03-05)

  • Fixed: Got rid of React warning triggered during form reset.

v1.23.0 (2018-01-12)

v1.23.0-rc.2 (2018-01-10)

  • Changed: If onSubmit rejects, it's treated as a form error.
  • Fixed: form.submit correctly rejects on validation error.

v1.23.0-rc.1 (2017-12-29)

  • Added: Support for antd@3.0.0. #372

v1.22.2 (2017-12-11)

  • Fixed: Passing an empty string to ListField and NestField. #366

v1.22.1 (2017-11-08)

  • Fixed: Hiding rejected promises. #362

v1.22.0 (2017-10-30)

v1.22.0-rc.4 (2017-10-26)

  • Added: Support for wrapClassName in uniforms-semantic. #358
  • Fixed: Removed babel-plugin-transform-react-inline-elements. #359

v1.22.0-rc.3 (2017-10-20)

  • Fixed: Clearing DateField. #357

v1.22.0-rc.2 (2017-10-16)

  • Fixed: Invalid prop warning in uniforms-bootstrap3 and uniforms-bootstrap4. #350

v1.22.0-rc.1 (2017-10-13)

  • Added: Support for GraphQLID in GraphQLBridge. #281
  • Added: Support for JSON schema. #353
  • Added: Support for React@16. #351
  • Changed: Field error prop is not changing from null to undefined after validation.

v1.21.0 (2017-09-28)

  • Added: Support for checkbox in BoolField in uniforms-antd. #348

v1.20.4 (2017-09-22)

  • Fixed: Refreshing fields on form state change. #347

v1.20.3 (2017-09-18)

  • Fixed: Invalid publish occurred. Sorry!

v1.20.2 (2017-09-16)

  • Fixed: Passing type prop in TextField in uniforms-antd. #345

v1.20.1 (2017-08-26)

  • Fixed: Missing Boolean type in GraphQLBridge. #335
  • Fixed: Position of inline error in BoolField in uniforms-semantic. #338

v1.20.0 (2017-08-07)

  • Changed: Moved from lodash.x packages to lodash/x. It will increase node_modules size but probably reduce your bundle size as many projects are already using lodash which lead to having both lodash.x and lodash/x in the bundle.
  • Fixed: Warning in SelectField in uniforms-antd.

v1.19.1 (2017-07-08)

  • Fixed: Removed unnecessary published files.

v1.19.0 (2017-07-08)

  • Changed: Additional props are passed to the rendered div in NestField in uniforms-antd.
  • Changed: Additional props are passed to the rendered div in wrapField in both uniforms-bootstrap3 and uniforms-bootstrap4.
  • Changed: Now gridClassName always returns a string in both uniforms-bootstrap3 and uniforms-bootstrap4.
  • Changed: ErrorsField is now styled in both uniforms-bootstrap3 and uniforms-bootstrap4. #301
  • Fixed: Added missing LongTextField label htmlFor in uniforms-semantic.
  • Fixed: Added missing placeholder prop in SelectField in uniforms-antd.
  • Fixed: HiddenField now behaves the same in every theme.
  • Fixed: RadioField spacing in uniforms-bootsrap4. #304
  • Fixed: Pass hintText prop instead of placeholder in LongTextField in uniforms-material.

v1.18.2 (2017-06-09)

  • Fixed: SubmitField respects disabled prop.

v1.18.1 (2017-05-28)

  • Changed: Optimized BaseField props calculation.
  • Changed: Switched to prop-types.
  • Fixed: Bridge.check error message.

v1.18.0 (2017-04-30)

  • Changed: Inline errors are now triggered by error, not errorMessage. #267
  • Fixed: Removed unknown prop warning when defining component in schema. #284

v1.17.2 (2017-04-12)

  • Fixed: Detection of SimpleSchema.
  • Fixed: Warning in empty BoolField in uniforms-antd.

v1.17.1 (2017-04-10)

  • Fixed: Removed unnecessary line in ListField in uniforms-semantic.

v1.17.1-beta.1 (2017-04-08)

  • Fixed: Fields props precedence. #262

v1.17.0 (2017-04-05)

  • Added: Support for few props in DateField in uniforms-material. #246
  • Added: Support for GraphQL inputs in GraphQLBridge. #244
  • Fixed: Removing non-edited list items.

v1.16.0 (2017-03-24)

  • Added: Support for multiple in SelectField in uniforms-material. #236
  • Changed: Internal handling of changed and changedMap.
  • Changed: Optimized whole rendering process.
  • Changed: Rewritten AutoField.
  • Fixed: Autosave is no longer triggering a submit on render. #238

v1.15.0 (2017-03-12)

  • Added: Support for colon and required in uniforms-antd. #229
  • Added: Support for grouped in uniforms-semantic. #227
  • Added: Support for material-ui@0.17 in uniforms-material. #232

v1.14.0 (2017-03-06)

  • Added: Additional babel transforms to reduce bundle size.
  • Added: Support for labelCol and wrapperCol in uniforms-antd. #207

v1.13.1 (2017-03-02)

  • Fixed: Peer dependencies versions.

v1.13.0 (2017-03-01)

  • Added: Passing through all unused props in some fields in uniforms-antd. #203
  • Added: Support for rows in LongTextField in uniforms-bootstrap4. #208
  • Fixed: Removed TextField warning in uniforms-material. #205

v1.12.1 (2017-02-25)

  • Fixed: HiddenField display name.
  • Fixed: Handling of negative numbers in NumField.
  • Fixed: Unnecessary onSubmit after mount with autosave. #204

v1.12.0 (2017-02-19)

  • Added: Support for itemProps in ListField in uniforms-antd.
  • Added: Support for itemProps in NestField. #181
  • Fixed: Handling of arrays in SimpleSchema@2. #200

v1.11.3 (2017-02-16)

  • Added: Support for SimpleSchema2@0.2. #198
  • Fixed: Handling of no value in multiple select in uniforms-antd. #199

v1.11.2 (2017-02-14)

  • Fixed: Multiple select in uniforms-antd.

v1.11.1 (2017-02-14)

  • Fixed: Removed Meteor missing module warning. #197

v1.11.0 (2017-02-14)

  • Added: Field rendered outside of a form throws an error.
  • Added: Support for appearance prop in BoolField in uniforms-material. #189
  • Changed: Use children instead of specified props in ListAddField in uniforms-material.
  • Changed: Use children instead of specified props in ListDelField in uniforms-material.
  • Fixed: Handling of decimal in NumField. #167
  • Fixed: Handling of defaultValue in SimpleSchema2Bridge. #182
  • Fixed: Removed DateField warning in uniforms-material.
  • Fixed: ListAddField in uniforms-material.
  • Fixed: ListDelField in uniforms-material.

v1.10.0 (2017-02-07)

  • Added: AntD theme. #134
  • Added: Material UI theme. #142
  • Added: Support for Bootstrap4@alpha.6. #170
  • Added: Support for initialValue in GraphQLBridge. #183
  • Changed: All <section>s tags are now <div>s. #172

v1.9.0 (2017-01-21)

v1.8.4 (2017-01-14)

  • Fixed: Handling of initialValue. #164

v1.8.3 (2017-01-06)

  • Fixed: Handling of additional error in ValidatedForm. #161

v1.8.2 (2017-01-06)

  • Fixed: Propagation of labels and placeholders.

v1.8.1 (2016-12-30)

  • Fixed: Placeholder text from schema. #152

v1.8.0 (2016-12-19)

  • Added: Support for direct imports, i.e. import connectField from 'uniforms'. #129
  • Fixed: Optional packages resolution in Webpack. #150
  • Fixed: Reset of a form with a model. #140

v1.7.1 (2016-12-04)

  • Fixed: Handling of label in GraphQLBridge.
  • Fixed: Got rid of unknown props warning in semantic theme.
  • Fixed: Extraneous option in SelectField in semantic theme.
  • Fixed: Extraneous option in SelectField in unstyled theme.

v1.7.0 (2016-11-28)

v1.7.0-beta.1 (2016-11-27)

  • Added: New modelTransform prop in BaseForm. #123

v1.6.0 (2016-11-21)

v1.6.0-beta.4 (2016-11-19)

  • Fixed: Handling of initial values. #135

v1.6.0-beta.3 (2016-11-19)

  • Changed: Components created with connectField have now different displayName to match forms inheritance.
  • Fixed: Handling of defaultValue in SimpleSchema2Bridge. #130

v1.6.0-beta.2 (2016-11-13)

  • Fixed: GraphQL conditional import.

v1.6.0-beta.1 (2016-11-13)

  • Changed: Added GraphQL schema support. #118
  • Changed: Optimized build size.
  • Changed: Removed invariant and warning dependencies.
  • Changed: Bridge cannot be instantiated.
  • Changed: Bridge constructor is now noop.
  • Changed: Bridge methods are now throwing an unimplemented method errors.

v1.5.0 (2016-11-05)

  • Fixed: Got rid of unknown props warning in bootstrap themes.
  • Fixed: SimpleSchema validator.

v1.5.0-rc.1 (2016-11-02)

  • Added: New showInlineError prop in BaseForm. #87
  • Added: New showInlineError prop in ListField. #100
  • Added: New showInlineError prop in NestField.

v1.4.1 (2016-11-02)

  • Fixed: ListAddField and ListDelField. #125
  • Fixed: process.addListener is not a function in some environments. #124

v1.4.0 (2016-10-28)

  • Added: New showInlineError prop in semantic theme.
  • Changed: Select is now deselectable. #120
  • Deprecated: FormGroup helper component.
  • Fixed: Bootstrap themes grid handling.
  • Fixed: Bootstrap4 ListAddField styling. #121

v1.3.0 (2016-10-19)

  • Added: Custom ListField icons in bootstrap3. #115
  • Added: Custom ListField icons in bootstrap4. #114

v1.2.0 (2016-10-18)

v1.2.0-rc.1 (2016-10-15)

  • Added: Options passed to connectField are now stored on fields instances.
  • Changed: Moved from inline helpers to babel-runtime to minify build size.
  • Changed: Optimized BaseForm.
  • Changed: Optimized ListField.

v1.1.5 (2016-10-08)

  • Added: Better nested fields support in SimpleSchema2.

v1.1.4 (2016-10-07)

  • Fixed: Reverted React dependency version.

v1.1.3 (2016-10-06)

  • Fixed: Unmet peer dependency warning.

v1.1.2 (2016-09-28)

  • Fixed: Enabled SimpleSchema2Bridge. #107

v1.1.1 (2016-09-27)

  • Fixed: Missing export.

v1.1.0 (2016-09-27)

  • Added: Support for SimpleSchema2. #99

v1.0.1 (2016-09-20)

  • Fixed: Controlled ValidatedForm validates with the old model. #104

v1.0.0 (2016-09-20)

v1.0.0-rc.33 (2016-09-14)

  • Fixed: NumberField does not seem to let me enter "0" as the number. #101

v1.0.0-rc.32 (2016-09-10)

  • Added: New documentation. #92
  • Added: New playground. #98
  • Fixed: SubmitField doesn't allow you to set value. #95

v1.0.0-rc.31 (2016-08-16)

  • Fixed: AutoFields component is not exported. #31

v1.0.0-rc.30 (2016-08-09)

  • Fixed: Got rid of (un)controlled input warning. #90
  • Fixed: Got rid of unknown props warning. #89
  • Fixed: Nesting ListField in ListField. #91

v1.0.0-rc.29 (2016-08-03)

  • Added: Custom AutoField example. #85
  • Fixed: BoolField return non-boolean value. #88

v1.0.0-rc.28 (2016-07-29)

  • Added: New showInlineError prop in bootstrap theme. #84
  • Fixed: Removed custom validation warning. #83

v1.0.0-rc.27 (2016-07-23)

  • Added: New onSubmitSuccess and onSubmitFailure props on forms. #51
  • Changed: Improved error handling - using invariant package.
  • Changed: Prevent validation when schema has changed and form is not submitted. #82
  • Fixed: Regression with HTML5 inputs. #80

v1.0.0-rc.26 (2016-07-20)

  • Added: New filterDOMProps helper.
  • Fixed: AutoForm performance. #70
  • Fixed: Dynamic schema change. #76
  • Fixed: Got rid of unknown props warning. #64
  • Fixed: Got rid of unknown props warning. #75

v1.0.0-rc.25 (2016-07-18)

  • Added: New autosaveDelay prop on forms. #29
  • Added: New icon and iconLeft prop in semantic theme. #67
  • Added: New inputRef prop on every field. #68
  • Added: ModifierForm example. #66
  • Fixed: Dramatically improved performance. #70
  • Fixed: Styling of ListField in bootstrap theme. #72
  • Fixed: findError.

v1.0.0-rc.24 (2016-07-10)

  • Added: New itemProps prop on ListField. #60
  • Added: New injectName helper.
  • Changed: Initial value logic for better UX. #58
  • Changed: joinName works with dots in parts.
  • Fixed: Got rid of unknown props warning. #64
  • Fixed: Invalid propTypes.
  • Fixed: HiddenField leads to infinite loop. #63
  • Fixed: NestField leads to infinite loop. #62

v1.0.0-rc.23 (2016-07-05)

  • Added: New HiddenField. #53
  • Added: New onChangeModel prop on AutoForm.
  • Added: Support for arbitrary errors. #54
  • Changed: Initial value logic for better UX. #58
  • Changed: Initial value logic to respect value prop. #52
  • Fixed: SimpleSchema validation of objects with prototype. #3
  • Fixed: ErrorField styling in semantic theme. #55

v1.0.0-rc.22 (2016-06-28)

  • Added: New labelLeft prop in bootstrap themes. #36
  • Added: Public form API. #47
  • Changed: Label can be a React node. #49
  • Fixed: Label styling in bootstrap theme. #35

v1.0.0-rc.21 (2016-06-25)

  • Added: Code coverage report. #46
  • Added: Support for React SSR. #40
  • Added: Support for React@0.14. #42

v1.0.0-rc.20 (2016-06-23)

  • Changed: Handling of Meteor packages.

v1.0.0-rc.19 (2016-06-22)

  • Added: Code coverage report. #41
  • Changed: SubmitField accepts more props. #39

v1.0.0-rc.18 (2016-06-19)

  • Added: New AutoFields. #31
  • Added: New autoField, errorsField or submitField props on QuickForm. #28
  • Added: SelectField checkbox mode. #33
  • Changed: Renamed type to fieldType. #32

v1.0.0-rc.17 (2016-06-16)

  • Fixed: TextField regression. #30

v1.0.0-rc.16 (2016-06-15)

  • Added: Labeled options. #23
  • Added: New transform prop on RadioField. #27.
  • Added: Suppress HTML5 validation. #25

v1.0.0-rc.15 (2016-06-09)

  • Fixed: Got rid of warning about field value. #22

v1.0.0-rc.14 (2016-06-08)

  • Fixed: Guaranteed field id generation.

v1.0.0-rc.13 (2016-06-05)

  • Added: Asynchronous validation! #17
  • Added: New type prop on TextField. #19
  • Added: New guaranteed field prop - id.
  • Added: CONTRIBUTING.md. #20

v1.0.0-rc.12 (2016-06-01)

  • Changed: Initial value works with array fields. #16

v1.0.0-rc.11 (2016-05-31)

  • Fixed: ListField styling in bootstrap themes. #16

v1.0.0-rc.10 (2016-05-30)

  • Changed: Skipping onSubmit until render. #15

v1.0.0-rc.9 (2016-05-30)

  • Changed: Now initialCount can be passed to the ListField directly. #14
  • Fixed: Autosave regression. #11

v1.0.0-rc.8 (2016-05-30)

  • Added: New ErrorField. #13
  • Added: New guaranteed field prop - changed. #12
  • Changed: Now initialCount works with arrays. #14

v1.0.0-rc.7 (2016-05-27)

  • Added: New autosave prop on forms. #11
  • Changed: Forms inheritance.

v1.0.0-rc.6 (2016-05-25)

  • Added: Bootstrap 3 theme. #10
  • Added: New guaranteed field prop - errorMessage. #6
  • Changed: Schema bridges have to implement additional getErrorMessage(name, error) method. #6

v1.0.0-rc.5 (2016-05-24)

  • Added: Bootstrap 4 theme. #2

v1.0.0-rc.4 (2016-05-23)

  • Added: Multiple schemas support. #9
  • Added: New component prop on AutoField.
  • Changed: Renamed explicitDefaultValue to explicitInitialValue.
  • Changed: Renamed includeDefault to initialValue.
  • Changed: Schema props spreading.

v1.0.0-rc.3 (2016-05-20)

  • Added: New guaranteed field prop - findError. #8
  • Added: New guaranteed field prop - findField. #8
  • Added: New guaranteed field prop - findValue. #8

v1.0.0-rc.2 (2016-05-11)

  • Changed: Handling of Meteor packages.

v1.0.0-rc.1 (2016-05-10)