Skip to content

v2.12.0

Choose a tag to compare

@Bobsilvio Bobsilvio released this 05 May 17:41

v2.12.0 ✨ Auto-detect standings zones per competition + Dutch support

Standings card: hardcoded zones [1,2,3,4]/[5,6]/'bottom3' were Serie A
specific. Replaced with ZONE_PRESETS map and auto-detection by
competition_code / entity name:

  • Major leagues: Serie A, Premier League, LaLiga, Bundesliga, Ligue 1,
    Eredivisie, Primeira Liga (each with correct CL/EL/CnL/Relegation slots)
  • UEFA league phases (UCL/UEL/UECL): top 8 → R16, 9-24 → KO playoff,
    25-36 (bottom 12) → eliminated
  • Unknown competitions: no colored zones
  • New helper _positionInZone supports 'bottomN' (any N) in addition to
    arrays
  • New config options: zone_preset (string), zone_config (full override)
  • Defaults backwards-compatible: existing configs with zone_config keep
    working

Editor: added Nederlands option to language dropdown across all 7 cards
(complementing PR #20 which added the nl translations to i18n.js).

Bundle: 219 → 231 KB.