Skip to content

Latest commit

 

History

History
189 lines (124 loc) · 4.4 KB

HISTORY.rst

File metadata and controls

189 lines (124 loc) · 4.4 KB

Release History

0.2.2 (10-01-2025)

Libraries

  • requests<2.33.0

0.2.1 (26-03-2023)

Improvements - Further depreciation fixes

0.2.0 (15-03-2023)

Improvements - Pin dependencies

Libraries - py3.7 removed and 3.11 added - pydantic upgraded to 2.6.4 - requests<2.32.0 - python-decouple upgraded to 3.8

0.1.7 (15-06-2023)

Improvements - Relax staking limitations for backers, in line with changes on exhange - Allow creation of bet requests by selection id, more performant than fixture/market type/competitor combination (which is retained)

0.1.6 (15-02-2023)

Bug Fixes - Add outcome field to SelectionsForMarket

0.1.5 (25-08-2022)

Bug Fixes - #38 fixed bet_request_get endpoint which had a broken each_way_active filter that prevented users from viewing any

each-way bets.

0.1.4 (23-08-2022)

Bug Fixes - #36 fixed my_bets endpoint that only worked for back side bets due to one-sided field validation

0.1.3 (09-08-2022)

Bug Fixes - #32 fixed the URL called for selections_for_market in betting.py - #28 remove sending of None in filters.py

0.1.2 (29-03-2022)

Example Improvements

  • dailyhorseracing - removed bet_request_get
  • bettinghistory - removed bet_request_get and added my_bets with customer_strategy_ref example

Bug Fixes

  • #22 BackersStats - removed from API
  • #21 AccountPreferences - building, city, thoroughfare set to optional strings

0.1.1 (24-03-2022)

Improvements

  • #17 session timeout
  • #18 start_date_time added to ActiveFixture

0.1.0 (24-03-2022)

Improvements

  • betcode-org migration
  • __version__ added / setup updated
  • GitHub actions added
  • req-test added
  • MIT Licence added
  • ReadMe update
  • docs added

0.0.7 (18-01-2022)

Resource updates

  • typing improvements

0.0.5 (21-12-2021)

Resource update

  • locality nullable

0.0.4 (21-12-2021)

Line Markets Bug fix

  • fix for line markets selections_for_market #9
  • handicap param changed to string on active_selections & prices methods

0.0.3 (19-12-2021)

ApiClient Changes (Breaking Changes)

  • new personalised_production_url made a manditory paramater on the client

Baseendpoint (Breaking Changes)

  • process_request_exception, check_bet_request_id, load_json_content, check_status_code changed to staticmethods

CustomerStrategyRef & CustomerOrderRef (Breaking Changes)

  • is_valid_customer_order_ref & is_valid_customer_strategy_ref moved onto the class as a staticmethod (from utils)
  • create_customer_order_ref & create_customer_strategy_ref moved to the class as classmethods (from utils)

Updated Testing

  • All betting functions and resources re-tested to new BetConnect swagger spec
  • exceptions classes

Examples Updated

  • examples updated to reflect new required personalised_production_url

House Keeping

  • Docstring updates
  • gammar and spelling updates

0.0.2 (18-12-2021)

ApiClient Changes (Breaking Changes)

  • change of login endpoint to account endpoint (APIClient)
  • new personalised_production_url to handle betconnect unique supplied user production urls

New Account Endpoint, Formerly Login (Breaking Changes)

  • get balance moved from betting endpoint to account endpoint
  • new get_user_preferences request added
  • both balance and get_user_preferences are called now on login
  • status function renamed to refresh_session_token

Betting Endpoint Functions Added (Breaking Changes)

  • my_bets new function added
  • get balance removed (moved to the accounts endpoint)

New Enums Helper Classes Created

  • various enums now created to help find correct status for requests

Custom Exceptions

  • custom exceptions now throw to provide more user specific information

Utils

  • uuid and strategy hashing functions added

Tests

  • betting and account resource tests added
  • betting endpoint new functions tested (see above function additions)
  • account endpoint new functions test (see above function additions)

Resource Name Changes (Breaking Change)

  • ActiveBetsRequest renamed to ActiveBetRequests

New Examples Added

  • account, bettinghistory, dailyhorseracing & datarequests
  • example.py removed