Commit graph

332 commits

Author SHA1 Message Date
Mingwei Samuel
2f4d1dc65c Add match_v5::Participant champion(&self) method to handle bad champion IDs
Riot: https://github.com/RiotGames/developer-relations/issues/553
https://github.com/MingweiSamuel/Riven/issues/36
2021-12-29 11:15:23 -08:00
Mingwei Samuel
de1e5cdbca Regen for match-v5.ParticipantDto optionals, consolidate/add match tests w/ invalid champion IDs 2021-12-29 10:50:13 -08:00
Mingwei Samuel
c07efb1087 match-v5.ParticipantDto use champion_id: Result<Champion, TryFromIntError> to handle invalid ints
Riot bug: https://github.com/RiotGames/developer-relations/issues/553
Fix #36
2021-12-29 10:50:10 -08:00
Mingwei Samuel
44b78abca9 Release 2.4.0 2021-11-19 18:53:51 -08:00
Mingwei Samuel
40edebf78b Regen for new queue enums, bugged LeagueEntry values 2021-11-19 18:53:32 -08:00
Mingwei Samuel
fd892b1451 Add test for bug https://github.com/RiotGames/developer-relations/issues/572 2021-11-19 18:40:37 -08:00
aPinat
260bf8250a Add RANKED_TFT_PAIRS QueueType 2021-11-19 18:28:02 -08:00
Mingwei Samuel
2be19f05ca Release 2.3.0 2021-11-09 19:07:48 -08:00
Mingwei Samuel
7e5bccd039 Update for optional fields in match-v5 timeline DTOs, adding more test matches 2021-11-09 19:07:31 -08:00
Mingwei Samuel
b981adbffc Release 2.2.0 2021-10-29 22:39:39 -07:00
Mingwei Samuel
0b16c2a385 Cleanup per clippy recommendations 2021-10-29 22:38:48 -07:00
Mingwei Samuel
0e22623056 Make models derive Clone, regen
Only couple descriptions changed in spec.
2021-10-29 22:24:57 -07:00
Mingwei Samuel
fda0836d27 Release 2.1.0 2021-10-07 10:14:49 -07:00
Mingwei Samuel
324016f33d Regen for enums 2021-10-07 10:12:51 -07:00
Mingwei Samuel
9f759369f8 Regen for match-v5 game duration changes 2021-10-07 10:12:44 -07:00
Mingwei Samuel
4c618eb939 Add more match-v5 tests 2021-10-07 10:10:19 -07:00
Mingwei Samuel
ad1b4fd630 Add Team ID 300 for baron killing herald 2021-10-07 09:24:56 -07:00
Mingwei Samuel
fed9c07e7f Release 2.0.0
- Remove deprecated RiotApi constructors.
2021-09-27 19:49:39 -07:00
Mingwei Samuel
8d2bcfe694 Regen for match-v5.MatchInfoDto docs casing fix, update tests
- https://github.com/RiotGames/developer-relations/issues/540
- https://github.com/MingweiSamuel/riotapi-schema/issues/28
2021-09-27 19:38:20 -07:00
Mingwei Samuel
3cd41bce4c Fix .gitignore for riven/srcgen move 2021-09-27 19:36:11 -07:00
Mingwei Samuel
9c13d126a6 Regen for match-v4 removal
- Comment out match-v4 tests.
2021-09-27 19:04:35 -07:00
Mingwei Samuel
f43795c5a3 Release 2.0.0-rc.3 2021-09-20 11:21:08 -07:00
Mingwei Samuel
1a0ae872f5 Add RiotApi::new(impl Into<RiotApiConfig>), deprecate old constructors, update docs
- Adds `From<AsRef<[u8]>> for RiotApiConfig` for API keys for the above.
2021-09-19 11:22:59 -07:00
Mingwei Samuel
8f5d7327d1 Update srcgen folder link in README.md 2021-09-09 23:11:33 -07:00
Mingwei Samuel
c9465eee32 Release 2.0.0-rc.2 2021-09-09 23:08:50 -07:00
Mingwei Samuel
32e70437ab Update enum numeric values (fixes #29), update doc links, regen 2021-09-09 22:51:15 -07:00
Mingwei Samuel
394e6c72e2 Update readme bullets 2021-09-09 22:45:23 -07:00
Mingwei Samuel
f1a51693fa Update README.md doctest 2021-09-09 14:54:02 -07:00
Mingwei Samuel
74eb5fa045 Update example proxy for v2, use workspaces.
- `example/proxy` is new folder for `example_proxy`.
- `riven` is new folder for the main riven lib.
- Updated metadata to be an array and include HTTP method.
2021-09-09 14:31:39 -07:00
Mingwei Samuel
5c26ddd211 Release 2.0.0-rc.1 2021-09-06 18:50:54 -07:00
Mingwei Samuel
9dcbc626c7 Update: method limits to handle all non-application 429s 2021-09-06 18:49:22 -07:00
Mingwei Samuel
dafc181bbe Regen, release 2.0.0-beta.5 2021-09-02 21:22:16 -07:00
Mingwei Samuel
44320bdeeb Release 2.0.0-beta.4 2021-07-23 17:58:23 -07:00
Mingwei Samuel
e1bf531235 Add rate_usage_factor configurations 2021-07-23 17:57:41 -07:00
Mingwei Samuel
00e520b7af Use tracing as log when tracing enabled 2021-07-23 15:40:55 -07:00
Mingwei Samuel
8dbcca434d Cleanup tracing formatting, regen 2021-07-23 15:32:37 -07:00
Thijs Molendijk
7f3fa7f59e Regen 2021-07-04 11:44:09 -07:00
Thijs Molendijk
3c4f3c967a Optional tracing support 2021-07-04 11:43:44 -07:00
Thijs Molendijk
032d3ac97d Properly set up the reqwest tls features 2021-07-04 11:33:27 -07:00
Mingwei Samuel
f182191680 Only check stable for compilation in test.bash 2021-07-04 10:21:11 -07:00
Mingwei Samuel
75ab41aca2 Wake up requests when rate limits update 2021-07-04 10:21:11 -07:00
Mingwei Samuel
c10275831f Enable tokio parking_lot feature 2021-07-04 10:13:38 -07:00
Mingwei Samuel
56973ae26e Release 2.0.0-beta.3 2021-07-01 23:25:32 -07:00
Mingwei Samuel
27e694a61c Update test.bash to check stable compilation 2021-07-01 23:25:20 -07:00
Mingwei Samuel
23645a9319 Remove uncompilable feature(extended_key_value_attributes) 2021-07-01 23:22:36 -07:00
Mingwei Samuel
9c4679fb88 Update ALL_KNOWN newtype_enum doccomment, make is_known const 2021-06-30 20:31:40 -07:00
Mingwei Samuel
2cb8db61f5 Release 2.0.0-beta.2 2021-06-30 19:55:59 -07:00
Mingwei Samuel
a1bca52576 Replace removed external_doc attr 2021-06-30 19:55:59 -07:00
Mingwei Samuel
62e2001457 Convert Season from enum to newtype_enum 2021-06-30 19:48:49 -07:00
Mingwei Samuel
4b23f9afed Convert Season from enum into newtype_enum 2021-06-30 19:46:26 -07:00