Unverified Commit 23cb865c authored by Kevin O'Sullivan's avatar Kevin O'Sullivan
Browse files

v3.1.72

parent 758d23f6
......@@ -7,10 +7,14 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [3.1.71] - 2020-10-16
## [3.1.72] - 2020-10-16
- Removes `safe-compare` as a dependency, preferring Node's `crypto.timingSafeEqual` [1470](https://github.com/Shopify/quilt/pull/1470) | [2](https://github.com/Shopify/koa-shopify-auth/issues/2)
## [3.1.71] - 2020-10-16
- Bad release (misaligned tags). Please use `3.1.72` instead.
## [3.1.70] - 2020-09-08
- No changes from 3.1.68
......
## Releasing koa-shopify-auth
1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
1. Ensure your local repo is up-to-date
```
git checkout master && git pull
```
1. Add an entry for the new release to `CHANGELOG.md`, and/or move the contents from the *Unreleased* to the new release
1. Stage the `CHANGELOG.md` file
```
git add CHANGELOG.md
```
1. To update the version, create the appropriate tag, commit all staged changes and push to the remote repository
```
yarn version [ --patch | --minor | --major ]
```
Select the applicable option to the `yarn version` command to increment the appropriate part of the version number, i.e., for a version of `x.y.z`,
- `--patch` to increment the `z`
- `--minor` to increment the `y`
- `--major` to increment the `x`
The `preversion` and `postversion` scripts in `package.json` take care of the pre (testing) and post (pushing) actions.
1. Login to `shipit` and press Deploy on the appropriate commit (the commit description will be the version number).
{
"name": "@shopify/koa-shopify-auth",
"version": "3.1.71",
"version": "3.1.72",
"license": "MIT",
"description": "Middleware to authenticate a Koa application with Shopify",
"main": "dist/src/index.js",
......@@ -9,7 +9,9 @@
"test": "jest",
"build": "tsc",
"lint": "eslint",
"prepublishOnly": "yarn run build"
"prepublishOnly": "yarn run build",
"preversion": "yarn test",
"postversion": "git push origin master --follow-tags && echo \"Log in to shipit to deploy version $npm_package_version\""
},
"publishConfig": {
"access": "public"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment