github dragonflyoss/dragonfly v2.5.1

2 hours ago

Changelog

Features

  • 530a1d2 feat(scheduler): handle HitLocalCache in peer register & upgrade v2.2.32 (#4881)
  • 57f363d feat(scheduler): use sharded keymutex in peer manager
  • 398618f feat(stats): add Capacity field and IsFull method to Snapshot
  • 2c2a616 feat(stats): add RollingWindow and use it for peer piece cost tracking

Bug Fixes

  • aa319dd fix(database): reset scheduler_cluster postgres sequence after seeding default cluster (#4857)
  • a9e6e06 fix(manager): format RBAC subject from integer user id (#4877)
  • c003aed fix(manager): make redis proxy Stop idempotent to prevent double-close panic (#4866)
  • 3d5c223 fix(net): guard HeaderToMap against header keys with empty value slices (#4855)
  • 1e2b8ca fix(scheduler): fix DeletePeerOutEdges using wrong peer var for metrics
  • fe42b24 fix(scheduling): use addedParents instead of candidateParents in responses
  • 6bbe82d fix(stats): fix variable shadowing in rolling window test
  • 6d5a332 refactor(dag): replace sync.Map with RWMutex map, add Range method

Dependency updates

  • 99555f0 chore(deps): bump actions/setup-go from 6.4.0 to 6.5.0 (#4844)
  • e5e2263 chore(deps): bump actions/setup-go from 6.5.0 to 7.0.0 (#4887)
  • 68d8be7 chore(deps): bump actions/stale from 10.3.0 to 10.4.0 (#4868)
  • 15e3b03 chore(deps): bump azure/setup-helm from 5.0.0 to 5.0.1 (#4847)
  • 5018cbf chore(deps): bump docker/build-push-action from 7.2.0 to 7.3.0 (#4873)
  • 2ac9f41 chore(deps): bump docker/setup-buildx-action from 4.1.0 to 4.2.0 (#4858)
  • 2a60c52 chore(deps): bump docker/setup-qemu-action from 4.1.0 to 4.2.0 (#4871)
  • acac3f9 chore(deps): bump github.com/bits-and-blooms/bitset from 1.24.5 to 1.24.6 (#4888)
  • fd5eb77 chore(deps): bump github.com/containerd/containerd from 1.7.33 to 1.7.34 (#4874)
  • cba0bbb chore(deps): bump github.com/montanaflynn/stats from 0.9.0 to 0.10.0 (#4876)
  • 06a3aac chore(deps): bump github.com/onsi/ginkgo/v2 from 2.28.2 to 2.32.0 (#4850)
  • 7aaad68 chore(deps): bump github.com/prometheus/client_golang from 1.23.2 to 1.24.0 (#4889)
  • 2a6231c chore(deps): bump github/codeql-action/upload-sarif from 4.36.2 to 4.36.3 (#4863)
  • b03009c chore(deps): bump github/codeql-action/upload-sarif from 4.36.3 to 4.37.1 (#4884)
  • c19717f chore(deps): bump golang.org/x/crypto from 0.53.0 to 0.54.0 (#4883)
  • 1edef28 chore(deps): bump golang.org/x/sync from 0.21.0 to 0.22.0 (#4869)
  • d208b8b chore(deps): bump golang.org/x/sys from 0.46.0 to 0.47.0 (#4875)
  • 91a9482 chore(deps): bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 (#4849)
  • 064c72a chore(deps): bump google.golang.org/api from 0.279.0 to 0.288.0 (#4872)
  • e522950 chore(deps): bump google.golang.org/grpc from 1.81.1 to 1.82.0 (#4864)
  • 3582b90 chore(deps): bump kentaro-m/auto-assign-action from 2fdd10134f759704abd4f54e8e9bf19d10b52d01 to e4bac10e264c621dbfddcba9b25d1f9d79c3117a (#4860)
  • bdf7a02 chore(deps): bump mheap/github-action-required-labels from 5.5.1 to 5.6.0 (#4882)
  • 798c489 chore(deps): upgrade go-github to v89 and update client initialization (#4878)

Chores

  • 5523218 Decoupling Scheduler from Manager (#4895)
  • bf921a9 chore(client): update client submodule to v1.4.1 (#4892)
  • 0947474 chore(client): update client submodule to v1.4.2 (#4894)
  • e965855 chore: add Scarf analytics pixel to README (#4840)
  • 1a0f5ce clamp preheat percentage to available peers in selectPeers (#4856)
  • 3b64447 docs(dag): update Range method comment to remove outdated lock warning
  • a7b3aaf perf(dag): add batch AddEdges/CanAddEdges to amortize cycle detection
  • 5b723a4 perf(evaluator): avoid duplicate score evaluation when sorting parents
  • 0286304 reject non-hex encoded value in digest.Parse (#4837)
  • c05ff6e style(stats): prefix unused parameter with underscore in test
  • cfe2490 style: simplify multi-line comments to single lines

Contributors

Thanks to all the contributors! ❤️

Don't miss a new dragonfly release

NewReleases is sending notifications on new releases.