Skip to content

Releases: haruhimemoe/mirror

Release list

v0.1.0

Choose a tag to compare

@dvhsh dvhsh released this 07 Oct 04:09
b5874f0

Added

  • createMirrorClient with downloadSet (failover across hinai, osu.direct, Mino and Sayobot, with zip checks, progress and abort), downloadLinks, health, and hinai's getBeatmaps and getAvailability.
  • @haruhimemoe/mirror/hinai: the whole @haruhimemoe/hinai 0.3.1 client, moved here unchanged. @haruhimemoe/hinai is deprecated in its favor; swap the import path.
  • @haruhimemoe/mirror/testing: @haruhimemoe/hinai/testing, moved here unchanged (msw 2 as an optional peer).
  • HinaiError, HinaiErrorCode, OSZ_MIME, parseRetryAfter, backoffDelayMs and MAX_RETRY_DELAY_MS from the root too, the same objects as /hinai's.
  • Per-mirror cooldowns: a network error, timeout or 429 at once, other failures after MIRROR_FAILURE_LIMIT in a row.
  • MirrorError with not_found, unavailable and download_disabled, and every failed attempt.
  • MIRRORS, DEFAULT_MIRRORS and custom Mirror objects, with missingStatuses for mirrors that don't answer 404.