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

Update dependency react-otp-input to v3 #3704

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-otp-input (source) 2.4.0 -> 3.0.4 age adoption passing confidence

Release Notes

devfolioco/react-otp-input (react-otp-input)

v3.0.4

Compare Source

What's Changed

Full Changelog: devfolioco/react-otp-input@3.0.3...v3.0.4

v3.0.3

Compare Source

What's Changed

Full Changelog: devfolioco/react-otp-input@v3.0.2...3.0.3

v3.0.2

Compare Source

What's Changed

Full Changelog: devfolioco/react-otp-input@v3.0.1...v3.0.2

v3.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: devfolioco/react-otp-input@v3.0.0...v3.0.1

v3.0.0

Compare Source

This update is a complete rewrite of the react-otp-input component internally and has a few breaking changes. The updates include:

  • The earlier version was written with class components which is not recommended anymore and plain JSX leading to no typesafety. To fix this update is rewritten with React hooks and TypeScript offering complete typesafety and much cleaner code.
  • Got rid of the onInput since onChange supersedes it and is recommended by React instead.
  • Add a new renderInput prop that now requires the user to pass their own input and hence allows them to style it or add custom props to it according to their needs, this also helps get rid of many other props that were being passed to the component and then passed to the input, which is not needed anymore because they can be directly passed to the input. Apart from that this also has a few more breaking changes which can be found in the migration guide.
  • The library is now compiled via rollup instead of webpack, since it is the more preferred bundler for libraries and is more easier to use.
  • The example is also rewritten using the Vite react template, which offers lightning fast hot reloads.

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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team labels Jul 9, 2023
@renovate renovate bot force-pushed the renovate/react-otp-input-3.x branch from 69cbb0f to bc052db Compare July 18, 2023 17:56
@renovate renovate bot force-pushed the renovate/react-otp-input-3.x branch from bc052db to ffd9ec3 Compare July 22, 2023 21:46
@renovate renovate bot force-pushed the renovate/react-otp-input-3.x branch from e4f0652 to 99fdfb8 Compare August 2, 2023 13:39
@renovate
Copy link
Contributor Author

renovate bot commented Aug 2, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@tomibennett
Copy link
Contributor

Tested & approved

@tomibennett tomibennett self-requested a review August 3, 2023 08:33
Copy link
Member

@SouadHadjiat SouadHadjiat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally ✅

@RomuDeuxfois RomuDeuxfois merged commit 9997895 into master Aug 3, 2023
6 checks passed
@RomuDeuxfois RomuDeuxfois deleted the renovate/react-otp-input-3.x branch August 3, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants