github theOehrly/Fast-F1 v3.10.0
Release v3.10.0

59 minutes ago

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 StringDType to match
    Pandas' new default behaviour and prevent inconsistencies when working with the data.
    On Pandas v2.x, the column type remains object. When accessing individual values in these columns,
    values will be returned as native Python str in 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_info now correctly returns None instead of raising an AttributeError error 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, F1AuthError is raised.
    To create an unauthenticated connection, create the client with the no_auth=True argument. (#1001)

  • Fixed a bug where calling fastf1.livetiming.client.SignalRClient (aka "LiveTimingClient) with no_auth=True raised a
    TypeError. (#989) (by @DushyantRajpurohit).

  • Improved robustness of driver-team mapping generation for plotting. (#995) (by @Casper-Guo)

Deprecations

  • The argument drop_unknown_channels for fastf1.core.Telemetry is deprecated and will be removed without replacement.

Removals

  • Removed access to ErgastError, ErgastJsonError, ErgastInvalidRequestError via fastf1.ergast.interface. Import from fastf1.exceptions instead.

  • Removed access to RateLimitExceededError via fastf1. Import from fastf1.exceptions instead.

  • Removed access to NoLapDataError, DataNotLoadedError via fastf1.core. Import from fastf1.exceptions instead.

Don't miss a new Fast-F1 release

NewReleases is sending notifications on new releases.