Skip to content

Releases: tkrotoff/react-form-with-constraints

v0.14.0

27 Feb 22:54
Compare
Choose a tag to compare

Breaking Changes

  • Make DisplayFields work with React Native. You will need to write:
    • HTML: <pre>Fields = <DisplayFields /></pre>
    • React Native: <Text>Fields = <DisplayFields /></Text>

Features

  • Upgrade npm packages
  • componentWillMount => UNSAFE_componentWillMount => componentDidMount
  • componentWillUpdate => UNSAFE_componentWillUpdate => componentDidUpdate
  • Prettier + ESLint - TSLint
  • Add Field.element: HTMLInput | TextInput | undefined, see #41

Fixes

  • Fix react-form-with-constraints-tools package.json "main": "lib-es5/index.js"

v0.13.0

06 Jul 19:17
Compare
Choose a tag to compare

Features

  • Specify npm dependencies versions instead of using "latest"
  • Upgrade to Material-UI >= 4.1.1
  • Upgrade to Expo SDK 33
  • Remove console.* from packages before publishing
  • Prettier
  • ESLint
  • Stylelint
  • Husky

v0.12.0

27 Mar 18:48
Compare
Choose a tag to compare

Features

  • Update examples to use hooks
  • Remove *.js.gz files
  • Upgrade NPM packages

v0.11.0

05 Jan 16:25
Compare
Choose a tag to compare

Fixes

  • Disable esModuleInterop (import * as React vs import React) to increase compatibility with TypeScript users, see b18d61
  • Fix react-form-with-constraints-bootstrap4 for IE 10: does no support inheritance with static properties, see 225cb9

v0.10.0

16 Oct 20:33
Compare
Choose a tag to compare

Features

  • Input is-pending class
  • resetFields()
  • validateFieldsWithoutFeedback()
  • Use tree shaking and generate ES2017 files

Breaking Changes

  • reset() renamed to resetFields()

Fixes

  • Ignore HTML elements without ValidityState instead of type

v0.9.3

15 Sep 21:32
Compare
Choose a tag to compare

Features

  • Use PropTypes.instanceOf() instead of PropTypes.object
  • Improve typings

Fixes

  • Ignore HTML elements without type

v0.9.2

12 Jul 23:39
Compare
Choose a tag to compare

Features

  • Upgrade to Bootstrap 4.1.2
  • Add a README.md for every npm package

v0.9.1

05 Jul 22:59
Compare
Choose a tag to compare

Features

  • <Input> component for field styling
  • Material-UI integration with react-form-with-constraints-material-ui
  • hasFeedbacks() to implement reset button

Breaking Changes

  • FieldFeedback uses <span style="display: block"> instead of <div> in order to be a child of <p>
  • HTML: styling done on FieldFeedback with classes props instead of FormWithConstraints.fieldFeedbackClassNames
  • React Native: styling done on FieldFeedback with theme props instead of FormWithConstraints.fieldFeedbackStyles
  • Rename TypeScript Input to InputElement

v0.8.0

26 Apr 22:48
Compare
Choose a tag to compare

Features

  • Async support
  • Rewrite to allow nested FieldFeedbacks
  • Strip console.* in production thanks to rollup-plugin-strip
  • Add reset(), see #22

Breaking Changes

  • FieldFeedbacks show attribute replaced by stop
  • validateFields() returns Promise<Field[]>
  • Add validateForm(): does not re-validate fields already validated contrary to validateFields()
  • Improve typings, see DefinitelyTyped/DefinitelyTyped#16318 (comment)

Fixes

  • Fix computeFieldFeedbackKey() implementation
  • Fix possible crash with React Native, see 03d72e1

v0.7.1

26 Apr 22:11
Compare
Choose a tag to compare

Fixes