Comparing version 1.1.2 to 1.1.3
@@ -0,1 +1,6 @@ | ||
## 1.1.2 ( June 25, 2018 ) | ||
### Moved | ||
- React and React-Dom to dev dependencies | ||
## 1.1.1 ( June 18, 2018 ) | ||
@@ -14,4 +19,8 @@ | ||
- Text | ||
- TextArea | ||
- Radio Group | ||
- Radio | ||
- Select | ||
- Select as Multiselect !!! | ||
- Checkbox | ||
- withRadioGroup | ||
@@ -24,3 +33,5 @@ - withFieldApi | ||
- Form | ||
- Field | ||
### Changed | ||
@@ -33,7 +44,8 @@ ** | ||
- `formApi` was split into two parts `formApi` ( contains just functions ) `formState` ( contains just form state ) | ||
- Form level validation will only occur if all field level validation passes. It used to always execute both. | ||
- Form level validation is gone. You do all validation via field validation. | ||
- `defaultValues` Form prop is now called `initialValues` | ||
- `onChange` Form prop only recieves the `formState` | ||
- `preventDefault` Form prop is now `dontPreventDefault` | ||
- `getApi` Form prop just returns the formApi, not the state and the api | ||
- `onChange` Form prop only recieves the `formState`. It used to retrieve the form Api as well. | ||
- `preventDefault` Form prop is now `dontPreventDefault` | ||
- `getApi` Form prop just returns the formApi, not the state and the api. | ||
- `Form` component now renders the `form` element internally. So you dont have to "hook it up" anymore!! | ||
@@ -48,4 +60,8 @@ | ||
- `NestedField` you can use `Scope` instead but all it does is scope internal fields to `scope="your-scope"` | ||
- validateOnSubmit was removed. Now the form always validates on submit by default and you can opt into sooner validation at field level | ||
- validateOnSubmit was removed. Now the form always validates on submit by default and you can opt into sooner validation at field level. | ||
- `defaultValues` form prop is now called `initialValues` | ||
- `pure` Form prop. Its not needed anymore due to the use of `React.PureComponent` internally | ||
- `pure` Form prop. Its not needed anymore due to the use of `React.PureComponent` internally. | ||
- add, remove, and swap values. The developer can achive this on there own without the use of internal functionality. | ||
- Array Syntax. In order to keep things simple we now only support the string syntax for field names. | ||
- Async Validation. Async validation led to many issues that overcomplicated `react-form`. We determined this is something that the developer could achive on there own for now but we may look into adding this in the future. | ||
- Warning and Success have been removed for now to keep lib lean but we may add additional functions in the future. |
{ | ||
"name": "informed", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A lightweight framework and utility for building powerful forms in React applications", | ||
@@ -69,2 +69,4 @@ "main": "dist/index.js", | ||
"patch-package": "^5.1.1", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1", | ||
"react-prism": "^4.3.2", | ||
@@ -80,6 +82,3 @@ "sass-loader": "^7.0.1", | ||
}, | ||
"dependencies": { | ||
"react": "^16.3.2", | ||
"react-dom": "^16.3.2" | ||
}, | ||
"dependencies": {}, | ||
"babel": { | ||
@@ -86,0 +85,0 @@ "presets": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37214
0
1
31
- Removedreact@^16.3.2
- Removedreact-dom@^16.3.2
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedscheduler@0.19.1(transitive)