Skip to content

v0.28.2 — Hotfix: powers endpoint crash (2026-05-25)

Bug Fixes

  • fix(system8): handle array-typed metadata.type on powers — Upstream powers.json started returning metadata.type as a string[] (e.g., ["Assault","Control","Utility"]) for some powers instead of a comma-separated string. transformPower called splitMultiValue() which invoked String.prototype.replace on the raw value, throwing value.replace is not a function and breaking GET /api/powers (500) in production. This blocked the Powers tab on the character detail page. Fixed in @purple-cat-games/system8@0.2.3 by coercing arrays to a joined string before normalizing; bumped modules.hosted.json to system8@0.2.3.