|
1 | 1 | # [Unreleased] |
2 | 2 |
|
| 3 | +- Updated go version to 1.22.1 to fix 3 CVEs (#559, @dianadevasia) |
| 4 | +- Updated the version of golangci to 1.56.2 and disabled depguard rule in golangci (#559, @dianadevasia) |
| 5 | + |
3 | 6 | # [2.8.0] - 2024-02-27 |
4 | 7 |
|
5 | | -* toxiproxy-cli - sortedAttributes sort by attribute.key instead attribute.value (#543, @jesseward) |
| 8 | +- toxiproxy-cli - sortedAttributes sort by attribute.key instead attribute.value (#543, @jesseward) |
6 | 9 |
|
7 | 10 | # [2.7.0] - 2023-10-25 |
8 | 11 |
|
9 | | -* Fix invalid JSON in /version endpoint response (#538, @whatyouhide) |
10 | | -* Update minimum supported Go version 1.19. (@abecevello) |
| 12 | +- Fix invalid JSON in /version endpoint response (#538, @whatyouhide) |
| 13 | +- Update minimum supported Go version 1.19. (@abecevello) |
11 | 14 |
|
12 | 15 | # [2.6.0] - 2023-08-22 |
13 | 16 |
|
14 | | -* Gracefull shutdown of HTTP server. (#439, @miry) |
15 | | -* Support PATCH HTTP method for Proxy update(`PATCH /proxies/{proxy}`) and |
| 17 | +- Gracefull shutdown of HTTP server. (#439, @miry) |
| 18 | +- Support PATCH HTTP method for Proxy update(`PATCH /proxies/{proxy}`) and |
16 | 19 | Toxic update(`PATCH /proxies/{proxy}/toxics/{toxic}`) endpoints. |
17 | 20 | Deprecat POST HTTP method for those endpoints. (@miry) |
18 | | -* Client does not parse response body in case of errors for Populate. |
| 21 | +- Client does not parse response body in case of errors for Populate. |
19 | 22 | Requires to get current proxies with new command. (#441, @miry) |
20 | | -* Client specifies `User-Agent` HTTP header for all requests as |
| 23 | +- Client specifies `User-Agent` HTTP header for all requests as |
21 | 24 | "toxiproxy-cli/<version> <os>/<runtime>". |
22 | 25 | Specifies client request content type as `application/json`. (#441, @miry) |
23 | | -* Replace Api.Listen parameters `host` and `port` with single `addr`. (#445, @miry) |
| 26 | +- Replace Api.Listen parameters `host` and `port` with single `addr`. (#445, @miry) |
24 | 27 |
|
25 | 28 | # [2.5.0] - 2022-09-10 |
26 | 29 |
|
27 | | -* Update Release steps. (#369, @neufeldtech) |
28 | | -* Migrate off probot-CLA to new GitHub Action. (#405, @cursedcoder) |
29 | | -* Support go 1.18, 1.19. (#415, @miry) |
30 | | -* `toxiproxy.NewProxy` now accepts `name`, `listen addr` and `upstream addr`. (#418, @miry) |
31 | | -* Replace logrus with zerolog. (#413, @miry) |
32 | | -* Log HTTP requests to API server. (#413, #421, @miry) |
33 | | -* Add TimeoutHandler for the HTTP API server. (#420, @miry) |
34 | | -* Set Write and Read timeouts for HTTP API server connections. (#423, @miry) |
35 | | -* Show unique request id in API HTTP response. (#425, @miry) |
36 | | -* Add method to parse `stream.Direction` from a string. |
| 30 | +- Update Release steps. (#369, @neufeldtech) |
| 31 | +- Migrate off probot-CLA to new GitHub Action. (#405, @cursedcoder) |
| 32 | +- Support go 1.18, 1.19. (#415, @miry) |
| 33 | +- `toxiproxy.NewProxy` now accepts `name`, `listen addr` and `upstream addr`. (#418, @miry) |
| 34 | +- Replace logrus with zerolog. (#413, @miry) |
| 35 | +- Log HTTP requests to API server. (#413, #421, @miry) |
| 36 | +- Add TimeoutHandler for the HTTP API server. (#420, @miry) |
| 37 | +- Set Write and Read timeouts for HTTP API server connections. (#423, @miry) |
| 38 | +- Show unique request id in API HTTP response. (#425, @miry) |
| 39 | +- Add method to parse `stream.Direction` from a string. |
37 | 40 | Allow converting `stream.Direction` to string. (#430, @miry) |
38 | | -* Add the possibility to write to Output with a deadline. |
| 41 | +- Add the possibility to write to Output with a deadline. |
39 | 42 | On interrupting Bandwidth toxic, use non-blocking writes. (#436, @miry) |
40 | | -* Update minimum supported Go version 1.17. (#438, @miry) |
| 43 | +- Update minimum supported Go version 1.17. (#438, @miry) |
41 | 44 |
|
42 | 45 | # [2.4.0] - 2022-03-07 |
43 | 46 |
|
44 | | -* Verify git tag on release (#347, @miry) |
45 | | -* Fix MacOS 12 tests for go17 with -race flag (#351, @strech) |
46 | | -* Rename `testing/` and `bin/` folders (#354, @strech) |
47 | | -* Added verbose error on proxy upstream dialing (#355, @f-dg) |
48 | | -* Improve server startup message (#358, @areveny) |
49 | | -* Introduce yaml linter. (#362, @miry) |
50 | | -* Handle slicer toxic with zero `SizeVariation` and fix slicing randomization (#359, @areveny) |
51 | | -* Added /metrics endpoint for exposing Prometheus-compatible internal metrics (#366, @neufeldtech) |
| 47 | +- Verify git tag on release (#347, @miry) |
| 48 | +- Fix MacOS 12 tests for go17 with -race flag (#351, @strech) |
| 49 | +- Rename `testing/` and `bin/` folders (#354, @strech) |
| 50 | +- Added verbose error on proxy upstream dialing (#355, @f-dg) |
| 51 | +- Improve server startup message (#358, @areveny) |
| 52 | +- Introduce yaml linter. (#362, @miry) |
| 53 | +- Handle slicer toxic with zero `SizeVariation` and fix slicing randomization (#359, @areveny) |
| 54 | +- Added /metrics endpoint for exposing Prometheus-compatible internal metrics (#366, @neufeldtech) |
52 | 55 |
|
53 | 56 | # [2.3.0] - 2021-12-23 |
54 | 57 |
|
55 | | -* Store all the executable `main` packages in `cmd` folder. (#335, @miry) |
56 | | -* Extract common test helpers to own files. (#336, @miry) |
57 | | -* Client: Allow HTTPS endpoints. (#338, @chen-anders) |
58 | | -* client.Populate assign client to proxy. (#291, @hellodudu) |
59 | | -* fix: The release-test task is always success. |
| 58 | +- Store all the executable `main` packages in `cmd` folder. (#335, @miry) |
| 59 | +- Extract common test helpers to own files. (#336, @miry) |
| 60 | +- Client: Allow HTTPS endpoints. (#338, @chen-anders) |
| 61 | +- client.Populate assign client to proxy. (#291, @hellodudu) |
| 62 | +- fix: The release-test task is always success. |
60 | 63 | add: Allow to run release-test on arm machines. (#340, @miry) |
61 | | -* Upgrade `goreleaser`. Support `armv7` and `armv6` oses. (#339, @mitchellrj) |
62 | | -* Allow to change log level for server. (#346, @miry) |
| 64 | +- Upgrade `goreleaser`. Support `armv7` and `armv6` oses. (#339, @mitchellrj) |
| 65 | +- Allow to change log level for server. (#346, @miry) |
63 | 66 |
|
64 | 67 | # [2.2.0] - 2021-10-17 |
65 | 68 |
|
66 | | -* Update linux packages to use `/usr/bin` folder as binary destination and change the executable names to |
| 69 | +- Update linux packages to use `/usr/bin` folder as binary destination and change the executable names to |
67 | 70 | exclude ARCH and OS names. New pathes: |
68 | 71 | ``` |
69 | 72 | /usr/bin/toxiproxy-cli |
70 | 73 | /usr/bin/toxiproxy-server |
71 | 74 | ``` |
72 | 75 | (#331, @miry) |
73 | | -* A new toxic to simulate TCP RESET (Connection reset by peer) on the connections by closing |
| 76 | +- A new toxic to simulate TCP RESET (Connection reset by peer) on the connections by closing |
74 | 77 | the stub Input immediately or after a timeout. (#247 and #333, @chaosbox) |
75 | 78 |
|
76 | 79 | # [2.1.7] - 2021-09-23 |
77 | 80 |
|
78 | | -* Set the valid version during the build process. |
| 81 | +- Set the valid version during the build process. |
79 | 82 | Verify the correct verion of the built binaries with `make release-dry` (#328, @miry) |
80 | 83 |
|
81 | 84 | # [2.1.6] - 2021-09-23 |
82 | 85 |
|
83 | | -* Use CHANGELOG.md for release description (#306, @miry) |
84 | | -* Dependency updates in #294 introduced a breaking change in CLI argument parsing. |
| 86 | +- Use CHANGELOG.md for release description (#306, @miry) |
| 87 | +- Dependency updates in #294 introduced a breaking change in CLI argument parsing. |
85 | 88 | Now [flags must be specified before arguments](https://github.com/urfave/cli/blob/master/docs/migrate-v1-to-v2.md#flags-before-args). |
86 | 89 | Previously, arguments could be specified prior to flags. |
87 | 90 | Update usage help text and documentation. (#308, @miry) |
88 | | -* Run e2e tests to validate the command line and basic features of server, |
| 91 | +- Run e2e tests to validate the command line and basic features of server, |
89 | 92 | client and application (#309, @miry) |
90 | | -* Add /v2 suffix to module import path (#311, @dnwe) |
91 | | -* Setup automated checking source code for security vulnerabilities (#312, @miry) |
92 | | -* Setup code linter (#314, @miry) |
93 | | - * Max line length is 100 characters (#316, @miry) |
94 | | - * Linter to check whether HTTP response body is closed successfully (#317, @miry) |
95 | | - * Make sure the function are not big (#318, @miry) |
96 | | - * Extract client flags specs to seprate methods. |
| 93 | +- Add /v2 suffix to module import path (#311, @dnwe) |
| 94 | +- Setup automated checking source code for security vulnerabilities (#312, @miry) |
| 95 | +- Setup code linter (#314, @miry) |
| 96 | + - Max line length is 100 characters (#316, @miry) |
| 97 | + - Linter to check whether HTTP response body is closed successfully (#317, @miry) |
| 98 | + - Make sure the function are not big (#318, @miry) |
| 99 | + - Extract client flags specs to seprate methods. |
97 | 100 | Introduce a new way to manage toxics with `ToxicOptions` structure (#321, @miry) |
98 | | - * Split `Proxy.server` to multiple small (#322, @miry) |
99 | | - * Extract initializetion of fake upstream server to test helper (#323, @miry) |
100 | | - * Support a list of well knonwn linters (#326, @miry) |
101 | | -* `--host` flag uses `TOXIPROXY_URL` if it is set (#319, @maaslalani) |
102 | | -* Run benchmarks in CI/CD (#320, @miry) |
103 | | -* Use scratch docker base image instead of alpine (#325, @miry) |
| 101 | + - Split `Proxy.server` to multiple small (#322, @miry) |
| 102 | + - Extract initializetion of fake upstream server to test helper (#323, @miry) |
| 103 | + - Support a list of well knonwn linters (#326, @miry) |
| 104 | +- `--host` flag uses `TOXIPROXY_URL` if it is set (#319, @maaslalani) |
| 105 | +- Run benchmarks in CI/CD (#320, @miry) |
| 106 | +- Use scratch docker base image instead of alpine (#325, @miry) |
104 | 107 |
|
105 | 108 | # [2.1.5] - 2021-09-01 |
106 | 109 |
|
107 | | -* Move to Go Modules from godeps (#253, @epk) |
108 | | -* Update the example in `client/README.md` (#251, @nothinux) |
109 | | -* Update TOC in `README.md` (4ca1eddddfcd0c50c8f6dfb97089bb68e6310fd9, @dwradcliffe) |
110 | | -* Add an example of `config.json` file to `README.md` (#260, @JesseEstum) |
111 | | -* Add Link to Elixir Client (#287, @Jcambass) |
112 | | -* Add Rust client link (#293, @itarato) |
113 | | -* Renovations: formatting code, update dependicies, make govet/staticcheck pass (#294, @dnwe) |
114 | | -* Remove `openssl` from `dev.yml` to use `dev` tool (#298, @pedro-stanaka) |
115 | | -* Update `go` versions in development (#299, @miry) |
116 | | -* Mention `MacPorts` in `README.md` (#290, @amake) |
117 | | -* Fix some typos in `README.md` and `CHANGELOG.md` (#222, @jwilk) |
118 | | -* Replace TravisCI with Github Actions to run tests (#303, @miry) |
119 | | -* Build and release binaries with `goreleaser`. Support `arm64` and BSD oses. (#301, @miry) |
120 | | -* Automate release with Github actions (#304, @miry) |
| 110 | +- Move to Go Modules from godeps (#253, @epk) |
| 111 | +- Update the example in `client/README.md` (#251, @nothinux) |
| 112 | +- Update TOC in `README.md` (4ca1eddddfcd0c50c8f6dfb97089bb68e6310fd9, @dwradcliffe) |
| 113 | +- Add an example of `config.json` file to `README.md` (#260, @JesseEstum) |
| 114 | +- Add Link to Elixir Client (#287, @Jcambass) |
| 115 | +- Add Rust client link (#293, @itarato) |
| 116 | +- Renovations: formatting code, update dependicies, make govet/staticcheck pass (#294, @dnwe) |
| 117 | +- Remove `openssl` from `dev.yml` to use `dev` tool (#298, @pedro-stanaka) |
| 118 | +- Update `go` versions in development (#299, @miry) |
| 119 | +- Mention `MacPorts` in `README.md` (#290, @amake) |
| 120 | +- Fix some typos in `README.md` and `CHANGELOG.md` (#222, @jwilk) |
| 121 | +- Replace TravisCI with Github Actions to run tests (#303, @miry) |
| 122 | +- Build and release binaries with `goreleaser`. Support `arm64` and BSD oses. (#301, @miry) |
| 123 | +- Automate release with Github actions (#304, @miry) |
121 | 124 |
|
122 | 125 | # [2.1.4] - 2019-01-11 |
123 | 126 |
|
124 | | -* Bug fix: Fix OOM in toxic. #232 |
125 | | -* Documentation updates. |
126 | | -* CI and test updates. |
| 127 | +- Bug fix: Fix OOM in toxic. #232 |
| 128 | +- Documentation updates. |
| 129 | +- CI and test updates. |
127 | 130 |
|
128 | 131 | # [2.1.3] - 2018-03-05 |
129 | 132 |
|
130 | | -* Update `/version` endpoint to also return a charset of utf-8. #204 |
131 | | -* Bug fix: Double http concatenation. #191 |
132 | | -* Update cli examples to be more accurate. #187 |
| 133 | +- Update `/version` endpoint to also return a charset of utf-8. #204 |
| 134 | +- Bug fix: Double http concatenation. #191 |
| 135 | +- Update cli examples to be more accurate. #187 |
133 | 136 |
|
134 | 137 | # [2.1.2] - 2017-07-10 |
135 | 138 |
|
136 | | -* go 1.8, make Sirupsen lower case, update godeps (issue #179) |
137 | | -* Handle SIGTERM to exit cleanly (issue #180) |
138 | | -* Address security issue by disallowing browsers from accessing API |
| 139 | +- go 1.8, make Sirupsen lower case, update godeps (issue #179) |
| 140 | +- Handle SIGTERM to exit cleanly (issue #180) |
| 141 | +- Address security issue by disallowing browsers from accessing API |
139 | 142 |
|
140 | 143 | # [2.1.1] - 2017-05-16 |
141 | 144 |
|
142 | | -* Fix timeout toxic causing hang (issue #159) |
| 145 | +- Fix timeout toxic causing hang (issue #159) |
143 | 146 |
|
144 | 147 | # [2.1.0] - 2016-12-07 |
145 | 148 |
|
146 | | -* Add -config server option to populate on startup #154 |
147 | | -* Updated CLI for scriptability #133 |
148 | | -* Add `/populate` endpoint to server #111 |
149 | | -* Change error responses from `title` to `error` |
150 | | -* Allow hostname to be specified in CLI #129 |
151 | | -* Add support for stateful toxics #127 |
152 | | -* Add limit_data toxic |
| 149 | +- Add -config server option to populate on startup #154 |
| 150 | +- Updated CLI for scriptability #133 |
| 151 | +- Add `/populate` endpoint to server #111 |
| 152 | +- Change error responses from `title` to `error` |
| 153 | +- Allow hostname to be specified in CLI #129 |
| 154 | +- Add support for stateful toxics #127 |
| 155 | +- Add limit_data toxic |
153 | 156 |
|
154 | 157 | # [2.0.0] - 2016-04-25 |
155 | 158 |
|
156 | | -* Add CLI (`toxiproxy-cli`) and rename server binary to `toxiproxy-server` #93 |
157 | | -* Fix removing a timeout toxic causing API to hang #89 |
158 | | -* API and client return toxics as array rather than a map of name to toxic #92 |
159 | | -* Fix multiple latency toxics not accumulating #94 |
160 | | -* Change default toxic name to `<type>_<stream>` #96 |
161 | | -* Nest toxic attributes rather than having a flat structure #98 |
162 | | -* 2.0 RFC: #54 and PR #62 |
163 | | - * Change toxic API endpoints to an Add/Update/Remove structure |
164 | | - * Remove `enabled` field, and add `name` and `type` fields to toxics |
165 | | - * Add global toxic fields to a wrapper struct |
166 | | - * Chain toxics together dynamically instead of in a fixed length chain |
167 | | - * Register toxics in `init()` functions instead of a hard-coded list |
168 | | - * Clean up API error codes to make them more consistent |
169 | | - * Move toxics to their own package to allow 3rd party toxics |
170 | | -* Remove stream direction from API urls #73 |
171 | | -* Add `toxicity` field for toxics #75 |
172 | | -* Refactor Go client to make usage easier with 2.0 #76 |
173 | | -* Make `ChanReader` in the `stream` package interruptible #77 |
174 | | -* Define proxy buffer sizes per-toxic (Fixes #72) |
175 | | -* Fix slicer toxic testing race condition #71 |
| 159 | +- Add CLI (`toxiproxy-cli`) and rename server binary to `toxiproxy-server` #93 |
| 160 | +- Fix removing a timeout toxic causing API to hang #89 |
| 161 | +- API and client return toxics as array rather than a map of name to toxic #92 |
| 162 | +- Fix multiple latency toxics not accumulating #94 |
| 163 | +- Change default toxic name to `<type>_<stream>` #96 |
| 164 | +- Nest toxic attributes rather than having a flat structure #98 |
| 165 | +- 2.0 RFC: #54 and PR #62 |
| 166 | + - Change toxic API endpoints to an Add/Update/Remove structure |
| 167 | + - Remove `enabled` field, and add `name` and `type` fields to toxics |
| 168 | + - Add global toxic fields to a wrapper struct |
| 169 | + - Chain toxics together dynamically instead of in a fixed length chain |
| 170 | + - Register toxics in `init()` functions instead of a hard-coded list |
| 171 | + - Clean up API error codes to make them more consistent |
| 172 | + - Move toxics to their own package to allow 3rd party toxics |
| 173 | +- Remove stream direction from API urls #73 |
| 174 | +- Add `toxicity` field for toxics #75 |
| 175 | +- Refactor Go client to make usage easier with 2.0 #76 |
| 176 | +- Make `ChanReader` in the `stream` package interruptible #77 |
| 177 | +- Define proxy buffer sizes per-toxic (Fixes #72) |
| 178 | +- Fix slicer toxic testing race condition #71 |
176 | 179 |
|
177 | 180 | # [1.2.1] - 2015-07-24 |
178 | 181 |
|
179 | | -* Fix proxy name conflicts leaking an open port #69 |
| 182 | +- Fix proxy name conflicts leaking an open port #69 |
180 | 183 |
|
181 | 184 | # [1.2.0] - 2015-07-23 |
182 | 185 |
|
183 | | -* Add a Toxic and Toxics type for the Go client |
184 | | -* Add `Dockerfile` |
185 | | -* Fix latency toxic limiting bandwidth #67 |
186 | | -* Add Slicer toxic |
| 186 | +- Add a Toxic and Toxics type for the Go client |
| 187 | +- Add `Dockerfile` |
| 188 | +- Fix latency toxic limiting bandwidth #67 |
| 189 | +- Add Slicer toxic |
187 | 190 |
|
188 | 191 | # [1.1.0] - 2015-05-05 |
189 | 192 |
|
190 | | -* Remove /toxics endpoint in favour of /proxies |
191 | | -* Add bandwidth toxic |
| 193 | +- Remove /toxics endpoint in favour of /proxies |
| 194 | +- Add bandwidth toxic |
192 | 195 |
|
193 | 196 | # [1.0.3] - 2015-04-29 |
194 | 197 |
|
195 | | -* Rename Go library package to Toxiproxy from Client |
196 | | -* Fix latency toxic send to closed channel panic #46 |
197 | | -* Fix latency toxic accumulating delay #47 |
| 198 | +- Rename Go library package to Toxiproxy from Client |
| 199 | +- Fix latency toxic send to closed channel panic #46 |
| 200 | +- Fix latency toxic accumulating delay #47 |
198 | 201 |
|
199 | 202 | # [1.0.2] - 2015-04-12 |
200 | 203 |
|
201 | | -* Added Toxic support to Go client |
| 204 | +- Added Toxic support to Go client |
202 | 205 |
|
203 | 206 | # [1.0.1] - 2015-03-31 |
204 | 207 |
|
205 | | -* Various improvements to the documentation |
206 | | -* Initial version of Go client |
207 | | -* Fix toxic disabling bug #42 |
| 208 | +- Various improvements to the documentation |
| 209 | +- Initial version of Go client |
| 210 | +- Fix toxic disabling bug #42 |
208 | 211 |
|
209 | 212 | # [1.0.0] - 2015-01-07 |
210 | 213 |
|
|
0 commit comments