Repository navigation
Behaviour Changes
-
All dataframe columns containing Pandas Timestamps or Timedelta values will now have
datetime64[us]and
timedelta64[us]resolution. Previously, the resolution was usually[ns]with some inconsistencies. -
In combination with Pandas v3.0, columns that contain strings will now use Pandas' new
StringDTypeto match
Pandas' new default behaviour and prevent inconsistencies when working with the data.
On Pandas v2.x, the column type remainsobject. When accessing individual values in these columns,
values will be returned as native Pythonstrin all cases.
Dependency Changes
- Added support for Python 3.15
- Added support for Pandas >=3.0
- The minimum required versions for selected dependencies are increased as follows:
- matplotlib>=3.8.4
- numpy>=2.0.0
- pandas>=2.2.2
Bug Fixes
-
Session.get_circuit_infonow correctly returnsNoneinstead of raising anAttributeErrorerror when circuit info is unavailable. (#1006) -
Fixed incorrect tyre data in some sessions (e.g. 2024 Qatar Sprint).
This was caused by delayed information in the source data. (#972) (by @ABhardwaj28) -
Improve error handling of the
fastf1.livetiming.client.SignalRClient(aka "LiveTimingClient), to prevent unhandled exceptions or corrupted recording output files in some edge cases.
Additionally, the client will no longer proceed with an unauthenticated connection if authentication fails. Instead,F1AuthErroris raised.
To create an unauthenticated connection, create the client with theno_auth=Trueargument. (#1001) -
Fixed a bug where calling
fastf1.livetiming.client.SignalRClient(aka "LiveTimingClient) withno_auth=Trueraised a
TypeError. (#989) (by @DushyantRajpurohit). -
Improved robustness of driver-team mapping generation for plotting. (#995) (by @Casper-Guo)
Deprecations
- The argument
drop_unknown_channelsforfastf1.core.Telemetryis deprecated and will be removed without replacement.
Removals
-
Removed access to
ErgastError,ErgastJsonError,ErgastInvalidRequestErrorviafastf1.ergast.interface. Import fromfastf1.exceptionsinstead. -
Removed access to
RateLimitExceededErrorviafastf1. Import fromfastf1.exceptionsinstead. -
Removed access to
NoLapDataError,DataNotLoadedErrorviafastf1.core. Import fromfastf1.exceptionsinstead.