react-csv-reader
Version:
React component that handles csv file input.
241 lines (144 loc) • 13.4 kB
Markdown
## [3.2.1](https://github.com/nzambello/react-csv-reader/compare/v3.2.0...v3.2.1) (2021-02-11)
# [3.2.0](https://github.com/nzambello/react-csv-reader/compare/v3.1.2...v3.2.0) (2021-02-10)
### Features
* Add name attribute to file input ([24866bf](https://github.com/nzambello/react-csv-reader/commit/24866bfcc1bd1affe6a5c1ce69bfe4796e3dd205))
### Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v3.1.2](https://github.com/nzambello/react-csv-reader/compare/v3.1.1...v3.1.2)
- chore: updated release-it [`bdd9ec4`](https://github.com/nzambello/react-csv-reader/commit/bdd9ec4208255ab688441f7125cf165ae2aaa234)
- chore: updated papaparse [`2a3fdd8`](https://github.com/nzambello/react-csv-reader/commit/2a3fdd83660200fced404bbfb221fe3ea51f5f78)
#### [v3.1.1](https://github.com/nzambello/react-csv-reader/compare/v3.1.0...v3.1.1)
> 18 August 2020
- added docs with docz [`#48`](https://github.com/nzambello/react-csv-reader/pull/48)
- Bump elliptic from 6.5.2 to 6.5.3 [`#47`](https://github.com/nzambello/react-csv-reader/pull/47)
- Release 3.1.1 [`5d7b940`](https://github.com/nzambello/react-csv-reader/commit/5d7b9408da7539c999cfa15e3d7d21f814df1ab2)
- added link to docs in readme [`9644a90`](https://github.com/nzambello/react-csv-reader/commit/9644a9033be4da3fa510dcd3dc16a61da00ac536)
#### [v3.1.0](https://github.com/nzambello/react-csv-reader/compare/v3.0.6...v3.1.0)
> 23 June 2020
- Add Label Class Option [`#44`](https://github.com/nzambello/react-csv-reader/pull/44)
- updated lockfile [`497d105`](https://github.com/nzambello/react-csv-reader/commit/497d105dff2f1a8ab3519391baf6f98e04b1d1fc)
- Add the ability to specify the class for the label [`1484af9`](https://github.com/nzambello/react-csv-reader/commit/1484af98179cd5bb8ef5294add1a1b69127b8f7a)
- Release 3.1.0 [`24f576f`](https://github.com/nzambello/react-csv-reader/commit/24f576fbd3c14d338befbbdd2b6c4fac675d3a24)
- Remove unintended imports [`aec30aa`](https://github.com/nzambello/react-csv-reader/commit/aec30aa9ce8cec9ea5a3800e71a6da784cb35d55)
- Update @babel/preset-env to resolve build error [`406094f`](https://github.com/nzambello/react-csv-reader/commit/406094f213a7a76c704f709850eede2626151090)
- Remove commented code [`b5ac873`](https://github.com/nzambello/react-csv-reader/commit/b5ac873b265c55401668e94ef31677433ffcb97d)
- Remove unintended imports [`ee3556b`](https://github.com/nzambello/react-csv-reader/commit/ee3556b3a15404d1a0415546794cbc6140047f61)
- update more strict prettier config [`e7a5ad0`](https://github.com/nzambello/react-csv-reader/commit/e7a5ad0f66d6b804776aa410ccee6736fed36561)
#### [v3.0.6](https://github.com/nzambello/react-csv-reader/compare/v3.0.5...v3.0.6)
> 2 May 2020
- Fix type checker [`#43`](https://github.com/nzambello/react-csv-reader/pull/43)
- Release 3.0.6 [`c390692`](https://github.com/nzambello/react-csv-reader/commit/c390692f4b53c40bb5482a167dd2f7ae3d5cd821)
#### [v3.0.5](https://github.com/nzambello/react-csv-reader/compare/v3.0.4...v3.0.5)
> 3 April 2020
- Update webpack.config.js [`#40`](https://github.com/nzambello/react-csv-reader/pull/40)
- Update issue templates [`#39`](https://github.com/nzambello/react-csv-reader/pull/39)
- Create CODE_OF_CONDUCT.md [`c01b9ea`](https://github.com/nzambello/react-csv-reader/commit/c01b9ea6b41bd5edb4f5e413b410d4005d46a54c)
- Release 3.0.5 [`7181762`](https://github.com/nzambello/react-csv-reader/commit/718176221cc481a1f27fe7d9e7cd612f5a6e5e36)
- added github integration in release-it [`5e17a37`](https://github.com/nzambello/react-csv-reader/commit/5e17a37a102fbb6ec9b74f6c83eb6d96d342fd06)
- dev: added nullish handling as empty list for results [`0a311f6`](https://github.com/nzambello/react-csv-reader/commit/0a311f6ffc3e6c230365058752cc850375905daa)
- Update README.md [`332079f`](https://github.com/nzambello/react-csv-reader/commit/332079fed6065f3b0ba1b21e95f011f12f04afc8)
#### [v3.0.4](https://github.com/nzambello/react-csv-reader/compare/v3.0.3...v3.0.4)
> 21 March 2020
- added release-it [`778ee81`](https://github.com/nzambello/react-csv-reader/commit/778ee8190f2891dcf86b40a27c687ac21cf63319)
- Release 3.0.4 [`8a4a9d6`](https://github.com/nzambello/react-csv-reader/commit/8a4a9d6e3ee58e71eb9a0e96a1830e82ac0ae94a)
- included PapaParse types for parserOptions prop [`48506f8`](https://github.com/nzambello/react-csv-reader/commit/48506f8b7f38c5ee68c4669c5808589fdebd5553)
- fix release-it config [`b10ae0a`](https://github.com/nzambello/react-csv-reader/commit/b10ae0a86e455e35084da7d4b2d87254ea2f73f6)
- fix changelog [`27640eb`](https://github.com/nzambello/react-csv-reader/commit/27640ebdf9709b9cf69e51f965c8c1276ec69691)
#### [v3.0.3](https://github.com/nzambello/react-csv-reader/compare/v3.0.2...v3.0.3)
> 21 March 2020
- added declaration file [`#38`](https://github.com/nzambello/react-csv-reader/pull/38)
#### [v3.0.2](https://github.com/nzambello/react-csv-reader/compare/v3.0.1...v3.0.2)
> 16 March 2020
- updated README [`7feaec3`](https://github.com/nzambello/react-csv-reader/commit/7feaec3747e784c63f5bf5ac7b04437ff262cd5c)
#### [v3.0.1](https://github.com/nzambello/react-csv-reader/compare/v3.0.0...v3.0.1)
> 16 March 2020
- added a11y axe tests, refactoring tests [`#35`](https://github.com/nzambello/react-csv-reader/pull/35)
### [v3.0.0](https://github.com/nzambello/react-csv-reader/compare/v2.2.1...v3.0.0)
> 16 March 2020
- moved to typescript [`#34`](https://github.com/nzambello/react-csv-reader/pull/34)
#### [v2.2.1](https://github.com/nzambello/react-csv-reader/compare/v2.2.0...v2.2.1)
> 16 March 2020
- Create nodejs.yml [`#33`](https://github.com/nzambello/react-csv-reader/pull/33)
- updated readme [`ac3bdd3`](https://github.com/nzambello/react-csv-reader/commit/ac3bdd3485080cdcbde25f59b74bfd55f8fb9227)
- updated readme [`5b897fa`](https://github.com/nzambello/react-csv-reader/commit/5b897fa19937633f362bd26a5be35a6afc94d76c)
- updated readme [`ec49b06`](https://github.com/nzambello/react-csv-reader/commit/ec49b06734ef28bf6a0fed63bf4694378cab3b60)
#### [v2.2.0](https://github.com/nzambello/react-csv-reader/compare/v2.1.0...v2.2.0)
> 14 March 2020
- Added disabled prop [`#32`](https://github.com/nzambello/react-csv-reader/pull/32)
- added tests for single props [`20f63b8`](https://github.com/nzambello/react-csv-reader/commit/20f63b82dea5c929b49f7af874b1283ccc2758e5)
- updated build [`1653b8b`](https://github.com/nzambello/react-csv-reader/commit/1653b8b37d2f78881bd85d8da2a36eca927c89e9)
#### [v2.1.0](https://github.com/nzambello/react-csv-reader/compare/v2.0.2...v2.1.0)
> 14 March 2020
- Bump acorn from 6.3.0 to 6.4.1 [`#31`](https://github.com/nzambello/react-csv-reader/pull/31)
- added test machinery and snapshots, build [`6611b76`](https://github.com/nzambello/react-csv-reader/commit/6611b76d4a4611453fcc3e08cec0ae8a301d2cc3)
- updated dependencies [`38167a7`](https://github.com/nzambello/react-csv-reader/commit/38167a7d34d21fcce4dbf1ff384632b92bc27e75)
- updated README and added default inputId [`0454b99`](https://github.com/nzambello/react-csv-reader/commit/0454b990650235d90912c131d088a8b8c1ed3602)
- updated snapshots [`eaa1804`](https://github.com/nzambello/react-csv-reader/commit/eaa18040ded9fed6d9158aff1c89475af7d2bba0)
- Added filename as second argument in onFileLoaded example [`186a423`](https://github.com/nzambello/react-csv-reader/commit/186a42392bda509fa07be6e67020ee6ce5b5b3de)
#### [v2.0.2](https://github.com/nzambello/react-csv-reader/compare/v2.0.1...v2.0.2)
> 4 November 2019
- updated README [`a25a4f3`](https://github.com/nzambello/react-csv-reader/commit/a25a4f350abfc811e5aef25cd1abb2436918c126)
#### [v2.0.1](https://github.com/nzambello/react-csv-reader/compare/v2.0.0...v2.0.1)
> 4 November 2019
- updated codesandbox demo [`0711961`](https://github.com/nzambello/react-csv-reader/commit/07119618c999f1c1a0da1246b5756eb54746dc5e)
### [v2.0.0](https://github.com/nzambello/react-csv-reader/compare/v1.3.1...v2.0.0)
> 4 November 2019
- added and upgraded dev plugins, upgraded to webpack to v4, upgraded papaparse to v5 [`44900ff`](https://github.com/nzambello/react-csv-reader/commit/44900ff175683a024bffd673b665a1db953d4398)
- added missing prop-types [`389af15`](https://github.com/nzambello/react-csv-reader/commit/389af15b5f8deeb759aa12e99d0e45ed4b5a2cc7)
#### [v1.3.1](https://github.com/nzambello/react-csv-reader/compare/v1.3.0...v1.3.1)
> 3 September 2019
- Update README [`5e5c4f3`](https://github.com/nzambello/react-csv-reader/commit/5e5c4f3b22f1b0a5ab8d731b090b256dee6352f9)
#### [v1.3.0](https://github.com/nzambello/react-csv-reader/compare/v1.2.2...v1.3.0)
> 3 September 2019
- Can specify input file encoding [`#21`](https://github.com/nzambello/react-csv-reader/pull/21)
- Support for "accept" file type options [`#18`](https://github.com/nzambello/react-csv-reader/pull/18)
- Fixes error on cancel [`#20`](https://github.com/nzambello/react-csv-reader/pull/20)
- updated build [`6f8e3ec`](https://github.com/nzambello/react-csv-reader/commit/6f8e3ecd8bf399b780fa44ae1666de5e8c6cb74e)
#### [v1.2.2](https://github.com/nzambello/react-csv-reader/compare/v1.2.1...v1.2.2)
> 19 January 2019
- Added Patreon link on README [`a355353`](https://github.com/nzambello/react-csv-reader/commit/a35535311b311b15c92dfff3ab05d0efbbb74650)
#### [v1.2.1](https://github.com/nzambello/react-csv-reader/compare/v1.2.0...v1.2.1)
> 31 December 2018
- Fixing `accept` file type in input [`#11`](https://github.com/nzambello/react-csv-reader/pull/11)
#### [v1.2.0](https://github.com/nzambello/react-csv-reader/compare/v1.1.0...v1.2.0)
> 22 December 2018
- added separated arguments for css classes [`7265188`](https://github.com/nzambello/react-csv-reader/commit/72651888fa8ff41e7d01871a73baff370c4f6e9b)
#### [v1.1.0](https://github.com/nzambello/react-csv-reader/compare/v1.0.0...v1.1.0)
> 19 October 2018
- added option to include input style as prop [`560d6fe`](https://github.com/nzambello/react-csv-reader/commit/560d6fe3d292164211e605c7bd642ef659a95361)
### [v1.0.0](https://github.com/nzambello/react-csv-reader/compare/v0.3.3...v1.0.0)
> 6 October 2018
- allow parser options to be overridden [`51c8e93`](https://github.com/nzambello/react-csv-reader/commit/51c8e93bcabae71c6fdc18982a4c94cf649cef57)
- deleted unwanted lock file [`5f10bd9`](https://github.com/nzambello/react-csv-reader/commit/5f10bd9897faf073d7c3114dd5c37ae647c3c06d)
- fix label attribute for/htmlFor [`d80f1a0`](https://github.com/nzambello/react-csv-reader/commit/d80f1a0982d2f9c1ee2f226a25fded285383e65a)
#### [v0.3.3](https://github.com/nzambello/react-csv-reader/compare/v0.3.2...v0.3.3)
> 18 June 2018
- Added for={inputId} to label option. [`#4`](https://github.com/nzambello/react-csv-reader/pull/4)
- run dist [`75f8c7a`](https://github.com/nzambello/react-csv-reader/commit/75f8c7a8e8e2cb2c079a18cbfa4d7dbc13b7ae8e)
#### [v0.3.2](https://github.com/nzambello/react-csv-reader/compare/v0.3.1...v0.3.2)
> 12 June 2018
- run dist [`5f90cc3`](https://github.com/nzambello/react-csv-reader/commit/5f90cc33b190b1ab15fe0c7d512bcfa456b90810)
#### [v0.3.1](https://github.com/nzambello/react-csv-reader/compare/v0.2.2...v0.3.1)
> 12 June 2018
- added inputId attribute: input element ID [`#3`](https://github.com/nzambello/react-csv-reader/pull/3)
- Provide the filename as an argument to onFileLoaded [`#1`](https://github.com/nzambello/react-csv-reader/pull/1)
#### [v0.2.2](https://github.com/nzambello/react-csv-reader/compare/v0.2.1...v0.2.2)
> 20 January 2018
- Updated README with demo [`34fcd5b`](https://github.com/nzambello/react-csv-reader/commit/34fcd5b91ff496e3c9d5f78c9e6415fc65638eca)
#### [v0.2.1](https://github.com/nzambello/react-csv-reader/compare/v0.2.0...v0.2.1)
> 24 December 2017
- moved css class to outer div, it's more useful [`f0b91b7`](https://github.com/nzambello/react-csv-reader/commit/f0b91b79d88abc8a2aa860904b53726199891f75)
#### [v0.2.0](https://github.com/nzambello/react-csv-reader/compare/v0.1.1...v0.2.0)
> 24 December 2017
- added support for react elements in label [`45f83d3`](https://github.com/nzambello/react-csv-reader/commit/45f83d3365e27f020b8c1805d0c1f85564a79955)
#### v0.1.1
> 23 December 2017
- initial commit [`1bb92f7`](https://github.com/nzambello/react-csv-reader/commit/1bb92f7f9f20678b67dc82e48b85ea358216ea21)
- added eslint [`cbb67c1`](https://github.com/nzambello/react-csv-reader/commit/cbb67c131cb70accaf1919c76406bc319e472524)
- added component and basic functionalities [`c932735`](https://github.com/nzambello/react-csv-reader/commit/c932735ba449cf6e6d71d97d081b3e37180990a8)
- added usage and docs to README [`aac3ee1`](https://github.com/nzambello/react-csv-reader/commit/aac3ee19b51a447f4109ad829be80c563c9cfeaa)
- added cssClass and label attributes [`905dd3a`](https://github.com/nzambello/react-csv-reader/commit/905dd3afca01cd4ac35d03e2220ba2166a8c1f5b)
- Create LICENSE [`0e59b40`](https://github.com/nzambello/react-csv-reader/commit/0e59b4040bf927d975f41f7aeb363613f74d2af6)
- added return value explanation [`384df46`](https://github.com/nzambello/react-csv-reader/commit/384df468539d9f0a865fb7987f25321b1ad9118e)
- fix readme example code [`8e23c6e`](https://github.com/nzambello/react-csv-reader/commit/8e23c6ed4f247fe79565f39fbeeb1ea184893a1a)