Releases: swar/nba_api
v1.6.1
What's Changed
- Update expired Slack link by @JohnMikko27 in #473
- Updated additional Slack Link by @rsforbes in #474
- Added missing release note on Scoreboard to changelog for v1.6.0 by @rsforbes in #475
- Resolved Issue #476 (certifi) by @rsforbes in #477
New Contributors
- @JohnMikko27 made their first contribution in #473
Full Changelog: v1.6.0...v1.6.1
v1.6.0
v1.6.0
Date: 2024.10.10
Changed
- Updated .settings.json to recognize pytest tests
- Reformatted src/nba_api/stats/library/data.py for compliance with Flake8 rules
- Updated Static Player File
Deprecated
- BoxScoreSimilarityScore (Person1Season & Person2Season no longer support valid values).
- Scoreboard
- Removed support for Python 3.8
Fixed
- Fixed test for ShotChartLineupDetail.
- Fixed Bug #464 affecting Scoreboard & ScoreboardV2 endpoints
Security
- Upgraded requests to ^2.32.3
- Upgraded certifi to ^2023.7.22 (CVE-2023-37920)
- Upgraded idna ^3.7.0 (CVE-2024-3651)
- Upgraded urllib3 ^2.2.2 (CVE-2024-37891)
Full Changelog: v1.5.2...v1.6.0
v1.5.2
v1.5.1
What's Changed
- Fix BoxScoreTraditionalV3 API Bug(some game stats starters and bench is None, cause 'NoneType' object has no attribute 'values') by @XatMassacrE in #458
- Bump idna from 3.4 to 3.7 by @dependabot in #438
- Bump requests from 2.31.0 to 2.32.0 by @dependabot in #443
- updated requests to use version ^2.32.2 by @rsforbes in #459
- Bump certifi from 2023.7.22 to 2024.7.4 by @dependabot in #454
- updated static players file by @rsforbes in #460
New Contributors
- @XatMassacrE made their first contribution in #458
Full Changelog: v1.5.0...v1.5.1
v1.5.0
v1.5.0
Added
Changed
- All NBA player and team static data current as of 2023.11.09 #398
Fixed
- Update ScoreBoard game_date property name to score_board_date by @brooklynbagel in #422
- Update README.md (fixed Slack links) by @rsforbes in #424
- Update GameIDs Pattern Documentation by @TylerChasse in #437
- Updated docs with example output data by @shufinskiy in #447
Full Changelog: v1.4.1...v1.5.0
v1.4.1
v1.4.1
Changed
- Update documentation by @shufinskiy in #406
Fixed
- boxscoremathups swapped places Def and Off columns names by @shufinskiy in #409
Full Changelog: v1.4.0...v1.4.1
v1.4.0
v1.4.0
Added
- In-Season Tournament Standings ISTStandings. @shufinskiy #396
- EventMsgType now contains
INSTANT_REPLAY
(18). @usharerose #384
Changed
- All NBA player and team static data current as of 2023.11.09 #398
Deprecated
- EventMsgType
UNKNOWN
(18) has been deprecated and will be removed in a future release. #400
Fixed
- The [playbyplay][https://github.com/rsforbes/nba_api/blob/master/src/nba_api/stats/library/playbyplayregex.py] regex for TURNOVER was updated to account for a space within the description provided by the NBA. #401
Security
- Set minimum requirement for certifi to 2023.7.22 per CVE-2022-23491 / CWE-296 #384
- Bumped urllib3 from 2.0.6 to 2.0.7 @dependabot #388
Developer Notes
- Black has been implemented project wide and will be required for all PRs. #399
- DevContainer Changes #402
- The VSCode DevContainer was updated to pin Debian-11 due to changes in Debian 12 that have impacted Python development.
- Poetry Shell now includes reference to the project.
- the ms-python.flake and ms-python.vscode-pylance extensions are now included
v1.3.1
What's Changed
- Resolved CVE-2023-32681 by @rsforbes in #379
- Resolved CVE-2022-23491 by @rsforbes in #381
- version bump by @rsforbes in #383
- Bump certifi from 2022.12.7 to 2023.7.22 by @dependabot in #382
Full Changelog: v1.3.0...v1.3.1
v1.3.0
v1.3.0
Date: 2023-10-04
Added
Endpoints
Eleven new endpoints were added to this release. A massive thank you to @shufinskiy.
- BoxScoreAdvancedv3
- BoxScoreDefensivev2
- BoxScoreFourFactorsv3
- BoxScoreHustlev2
- BoxScoreMatchupsv3
- BoxScoreMiscv3
- BoxScorePlayerTrackV3
- BoxScoreScoringV3
- BoxScoreTraditionalv3
- BoxScoreUsagev3
- PlaybyPlayv3
Changed
NBA JSON schema
Until recently, the NBA JSON schema followed a tabular strucutre exposing headers
and resultSet
. The NBA is now using a nested JSON schema. In addition, the data labels are no longer uppercase (e.g., PCT_OREB
), are now camelcase and, in many cases, more descriptive (e.g., percentageReboundsOffensive
).
Other
- All NBA player and team data has been updated to the date of this release.
- Corrected an invalid Slack within the text body to match the link present in the Slack shield.
- Updated NBA team data to include the Nuggets 2023 championship (#350)
Known Issues
Due to the change in the NBA schema, the following methods will currently return and empty dataframe {}
.get_normalized_dict()
.get_normalized_json()
.get_headers_from_data_sets()
All other calls are expected to work as expected.
Removed
The following eleven endpoints have been deprecated by the NBA and subsequently removed from the library
- BoxScoreDefensive --> BoxScoreDefensivev2
- BoxScoreMatchups --> BoxScoreMatchupsv3
- LeagueHustleStatsPlayerLeaders --> unknown
- LeagueHustleStatsTeamLeaders --> unknown
- PlayerDashboardByOpponent --> unknown
- TeamDashboardByClutch --> unknown
- TeamDashboardByGameSplits --> unknown
- TeamDashboardByLastNGames --> unknown
- TeamDashboardByOpponent --> unknown
- TeamDashboardByTeamPerformance --> unknown
- TeamDashboardByYearOverYear --> unknown
Security
- urllib3 from 1.26.15 to 1.26.17. (#373) - @dependabot
- certifi from 2022.12.7 to 2023.7.22 (#360) - @dependabot
Developer Tools
Updated dev container to dynamically set the python path for Poetry. (#369)
v1.2.1
Date: 2023-06-13
Security
requests bumped from 2.28.2 to 2.31.0 via #344 - @dependabot
Fixed
Reverted alexfayad/nba_api@5076fae. Change broke materialized url and test. Original URL was found to be valid.
Resolved bad url in documentation #322 - @alexfayad
Fixed typo in causing src/nba_api/stats/endpoints/playerindex.py to fail #340 - @shufinskiy
Fixed expired Slack URL #347
Developer Tools
Support for VS Code Dev Containers (including auto-format via black)