Commit Graph

237 Commits (666786d0c705da187d6274b1da9d6756667b4adc)

Author SHA1 Message Date
Mingwei Samuel c5810076fc fix: cleanup loose `GameType` serde code 2024-03-05 11:54:53 -08:00
Mingwei Samuel 95c3ccbe0b fix: regen, updates to fix bad match data
https://github.com/RiotGames/developer-relations/issues/898
2024-03-05 11:31:06 -08:00
Mingwei Samuel ff6a3af9e1 test: stop print spamming platform data tests 2024-03-05 10:07:56 -08:00
Mingwei Samuel d46767cf3d test: add `Abort_Unexpected` test games, failing 2024-03-04 15:15:40 -08:00
Mingwei Samuel 688ffc2101 Release 2.34.0 2024-03-04 15:05:46 -08:00
Mingwei Samuel d67fee6328 test: add test for spectator-v5 2024-03-04 15:04:11 -08:00
Mingwei Samuel a33d6835db feat: regen for spectator-v5 2024-03-04 14:59:19 -08:00
Mingwei Samuel 4e74fefaae chore: add `wasm` category to Cargo.toml 2024-02-25 07:38:25 -08:00
Mingwei Samuel f562c6693d Release 2.34.0-beta.0
fix: include `/examples` in publish (included in `2.34.0-beta.0`)
2024-02-24 21:50:06 -08:00
Mingwei Samuel 554f1d6f57 refactor: avoid `Instant` underflow in wasm `web-time` (#63) 2024-02-24 21:42:06 -08:00
Mingwei Samuel 2f54bb6381 feat: add wasm testing (#63) 2024-02-24 21:42:06 -08:00
Mingwei Samuel 1d6b513aa7 feat: setup riven for wasm (nodejs) execution (#63)
+ use custom `Notify`
+ use different version of async sleep (tokio vs gloo-timers)
+ switch futures utils from `tokio` to `futures`
2024-02-24 21:42:06 -08:00
Mingwei Samuel 4faa8e83e4 style: cleanup `insert_only_chashmap.rs` (#63) 2024-02-24 21:42:06 -08:00
Mingwei Samuel 092ea34358 chore: replace `lazy_static` with std `OnceLock` 2024-02-24 09:46:11 -08:00
Mingwei Samuel 101633bb47 test: use `#[tokio_shared_rt::test]` instead of custom macro
`env_logger::init()` moved into `RIOT_API` static initializer
2024-02-24 09:28:36 -08:00
Mingwei Samuel 672870dcf1 Release 2.33.1 2024-02-17 20:17:18 -08:00
Mingwei Samuel b12060bb7f fix: add missing tokio `sync` feature 2024-02-17 20:16:59 -08:00
Mingwei Samuel 6b45c1eabd Release 2.33.0 2024-02-16 16:09:15 -08:00
Mingwei Samuel e4af32288d Regen for new `endOfGameResult` fields 2024-02-16 15:57:59 -08:00
Mingwei Samuel 4c9952b385 Update tests for new `endOfGameResult` fields 2024-02-16 15:57:44 -08:00
Mingwei Samuel 886ed4032d Release 2.32.0 2024-01-27 22:56:26 -08:00
Mingwei Samuel 5e235e3c51 Regen for `tft-match-v1.InfoDto.queue_id` queue enum 2024-01-27 22:55:55 -08:00
Guillermo Lloret Talavera 0f5fae1193
Add TFT queue 6000 (Set 3.5 Revival) (#62)
PR MingweiSamuel/riotapi-schema#43
2024-01-27 17:43:03 -08:00
Mingwei Samuel 416140c41d Add tests for #62
https://github.com/MingweiSamuel/riotapi-schema/pull/43
2024-01-27 17:22:22 -08:00
Mingwei Samuel b52ddcd5df Release 2.31.0 2024-01-25 11:31:26 -08:00
Mingwei Samuel 4cc241baac Regen 2024-01-25 11:29:58 -08:00
Mingwei Samuel 8d810ccca8 Add rustfmt.toml 2024-01-20 19:41:46 -08:00
Mingwei Samuel 33ef298039 Add `rustfmt_skip` to autogen preambles 2024-01-20 19:40:41 -08:00
Mingwei Samuel 655d04f8df Move proxy to make it an example, update its README.md 2024-01-20 19:39:44 -08:00
Mingwei Samuel 25f41388f0 Regen for minor changes 2024-01-20 19:19:52 -08:00
Mingwei Samuel 83d7fc3001 fix typo in tournament-stub-v5 test 2024-01-20 19:16:43 -08:00
Mingwei Samuel 25b5d9fd22 Release 2.30.0 2024-01-19 11:20:14 -08:00
Mingwei Samuel 4067b0cec7 Regen to fix #61
fix https://github.com/MingweiSamuel/Riven/issues/61

Also regen adds new `lor-match-v1.InfoDto.game_format` field.
2024-01-19 11:19:03 -08:00
Mingwei Samuel 406df5188f Release 2.29.0 2024-01-15 12:08:02 -08:00
Mingwei Samuel af759728e3 Re-enable, update `spectator-v4` test 2024-01-15 12:01:32 -08:00
Mingwei Samuel 1e136feaf3 Regen for myriad upstream changes from LoL 14.1 2024-01-15 12:01:32 -08:00
Mingwei Samuel 172bc84620 Add special parsing for `GameType`s missing `_GAME` suffix, add tests
https://github.com/RiotGames/developer-relations/issues/878
2024-01-15 11:58:24 -08:00
Mingwei Samuel ceac9d203b Release 2.28.0 2024-01-04 09:57:50 -08:00
Mingwei Samuel 4265d7e3c9 Regen for `QueueType::CHERRY`, removed `champion-mastery-v4` summoner ID endpoints 2024-01-04 09:57:50 -08:00
Mingwei Samuel 4391d214aa add test for LeagueV4 RU d3atomiz3d `"CHERRY"` `QueueType` 2024-01-04 09:57:50 -08:00
Mingwei Samuel 13a06b224a Update champion-master-v4 tests to use puuid 2023-12-26 22:21:47 -08:00
Mingwei Samuel b4398e4e98 Release 2.27.0 2023-11-22 09:41:07 -08:00
Mingwei Samuel 904a6b083f Regen for `Hwei`, removal of `clash-v1.getPlayersByPUUID`, and changed/new `match-v5.ParticipantDto.riotIdGameName` field 2023-11-22 09:40:46 -08:00
Mingwei Samuel ce2cd7c7a2 Add match test for new `match-v5.ParticipantDto.riotIdGameName` field 2023-11-22 09:37:27 -08:00
Mingwei Samuel c3982c390e Release 2.26.0 2023-11-15 11:48:57 -08:00
Mingwei Samuel c7f5c59495 Regen for new `tournament-v5.getGames` endpoint, `match-v5.Participant` updates 2023-11-15 11:43:47 -08:00
Mingwei Samuel ac12a8bfc2 Always display queue notes in doc comment 2023-11-15 11:43:29 -08:00
Mingwei Samuel 09f0f2562b Add new match to `tests_asia_jp.rs` 2023-11-15 11:20:54 -08:00
Mingwei Samuel dd77ffa6dd Allow multiple error message output from `match_v5_get[_timeline]` test helpers 2023-11-15 11:00:19 -08:00
Mingwei Samuel a9a0990d5c Remove archived match `NA1_4097036960` test 2023-11-15 10:48:30 -08:00
Mingwei Samuel c449a4fc52 Add `account-v1` `getByRiotId` and `getByPuuid` tests 2023-11-15 10:46:27 -08:00
Mingwei Samuel dc73fcbf46 update tests from tournament_v4 to tournament_v5 2023-10-17 23:03:21 -07:00
Mingwei Samuel fb95601526 Release 2.25.0 2023-10-13 11:37:52 -07:00
Mingwei Samuel bd76b24b2b Comment-out/replace broken `champion-mastery-v4.getChampionMasteryScore` test with PUUID version
https://github.com/RiotGames/developer-relations/issues/830
2023-10-13 11:37:52 -07:00
Mingwei Samuel 56b75ace18 Remove tft bug test, fixed Oct 3
https://github.com/RiotGames/developer-relations/issues/572#issuecomment-1718327573
2023-10-13 11:23:00 -07:00
Mingwei Samuel 2661acf5e9 Regen for tournament-v5 endpoints, new `match-v5.ObjectivesDto.horde` field
`horde`: https://github.com/RiotGames/developer-relations/issues/829
2023-10-13 11:22:54 -07:00
Mingwei Samuel c4a9993ac2 Remove tests on archived matches
Also adds `--no-fail-fast` to tests
2023-10-13 11:09:26 -07:00
Mingwei Samuel 512a7e9020 Regen for `tournament-stub-v5` and `val-content-v1.ContentDto.totem` 2023-09-21 23:43:22 -07:00
Mingwei Samuel e67ffff627 Improved error message for `val-content-v1` 2023-09-21 23:30:27 -07:00
Mingwei Samuel 9b08e058b7 update tft bug test, Riot will make the breaking fix on Oct 3
https://twitter.com/RiotGamesDevRel/status/1701723426178650191
2023-09-16 18:10:34 -07:00
Mingwei Samuel f79f2edab3 Release 2.24.0 2023-09-05 00:41:18 -07:00
Mingwei Samuel 1ec4c18ae4 Regen for Briar, new `champion-mastery-v4.getChampionMasteryByPUUID` endpoint 2023-09-05 00:38:32 -07:00
Mingwei Samuel c58da65298 Remove more old archived match IDs in `test_asia_jp` 2023-09-05 00:37:38 -07:00
Mingwei Samuel ac76a87367 Remove old archived match IDs, add some new EUW1 match IDs 2023-08-27 13:29:04 -07:00
Mingwei Samuel fc42abcbe2 update codegen to avoid `clippy::redundant_locals` 2023-08-11 11:42:46 -07:00
Mingwei Samuel 1fc947a040 Release 2.23.0
Seems 2.22.0 was published already, not released with the changes it was supposed to have based on commit history
2023-07-24 11:15:45 -07:00
Mingwei Samuel 8e3e081944 Release 2.22.0 2023-07-22 22:08:25 -07:00
Mingwei Samuel 41a00d68f6 Regen for the Arena 2v2v2v2 `CHERRY` game mode 2023-07-22 22:07:55 -07:00
Mingwei Samuel 800f9c83f4 Add new Arena 2v2v2v2 `CHERRY` game mode, tests 2023-07-22 22:07:25 -07:00
Mingwei Samuel 7c0fff55ae
Add EMERALD tier, fix #55 (#56)
fix #55
2023-07-21 08:45:13 -07:00
Mingwei Samuel 908d0d64ed Release 2.21.0 2023-07-19 13:52:15 -07:00
Mingwei Samuel 2aa493abfe Regen for Naafiri, removed champion-mastery-v4 by-puuid endpoints, off-season nullables 2023-07-19 13:51:58 -07:00
Mingwei Samuel d15d43797e make league_v4_match_v5_latest_combo test easier to diagnose 2023-07-19 13:15:19 -07:00
Mingwei Samuel 08bb2afd68 Release 2.20.0 2023-06-16 23:23:53 -07:00
Mingwei Samuel 9a2e5277c1 update tftbug test 2023-06-16 23:23:53 -07:00
Mingwei Samuel 3253fa4ec2 update tft tests 2023-06-16 23:23:53 -07:00
Mingwei Samuel bf51ba0a83 Regenerate for new `champion-mastery-v4` PUUID methods, new `match-v5.ParticipantDto` fields
New `champion-mastery-v4` endpoints:
* `getAllChampionMasteriesByPUUID`
* `getChampionMasteryByPUUID`
* `getTopChampionMasteriesByPUUID`
* `getChampionMasteryScoreByPUUID`

New fields: `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement`
2023-06-16 12:06:40 -07:00
Mingwei Samuel 3136f84680 Release 2.19.0 2023-05-29 19:56:41 -07:00
Mingwei Samuel 3070216709 Regen for new `match-v5.ParticipantChallenges.twoWardsOneSweeperCount` field 2023-05-29 19:56:31 -07:00
Mingwei Samuel 78f187570f Release 2.18.0 2023-05-15 09:16:30 -07:00
Mingwei Samuel ad08632089 Regen for new `champion-mastery-v4.ChampionMasteryDto.puuid` field 2023-05-15 09:15:59 -07:00
Mingwei Samuel 4b3afbd8ab Add extra `champion-mastery-v4` test for user w/o new `puuid` field 2023-05-15 09:15:53 -07:00
Mingwei Samuel cb5bd58784 cargo clippy fixes, enable lints in CI 2023-05-10 13:10:58 -07:00
Mingwei Samuel e53d78c807 cargo fmt 2023-05-10 13:10:58 -07:00
Mingwei Samuel 3d1188b5c9 rustfmt ignore templated generated files 2023-05-10 13:10:58 -07:00
Mingwei Samuel 150566983e Regen, `val-match-v1.MatchlistEntryDto.queueId` 2023-05-10 11:51:30 -07:00
Mingwei Samuel 7e78abb7e5
Update route.rs.dt comment typo 2023-05-09 22:09:13 -07:00
Mingwei Samuel 1567bae16e Update `FakeInstant`, token bucket test 2023-04-29 12:43:38 -07:00
Mingwei Samuel 112f6bceae Release 2.17.0 2023-04-23 10:14:15 -07:00
Mingwei Samuel 94e0a0d1d3 Regen for `match-v5.ParticipantDto.totalAlly/EnemyJungleMinionsKilled` fields 2023-04-23 10:13:48 -07:00
Mingwei Samuel 975b954f3f Release 2.16.0 2023-04-07 14:24:08 -07:00
Mingwei Samuel 0ea966a105 Regen for `firstTurretKilled` challenge 2023-04-07 14:23:07 -07:00
Mingwei Samuel 642ed27fa2 Release 2.15.0 2023-04-01 22:38:33 -07:00
Mingwei Samuel 26adf882fb Adjust `match-v5` test for only one team's participants' IDs being returned 2023-04-01 22:38:33 -07:00
Mingwei Samuel ac46e74de4 Print `matchId` when tests fails 2023-04-01 22:38:33 -07:00
Mingwei Samuel 0a1d5537cc Regen for new `lol-challenges-v1.PlayerClientPreferences` fields 2023-04-01 21:56:42 -07:00
Mingwei Samuel e5803092bf Regen for `clash-v1.getPlayersByPUUID` (new) and `tft-league-v1.LeagueListDTO` optional fields 2023-04-01 21:52:28 -07:00
Mingwei Samuel fa3e7a4bab Update `league_getforsummoner_tftbug` test 2023-04-01 21:47:05 -07:00
Mingwei Samuel 520fad7e7e Release 2.14.0 2023-03-20 22:26:48 -07:00
Mingwei Samuel 728aa0f99a Regen for https://github.com/RiotGames/developer-relations/issues/754 2023-03-20 22:26:14 -07:00