Skip to content

Commit

Permalink
release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed Aug 26, 2022
1 parent 4688ab4 commit 88f4044
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 4 deletions.
73 changes: 70 additions & 3 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,69 @@
Changelog
=========

v2.3.0
======

Bug Fixes:

- The matplotlib dependency version is now required to be >= 3.3.3 to prevent
incompatibility. (#210)

- Fixed: NaT values for 'Time' or 'LapStartTime' may cause a crash
in :func:`fastf1.core.Telemetry.calculate_driver_ahead` (#151)

- Fixed: Data for speed trap 'SpeedST' is added to the wrong lap.
This additionally caused empty laps to exist for some drivers at the
beginning of some sessions.

- Fixed: :func:`fastf1.core.Telemetry.add_driver_ahead` could not
be called on previously resampled telemetry data. (#178)

- Added: Better error handling for sessions that did not take place.

- Fixed: Tyre compound shown for some laps was incorrect in some special
cases. (#204)

- Fixed: Incorrect first and last name for Hulkenberg in fallback driver list
(by @niallmcevoy)

- Fixed: metadata for :class:`~fastf1.core.Telemetry` was not propagated
correctly in :func:`fastf1.core.Telemetry.merge_channels` and
:func:`fastf1.core.Telemetry.resample_channels`.

- Fixed: incorrect call of scipy method in
:func:`fastf1.legacy.inject_driver_ahead`

- Fixed: Error handling regression in :func:`fastf1.core.Session.load`

- Fixed: :exc:`~fastf1.core.DataNotLoadedError` not raised for `car_data` and
`pos_data`.


New Features:

- Added: Function :func:`fastf1.get_events_remaining` (by @oscr)

- Added: Support for shorthand paths (e.g. '~/cache') in
:func:`fastf1.Cache.enable_cache` (by @oscr)


Changes:

- The default base url scheme for Ergast is changed from http to https.


Deprecations and Notices for Upcoming Changes:

- Deprecation: Undocumented function :func:`fastf1.ergast.fetch_weekend`
will be removed without a direct replacement in a future version
(target: v3.0.0).

- Change: :func:`fastf1.utils.to_timedelta` and
:func:`fastf1.utils.to_datetime` will return `NaT` instead of raising and
exception if a valued cannot be parsed in a future version
(target: v3.0.0).


v2.2.9
======
Expand Down Expand Up @@ -218,9 +281,13 @@ Breaking Changes:

Deprecations:

**Objects, methods and attributes deprecated in v2.2 will be removed
in v2.3.** Until then, accessing them will still work but a FutureWarning
is shown, reminding you of the deprecation.
(Objects, methods and attributes deprecated in v2.2 will be removed
in v2.3. Until then, accessing them will still work but a FutureWarning
is shown, reminding you of the deprecation.)
**Removal has been delayed for user convenience and because
there exist no problems currently which make a removal immediately necessary.
The new removal target is v3.0.0**


- :class:`fastf1.core.Weekend` has been replaced with
:class:`fastf1.events.Event`. All previously available methods and
Expand Down
2 changes: 1 addition & 1 deletion fastf1/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.2.9'
__version__ = '2.3.0'

0 comments on commit 88f4044

Please sign in to comment.