Improvements
- adds warn field to RaceProgress
Bug Fixes
- RaceCard appKey regex update
Dependencies
- orjson upgraded to 3.10.7
- black upgraded to 24.8.0
Dependencies
- requests upgraded to <2.33.0
- orjson upgraded to 3.10.3
- black upgraded to 24.4.2
Improvements
- toml improvements
- repo cleanup
Bug Fixes
- Prevent race condition on snap when market cache has not finished populating
Dependencies
- orjson upgraded to 3.9.15
Improvements
- #550 update create socket for py3.12
- #562 Fix utcnow deprecation for python3.12 (@synapticarbors)
- toml file added
Dependencies
- python 3.12 added
- ciso8601 upgraded to 2.3.1
- orjson upgraded to 3.9.13
- black upgraded to 24.2.0
- build added as test dependency
Improvements
- Slack link expires
Dependencies
- orjson upgraded to 3.9.9
- black upgraded to 23.10.0
Improvements
- Improve performance of BaseStream.snap @petedmarsh
- Lazily evaluate log message parameters @petedmarsh
Dependencies
- orjson upgraded to 3.9.7
Bug Fixes
- Prevent race condition on connect/auth by reading response off socket first
Dependencies
- Remove python 3.7
- requests upgraded to <2.32.0
- orjson upgraded to 3.9.4
- black upgraded to 23.7.0
Improvements
- #279 Stop prepending pardir to certs path (@mzaja)
Dependencies
- orjson upgraded to 3.9.2
Bug Fixes
- RaceCard missing data handling
Dependencies
- black upgraded to 23.1.0
Dependencies
- add python 3.11 to tests
- ciso8601 upgraded to 2.3.0
- orjson upgraded to 3.8.5
Improvements
- #498 cricket API updates
Dependencies
- python 3.6 removed
- orjson upgraded to 3.8.0
- black upgraded to 22.10.0
Improvements
- Implement __getitem__ for bettingresources (@mberk)
- Add "modified" field to CricketIncident (@mberk)
Dependencies
- orjson upgraded to 3.7.12
Bug Fixes
- Missing pt added to cricket stream output
Dependencies
- orjson upgraded to 3.7.7
- black upgraded to 22.6.0
- requests upgraded to <2.29.0
Improvements
- Change to Login Session Expiry Time (24 to 12 hours)
Dependencies
- orjson upgraded to 3.6.8
- black upgraded to 22.3.0
Improvements
- #464 Change of Minimum Stake - Multiple Currencies
- streaming running property added
- Long description added to setup.py
Improvements
- #460 cricket breaking changes
- betcode logo added
Bug Fixes
- #458 handle currupt betfair pro data
Improvements
- betcode-org transfer/renames
- Cricket stream example (@mberk)
Improvements
- order cache optimisation to create resources once (5s->0.2s)
Dependencies
- orjson upgraded to 3.6.7
Improvements
- Cricket Stream added (@mberk)
- race depreciation warning added
- PYPI secret update and deploy environment added
- slack group invite updated
Bug Fixes
- Add HISTORY.rst to MANIFEST.in to fix broken release test (@synapticarbors)
Improvements
- GBP min bet / EUR min bsp liability update
Dependencies
- requests upgraded to <2.28.0
- black upgraded to 22.1.0
- orjson upgraded to 3.6.6
Bug Fixes
- #438 cache missing argument 'active' (@kwassmuss)
Dependencies
- black upgraded to 21.11b1
Bug Fixes
- Handle missing values in Going resource
Dependencies
- python 3.10 testing added
- black upgraded to 21.10b0
Improvements
- #426 minor calculate tv imp
- #428 OrderStream with no caching using listener.order_updates_only flag
- debug param deprecated and handled explicitly
Bug Fixes
- #429 update create_req typing
Dependencies
- black upgraded to 21.9b0
- orjson upgraded to 3.6.4
Improvements
- Explicit handling of debug flag in listener and depreciation warning added
Improvements
- active flag added to stream and cache to optimise calls in flumine when backtesting
Improvements
- currency_parameters updated
Bug Fixes
- Bump socket timeout to 64s to correctly raise Betfair timeouts and prevent unwanted Socket timeouts
- Split socket shutdown and close in socket.stop()
- Missing timeouts added to request endpoints
Dependencies
- orjson upgraded to 3.6.3
Bug Fixes
- #417 handle betfair historic data with listener flags
Dependencies
- orjson upgraded to 3.6.1
- ciso8601 upgraded to 2.2.0
Bug Fixes
- #396 Socket timeout set after call to connect (no thanks to @agberk)
- #403 default to StreamListener
- #411 New API Release w/c 9th August - listCurrentOrders - includeItemDescription
Dependencies
- black upgraded to 21.7b0
Bug Fixes
- #312 ensure exceptions are picklable (@aquasync)
- KA resources typo(@stevenwinfield)
Dependencies
- orjson upgraded to 3.6.0
- requests upgraded to 2.27.0
Improvements
- Upgrade to GitHub-native Dependabot
Bug Fixes
- Change to resources.LegacyData to make marketName non required field (@varneyo)
Dependencies
- orjson upgraded to 3.5.3
- black upgraded to 21.6b0
Improvements
- Allow single file (.pem) certificate (@beci)
- Tests directory cleanup
Bug Fixes
- #387 default total matched set to 0 (was None)
- #384 make regulator code optional in CurrentOrder
- #380 make name optional in scores
Dependencies
- orjson upgraded to 3.5.1
Improvements
- #373 Streaming refactor (2-3x+ speed improvement) using extensive caching of dicts/resources
- #369 Matches resource added
- Regression tests added to streaming operations
Bug Fixes
- SP traded fix, order wrong and wrong way around vs api/site
Dependencies
- orjson upgraded to 3.4.7
Improvements
- #370 Session timeout updated to 24hrs for international exchange
- License update
- Removed build.sh
Dependencies
- py3.5 testing removed
Bug Fixes
- #366 Parse Error in Setup.py at '_require' (@mlabour)
Dependencies
- orjson upgraded to 3.4.6
Improvements
- Stream updates
Dependencies
- orjson upgraded to 3.4.5
Improvements
- #359 Exchange Stream API Release - Tuesday 8th December – New field - cancelledDate
- Historical gen updated to only yield on data (reduces function calls in flumine)
Dependencies
- orjson upgraded to 3.4.4
Bug Fixes
- Historical generator fixed to only call create_resource once per call (huge speed improvement)
Dependencies
- requests upgraded to <2.26.0
Improvements
- #352 exchange stream API release (10/11/20)
- Add py3.9 actions test
Dependencies
- orjson upgraded to 3.4.3
Improvements
- Fix broken build from source due to missing requirements-speed.txt file (@synapticarbors)
Improvements
- #345: Improve Historic.download_file (@mberk)
Dependencies
- orjson and ciso8601 moved to optional requirement using pip install betfairlightweight[speed]
Improvements
- Fix types for list_race_details (synapticarbors)
- #340 cache removal added on old markets (8 hours closed)
- Streaming snap added to resources
Bug Fixes
- PR added to actions
Dependencies
- py3.9 added to tests
- orjson updated to 3.4.0
Improvements
- Transaction count updated to 5000
- Minor codebase cleanup
Dependencies
- #328 ujson migrated to orjson
- black updated to 20.8b1
Improvements
- Historical streaming cleanup (operation)
Improvements
- #325 listener.status property added
Dependencies
- ujson bumped to 3.1.0
Improvements
- #308 remove directory warnings / handling (breaking change)
- #318 include streaming_update in generator
Bug Fixes
- #320 generator reuse fix
Improvements
- Response (_response) removed from BaseResources due to potential memory leaks
Bug Fixes
- marketType bug fix (politics markets)
Improvements
- #308 rename directory to file_path
Bug Fixes
- #301 uncaught Error in list_market_book
Dependencies
- requests bumped to < 2.25.0
Improvements
- Github actions added
Bug Fixes
- #304 missing regulator auth code
Dependencies
- ujson upgraded from 2.0.3 to 3.0.0
Improvements
- LRUCache added to strip datetime
- NemID docs added
Dependencies
- ujson upgraded to 2.0.3
- c based libraries restricted to darwin and linux platforms only
Improvements
- #283 max_latency can now be set to None
Dependencies
- requests upgraded from 2.22.0 to 2.23.0
- ujson upgraded from 1.35 to 2.0.1 (updates to compat.py)
Improvements
- datetime handling added to time_range filter (@trigvi)
- connectionsAvailable handling added
Bug Fixes
- #273 error handling added for markets without marketDefinition
- #233 sendall used instead of send so that all data is sent (bug present since 2016!)
Improvements
- Listener.add_stream cleanup
Bug Fixes
- #268 CPU bug when using response.text
Improvements
- Breaking async removed from streaming (force user to handle thread)
- Breaking Description removed from 'create_stream'
- Black formatting on all files
- python 'Typing' added
- locale added to Navigation
- Certificate error messages improved
- Logging added to socket send
- __version__ file added and refactor to setup.py
- __version__ added to user agent
- raw requests Response added to objects
- elapsed_time now uses time() rather than datetime
- session can be passed to client
- streaming example with error handling and retry added
- mkdocs used for documentation
Bug Fixes
- #217 correct usage of ujson (refactor)
- Australia login interactive domain fixed
- Correct session timeout added for int and italy exchange
Dependencies
- ciso8601 upgraded from 2.0.1 to 2.1.3
- python 3 only
- python 3.8 testing added
Bug Fixes
- handicap added to LegacyData
Improvements
- Remove py3.4 support
Bug Fixes
- #232 RuntimeError fixed on serialize_orders
- avgPriceRaw added to LegacyData (@d3alek)
Dependencies
- requests upgraded / unpinned from exact version
Improvements
- OrderCache / UnmatchedOrder logic improved
- streaming_update and streaming_unique_id added to lightweight response
Bug Fixes
- handicap bugfix on OrderCache
- Missing closed logic added to OrderCache
Improvements
- RaceCard get_race_result function added (used by mobile app)
- Streaming generator listener now defaults to StreamListener
Bug Fixes
- #221 inplayservice subdomain updated (ips)
- #215 marketCatalogue no ERO data
Improvements
- #163 Historical stream generator added (no threads)
Bug Fixes
- #165 error handling added to closed connection
- #175 locals.copy() used to prevent OverflowError in VSCode
Improvements
- #54 listRunnerBook added to .betting
Bug Fixes
- #206 _async renamed to async_ due to camel case bug
Improvements
- Cert endpoints updated.
- License update.
- Readme update.
Bug Fixes
- Travis now builds py3.7!
Improvements
- Certificate url for login updated.
- publish_time_epoch added to MarketBook.
- marketDefinition added to serialise so that lightweight has it returned.
Improvements
- Str representation added to PriceSize object.
Bug Fixes
- RaceCard resource bug fix.
Dependencies
- Upgrade to requests 2.20.1 (security fix)
Improvements
- LoginInteractive endpoint added.
- User-Agent added to request headers.
Bug Fixes
- Error handling added to RaceCard.login()
Bug Fixes
- requirements.txt added to MANIFEST
Improvements
- Now working on py3.7!
- setup.py updated to use requirements only.
- py3.7 added to appveyor but pending travis to get their act together.
- Travis and appveyor yml cleanup.
Bug Fixes
- async renamed to _async in betting endpoint for py3.7
Improvements
- Better logging when market added to cache and initial socket responses.
Bug Fixes
- Refactor of the use of update_cache to prevent duplicate RunnerBook objects #180.
- Spanish URL updated, closes #164.
Breaking Changes
- async renamed to _async due to it being a reserved word in py3.7.
Improvements
- Build.sh and HISTORY.rst added
Dependencies
- Upgrade to ciso8601 2.0.1
- Upgrade to requests 2.19.1