Commit Graph

260 Commits (1ef9608a1095d96b6b910b4e0df8500ccd8fd9ea)

Author SHA1 Message Date
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
Mingwei Samuel 32fe532f07 Add test to fetch latest matches from JP 2023-03-20 22:26:00 -07:00
Mingwei Samuel d05b068bb8 Remove unused key-specific IDs in testutils 2023-03-20 21:58:31 -07:00
Mingwei Samuel d2c661b9ab Release 2.13.0 2023-03-08 13:54:32 -08:00
Mingwei Samuel 599f88ec73 Regen for optional `tft-match-v1.UnitDto.items`, fix #50 2023-03-08 13:51:15 -08:00
Mingwei Samuel 7f0b63bf92 Consolidate EUW TFT tests, failing
Add test for https://github.com/MingweiSamuel/Riven/issues/50
2023-03-08 13:49:53 -08:00
Mingwei Samuel 563f9e84a7 Regen for Milio and new undocumented TFT fields
https://github.com/RiotGames/developer-relations/issues/749
2023-03-08 13:21:43 -08:00
Mingwei Samuel 9f5b12cd1b Re-add tft tests, failing 2023-03-08 11:51:31 -08:00
Mingwei Samuel 129002bf23 Fix tft doubleup test again 2023-02-26 11:44:12 -08:00
Mingwei Samuel a11b6874f6 Fix tft doubleup test 2023-02-18 12:13:41 -08:00
Mingwei Samuel f51a67c1fc Add exponential backoff fix #38, cleanup some `regional_requester` code 2023-02-02 13:15:47 -08:00
Mingwei Samuel 97b6017b42 Release 2.12.0 2023-02-02 13:15:47 -08:00
Mingwei Samuel d7330fcd84 Regen, update for `TournamentRegion` enum, more `PlatformRoute` `altName`s 2023-01-20 22:06:16 -08:00
Mingwei Samuel d2a213c287 npm audit fix 2023-01-20 20:34:08 -08:00
Mingwei Samuel 4f5d115831 fixup! Generate region enums 2023-01-07 20:33:40 -08:00
Mingwei Samuel 871044974c Release 2.11.0 2023-01-07 20:22:19 -08:00
Mingwei Samuel 6c5af2bfd6 Add status tests for new regions (except taiwan TW2) 2023-01-07 20:20:23 -08:00
Mingwei Samuel 08e276a558 Generate region enums 2023-01-07 20:07:35 -08:00
Mingwei Samuel 0753fe1b34 Update `league_getforsummoner_tftbug` test 2023-01-07 18:09:17 -08:00
Mingwei Samuel c9bca855f2 Regen for K'Sante, `getByRSOPUUID` 2023-01-07 18:09:17 -08:00
Mingwei Samuel 342c87e682 Disable failing tournamentstub test 2023-01-07 18:09:17 -08:00
dependabot[bot] d05c3a11d4 Bump json-schema and jsprim in /riven/srcgen
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.

Updates `json-schema` from 0.2.3 to 0.4.0
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0)

Updates `jsprim` from 1.4.1 to 1.4.2
- [Release notes](https://github.com/joyent/node-jsprim/releases)
- [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
- [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
- dependency-name: jsprim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 16:35:53 -07:00
Mingwei Samuel 6c41bd03e4 Release 2.10.0 2022-09-21 01:42:57 -07:00
Mingwei Samuel 998eb4ec46 Regen for new endpoints, nullable `lol-status-v4` fields 2022-09-21 01:42:39 -07:00
Mingwei Samuel f3f34b6ff5 Release 2.9.0 2022-08-15 16:45:17 -07:00
tomchandler 1af0539a84 Enable val latam test, add filter on parent id 2022-08-15 16:34:20 -07:00
Mingwei Samuel 036f818457 Regen for optional `lol-challenges-v1.ChallengeInfo.achievedTime` 2022-08-15 16:10:10 -07:00
djazouli 2f4aae6635 regen 2022-08-12 07:54:15 -07:00
Mingwei Samuel 650380cdf9 Update `league_getforsummoner_tftbug` test 2022-06-22 01:22:54 -07:00
Mingwei Samuel 76a48963e5 Release 2.8.0 2022-06-21 00:09:43 -07:00
Mingwei Samuel 3ae9f36888 Generate `queue_type.rs` from riotapi-schema version 2022-06-21 00:09:08 -07:00
Mingwei Samuel 713995491e Ignore `league_getforsummoner_tftbug` test for now 2022-06-20 20:50:17 -07:00
Mingwei Samuel bfa9bdc36e Add deny-unknown-enum-variants features
Add `NONE = -1` variant to Champions
2022-06-20 20:43:16 -07:00
Mingwei Samuel 2e52b03c63 Add `QueueType` tests for serde & unknown variants 2022-06-20 19:29:34 -07:00
Mingwei Samuel b24fdcb765 Use `#[derive(Serialize, Deserialize)]` for string enums missing `UNKNOWN(String)` variant
Use updated `serde_string!` -> `serde_strum_unknown!` for enums with
`UNKNOWN` variant.
2022-06-20 10:05:54 -07:00
Mingwei Samuel 104db04d9d Revert "Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]"
This reverts commit 038e5eb493.

This is to fix handling of `#[strum(default)]` variants.
2022-06-20 09:40:28 -07:00
Mingwei Samuel 20863c5bcc Release 2.7.1 2022-06-15 15:58:52 -07:00
Mingwei Samuel b82a1725c1 Add RANKED_TFT_DOUBLE_UP (renamed version of RANKED_TFT_PAIRS) 2022-06-15 15:14:13 -07:00
Mingwei Samuel b1f7e8e605 Release 2.7.0 2022-05-25 18:30:41 -07:00
Mingwei Samuel 8e6073aa63 Regen, add rest of tests for `lol-challenges-v1`
Also adds Bel'Veth.
2022-05-25 18:27:48 -07:00
Mingwei Samuel f0f4af13af Release 2.7.0-rc.0 2022-05-19 00:49:11 -07:00
Mingwei Samuel b821314492 Regen and add `lol-challenges-v1.getAllChallengeConfigs` and `.getChallengeConfigs` test 2022-05-19 00:46:29 -07:00
Mingwei Samuel 03a053d142 Regen and fixes for added `lol-challenges-v1.getAllChallengePercentiles` and `.getChallengePercentiles` tests. 2022-05-19 00:15:28 -07:00
Mingwei Samuel 061ce5bd39 Disable part of val_content_ranked_test, see #39 2022-05-19 00:00:52 -07:00
Mingwei Samuel 7661c534cb Release 2.6.1 2022-04-04 11:57:11 -07:00
Mingwei Samuel 295ccc4daf Regen, add test & field `mejaisFullStackInTime` 2022-04-04 11:56:37 -07:00
Mingwei Samuel 8c458c000a Add EUW1_5765650307 match test, regen 2022-04-04 11:00:40 -07:00
Mingwei Samuel 43d0578ab7 Clean up double if-lets with tuple matches 2022-03-14 13:06:08 -07:00
dependabot[bot] 1b62208c78 Bump ajv from 6.10.2 to 6.12.6 in /riven/srcgen
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 20:31:10 -08:00
Mingwei Samuel 8d48956324 Release 2.6.0 2022-02-10 18:56:45 -08:00
Mingwei Samuel f37e7a5cbb Regen for bunch of spec override updates
- https://github.com/RiotGames/developer-relations/issues/603
- https://github.com/RiotGames/developer-relations/issues/604
- https://github.com/RiotGames/developer-relations/issues/605
2022-02-10 18:56:03 -08:00
Mingwei Samuel 386d41c208 Add tests for `match-v5.ParticipantDto.challenges`, add `deny-unknown-fields` feature 2022-02-10 17:02:56 -08:00
Mingwei Samuel 038e5eb493 Remove serde_string! macro in favor of #[derive(Serialize, Deserialize)]
As pointed out in #33
2022-02-08 22:28:48 -08:00
Mingwei Samuel ede1247bf8 fixup! Release 2.5.1 2022-02-08 22:28:29 -08:00
Mingwei Samuel 9f5935a3f5 Fix typos in doc comments 2022-02-08 20:27:58 -08:00
Mingwei Samuel 62f323da88 Release 2.5.1 2022-02-08 17:33:11 -08:00
Mingwei Samuel 1d70c479cf Add #![deny(missing_docs)], document all items 2022-02-08 17:17:47 -08:00
Mingwei Samuel 7865a439e1 Regen for Zeri, Renata Glasc, and ARURF queue ID updates. 2022-02-08 16:52:17 -08:00
Mingwei Samuel cb145bea0f Release 2.5.0 2021-12-29 11:58:26 -08:00
Mingwei Samuel 9478e3f95e Fix old RiotApi::with_config doc link 2021-12-29 11:53:15 -08:00
Mingwei Samuel d05f89c0d4 Fix parsing of Champion, improve error handling 2021-12-29 11:53:15 -08:00
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 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 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