Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency react-form to v4 - abandoned #152

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 6, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence OpenSSF
react-form dependencies major 2.16.3 -> 4.0.1 age adoption passing confidence OpenSSF Scorecard
@types/react-form (source) devDependencies major ^2.16.0 -> ^4.0.0 age adoption passing confidence OpenSSF Scorecard

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

tannerlinsley/react-form (react-form)

v3.5.7

Compare Source

v3.5.6

Compare Source

v3.5.5

Compare Source

v3.5.4

Compare Source

v3.5.3

Compare Source

v3.5.2

Compare Source

v3.5.1

Compare Source

v3.5.0

Compare Source

v3.4.4

Compare Source

v3.4.3

Compare Source

v3.4.2

Compare Source

v3.4.1

Compare Source

v3.4.0

Compare Source

v3.3.2

Compare Source

v3.3.1

Compare Source

v3.3.0

Compare Source

v3.2.3

Compare Source

v3.2.0

Compare Source

v3.1.0

Compare Source

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

3.0.0

New Features
  • The Form component is now a render-prop component which supports the "big three" render-prop formats (component and render/children functions).
  • The FormField component has been renamed to Field and is now a render-prop component which supports the "big three" render-prop formats (component and render/children functions).
  • withFormField is a new dedicated HOC function, which mirrors the capabilities of Field but with the HOC syntax.
  • Added a new FormApi render-prop component and companion withFormApi HOC which allow you to access the nearest formApi ancestor from anywhere in your component tree.
  • Added pure prop to Form, Field and withField components. While using the pure prop, the Field instance will only rerender when form state or shallow prop values change. Use this to increase performance on large forms. By default this prop is true. Set it to false to deactivate the Optimization (rare cases).
  • NestedField/withNestedField is a new component that is replacing and deprecating the NestedForm components. NestedField allows you to set a new field context for any child Field and FormApi components. This allows for extremely implicit field declarations within components without having to worry about form composition.
Breaking Changes
  • Field is now a render-prop component, not an HOC. You can either directly replace it with the withField HOC, or adopt the inline FAAC format.
  • Form's 'dontValidateOnMount is now validatedOnMount and defaults to false. If you want to validate on mount, use the validateOnMount prop.
  • Polyfills for Array.find, Array.findIndex and Array.includes are no longer provided with the library. If your target browsers do not support these methods, please manually include a polyfill for these methods in your app.
  • The fieldApi prop continues to be available, but only when using HOC or FAAC-component-prop syntaxes. When using the FAAC render prop or child-as-a-function syntax's, the fieldApi object is directly spread into the render and child-as-a-function's main prop parameter.
  • All value getters located on the fieldApi are now static values eg. (getValue() is now value, setTouched() is now touched, and so on with getError, getSuccess and getWarning)!
  • NestedForm has been deprecated in favor of the NestedField component and field-level default values and validations.
  • The Form components' formDidUpdate prop has been deprecated in favor of the onChange prop.
  • Styled forms are no longer bundled with ReactForm. We will be developing a serrate npm module for this.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

ggjulio and others added 5 commits October 6, 2024 19:21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot changed the title fix(deps): update dependency react-form to v4 fix(deps): update dependency react-form to v4 - abandoned Oct 8, 2024
Copy link
Author

renovate bot commented Oct 8, 2024

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant