Skip to content

Latest commit

 

History

History
112 lines (75 loc) · 3.23 KB

CHANGELOG.md

File metadata and controls

112 lines (75 loc) · 3.23 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.0.0-beta.0 - 2021-04-15

React PIN Field is now a React wrapper for PIN Field, a native web component for entering PIN codes.

Changed

  • @soywod/pin-field needs to be installed, since it became a peer dependency of React PIN Field.
  • The ref contains now an instance of the class PinField. Inputs are accessible via the inputs prop.

1.1.0 - 2021-03-14

Fixed

  • Support for all browsers #19 and mobile #26

Deprecated

  • classes -{index}, -focus, -success and -error (replaced by standard pseudo-classes :nth-of-type, :focus, :valid and :invalid)

1.0.6 - 2021-02-10

Changed

  • React version to ^17 #23

1.0.5 - 2020-10-02

Removed

  • lodash deps

1.0.4 - 2020-08-20

Fixed

  • tsconfig module type #20

1.0.3 - 2020-03-28

Fixed

  • Keep previous val on reject key #16

1.0.2 - 2020-03-27

Fixed

  • Missing delete key #15

1.0.1 - 2020-03-19

Changed

  • Add npm version badge and missing icons in docs
  • Remove test files from npm pack

1.0.0 - 2020-03-15

Added

  • Docs (readme, license, changelog)
  • New event onReceiveKey
  • End-to-end tests with Cypress #3
  • Handle clipboard paste #11
  • Unit tests with Jest + Enzyme #2
  • Right-to-left support #9
  • Add ref support #14

Fixed

  • Base system on evt.key instead of evt.keyCode, to avoid conflicts (uppercase/lowercase, numeric keypad) #1
  • Unnecessary re-renders (useMVU)
  • Paste on MacOS #13