Commit Graph

273 Commits (59461832422775ac895bc08e1ecb1a0657e57ddb)

Author SHA1 Message Date
Mingwei Samuel 1775ffb5d2 Release 2.40.0 2024-04-10 15:28:40 -07:00
Mingwei Samuel d8b04b5c86 test: update tests and documentation for removal of summoner names 2024-04-10 15:28:40 -07:00
Mingwei Samuel ce439b881e chore: Regen for removal of summoner names 2024-04-10 15:26:24 -07:00
Mingwei Samuel 2118ade1c3 Release 2.39.0 2024-04-08 12:09:47 -07:00
Mingwei Samuel 513d9054af test: remove `spectator-v4` tests 2024-04-08 12:09:30 -07:00
Mingwei Samuel f408e0f6bc Regen for removal of `spectator-v4` 2024-04-08 12:05:39 -07:00
Mingwei Samuel c25b546968 test: remove old `JP1_391732436` match test 2024-04-01 08:58:40 -07:00
Mingwei Samuel 995265571f Release 2.38.2 2024-03-26 21:09:58 -07:00
Mingwei Samuel 0d0fa4f2dc fix: potential race condition in `Notified` `Drop` impl 2024-03-26 21:09:37 -07:00
Mingwei Samuel 053622efc5 Release 2.38.1 2024-03-26 15:15:34 -07:00
Mingwei Samuel d26a9a290d fix: memory leak in `Notify`, fix #67
`notified()` future is now fused
2024-03-26 15:15:20 -07:00
Mingwei Samuel f4c75a421a test: add `Notify` memory leak test (failing)
ref #67
2024-03-26 14:59:53 -07:00
Mingwei Samuel 648602a4b6 Release 2.38.0 2024-03-23 22:24:29 -07:00
Mingwei Samuel 32bc68ed8c Regen for `match-v5.Participant` `riotIdName`/`riotIdGameName` descriptions 2024-03-23 22:24:29 -07:00
Mingwei Samuel e07b916a08 Add `match_v5::Participant::riot_id_game_name()` helper method 2024-03-23 22:24:29 -07:00
Mingwei Samuel db7192ce20 test: add spectator tests to `th2` 2024-03-23 22:19:53 -07:00
Mingwei Samuel ff86307485 Release 2.37.0 2024-03-20 17:18:35 -07:00
Mingwei Samuel 0b8477ffbb Regen for new `tft-match-v1.ParticipantMissionsDto` fields 2024-03-20 17:17:21 -07:00
Mingwei Samuel c0355495f5 Regen for previous commit, `ParticipantMissions` `x-alias`es 2024-03-20 16:49:14 -07:00
Mingwei Samuel c00c8abace feat: update codegen to consider model new `x-alias` field 2024-03-20 16:47:43 -07:00
Jeffrey Dallatezza 3d408d99ba Add an example test for `ParticipantMissions` returning PascalCase #65 2024-03-18 16:57:18 -07:00
Mingwei Samuel 276da10930 Regen for insignificant `match-v5.MatchTimelineInfoFrameEvent.type` enum comment 2024-03-18 16:54:08 -07:00
Mingwei Samuel 4f5e01e847 test: Add `EUW1_6852390800` to match test
https://github.com/MingweiSamuel/riotapi-schema/issues/45
2024-03-15 14:58:59 -07:00
Mingwei Samuel 34f26637df Release 2.36.0 2024-03-15 00:03:12 -07:00
Mingwei Samuel 071857b3d3 Regen for removal of `spectator-tft-v5` participant `bot` fields 2024-03-15 00:03:12 -07:00
Mingwei Samuel ccf62464fd Improve error messages for spectator tests 2024-03-14 23:55:02 -07:00
Mingwei Samuel 8d7f511171 Test spectator endpoints on `TR` as well 2024-03-14 23:26:28 -07:00
Mingwei Samuel d43ba94222 Move spectator tests into testutils, add `spectator-tft-v5` tests 2024-03-14 23:26:28 -07:00
Mingwei Samuel ed9eb0094e Regen for `spectator-tft-v5` 2024-03-14 23:26:27 -07:00
Mingwei Samuel 9700dde341 Release 2.35.0 2024-03-13 14:59:24 -07:00
Mingwei Samuel 2dd6c83334 Regen for various updates
https://github.com/RiotGames/developer-relations/issues/749
https://github.com/RiotGames/developer-relations/issues/906
2024-03-13 14:59:24 -07:00
Mingwei Samuel a1dab5e59b test: remove archived TFT `EUW1_6307427444`, `EUW1_6307262798` matches 2024-03-13 14:59:24 -07:00
Mingwei Samuel ca6149b0ed fix: codgen handle field name collisions 2024-03-13 14:59:09 -07:00
Mingwei Samuel 1ce54275ce test: remove expired `NA1_4265913704` match test 2024-03-08 11:01:14 -08:00
Mingwei Samuel 8a7fa49365 Release 2.34.1 2024-03-06 12:35:49 -08:00
Jeffrey Dallatezza 181403c578
feat: retry networking errors (#64)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@Jeffreys-Laptop.local>
2024-03-06 12:32:07 -08:00
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