Skip to content

Releases: pouriyajamshidi/tcping

v2.7.1

26 Jan 10:43
3e0401e
Compare
Choose a tag to compare

v2.7.1 - 2025-01-26

  • release: add tcping to WinGet #113
  • bug: fix name resolution in static builds with -4 flag causing name resolution failures due to IPv4-mapped IPv6 addresses
  • CI: apply Revive suggestions
  • CI: add Revive to CI
  • CI: add Revive config
  • documents: revamp and simplify the README file
  • documents: update the Chinese translation thanks to @edwinjhlee

SHA256Sums

tcping-linux-amd64-static.tar.gz: f160bc52c05460544334b70f56bb983e7800f18563bcc2dfaaad67c11506719e
tcping-linux-amd64-dynamic.tar.gz: ae740a2a616a1c5393d492d0484e068ca7d105627ca7ec0423370e159edac034
tcping-linux-arm64-static.tar.gz: a8a61af38a7ba9d0f361fc5cce496c37cdb70e92805d7a7f1ca9ff16b2c35450
tcping-linux-arm64-dynamic.tar.gz: ed2352904239bf35fe5e47ee189a7e0bc3ec5615cd91ec7ac57bab6a948e8407

tcping-freebsd-amd64-static.tar.gz: 3803047992d766646998d61ae6dfa38a31119e0e2eb0584669af2ac575277f28
tcping-freebsd-amd64-dynamic.tar.: 452e6e86d3d45bab739437f63b1d6de9e8cad05892c6f8e4a5b7ac81c0ca133c
tcping-freebsd-arm64-static.tar.gz: 5eb79f03d94e9adbed5143c8ba96af16c23d72116e56cf22786739de88826ada
tcping-freebsd-arm64-dynamic.tar.: 435e0717378712603f27fcfda16b6c6c9566828a249f99e0568059d0b805b569

tcping-darwin-amd64-static.tar.gz: 308ebe9b888b014bae486e82dbe63ad638baee3cc90db5a74767ba6a7cd9d54e
tcping-darwin-amd64-dynamic.tar.gz: 2a82e3189e10fa95ffd9bddd39dd2b5c234a273e486fb860307c1a8c5a6bb0eb
tcping-darwin-arm64-static.tar.gz: a99438cf274e4afcef98808821fadc6f24aea3dfbacc69beb4c0a195e210d327
tcping-darwin-arm64-dynamic.tar.gz: 7548bf8faee1e76aa0a56d75b9adcb9b8b021214b2c1a3a357e9838d553e794a

tcping-windows-amd64-static.zip: caebf72d529253f2b9c015836dfcaa0aaec145f37543aba1b15b10bc82d31675
tcping-windows-amd64-dynamic.zip: a49d485ba9a29e8890923cb26a64c9f0c9578ef447b3da2a185d01f9f0fdcd18
tcping-windows-arm64-static.zip: 70833fcf5d3d4fe5f247e907ef8241f8e268619226fb1aa08f7135c32db5d85c
tcping-windows-arm64-dynamic.zip: 1bcc3b18bace2078acd14728d5df8b789c534cea6ff3764bcadd25880fe289be

v2.7.0

18 Jan 11:23
Compare
Choose a tag to compare

v2.7.0 - 2025-01-18

  • new feature: implement csv output through --csv <filename> flag #254 thanks to @Ilhan-Personal
  • new feature: implement plain (color-less) output through --no-color flag #253
  • new feature: implement display of source IP address and port used to create TCP connections through --show-source-address flag #249
  • refactor: rename planePrinter to colorPrinter to match the actual functionality of the function
  • refactor: rename localAddr to sourceAddr throughout the code-base for better clarity
  • refactor: complete rewrite of the Makefile thanks to @cyqsimon
  • refactor: add containerization section in the Makefile thanks to @cyqsimon
  • fix: crash on database writes when hostname includes a hyphen thanks to @pro0o
  • documents: add Chinese translation thanks to @edwinjhlee
  • documents: add link to X CMD thanks to @edwinjhlee
  • tests: add new tests for printProbeSuccess and printProbeFail thanks to @basil-gray
  • tests: add tests for show-local-address flag
  • dependencies:
    • crypto v0.28.0 => v0.32.0
    • exp v0.0.0-20241004190924-225e2abe05e6 => v0.0.0-20250106191152-7588d65b2ba8
    • sys v0.26.0 => v0.29.0
    • modernc.org/libc v1.61.6 => v1.61.8
    • modernc.org/memory v1.8.0 => v1.8.2
    • modernc.org/sqlite v1.34.4 => v1.34.5

New Contributors

Full Changelog: v2.6.0...v2.7.0


SHA256 SUMs

tcping-freebsd-amd64-static.tar.gz: 542f96b5a90a6f9517be34bc5372993f66a76744c9d6e069d554a4184adc2982
tcping-freebsd-amd64-dynamic.tar.gz: b6cf8dcc576bea8dd6750bbf0908978cd58af22b9f0aa2f583fb16396966f4df
tcping-freebsd-arm64-static.tar.gz: 54202ee196edf72c75108d9b53a23e916dc423666eb32bc8c7c828e415eeaa5d
tcping-freebsd-arm64-dynamic.tar.gz: 834478873c174639367044812bbebeb8777970296fe313c2bc6bc03eedbfa26d

tcping-linux-amd64-static.tar.gz: d5677c55039fb9f42ce54d00ed9bc8c6a682577f4cb51c6434782ec1b420c93a
tcping-linux-amd64-dynamic.tar.gz: 99d1b1434f41dfca9fe522e334ffdd1ba817498aec1eb03aaf65dc1ed2269e15
tcping-linux-arm64-static.tar.gz: 6128242275b99fe5311828b7e3b18aec5c188119fdbf952b491e900717bc36ba
tcping-linux-arm64-dynamic.tar.gz: 0438f5c9ab42b526722831dcd656f82831027df3bbd3246b489e29fbe4e90873

tcping-darwin-amd64-static.tar.gz: d95d45dca7875a5c5f6a2ec8f78019693c5d3dd419a20e386c147a27b671e5af
tcping-darwin-amd64-dynamic.tar.gz: 6e7209d5e6be01e9ea33401e3d93d8ad1e5d2c030b3f56124755b3390711a0d9
tcping-darwin-arm64-static.tar.gz: 4d7e93a222b24cc4309cccb5dacbcfa96217e457ec3b13f73bc414948a17acdd
tcping-darwin-arm64-dynamic.tar.gz: 3ea730500361f14017e69687d949f62207f5e0ca5611c408c2a645a1bff05e38

tcping-windows-amd64-static.zip: da666038166bd48a32a02789f34b4ebc68ccc67856a624a847e1414e874644cf
tcping-windows-amd64-dynamic.zip: d7e9b2276e240aece0a8bfd02bcbb92a38d6f6335153e2866a5250f88f51cf11
tcping-windows-arm64-static.zip: 7930333f5a27b76d35cebfcb73a92deaa1a7a047366c643bc34a7d38a466e108
tcping-windows-arm64-dynamic.zip: 2b5998285e3245d627000bccf5c27cb1a4a123cdd2124666dda9c58665d5df55

v2.6.0

05 Oct 14:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0 - 13-January-2024

13 Jan 17:21
e0bfb2b
Compare
Choose a tag to compare

v2.5.0 - 2024-01-13

  • new feature: add -show-failures-only flag to omit printing successful probes
  • new feature: re-add static Linux binary. Thanks to @daniql
  • new feature: add support for Linux arm64 in Makefile. Thanks to @ChrisClarke246
  • fix: extra precision for seconds calculation when the value is under a second. Thanks to @daniql
  • refactor: migrate to a pure-Go sqlite package. Thanks to @wizsk
  • refactor: user flag handlers
  • cleanup: user input functions. Thanks to @friday963
  • chore: fix typos
  • build: Go 1.21.4

v2.4.0 - 10-September-2023

10 Sep 15:08
Compare
Choose a tag to compare

Summary

This release has also received a lot of love and support from the community. More importantly from new contributors.

  • new feature: add -i to specify the interval between sending probes. Thanks to @luca-patrignani
  • new feature: add -I to specify the source interface to use for sending probes. Thanks to @wizsk
  • new feature: add -t to specify a custom timeout for probes. Thanks to @luca-patrignani
  • new feature: add --db to specify the path and file name to store tcping output to sqlite database. e.g. --db /tmp/tcping.db. Thanks to @wizsk
  • fix: add rtt to JSON output
  • fix: CI warning thanks to @wizsk
  • refactor: remove unnecessary custom types
  • refactor: memory align structs
  • refactor: Debian packaging instructions

v2.0.0 - 05-August-2023

05 Aug 14:18
Compare
Choose a tag to compare

Summary

  • new feature: add -c or count flag to exit TCPING after a certain amount of probes specified by user thanks to @ravsii
  • new feature: add BSD support
  • new feature: add Debian package to make TCPING apt installable
  • fix: packet loss NaN when program terminated too quickly thanks to @ravsii
  • fix: random IP address selector index out of range bug
  • fix: display format of IPv4 embedded in IPv6 addresses
  • fix: time report bug. Everything is now accurate
  • fix: Enter key detection for Windows machines
  • refactor: complete overhaul of time calculation. TCPING now is hack-free when it comes to time handling thanks to @ravsii
  • refactor: memory align structs
  • refactor: improve code readability
  • refactor: refactor stats struct and extract user input to a separate struct
  • refactor: Enter key detection logic
  • refactor: name resolution handling. The maximum allowed time to wait for DNS response is now 2 seconds
  • refactor: unify exit points thanks to @ravsii
  • tests: more tests are added special thanks to @ravsii
  • enhancement: add dependabot
  • docs: improve documentation

1.22.1 - 14-May-2023

14 May 18:13
e3fd75c
Compare
Choose a tag to compare

Summary

  • new feature: implement JSON output thanks to @ravsii
  • new feature: implement JSON output prettifier thanks to @ravsii
  • fix IP version selection bug when -4 or -6 flags are passed

1.21.2 - 8-May-2023

08 May 18:24
Compare
Choose a tag to compare

Summary

  • make stats struct fields' names uniform
  • add | separator to summary report for better visibility
  • fix retry resolve logic

1.21.0 - 7-May-2023

07 May 18:27
Compare
Choose a tag to compare

Summary

  • add option to enforce the use of IPv4 -4 or IPv6 -6 addresses only
  • instead of always picking the first, randomly pick an address from the list of resolved IP addresses

1.20.0 - 22-04-2023

22 Apr 15:07
Compare
Choose a tag to compare

Summary

add hostname, IP and port number to summary output