Skip to content

Releases: cenkalti/rain

v2.3.1

11 Jun 09:09
adc677b

Choose a tag to compare

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

07 Feb 20:51
3bce37f

Choose a tag to compare

Changelog

v2.2.3

15 Dec 15:18
3590a73

Choose a tag to compare

Changelog

v2.2.2

13 Sep 17:09
8437a72

Choose a tag to compare

Changelog

v2.2.1

03 Apr 03:37
0969642

Choose a tag to compare

Changelog

v2.2.0

02 Feb 14:58
f14dfc0

Choose a tag to compare

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

02 Jan 07:01
fa1cac4

Choose a tag to compare

Changelog

  • 0d49787 add contributing section
  • 5b627c9 add import to readme
  • de854b2 add paragraph into missing features section
  • fa1cac4 added keep-data option to RemoveTorrent command
  • e8a4831 refactor storage constructor
  • c1fdcc0 update readme

v2.0.0

20 Dec 04:37
d9eed00

Choose a tag to compare

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

18 Sep 18:57
22bbeee

Choose a tag to compare

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

v1.12.19

21 Aug 20:50
2043210

Choose a tag to compare

Changelog