Skip to content

Commit

Permalink
Release 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
miry committed Sep 10, 2022
1 parent 524143c commit 30ea6dd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
18 changes: 12 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
# [Unreleased]

# [2.5.0] - 2022-09-10

* Update Release steps. (#369, @neufeldtech)
* Migrate off probot-CLA to new GitHub Action. (#405, @cursedcoder)
* Support go 1.18, 1.19. (#415, @miry)
* `toxiproxy.NewProxy` now accepts `name`, `listen addr` and `upstream addr`. (#418, @miry)
* Replace logrus with zerolog. (#413, @miry)
* Log HTTP requests to API server. (#413, #421, @miry)
* Add TimeoutHandler for the HTTP API server. (#420, @miry)
* Set Write and Read timeouts for HTTP API server connections. (#423, @miry)
* Show uniq request id in API HTTP response. (#425, @miry)
* Add method to parse `stream.Direction` from string.
Allow to convert `stream.Direction` to string. (#430, @miry)
* Add posibility to write to Output with deadline.
On interrupting badnwidth toxic use non blocking write. (#436, @miry)
* Show unique request id in API HTTP response. (#425, @miry)
* Add method to parse `stream.Direction` from a string.
Allow converting `stream.Direction` to string. (#430, @miry)
* Add the possibility to write to Output with a deadline.
On interrupting Bandwidth toxic, use non-blocking writes. (#436, @miry)
* Update minimum supported Go version 1.17. (#438, @miry)

# [2.4.0] - 2022-03-07

Expand Down Expand Up @@ -183,7 +188,8 @@

Initial public release.

[Unreleased]: https://github.com/Shopify/toxiproxy/compare/v2.4.0...HEAD
[Unreleased]: https://github.com/Shopify/toxiproxy/compare/v2.5.0...HEAD
[2.5.0]: https://github.com/Shopify/toxiproxy/compare/v2.4.0...v2.5.0
[2.4.0]: https://github.com/Shopify/toxiproxy/compare/v2.3.0...v2.4.0
[2.3.0]: https://github.com/Shopify/toxiproxy/compare/v2.2.0...v2.3.0
[2.2.0]: https://github.com/Shopify/toxiproxy/compare/v2.1.7...v2.2.0
Expand Down
16 changes: 8 additions & 8 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Releasing
# Releasing

- [Releasing](#releasing)
- [Before You Begin](#before-you-begin)
Expand All @@ -19,7 +19,7 @@ Ensure your local workstation is configured to be able to [Sign commits](https:/

### Checkout latest code

```bash
```shell
git checkout master
git pull origin master
```
Expand All @@ -31,28 +31,28 @@ git pull origin master

### Create Release Commit and Tag

```bash
```shell
export RELEASE_VERSION=2.x.y
git commit -a -S -m "Release $RELEASE_VERSION"
git tag -s "v$RELEASE_VERSION" # When prompted for a commit message, enter the 'release notes' style message, just like on the releases page
```

### Run Pre-Release Tests

```bash
```shell
make test-release
```

- Push to Master Branch
```bash
git push origin master
```shell
git push origin master --follow-tags
```

## Push Release Tag

- On your local machine again, push your tag to github

```bash
```shell
git push origin "v$RELEASE_VERSION"
```

Expand All @@ -70,7 +70,7 @@ git push origin "v$RELEASE_VERSION"

- Do a manual check of installing toxiproxy via brew
1. While in the homebrew-shopify directory...
```bash
```shell
brew install ./toxiproxy.rb --debug
```
Note: it's normal to get some errors when homebrew attempts to load the file as a Cask instead of a formula, just make sure that it still gets installed.
Expand Down

0 comments on commit 30ea6dd

Please sign in to comment.