github malbeclabs/doublezero client/v0.6.3

one month ago

Changelog

Breaking

Changes

  • Onchain programs
    • Add Validate trait for core types (AccessPass, Contributor, Interface, etc.) and enforce runtime checks before account operations.
    • Expand DoubleZeroError with granular variants (invalid IPs, ASN, MTU, VLAN, etc.) and derive PartialEq for easier testing.
    • Rename Config account type to GlobalConfig for clarity and consistency.
    • Fix bug in user update that caused DZ IP to be 0.0.0.0
    • Add more descriptive error logging
    • Telemetry program: embed serviceability program ID via build feature instead of env variable
  • Activator
    Support for interface IP reclamation
    • Devices are now initialized with max_users = 0 by default.
    • Devices with max_users = 0 cannot accept user connections until updated.
  • Onchain monitor
    • Emit metric for telemetry account not found in device and internet telemetry watchers
    • Emit metric with serviceability program onchain version
    • Delete telemetry counter metrics if circuit was deleted
  • Telemetry
    • Fix dashboard API to handle partitioned query with no samples
    • Add summary view with committed RTT and jitter, compared to measured values
  • Device agents
    • Remove log of keypair path on telemetry agent start up
    • Drop device telemetry samples if submission attempts exhausted and buffer is at capacity
  • Device controller
    • Each environment can now have a different device BGP Autonomous System Number (ASN) per environment. (This is the remote ASN from the client's perspective.)
    • Add flag for enabling pprof for runtime profiling
  • E2E tests
    • Updated unit tests and e2e tests to validate the new initialization and activation flow.
  • Contributor Operations
    • Contributors must explicitly run device update to set a valid max_users and activate a Device.

Don't miss a new doublezero release

NewReleases is sending notifications on new releases.