Skip to content

v0.6.1

Latest

Choose a tag to compare

@Helyux Helyux released this 02 Nov 20:18
75818d0

This Release includes breaking changes!

What's Changed

  • v0.6.1 by @Helyux in #10

    • Rename PatternInfo dataclass fields (is_rare -> rare / group -> name)
  • v0.6.0 by @Helyux in #9

    • Breaking: check_rare now returns a PatternInfo dataclass (normalized weapon/skin/pattern, rarity, ordering, icon) instead of the previous tuple.
    • Breaking: Multi-weapon helpers (fade, fire_and_ice, gem_black, gem_blue, gem_gold, gem_purple, gem_white) return None for unsupported weapons; adjust downstream code accordingly.
    • Icons are centralized in cs2pattern/icons.json, updated with consistent glyphs (e.g., phoenix 🐦‍🔥, fire_and_ice ❄️) and exposed via PatternInfo.icon.
    • tools/add_pattern.py gains --icon, duplicate-pattern sanitization, optional-helper generation with None fallbacks, and refreshed AI disclaimer metadata.
    • README entries (main + tools) document the new return contract and icon workflow.

Full Changelog: v0.6.0...v0.6.1