diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..649861a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,160 @@ +### 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). + +#### [v0.1.21](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.20...v0.1.21) + +> 8 July 2020 + +- Moved documentation out of README.md to docs site [`845544f`](https://github.com/alexjamesmalcolm/use-resource/commit/845544f4d3e0c0ff52d8b0aff0e7cca29c4e2eb7) +- Adding Gemfile used for local docs work [`85d9fa5`](https://github.com/alexjamesmalcolm/use-resource/commit/85d9fa5de96e74b567e6d71c18b80be4a51b55c3) +- Setup docs with theme [`8c8b6d9`](https://github.com/alexjamesmalcolm/use-resource/commit/8c8b6d9db8d5358bfa91f83fd228fbac89681fb7) + +#### [v0.1.20](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.19...v0.1.20) + +> 5 July 2020 + +- Started work on an example for clearing the cache [`7156d63`](https://github.com/alexjamesmalcolm/use-resource/commit/7156d6391d95361e36c5e7c430b3194d8ef5918a) +- Abstracted away actions [`085c53c`](https://github.com/alexjamesmalcolm/use-resource/commit/085c53cff50658cc8fa5695075f732c2ba65b9de) +- Abstracted out useOtherActionsWithCache [`75a8a16`](https://github.com/alexjamesmalcolm/use-resource/commit/75a8a16ac1c6c47b7a6a72e38356b6ca6f294ae9) + +#### [v0.1.19](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.18...v0.1.19) + +> 23 June 2020 + +- Only running coverage on master branch [`edd6edc`](https://github.com/alexjamesmalcolm/use-resource/commit/edd6edc77cc2938eb6700203718abd9c0cf0b9f6) +- Added description to package.json [`abc4593`](https://github.com/alexjamesmalcolm/use-resource/commit/abc4593adf562754c63ed4ea1bfdfcf191a86f46) + +#### [v0.1.18](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.17...v0.1.18) + +> 23 June 2020 + +- Incrementing to 0.1.18 [`cba655e`](https://github.com/alexjamesmalcolm/use-resource/commit/cba655e2f24a357a3c9dda19cd2037c6b93c65e2) +- Incremented to 0.1.17 [`fc4d532`](https://github.com/alexjamesmalcolm/use-resource/commit/fc4d532bdc1d2802bca48890f78f2f6165521595) + +#### [v0.1.17](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.16...v0.1.17) + +> 23 June 2020 + +- Wrote a test for useResource [`d55fb59`](https://github.com/alexjamesmalcolm/use-resource/commit/d55fb59d7dc8dfea3d6b96e7d8c7dd6bbe8940aa) +- Created test publish workflow [`d2e19dd`](https://github.com/alexjamesmalcolm/use-resource/commit/d2e19ddd0f2ae2ac400425d52443e32d981b4700) +- Added badges [`75f9b97`](https://github.com/alexjamesmalcolm/use-resource/commit/75f9b971ed3c147d92cf6beaf83a911ee582f876) + +#### [v0.1.16](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.15...v0.1.16) + +> 22 June 2020 + +- Rewrote reducer with if statements to reduce size [`9e12562`](https://github.com/alexjamesmalcolm/use-resource/commit/9e125629852a1afade7dd32386f7345052408f18) +- Reduced number of types in types.ts [`d07b5dd`](https://github.com/alexjamesmalcolm/use-resource/commit/d07b5dd6a86f1488370e909a56940fd6b57d0fdd) +- Prefixed actions to reduce disk size [`3be24e6`](https://github.com/alexjamesmalcolm/use-resource/commit/3be24e672c92ad1eb7432297835bc4eaddf70671) + +#### [v0.1.15](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.14...v0.1.15) + +> 22 June 2020 + +- Added some keywords [`5d55a90`](https://github.com/alexjamesmalcolm/use-resource/commit/5d55a90b2b0b27c0f83b7d03515c2e26874a6932) +- Added repository field [`d9280a9`](https://github.com/alexjamesmalcolm/use-resource/commit/d9280a9993a4fe9a694f560a3cf43530b27a6292) +- Incremented to 0.1.15 [`ad2fe34`](https://github.com/alexjamesmalcolm/use-resource/commit/ad2fe3490bba8e5d6484a7acc35f11d959532509) + +#### [v0.1.14](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.13...v0.1.14) + +> 22 June 2020 + +- Switched from clean install to clean [`e7388d4`](https://github.com/alexjamesmalcolm/use-resource/commit/e7388d457a564569ca65b47078ce92ef0f405e9b) +- Incrementing to 0.1.14 [`56ef6a7`](https://github.com/alexjamesmalcolm/use-resource/commit/56ef6a7768890976e9537fb124fc25d27b6b5d72) + +#### [v0.1.13](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.12...v0.1.13) + +> 22 June 2020 + +- Removed package-lock.json [`0c87091`](https://github.com/alexjamesmalcolm/use-resource/commit/0c87091879f39b5111f08c1b6206be35e20f73da) +- Added useBreweries setup example [`a0556dd`](https://github.com/alexjamesmalcolm/use-resource/commit/a0556dd488f07c4f7dd599ef97324db051527ee6) +- Created skeleton for README.md [`718c1e8`](https://github.com/alexjamesmalcolm/use-resource/commit/718c1e8208103cdb53ddd383863eb8ee5dd1c56f) + +#### [v0.1.12](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.11...v0.1.12) + +> 19 June 2020 + +- Incremented to 0.1.12 [`71fe996`](https://github.com/alexjamesmalcolm/use-resource/commit/71fe9965613129cd34cfe85ccc2bede4b596e4f7) +- Fixed bug where not including ttl resulted in infinite network calls [`cd10551`](https://github.com/alexjamesmalcolm/use-resource/commit/cd10551557937ddfe0e7ef7654edec503b59da07) + +#### [v0.1.11](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.10...v0.1.11) + +> 19 June 2020 + +- Added the ability to define ttl for data [`c00c202`](https://github.com/alexjamesmalcolm/use-resource/commit/c00c202c3aaaee0f597f3d6ac0573ac887517ad3) +- Incremented to 0.1.11 [`5341544`](https://github.com/alexjamesmalcolm/use-resource/commit/53415440abc62c3cc7c90d17c58b1d59b8646a63) +- Moved demo code so react-scripts can run it [`bf9a248`](https://github.com/alexjamesmalcolm/use-resource/commit/bf9a248adad0a7d83845f58313b654e75080d315) + +#### [v0.1.10](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.9...v0.1.10) + +> 19 June 2020 + +- Compiling to CommonJS so testing frameworks won't complain [`e7ee17e`](https://github.com/alexjamesmalcolm/use-resource/commit/e7ee17eb8946997c6cfc07656dae5eff754dc790) + +#### [v0.1.9](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.8...v0.1.9) + +> 19 June 2020 + +- Removed noEmit [`210ea64`](https://github.com/alexjamesmalcolm/use-resource/commit/210ea64730fbc452d30c749db150244ec4aabcfc) + +#### [v0.1.8](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.7...v0.1.8) + +> 19 June 2020 + +- Added build steps to github action [`d631047`](https://github.com/alexjamesmalcolm/use-resource/commit/d631047245fda395efbdff55dc672af4c87ae220) + +#### [v0.1.7](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.6...v0.1.7) + +> 19 June 2020 + +- Simplified configuration [`6a5f64f`](https://github.com/alexjamesmalcolm/use-resource/commit/6a5f64f01b527c2e16aa643822de8134c5fed437) +- Incremented to 0.1.7 [`6e57e9d`](https://github.com/alexjamesmalcolm/use-resource/commit/6e57e9d21cae79bf1c8297f8f5bc0a12c7cecd58) + +#### [v0.1.6](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.5...v0.1.6) + +> 19 June 2020 + +- Incrementing version to 0.1.6 [`cb6d8ec`](https://github.com/alexjamesmalcolm/use-resource/commit/cb6d8ec29238597251cf3d96fcb4775d44666fec) +- Switched to using peerDependencies [`b6b4243`](https://github.com/alexjamesmalcolm/use-resource/commit/b6b4243ef3407fa00fb6ed1b9094b385e10f0267) + +#### [v0.1.5](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.4...v0.1.5) + +> 18 June 2020 + +- Incremented to 0.1.5 [`0003110`](https://github.com/alexjamesmalcolm/use-resource/commit/0003110a01b6769b066fc833ca71247c91f36cda) + +#### [v0.1.4](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.3...v0.1.4) + +> 18 June 2020 + +- Made package public [`091a535`](https://github.com/alexjamesmalcolm/use-resource/commit/091a535e1e26f590d44edcb25525ce101c2f4d5a) + +#### [v0.1.3](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.2...v0.1.3) + +> 18 June 2020 + +- Removed example [`b2b9479`](https://github.com/alexjamesmalcolm/use-resource/commit/b2b9479fe34cdfd923a8c13f39c1c3a18f7ab068) +- Fixed App.test.tsx [`89100eb`](https://github.com/alexjamesmalcolm/use-resource/commit/89100eb1826005b27a1843ae7e0875bf1dc6c93a) + +#### [v0.1.2](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.1...v0.1.2) + +> 18 June 2020 + +- Removed trigger [`7757f82`](https://github.com/alexjamesmalcolm/use-resource/commit/7757f8256519010de6264ad572cfdc96031f9c88) + +#### [v0.1.1](https://github.com/alexjamesmalcolm/use-resource/compare/v0.1.0...v0.1.1) + +> 18 June 2020 + +- Added the published trigger [`4fb34a3`](https://github.com/alexjamesmalcolm/use-resource/commit/4fb34a39a1ef00bdcb8e072c26b01a7d84b04e03) + +#### v0.1.0 + +> 18 June 2020 + +- Got working demo of useResource working in typescript [`15be435`](https://github.com/alexjamesmalcolm/use-resource/commit/15be43586f7d7943027822c5db51ff07331d5366) +- Upgraded packages to remove vulnerabilities [`6a4899e`](https://github.com/alexjamesmalcolm/use-resource/commit/6a4899ea08f0aebc32bdc40958d82ba5ed1e4484) +- Initial commit from Create React Library [`9e28ba7`](https://github.com/alexjamesmalcolm/use-resource/commit/9e28ba7d876ff34f6006ddfc1a1005568ca8bb47) diff --git a/package.json b/package.json index 92368ea..72a4349 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "test": "react-scripts test", "test:coverage": "npm test -- --watchAll --coverage --collectCoverageFrom=src/lib/**/*.ts --collectCoverageFrom=src/lib/**/*.tsx", "test:ci": "cross-env CI=true npm test -- --coverage --collectCoverageFrom=src/lib/**/*.ts --collectCoverageFrom=src/lib/**/*.tsx", - "output-size": "node ./get-size.js" + "output-size": "node ./get-size.js", + "version": "auto-changelog -p && git add CHANGELOG.md" }, "peerDependencies": { "react": "^16.13.1", @@ -46,6 +47,7 @@ "@types/jest": "^26.0.0", "@types/react": "^16.9.38", "@types/react-redux": "^7.1.9", + "auto-changelog": "^2.2.0", "cross-env": "^7.0.2", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2",