Skip to content

Latest commit

 

History

History
105 lines (56 loc) · 2.48 KB

CHANGELOG.md

File metadata and controls

105 lines (56 loc) · 2.48 KB

[1.2.0] - 2024-07-24

[1.1.0] - 2023-03-03

  • Allow override of public ip, open for someone else by passing :open_for_ip to Sparoid.auth(..., open_for_ip:) (#11)

[1.0.22] - 2023-02-01

  • Fix Addrinfo SocketError should raise Sparoid::ResolvError (#10)

[1.0.21] - 2022-10-12

  • Fix where Sparoid::Instance returned nil for public_ip

[1.0.20] - 2022-10-11

  • Ignore EISCONN errors (already connected) error as BSD raises on second connect_nonblock
  • Don't read from public ip disk cache in Sparoid::Instance

[1.0.19] - 2022-10-11

  • Fix nil error on timeout

[1.0.18] - 2022-10-10

  • Only resolv the IP(s) once
  • TCP connect to IPs in parallel
  • Fix bug where 3 UDP packets was sent to each IP

[1.0.17] - 2021-11-15

  • Raise more specific error when failing to resolv hostname

[1.0.16] - 2021-08-23

  • Resolv host IPs before generating message (in case resolving takes a lot of time)

[1.0.15] - 2021-08-11

  • Raise an exception, don't abort, when resolving hostname fails

[1.0.14] - 2021-07-26

  • Send UDP packets to all resolved IPs for a hostname

[1.0.13] - 2021-06-30

  • Do not warn on empty public ip cache file
  • The public ip cache file path can be controlled using the SPAROID_CACHE_PATH environment variable

[1.0.12] - 2021-06-14

  • Use file locking to prevent multiple processes/threads to write to the public ip cache file

[1.0.11] - 2021-06-14

  • Log hostname when reporting unhandled exceptions

[1.0.10] - 2021-06-09

  • Cache public IP in /tmp/.sparoid_public_ip for 1 min

[1.0.9] - 2021-05-23

  • Exit gracefully on abort (ctrl-c) instead of dumping huge stacktrace
  • Sleep 20ms aftering sending UDP package to allow for remote host to open its firewall

[1.0.8] - 2021-04-27

  • Get ENV variables if config file is missing

[1.0.7] - 2021-04-27

  • Get key and hmac key from ENV variables

[1.0.6] - 2021-04-13

  • Use static IP for opendns resolver, saves one DNS lookup

[1.0.5] - 2021-04-12

  • Prefix all logging with Sparoid:

[1.0.4] - 2021-03-25

  • Only warn if config is missing when connecting with CLI

[1.0.3] - 2021-03-17

  • Nicer error handling in CLI, remove --fdpass option

[1.0.2] - 2021-03-15

  • sparoid send renamed to sparoid auth
  • sparoid connect [host] [port] added for automatic fd passing

[1.0.1] - 2021-03-12

  • --fdpass option to send

[1.0.0] - 2021-03-11

  • Initial release