|
3 | 3 | **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* |
4 | 4 |
|
5 | 5 | - [**hoopR 3.0.0**](#hoopr-300) |
| 6 | + - [**HTTP Backend Migration**](#http-backend-migration) |
| 7 | + - [**Messaging Migration (usethis → cli)**](#messaging-migration-usethis--cli) |
| 8 | + - [**Social Branding (Twitter → X)**](#social-branding-twitter--x) |
6 | 9 | - [**Stability and Test Robustness**](#stability-and-test-robustness) |
7 | 10 | - [**CI and Check Improvements**](#ci-and-check-improvements) |
8 | 11 | - [**NBA Play-by-Play V3**](#nba-play-by-play-v3) |
|
66 | 69 |
|
67 | 70 | # **hoopR 3.0.0** |
68 | 71 |
|
| 72 | +### **HTTP Backend Migration** |
| 73 | + |
| 74 | +- **Breaking**: Replaced `httr` with `httr2` as the HTTP backend for all API requests across the package. |
| 75 | +- Removed `httr` from package dependencies (`Imports`). |
| 76 | +- `request_with_proxy()` now uses `httr2` request/retry pipeline instead of `rvest::session()` with `httr` config arguments, resolving segfaults on systems with libcurl >= 8.x / curl R package >= 7.0.0. |
| 77 | +- All ESPN, NBA Stats, NBA G-League, NCAA, and KenPom HTTP calls now use shared internal helpers (`.retry_request()`, `.resp_text()`) backed by `httr2`. |
| 78 | +- `check_status()` now uses `httr2::resp_status()` instead of `httr::status_code()`. |
| 79 | +- KenPom (`kp_*`) functions now use `httr2` cookie jar authentication via `login()`, `.kp_get_page()`, and `.kp_request()` helpers. |
| 80 | + |
| 81 | +### **Messaging Migration (usethis → cli)** |
| 82 | + |
| 83 | +- Replaced all `usethis::ui_*()` messaging calls in database builder and loader functions with `cli` equivalents. |
| 84 | +- `usethis::ui_stop()` → `cli::cli_abort()`, `usethis::ui_oops()` → `cli::cli_alert_danger()`, `usethis::ui_todo()` → `cli::cli_ul()`, `usethis::ui_info()` → `cli::cli_alert_info()`. |
| 85 | +- Inline markup converted: `usethis::ui_value()` → `{.val}`, `usethis::ui_path()` → `{.file}`, `usethis::ui_code()` → `{.code}`. |
| 86 | +- Moved `usethis` from `Imports` to `Suggests` (retained for `usethis::edit_r_environ()` documentation references). |
| 87 | + |
| 88 | +### **Social Branding (Twitter → X)** |
| 89 | + |
| 90 | +- Updated all social media links and badges from Twitter to X across README, pkgdown site, and vignettes. |
| 91 | +- Shields.io badge `logo=twitter` → `logo=x`; profile URLs `twitter.com` → `x.com`. |
| 92 | +- pkgdown navbar icon updated from `fa-twitter` to `fa-x-twitter`. |
| 93 | + |
69 | 94 | ### **Stability and Test Robustness** |
70 | 95 |
|
71 | 96 | - Hardened API-facing tests against live schema drift and intermittent empty payloads. |
|
0 commit comments