All notable changes to this project will be documented in this file.
- N/A
- Fixed bug in MyFantasyLeague League Loader where matchups could be missing
- Bumped espn_api version
- Updated logic in ESPN League Loader to work with new ESPN owner flow
- Fixed bug where older Sleeper leagues would sometimes fail to load
- Updated package versions
- Fixed bug where Yahoo leagues would sometimes count consolation playoff games as championship games
- Fixed bug where Sleeper leagues without divisions would fail to load
- Fixed bug where Yahoo leagues could not load league IDs for previous years
- Fixed fatal bug where League Loaders could not run
- Added warning log for unused Owner names for all League Loaders
2.5.0 (BROKEN VERSION)
- Fixed a bug in the MyFantasyLeague League Loader where playoff Matchups could be ignored
- Fixed a bug in the Sleeper League Loader where leagues with 1-week playoff rounds could be loaded incorrectly
- Integrated Divisions into league models
- Added Divisions to all League Loader flows
- Added Division column to Excel sheets
- Added an .equals() method to each league model object, allowing for more customized model comparisons
- Added the ability to pass a custom league name for each League Loader
- Added better validation for league models
- Now load Yahoo Leagues using the most recent league ID
- Significantly reduced the number of network calls made when loading Leagues with the Sleeper League Loader
- Fixed bug in the Fleaflicker League Loader where owners could not be loaded sometimes
- Fixed bug in the Sleeper League Loader where 2-week championship rounds would not load
- Fixed bug in the Sleeper League Loader where 2-week playoff rounds would not load
- Fixed bug in Yahoo League Loader where playoff week types could be determined incorrectly
- Added leagueName parameter to all League Loaders, which allows users to pass in a custom league name
- Added better tests for the ESPN League Loader
- Added better tests for the Fleaflicker League Loader
- Added better tests for the MyFantasyLeague League Loader
- Added better tests for the Sleeper League Loader
- Added better tests for the Yahoo League Loader
- Added better validation to all League Loaders
- Added human-readable info logging with differences when comparing League models with "=="
- Updated League Loader examples
- Can now turn off League validation when loading a League with a league loader
- Added better tests for the ESPN League Loader
- Formatting standardization using Black
- README updates
- Fixed bug that caused Fleaflicker leagues to not load correctly
- Now support multiple years for Fleaflicker Leagues
- Updated workflow to be able to run manually
- Updated package versions, including adding typing-extensions which is needed as a temporary dependency due to a bug in another dependency
- Added method to league loaders to get all owner names
- Removed yearToExcel function
- leagueToExcel now optionally takes a file path
- leagueToExcel now returns the OpenPyXL Worksheet created
- Upgraded OpenPyXL version requirement
- Updated examples
- League objects can now be built from a Python dictionary
- None values for Matchup tiebreakers will default to False instead of raising an exception
- None values for YearSettings leagueMedianGames will default to False instead of raising an exception
- Now validate leagues before returning them in all league loaders
- Updated README
- Fixed ESPN League Loader issue where teams with byes would cause championship matchups to count as playoff matchups
- Team names are now counted as too similar within a Year if they have the same text minus whitespace and letter case
- Package version updates
- Added a Code of Conduct
- Updated README
- Added Performance model to represent a Team's performance in a given week
- Added method to get a Year by year number to League model
- Added method to get a Team by name to Year model
- Added method to get a Week by week number to Year model
- Added method to get a Matchup with a Team ID to Matchup model
- Added method to split a Matchup model into 2 Performance models to Matchup model
- Added method to get a Performance for a Team ID to Matchup model
- Added validation to ensure no Matchup has 2 of the same Team IDs
- Added a test for Excel
- Fixed bug in the ESPN League Loader where championship weeks could not be added
- Added Excel sheet for each matchup in a year
- Added Excel sheet for each matchup in a league
- Added legend to Excel sheets to show all filters applied to sheet
- Fixed bug where keyword arguments may not work for All Time Teams stat sheet in Excel
- Fixed bug where leagues with some League Median years and some non League Median years would not save to excel
- Improved Excel tests
- Improved filtering flow
- Added All-Time Teams stat sheet to Excel
- Fixed formatting in stats documentation
- Fixed broken link in README
- Updated flow diagram
- Updated setup file to ignore unneeded packages
- Upgraded Sleeper package version
- Better documentation flow for setting up league loaders
- Added Max Scoring Share stat
- Added Min Scoring Share stat
- Added Fleaflicker tag to setup file.
- Added support for Fleaflicker leagues
- Added caching to validation flow, resulting in a ~33% speed increase for stat calculations
- Updated GitHub issue templates
- Added "Total Games" stat for leagues with multiple game sources
- Added "Opponent League Median Wins" in stat sheets and Excel sheets for leagues with League Median Games
- Fixed stat calculations for leagues with League Median Games
- Updated dependency versions to latest
- Removed unused code
- Added YearSettings object that will be used in Year objects to turn on features and stat calculations based on league settings
- Added support for League Median Games in stat sheets and Excel sheets
- Added support for League Median Games in Sleeper leagues
- Updated dependency versions to latest
- Updated code documentation
- Now check if a week is completed before adding week for ESPN leagues
- Now check if a week is completed before adding week for MyFantasyLeague leagues
- Buffed setup.py file
- Now freeze team/owner name columns for easier navigating of Excel data
- Now freeze header row for easier navigating of team/owner data
- Now allow users to overwrite an existing Excel file using a keyword argument
- Excel sheets now have consistent row colors
- Excel sheets now dynamically adjust column width
- Added "Games Played" stat to Year and All-Time stats
- Added "Adjusted Team Score" stat to All-Time stats
- Added "Adjusted Team Success" stat to All-Time stats
- Added "Adjusted Team Luck" stat to All-Time stats
- Removed "Team Score" from All-Time stats
- Removed "Team Success" from All-Time stats
- Removed "Team Luck" from All-Time stats
- Fixed bugs so users can now properly add 2 League objects
- Cleaned up examples
- Fixed README
- Added support for multi-week matchup stat calculations
- Added support for multi-week matchups for Sleeper leagues
- Organized parts of README into documentation files
- Updated example files
- Fixed bug that caused Sleeper leagues to not count playoff weeks correctly
- Fixed bug that caused Sleeper leagues to count in-progress matchups as completed matchups
- Now raise an exception for multi-week matchups in Sleeper leagues until the multi-week feature is added to leeger
- Fixed bug that caused Yahoo leagues that had unfinished matchups to raise an exception
- Fixed bug where Yahoo consolation matchups could count as a championship matchup
- Updated versions of dependent libraries
- Added ability to find multiple years for Yahoo leagues
- Added better type checking for validation
- Fixed bug in YahooLeagueLoader that caused tied matchups to raise an exception
- For ESPN leagues, added check for teams on bye week.
- Added way to get League objects in a Python dictionary / JSON via the toJson() method
- Now allow users to turn off validation on methods that use League objects via the
validate=False
keyword argument - Added a FAQ section to README.md