# Changelog

## 2.0.0
- Bump to React v17, that's why is a major
- Bump project to recent versions
- The project doesn't use tsdx since had vulnerabilities
- PropTypes are optional now using `react-pin-code-input/dist/ReactPinCodeInputWithPropTypes`
    Add .esm for ES version
- Added unit test to offer a better product quality
- Defaults now doesn't rely on prop-types, is handled with ts
- Improved Types, now they won't accept children
- id is not autogenerated, you can pass it using props
- all div tags are properly propagated
- Copy & past on iOS device works as expected
- Fixed project vulnerabilities
- Fixed other minor issues

## 1.0.3
- Dependencies update

## 1.0.2
- Add `id` and `data-id` to html elements

## 1.0.1
- Paste using `ctrl+v` or `cmd+v` is allowed
- Delete all using `ctrl+backspace` or `cmd+backspace` is allowed
- Forcing patter for input type text and password, to prevent weird errors
- Small stability improvements

## 1.0.0
- Release project 🎉
