- Switch from CodeSandbox to StackBlitz
- Fix React 18 types (#58)
- Use React 18 in examples
- Update most npm packages when possible
- Switch from Puppeteer to Playwright
- Remove Yarn, use npm workspaces instead
- Use Lerna only for
npm run version
- Upgrade Bootstrap from v4 to v5
-
Rename react-form-with-constraints-bootstrap4 to react-form-with-constraints-bootstrap
I won't have the man power to maintain Bootstrap 4 & 5
- Fix jscodeshift: remove console.assert() from bundle
- Drop IE 10 support (IE 11 still supported)
- Use Array.flat(Infinity): Node.js >= 12 required
- Use TypeScript 3.7 "asserts condition"
- Update npm packages
- More ESLint and Stylelint plugins
- Set field.element as soon as possible
- Dissociate emitSync and emitAsync
- resetFields() does not return a Promise anymore
- fieldWillValidate(), fieldDidValidate() and fieldDidReset() are sync instead of async: this might affect your tests
- Improve README
- No need for downlevelIteration anymore
- Fix .map files
- Enable Airbnb ESLint restricted syntax, should reduce the bundle size
- No default export, see Avoid Export Default
- Update npm packages
- Make DisplayFields work with React Native. You will need to write:
- HTML:
<pre>Fields = <DisplayFields /></pre>
- React Native:
<Text>Fields = <DisplayFields /></Text>
- HTML:
- Upgrade npm packages
- componentWillMount => UNSAFE_componentWillMount => componentDidMount
- componentWillUpdate => UNSAFE_componentWillUpdate => componentDidUpdate
- Prettier + ESLint - TSLint
- Add
Field.element: HTMLInput | TextInput | undefined
, see #41
- Fix react-form-with-constraints-tools package.json
"main": "lib-es5/index.js"
- 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
- Update examples to use hooks
- Remove *.js.gz files
- Upgrade NPM packages
- Disable
esModuleInterop
(import * as React
vsimport 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
Input
is-pending classresetFields()
validateFieldsWithoutFeedback()
- Use tree shaking and generate ES2017 files
reset()
renamed toresetFields()
- Ignore HTML elements without
ValidityState
instead oftype
- Use
PropTypes.instanceOf()
instead ofPropTypes.object
- Improve typings
- Ignore HTML elements without
type
- Upgrade to Bootstrap 4.1.2
- Add a README.md for every npm package
<Input>
component for field styling- Material-UI integration with
react-form-with-constraints-material-ui
hasFeedbacks()
to implement reset button
FieldFeedback
uses<span style="display: block">
instead of<div>
in order to be a child of<p>
- HTML: styling done on
FieldFeedback
withclasses
props instead ofFormWithConstraints.fieldFeedbackClassNames
- React Native: styling done on
FieldFeedback
withtheme
props instead ofFormWithConstraints.fieldFeedbackStyles
- Rename TypeScript
Input
toInputElement
- Async support
- Rewrite to allow nested
FieldFeedbacks
- Strip console.* in production thanks to rollup-plugin-strip
- Add
reset()
, see #22
FieldFeedbacks
show
attribute replaced bystop
validateFields()
returnsPromise<Field[]>
- Add
validateForm()
: does not re-validate fields already validated contrary tovalidateFields()
- Improve typings, see DefinitelyTyped/DefinitelyTyped#16318 (comment)
- Fix
computeFieldFeedbackKey()
implementation - Fix possible crash with React Native, see 03d72e1
- Fix CodeClimate coverage report, see 4704370
- Expose 'react-form-with-constraints-bootstrap4/lib/Enzyme', see c4ce710
- React Native support