Releases: cenkalti/rain
Releases · cenkalti/rain
v2.3.1
Changelog
- 0b4abe4 Bump github.com/sirupsen/logrus from 1.8.1 to 1.8.3
- cacbaab Bump golang.org/x/sync from 0.18.0 to 0.19.0 (#223)
- 92cf48b Bump golang.org/x/sync from 0.19.0 to 0.21.0
- 94b3156 Bump golang.org/x/sys from 0.39.0 to 0.46.0
- 220c19d Bump goreleaser/goreleaser-action from 6 to 7
- c9bb2ed Fix lint workflow Go version mismatch
- 2dc8ea7 Potential fix for code scanning alert no. 11: Incorrect conversion between integer types
- 3372984 Potential fix for code scanning alert no. 8: Workflow does not contain permissions
- a7a6a2c accept BEP 47 torrents with duplicate pad file paths
- ba7c725 chore: bump go-prettyjson and boltbrowser to latest
- 1c4b223 ci: avoid duplicate workflow runs on pull requests
- 070946c ci: replace deprecated 'go get -d' with 'go mod download'
- 10137a2 clear snubbed state when info downloader receives data
- 5ecb782 discard webseed piece result for already completed piece
- c6bbff9 docs(rainrpc): document GetTorrentFiles and GetTorrentFileStats
- 17039ac docs(torrent): start AnnounceError.Error doc comment with the method name
- 2216a9d fix HTTP tracker external-IP filter dropping wrong peers
- e3f3555 fix UDP tracker backoff using XOR instead of exponentiation
- a1ee648 fix connectedPeerIPs leak on duplicate peer id
- 58fcb3c fix data race in StartAll/StopAll
- addd69a fix data race on torrentsByInfoHash in removeTorrentFromClient
- 1fca14f fix duplicate piece assignment to peers during webseed download
- 5754603 fix filesection.Write not skipping padding bytes in buffer
- 40df65f fix goroutine and context leak in resolveAndAddPeer
- 8e7be84 fix negative metadata_size bypassing validation (remote DoS)
- 1bbc02e fix per-source peer count on eviction in addrlist
- 97d2b9d fix piece picker leaking choked peers on cancel/disconnect
- 0a9f8cf fix webseed URLs escaping path separators as %2F
- ec49299 fix webseed requesting padding files from server
- d5c4881 fix webseedActiveDownloads counter leak on webseed downloader close
- c1d2fb5 fix(peerprotocol): report correct wire ID for AllowedFastMessage
- e3805ad fix(piececache): stop expiry timers on Close to release cached pieces
- bd71845 fix(torrent): close move-torrent response body on non-200 status
- 65546a1 fix(torrent): close tar-entry file on error paths in readData
- 209358b fix(torrent): don't panic on unknown peer source in ListPeers handler
- 9f71b77 fix(torrent): log instead of Fatal when RPC server stops serving
- ff78e0f fix(torrent): wrap errors with %w in stop() so Stats.Error is inspectable
- 6a5fb5e fix: correct version ldflag path for /v2 module
- 38dad5b harden piece request bounds check against uint32 overflow
- a298ef8 increase drain time in HTTP tracker test teardown to fix flaky race
- adc677b refactor(bitfield): use NumBytes in NewBytes instead of recomputing the ceil
- c8f1d47 refactor(console): use strconv.Itoa for ints; drop no-op errstr var
- 838629e refactor(handshaker): share handshake error logging via btconn.LogHandshakeError
- 6163f3f refactor(sliceset): use slices.Index in Remove
- 7066534 refactor(torrent): decode DHT compact peers via tracker.CompactPeer
- 6fe0060 refactor(torrent): move raw-HTTP move-torrent handler to its own file
- 1b24e47 refactor(torrent): rename newTorrent2 to newTorrent; DTO converter to torrentToRPC
- b8cde1c refactor(webseedsource): remove write-only DisabledAt field
- e335ed9 refactor: migrate to math/rand/v2
- f227280 refactor: modernize sorting with slices.SortFunc and builtin min
- 979053c refactor: move printJSON helper to helpers.go and reuse in torrent show
- 089dc02 refactor: split CLI into internal/command package, one file per command
- 9e73fcb refactor: use atomic.Int32 for atomic counters
- 0809892 reject oversized peer messages before allocating
- edf37ac reject tar entries that escape destination dir in move-torrent
- 008dfde reset webseedActiveDownloads when tearing down webseed downloads
- 9b0d485 snapshot torrents before Start/Stop to avoid holding lock on blocking calls
- 9d07450 update changelog
- d18403f use canonical prefix guard for tar-slip check so CodeQL recognizes it
v2.3.0
v2.2.3
Changelog
- b15b14a Bump actions/checkout from 5 to 6 (#220)
- 64a6b64 Bump golang.org/x/crypto from 0.35.0 to 0.45.0 (#219)
- 5259c49 Bump golang.org/x/sys from 0.36.0 to 0.38.0 (#217)
- cfe701e Bump golangci/golangci-lint-action from 8 to 9 (#218)
- dc4984a enable modernize linter
- e8254b5 fix flaky test
- aa71952 fix race in tests
- da9906d fix resource cleanup in torrent test
- 3590a73 switch to original boltbrowser pkg
- da02a56 update docs link
- 66fb8ce update home path expansion
- 4885419 update linter version
- 836f6ed update sync pkg
- a8dba43 use stdlib semaphore
v2.2.2
Changelog
- 7e6c428 Bump actions/checkout from 4 to 5 (#206)
- 7ab5558 Bump actions/setup-go from 5 to 6 (#214)
- 7933cef Bump actions/stale from 9 to 10 (#213)
- 6883715 Bump github.com/cenkalti/backoff/v5 from 5.0.2 to 5.0.3 (#204)
- 849fa95 Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#211)
- 7a07d6d Bump github.com/urfave/cli from 1.22.16 to 1.22.17 (#200)
- b598036 Bump go.etcd.io/bbolt from 1.4.0 to 1.4.2 (#202)
- 1a6e377 Bump go.etcd.io/bbolt from 1.4.2 to 1.4.3 (#209)
- 0e6dd9c Bump golang.org/x/crypto from 0.31.0 to 0.35.0 (#215)
- 18b879f Bump golang.org/x/sys from 0.30.0 to 0.36.0 (#212)
- a0be191 Bump golangci/golangci-lint-action from 7 to 8 (#197)
- 9e58392 add screenshot to the repo
- 81dc11f build with go 1.24
- 9bf3dad fix import path
- 47d51b5 fix: put.io link (#210)
- 48575cf update golangci-lint version
- 5d3e5f4 update links
- 8437a72 update readme
v2.2.1
Changelog
- 2c0f43c Bump github.com/cenkalti/backoff/v5 from 5.0.1 to 5.0.2 (#189)
- e55bd4f Bump golang.org/x/sys from 0.29.0 to 0.30.0 (#187)
- 6709020 fix goroutine leak in test
- 45a2f4e fix linter warnings
- 861b04e fix seed flag in download cmd
- ead293e update golangci-lint to v2
- 0969642 update imports to v2 #194
- 745f5dd upgrade bbolt
v2.2.0
Changelog
- ac60f37 Bump github.com/cenkalti/backoff/v5 from 5.0.0 to 5.0.1 (#186)
- 5474e37 Bump github.com/otiai10/copy from 1.14.0 to 1.14.1 (#185)
- 940267a Bump golang.org/x/sys from 0.28.0 to 0.29.0 (#184)
- 267743b log handler has no marshaler
- 8bcf2d6 override storage provider in config
- f14dfc0 update changelog
v2.1.0
v2.0.0
Changelog
- 5cfe897 Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#179)
- 1919776 Bump github.com/urfave/cli from 1.22.15 to 1.22.16 (#170)
- 4d340c0 Bump golang.org/x/crypto from 0.17.0 to 0.31.0 (#181)
- 3f11ea7 Bump golang.org/x/sys from 0.25.0 to 0.26.0 (#169)
- e6739c1 Bump golang.org/x/sys from 0.26.0 to 0.28.0 (#180)
- d9eed00 add changelog
- 1c02de5 remove unnecessary comment
- 631b6f5 set explicit yaml tags for config fields
- e6dd187 upgrade backoff library
v1.13.0
Changelog
- 2939e73 Bump github.com/google/btree from 1.1.2 to 1.1.3 (#161)
- b90daa6 Bump golang.org/x/sys from 0.20.0 to 0.25.0 (#164)
- 8319afa Bump golangci/golangci-lint-action from 5 to 6 (#163)
- 3d1964c Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 (#159)
- 3e4e11b Bump goreleaser/goreleaser-action from 5 to 6 (#152)
- 36c229a add star history
- f29b285 add version field to goreleaser config
- 77f2e4f change files/file-stats api; expose via rpc
- 71ed1f3 fix goreleaser depreciation warning
- d8e5fde remove usage of exp package
- 76968c9 rename RootDirectory to Dir
- 01a63fd update go version to 1.22 (#167)
- fcc9113 update golangci-lint version (#166)
- 5744dd8 update tests for new files/fileStats api
- 08f1d72 upgrade bbolt
- 22bbeee upgrade goreleaser config