From 6f1b79c6c966018405a20f82cbcf33d9f7c62b99 Mon Sep 17 00:00:00 2001 From: Tejas Kumar Date: Wed, 8 Aug 2018 16:30:11 +0200 Subject: [PATCH] 4.0.0 --- CHANGELOG.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 6 +++-- 3 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..7d54510c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,61 @@ + + +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* + +- [Changelog](#changelog) + - [v4.0.0](#v400) + - [v4.0.0-9](#v400-9) + - [v3.0.3](#v303) + - [v3.0.2](#v302) + - [v3.0.1](#v301) + + + +### 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). + +#### [v4.0.0](https://github.com/contiamo/restful-react/compare/v4.0.0-9...v4.0.0) + +> 8 August 2018 + +- Release v4 [`#23`](https://github.com/contiamo/restful-react/pull/23) +- Update Docs [`#21`](https://github.com/contiamo/restful-react/pull/21) +- Factor out handling of response content type handler [`#22`](https://github.com/contiamo/restful-react/pull/22) +- Fix #2: Add codesandbox links [`#2`](https://github.com/contiamo/restful-react/issues/2) +- Link to interfaces instead of displaying them [`e20f744`](https://github.com/contiamo/restful-react/commit/e20f744ebb74aee78a8b0ea274f56c03efc3fa7c) +- Update examples [`11b29ae`](https://github.com/contiamo/restful-react/commit/11b29ae5b7bdb476b3a28c564d3f761ed707d27f) +- Link to docs with lines [`1208f67`](https://github.com/contiamo/restful-react/commit/1208f67515f87f3d22041b0acf74d7f068531636) + +#### [v4.0.0-9](https://github.com/contiamo/restful-react/compare/v3.0.3...v4.0.0-9) + +> 8 August 2018 + +- Improve the typing with generics [`b1782f1`](https://github.com/contiamo/restful-react/commit/b1782f1fffcad3508f0a0a455fedca4e09076b8e) +- Fix Delete action without id [`23b22af`](https://github.com/contiamo/restful-react/commit/23b22af24869b069aafbd8d4d13e9972486c9899) +- Refactor props names and exports [`ce91460`](https://github.com/contiamo/restful-react/commit/ce9146014d7a7be0557a2b349d3b3ebdc1fad8b3) + +#### [v3.0.3](https://github.com/contiamo/restful-react/compare/v3.0.2...v3.0.3) + +> 9 July 2018 + +- Update HTTP verbs in mutations to be uppercase [`#8`](https://github.com/contiamo/restful-react/pull/8) +- Throw a response object if a mutation fails [`#5`](https://github.com/contiamo/restful-react/pull/5) + +#### [v3.0.2](https://github.com/contiamo/restful-react/compare/v3.0.1...v3.0.2) + +> 2 July 2018 + +- Update README.md [`9146f5d`](https://github.com/contiamo/restful-react/commit/9146f5d2ace0e87eadd2313d74dba1a2a98208d4) +- Update repository in package.json [`0ae0d89`](https://github.com/contiamo/restful-react/commit/0ae0d89841a2df3eccf11b7630d9b6bf9c288040) +- Create PULL_REQUEST_TEMPLATE.md [`45c3e13`](https://github.com/contiamo/restful-react/commit/45c3e13012065292d78b007a69e9e61758850266) + +#### v3.0.1 + +> 2 July 2018 + +- Patch: fix import [`1768082`](https://github.com/contiamo/restful-react/commit/17680825850177d5f04bd52601efb5eae12bf863) +- Update version script [`4f3a40d`](https://github.com/contiamo/restful-react/commit/4f3a40d499ed4f984e0cce4b6d356978153a081d) +- Initial Commit [`1718d00`](https://github.com/contiamo/restful-react/commit/1718d005328ce10cacd57c4205cbc3e1c01c21dd) diff --git a/package-lock.json b/package-lock.json index c529f1bc..11ca465e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "restful-react", - "version": "4.0.0-9", + "version": "4.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 548190ac..007e317b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "restful-react", "description": "A declarative client from RESTful React Apps", - "version": "4.0.0-9", + "version": "4.0.0", "main": "dist/index.js", "license": "MIT", "files": [ @@ -37,7 +37,8 @@ "watch": "rollup -cw", "build": "rollup -c", "precommit": "lint-staged", - "preversion": "npm run build" + "preversion": "npm run build", + "version": "auto-changelog -p && git add CHANGELOG.md" }, "lint-staged": { "*.md": [ @@ -59,6 +60,7 @@ "@types/jest": "^23.3.1", "@types/nock": "^9.3.0", "@types/react": "^16.4.1", + "auto-changelog": "^1.8.0", "doctoc": "^1.3.1", "husky": "^0.14.3", "isomorphic-fetch": "^2.2.1",