From ac1e5aa1166b3f9db01994feb8aaaac0ed1c2c48 Mon Sep 17 00:00:00 2001 From: theOehrly <23384863+theOehrly@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:05:43 +0100 Subject: [PATCH] MNT: release v3.1.5 + finalize changelog --- docs/changelog/v3.1.x.rst | 27 +++++++++++++++++++++++++++ fastf1/version.py | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/changelog/v3.1.x.rst b/docs/changelog/v3.1.x.rst index a7b498dba..296ff706b 100644 --- a/docs/changelog/v3.1.x.rst +++ b/docs/changelog/v3.1.x.rst @@ -1,3 +1,30 @@ +What's new in v3.1.5 +-------------------- + +(released 17/11/2023) + +Bug Fixes +^^^^^^^^^ + +- Fixed a bug that caused inconsistent behaviour in + :func:`~fastf1.core.Laps.pick_fastest` in some cases were there was no lap + that met the criteria for a fastest lap. Now, an empty + :class:`~fastf1.core.Lap` object will always be returned when there is no + fastest lap. (Note that this will change in the future, see 'Deprecations' + below (#476) (by @Casper-Guo) + +- Fixed a bug that prevented some sessions of the Las Vegas Grand Prix from + being loaded (#481) + +Deprecations +^^^^^^^^^^^^ + +- In cases were no lap meets the criteria for a fastest lap, + :func:`~fastf1.core.Laps.pick_fastest` currently returns an empty + :class:`~fastf1.core.Lap` object. Starting from version 3.3, this will + return ``None`` instead + + What's new in v3.1.4 -------------------- diff --git a/fastf1/version.py b/fastf1/version.py index a7f6b6dac..74f9bc29c 100644 --- a/fastf1/version.py +++ b/fastf1/version.py @@ -1 +1 @@ -__version__ = '3.1.4' +__version__ = '3.1.5'