BREAKING CHANGE: Migrated Understat scraper from HTML parsing to AJAX API calls. This changes the internal data structure and column names returned by get_match_shots().
Added gzip decompression handling for compressed responses.
Added input validation for match_id parameter.
Fixed type conversion issues for numeric columns (minute, xG, goals, etc.).
Improved error handling with clearer messages.
Removed unused dependencies: rvest, stringi, stringr, readr.
BREAKING: Changed the name of the background_color argument of xg_chart() to bg_color.
BREAKING: Changed the default value of the competition argument of xg_chart() from "Premier League" to empty.
Added a new argument plot_bg_color for xg_chart() to allow the color modification of the whole plot background.
Changed the documentation accordingly.
xg_map().xg_chart().