Skip to content

Commit

Permalink
Merge branch 'release/0.10.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Aug 9, 2021
2 parents e61cab2 + 92cc59f commit d8cd6dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)

## [Unreleased]

## [0.10.1] - 2021-08-09
### Fixed
* Fix progress bar not to cause "index out of range" when time.Since() returns 0

## [0.10.0] - 2021-08-09
### Added
* Add OpenSSL-compatible AES-CTR encryption
Expand Down Expand Up @@ -97,7 +101,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
### Added
* Initial release

[Unreleased]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.10.0...HEAD
[Unreleased]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.10.1...HEAD
[0.10.1]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.10.0...v0.10.1
[0.10.0]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.9.0...v0.10.0
[0.9.0]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.7.0...v0.8.0
Expand Down
3 changes: 3 additions & 0 deletions util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ func CreateDialContext(dnsServer string) func(ctx context.Context, network, addr

// (base: https://github.com/schollz/progressbar/blob/9c6973820b2153b15d2e6a08d8705ec981fda59f/progressbar.go#L784-L799)
func HumanizeBytes(s float64) string {
if math.IsNaN(s) {
return "NaN"
}
sizes := []string{" B", " kB", " MB", " GB", " TB", " PB", " EB"}
base := 1024.0
if s < 10 {
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package version

const Version = "0.10.0"
const Version = "0.10.1"

0 comments on commit d8cd6dc

Please sign in to comment.