Skip to content

Changelog

Find out all changes between different kloppy versions

3.14.0 (2023-12-29)

Pull requests merged:

  • Add SetPieceQualifiers for StatsBomb Shot event (#223)
  • Add CardQualifiers for StatsBomb FoulCommited event (#221)
  • Run build docs (#231)
  • Fixing epts metrica loader when score is not on the metadata file (#227)
  • Fix Bodypart qualifiers in StatsBomb clearance event (#228)
  • Add own goals in StatsBomb deserializer (#229)
  • Add InterceptionEvent (#230)
  • Add Opta shot result coordinates (#233)
  • Fix Wyscout deserialization of teams and players (#235)
  • Fix sportec current (#217)
  • Add StatsBomb shot result coordinates (#232)
  • Recognize take on event for Wyscout (#238)
  • Fix multiple pass qualifiers per pass event (#241)
  • Add tackle as duel type and recognize StatsPerform challenge event (#242)
  • Fix Wyscout v2 set-piece qualifiers (#245)
  • Use new Wyscout open data format. (#248)
  • Support JSON meta data in Stats Perform tracking data deserializer (#255)
  • Remove duplicate Metrica set-piece events (#264)
  • Add artificial formation change event in Wyscout deserializer (#250)
  • Estimate Wyscout v2 shot result coordinates (#246)
  • Fix shot end coordinates for Opta deserializer (#247)
  • Fix receiver_coordinates of passes for Wyscout v2 (#259)
  • Fix GoalKeeperActionType.SAVE coordinates for Wyscout v2 (#260)
  • Refactor StatsBomb deserializer (#262)
  • Implement GoalkeeperActionType.PICK_UP and GoalkeeperActionType.CLAIM for StatsBomb (#224)
  • Add shot body part qualifiers for Wyscout v2 (#258)
  • Add Opta support for extra time & penalty shootouts (#263)
  • Fix FoulComitted + Card for Wyscout v2 (#261)
  • Revert changes to duel parsing logic in Opta deserializer (#273)

3.13.0 (2023-09-29)

Pull requests merged:

  • Add MiscontrolEvent (#207)
  • Add GoalkeeperEvent (#196)

3.12.0 (2023-07-30)

Pull requests merged:

  • Add ClearanceEvent (#195)
  • Fixed foot left/right typo in shot parsing for WyScout v3 (#197)
  • Improvements to Opta and Wyscout deserializers (#198)
  • Fix issue with automated tests on macos (#199)
  • Add speed parsing for SecondSpectrum (#201)
  • Add DuelEvent (#204)
  • Sportec tracking deserializer (#208)

3.11.0 (2023-06-05)

Pull requests merged:

  • Fix datatype of SkillCorner metadata.periods (#189)
  • Fix inputs of kloppy.helpers.transform (#186)
  • Refactor pathlib tests (#193)
  • StatsPerform deserializer (#191)
  • Allow chaining of operators on a Dataset (filter + map) (#183)
  • Opta remove deleted events (#182)

3.10.0 (2023-04-13)

Pull requests merged:

  • Add support for corner shots (#176)
  • Fix S3Adapter.read_to_stream (#179)
  • Add pandas pyarrow support + better performance on to_df (#180)

3.9.0 (2023-03-14)

Pull requests merged:

  • Wyscout V3 deserializer (#170)

3.8.0 (2023-03-05)

Pull requests merged:

  • Fix for Incorrect home/away mapping in Statsbomb metadata (#174)
  • Added extra formations (#166)
  • Set correct orientation for Metrica EPTS (#168)
  • Add polars support (#172)

Important changes:

  • to_pandas is deprecated, to_df should be used. to_df is now a method on all Dataset types (event, tracking and code), and accepts an additional engine keyword argument that can be polars or pandas. The default value is pandas but can be changed using the config variable dataframe.engine

3.7.1 (2023-01-16)

Pull requests merged:

  • Refactor open_as_file to also accept Path inputs (#165)

3.7.0 (2022-11-24)

Pull requests merged:

  • Freeze frame support (#164)

3.6.1 (2022-11-22)

Pull requests merged:

  • Fixing load empty values from metrica epts loader (#163)

3.6.0 (2022-10-14)

Pull requests merged:

  • Fix metrica EPTS load (#159)
  • Accept a custom EventFactory to build events (#160)

3.5.1 (2022-08-26)

Pull requests merged:

  • When in browser, retrieve data as arraybuffer (#152)

3.5.0 (2022-08-24)

Pull requests merged:

  • Accept json meta data for secondspectrum and fix non-alive ball (#146)
  • Fix for SportsCode XML (#147)
  • Add Metrica Open Data Game 3 + Fix for loading it (#151)

3.4.0 (2022-07-17)

Pull requests merged:

  • Changes to FormationType (#143)
  • Add attribute transformer and to_df (#144)

3.3.1 (2022-05-04)

Pull requests merged:

  • Fix http authentication (#141)

3.3.0 (2022-03-23)

Pull requests merged:

  • Add adapters and config (#140)
  • Fix transformation for events when ball_owning_team does not equal action_executing_team (#139)
  • Fix metadata update after dataset transformation (#133)

3.2.1 (2022-03-16)

Pull requests merged:

  • Make kloppy work within a Pyodide environment (#132)

3.2.0 (2022-03-12)

Pull requests merged:

  • Add related events and next/prev with more easy filtering (#129)

3.1.1 (2022-02-20)

Pull requests merged:

  • Add end coordinates for incomplete passes in to_pandas (#131)

3.1.0 (2022-01-28)

Pull requests merged:

  • Improve contribution guide (#123)
  • Fix extraction of foul committed events (#126)
  • Add formation statebuilder + read opta/statsbomb formation events (#125)

3.0.0 (2021-12-21)

Pull request merged:

  • Implement simpler api (#118)

2.3.0 (2021-12-03)

Pull request merged:

  • Opta serializer improvements (#119)

2.2.2 (2021-11-10)

  • Don't break when wyscout doesn't include end position of shot/pass

2.2.1 (2021-10-31)

  • Fix import load_second_spectrum_tracking_data

2.2.0 (2021-10-31)

Pull request merged:

  • Second Spectrum deserializer (#106)
  • Datafactory event deserializer (#108)
  • Add distance and speed to frames as well as extra data when available (#109)
  • Documentation updates (#110, #111)

2.1.0 (2021-08-22)

Pull request merged:

  • Add pass type qualifier for opta pass events (#104)

2.0.0 (2021-08-11)

Pull request merged:

  • Default normalization of coordinates (#87)
  • Add missing statsbomb shot outcome values (#102)

1.7.0 (2021-07-01)

Pull request merged:

  • Include all event qualifiers (#99)
  • EPTS: Accept non int ProviderParameters (#101)

1.6.1 (2021-06-25)

Pull request merged:

  • Modify etps serializer so that it accepts files with no ball z (#100)
  • Add ball_z to skillcornertrackingserializer (#98)

1.6.0 (2021-05-27)

Pull request merged:

  • SkillCorner Serializer (#90)
  • Include z-coordinate for ball (#93)
  • XML Serializer (#96)
  • Add some presentation files (#95)

1.5.2 (2021-03-12)

Pull request merged:

  • Add Wyscout dataset (#88)

1.5.1 (2020-12-23):

Pull request merged:

  • Fix for setup (#80)

1.5.0 (2020-12-23)

Pull requests merged:

  • Add length and width to PitchDimensions (#77)
  • Wyscout event data serializer (#79)

1.4.2 - 1.4.4 (2020-11-24)

Bugfix:

  • Fix for sportec BlockedShot
  • Fix sequences reset at set pieces (#76)
  • Add pytz to dependencies

1.4.1 (2020-11-19)

Bugfix:

  • Sportec: insert BALL_OUT event before corner kick

1.4.0 (2020-11-19)

Pull requests merged:

  • Improve sequence definition based on latest added generic events (#75)
  • refactor: improve code readability on kloppy-query cli s(#74)
  • refactor: single github workflow (#73)
  • Sportec serializer (#70)

1.3.0 (2020-10-06)

Pull requests merged:

  • Add distance to point (#63)
  • Add additional event types and introduce qualifiers (#70)

1.2.1 (2020-09-22)

Bugfix:

  • Don't crash when TRACAB contains unknown team id

1.2.0 (2020-09-08)

Github issues closed:

  • Enrich events with state (#48)

Other pull requested merged:

  • Chaining of methods (#59)

1.1.1 (2020-09-01)

Github issues closed:

  • to_pandas fails for Opta data when trying to read player_id (#57

Other pull requests merged:

  • Fix error in naming of inputs to metrica json serializer in helper (#56)

1.1.0 (2020-08-07)

Github issues closed:

  • Add provider to dataset (#36)
  • Adding a data type type to the datasets (#45)

Other pull requests merged:

  • Code formatting & typos in docs (#39, #40)
  • Add Metrica Json event serializer (#44)
  • Infer ball_owning_team from Opta events (#49

1.0.0 (2020-07-26)

In this major release we introduce metadata. The metadata is part of a dataset and can be accessed via Dataset.metadata. There are a couple of breaking changes:

  1. All attributes except records / frames are moved from Dataset to Metadata class.
  2. All position properties are renamed to coordinates.
  3. The players_coordinates property is indexed by Player instances instead of by jersey_number strings.
  4. On the Event class the player_jersey_number is replaced by player which is a Player instance.
  5. to_pandas changes:
    • player_jersey_number is replaced by player_id
    • team is replaced by team_id
    • position_* is renamed to coordinates_*
    • player_<home/away>_<jersey_no>_x is renamed to <player_id>_x

Github issues closed: - Website for project (#27, #30) - Metadata model (#3) - IDs instead of [home, away, shirt_number] (#17)

Other pull requests merged: - Fix docs (#35)

0.6.2 (2020-07-23)

  • Fix to_pandas for Opta event data

0.6.1 (2020-07-02)

  • Fix in readme (@rjtavares)
  • Add additional_columns to to_pandas (@rjtavares)

0.6.0 (2020-06-18)

  • Add Opta event serializer
  • Fix for event pattern matching for nested captures
  • Fix for event pattern matching when multiple paths can match
  • Improved ball_recovery example

0.5.3 (2020-06-16)

  • Add code formatting and contributing guide (@dmallory42)
  • Add support for python 3.6

0.5.2 (2020-06-13)

  • Fix Transformer when ball position is not set (@benoitblanc)
  • Fix for working with periods in EPTS Serializer (@bdagnino)

0.5.1 (2020-06-13)

  • Add stats in json/text format to kloppy-query
  • Add show-events to kloppy-query to print all events in the matches
  • Change kloppy-query to make it possible to run without an output file

0.5.0 (2020-06-13)

  • Add pattern matching based on regular expressions
  • Add kloppy-query: command line tool to search for patterns

0.4.1 (2020-06-05)

  • Fix for StatsBomb Serializer when location contains z coordinate

0.4.0 (2020-06-02)

  • Add StatsBomb event Serializer
  • Some fixes in readme
  • Refactor some code to get cleaner code
  • Pass a logger to performance_logging instead of print to stdout
  • Minor fixes to datasets loader

0.3.0 (2020-05-15)

  • Add FIFA EPTS Tracking Serializer
  • Add some examples
  • Add datasets loader to directly load dataset from your python code
  • Add limit argument to all loaders

0.2.1 (2020-05-12)

  • Add some helpers functions to directly load a dataset by filenames

0.2.0 (2020-05-05)

  • Change interface of TrackingDataSerializer
  • Add Metrica Tracking Serializer including automated tests
  • Cleanup some import statements

0.1.0 (2020-04-23)

  • Initial release (TRACAB)