Releases: Shopify/toxiproxy
Releases · Shopify/toxiproxy
v2.9.0
- Updated go version to 1.22.1 to fix 3 CVEs (#559, @dianadevasia)
- Updated the version of golangci to 1.56.2 and disabled depguard rule in golangci (#559, @dianadevasia)
v2.8.0
- toxiproxy-cli - sortedAttributes sort by attribute.key instead attribute.value (#543, @jesseward)
v2.7.0
- Fix invalid JSON in /version endpoint response (#538, @whatyouhide)
- Update minimum supported Go version 1.19. (@abecevello)
v2.6.0
- Gracefull shutdown of HTTP server. (#439, @miry)
- Support PATCH HTTP method for Proxy update(
PATCH /proxies/{proxy}
) and
Toxic update(PATCH /proxies/{proxy}/toxics/{toxic}
) endpoints.
Deprecat POST HTTP method for those endpoints. (@miry) - Client does not parse response body in case of errors for Populate.
Requires to get current proxies with new command. (#441, @miry) - Client specifies
User-Agent
HTTP header for all requests as
"toxiproxy-cli/ /".
Specifies client request content type asapplication/json
. (#441, @miry) - Replace Api.Listen parameters
host
andport
with singleaddr
. (#445, @miry)
v2.5.0
Changes
- 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 acceptsname
,listen addr
andupstream 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 unique request id in API HTTP response. (#425, @miry)
- Add method to parse
stream.Direction
from a string.
Allow convertingstream.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)
New Contributors
- @waseem made their first contribution in #402
- @cursedcoder made their first contribution in #405
Full Changelog: v2.4.0...v2.5.0
Docker images
docker pull ghcr.io/shopify/toxiproxy:2.5.0
Homebrew
brew install shopify/shopify/toxiproxy
v2.4.0
- Verify git tag on release (#347, @miry)
- Fix MacOS 12 tests for go17 with -race flag (#351, @Strech)
- Rename
testing/
andbin/
folders (#354, @Strech) - Added verbose error on proxy upstream dialing (#355, @f-dg)
- Improve server startup message (#358, @areveny)
- Introduce yaml linter. (#362, @miry)
- Handle slicer toxic with zero
SizeVariation
and fix slicing randomization (#359, @areveny) - Added /metrics endpoint for exposing Prometheus-compatible internal metrics (#366, @neufeldtech)
Docker images
docker pull ghcr.io/shopify/toxiproxy:2.4.0
v2.3.0
- Store all the executable
main
packages incmd
folder. (#335, @miry) - Extract common test helpers to own files. (#336, @miry)
- Client: Allow HTTPS endpoints. (#338, @chen-anders)
- client.Populate assign client to proxy. (#291, @hellodudu)
- fix: The release-test task is always success.
add: Allow to run release-test on arm machines. (#340, @miry) - Upgrade
goreleaser
. Supportarmv7
andarmv6
oses. (#339, @mitchellrj) - Allow to change log level for server. (#346, @miry)
Docker images
docker pull ghcr.io/shopify/toxiproxy:2.3.0
v2.2.0
- Update linux packages to use
/usr/bin
folder as binary destination and change the executable names to
exclude ARCH and OS names. New pathes:(#331, @miry)/usr/bin/toxiproxy-cli /usr/bin/toxiproxy-server
- A new toxic to simulate TCP RESET (Connection reset by peer) on the connections by closing
the stub Input immediately or after a timeout. (#247 and #333, @chaosbox)
Docker images
docker pull ghcr.io/shopify/toxiproxy:2.2.0
v2.1.7
v2.1.6
- Use CHANGELOG.md for release description (#306, @miry)
- Dependency updates in #294 introduced a breaking change in CLI argument parsing.
Now flags must be specified before arguments.
Previously, arguments could be specified prior to flags.
Update usage help text and documentation. (#308, @miry) - Run e2e tests to validate the command line and basic features of server,
client and application (#309, @miry) - Add /v2 suffix to module import path (#311, @dnwe)
- Setup automated checking source code for security vulnerabilities (#312, @miry)
- Setup code linter (#314, @miry)
- Max line length is 100 characters (#316, @miry)
- Linter to check whether HTTP response body is closed successfully (#317, @miry)
- Make sure the function are not big (#318, @miry)
- Extract client flags specs to seprate methods.
Introduce a new way to manage toxics withToxicOptions
sturcture (#321, @miry) - Split
Proxy.server
to multiple small (#322, @miry) - Extract initializetion of fake upstream server to test helper (#323, @miry)
- Support a list of well knonwn linters (#326, @miry)
- Extract client flags specs to seprate methods.
--host
flag usesTOXIPROXY_URL
if it is set (#319, @maaslalani)- Run benchmarks in CI/CD (#320, @miry)
- Use scratch docker base image instead of alpine (#325, @miry)
Docker images
docker pull ghcr.io/shopify/toxiproxy:2.1.6