Skip to content

fantasyfb v0.9.0

Choose a tag to compare

@tefirman tefirman released this 16 Sep 02:19
· 110 commits to main since this release

fantasyfb v0.9.0

Live-week and depth-chart correctness fixes, plus removal of two long-dead V1 CLI flags.

pip install --upgrade fantasyfb

Highlights

  • Live-week projections and lineups now reflect games already in progress. Previously, a matchup's projected score and win probability stayed frozen at pre-kickoff values all Sunday, and players who had already started (and finished) their game could show as benched. Actual fantasy points are now blended in as games complete, and already-active players are correctly flagged as starters, so both League's matchup projections and season_sims reflect real-time state.
  • Depth-chart data cleaned up across several edge cases. Players with a secondary special-teams role (e.g. a WR who also returns punts) no longer get duplicated into multiple rows, which was corrupting lineup slot-filling for 200+ players league-wide. MatchupModel's string-depth penalty no longer treats every WR2/WR3/RB2/TE2 as a backup, that per-position cutoff assumption only ever held for QB. 2025+ depth charts also no longer mislabel kickers with nflreadpy's newer "PK" code instead of "K".
  • MoveAnalyzer.possible_pickups no longer crashes on healthy drop candidates. A TypeError fired for any player being evaluated as a drop candidate who didn't have an active injury designation; free agents are now compared correctly in that case instead of raising.
  • Breaking change: --games and --basaloppstringtime removed from the CLI, along with the corresponding League() parameters. Both flags were parsed but silently ignored downstream, so removing them changes nothing about actual behavior, but passing either now raises an error instead of quietly doing nothing.

See CHANGELOG.md for the full list.