Skip to content

Commit 492fe3c

Browse files
committed
Update for Season of the Witch
- Added support for Season of the Witch - Added support for Relic mode - Fixed bug where Season of the Deep had wrong date (was one day late)
1 parent 89530f6 commit 492fe3c

22 files changed

Lines changed: 76 additions & 57 deletions

File tree

RELEASE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# dcli Release Notes
22

3+
## v0.99.2 September 2, 2023
4+
5+
- Added support for Season of the Witch
6+
- Added support for Relic mode
7+
- Fixed bug where Season of the Deep had wrong date (was one day late)
8+
39
## v0.99.1 May 24, 2023
10+
411
- Updating Mac build environment to macos-11.
512

613
## v0.99.0 May 24, 2023
14+
715
- Added support for Season of the Deep (season_of_the_deep) moment.
816

917
## v0.98.0 March 3 2023

src/Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dcli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcli"
33
#version
4-
version = "0.99.1"
4+
version = "0.99.2"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Library for the dcli collection of command line tools for Destiny 2."

src/dcli/src/enums/mode.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ pub enum Mode {
116116
ZoneControl = 89,
117117
IronBannerRift = 90,
118118
IronBannerZoneControl = 91,
119+
Relic = 92,
119120

120121
//Added by dcli
121122
RiftCompetitive = 700,
@@ -210,6 +211,7 @@ impl Mode {
210211
89 => Ok(Mode::ZoneControl),
211212
90 => Ok(Mode::IronBannerRift),
212213
91 => Ok(Mode::IronBannerZoneControl),
214+
92 => Ok(Mode::Relic),
213215

214216
700 => Ok(Mode::RiftCompetitive),
215217
701 => Ok(Mode::ShowdownCompetitive),
@@ -288,6 +290,7 @@ impl Mode {
288290
|| *self == Mode::RiftCompetitive
289291
|| *self == Mode::ShowdownCompetitive
290292
|| *self == Mode::SurvivalCompetitive
293+
|| *self == Mode::Relic
291294
}
292295

293296
pub fn is_private(&self) -> bool {
@@ -399,6 +402,7 @@ impl FromStr for Mode {
399402
"rift_competitive" => Ok(Mode::RiftCompetitive),
400403
"showdown_competitive" => Ok(Mode::ShowdownCompetitive),
401404
"survival_competitive" => Ok(Mode::SurvivalCompetitive),
405+
"relic" => Ok(Mode::Relic),
402406

403407
_ => Err("Unknown Mode type"),
404408
}
@@ -495,6 +499,7 @@ impl fmt::Display for Mode {
495499
Mode::RiftCompetitive => "Rift Competitive",
496500
Mode::ShowdownCompetitive => "Showdown Competitive",
497501
Mode::SurvivalCompetitive => "Survival Competitive",
502+
Mode::Relic => "Relic",
498503
};
499504

500505
write!(f, "{}", out)

src/dcli/src/enums/moment.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ pub enum Moment {
7474
SeasonOfTheSeraph,
7575
Lightfall,
7676
SeasonOfDefiance,
77-
SeasonOfTheDeep
77+
SeasonOfTheDeep,
78+
SeasonOfTheWitch,
7879
}
7980

8081
impl Moment {
@@ -168,9 +169,12 @@ impl Moment {
168169
Utc.with_ymd_and_hms(2023, 2, 28, 17, 0, 0).unwrap()
169170
}
170171

171-
172172
Moment::SeasonOfTheDeep => {
173-
Utc.with_ymd_and_hms(2023, 5, 23, 17, 0, 0).unwrap()
173+
Utc.with_ymd_and_hms(2023, 5, 22, 17, 0, 0).unwrap()
174+
}
175+
176+
Moment::SeasonOfTheWitch => {
177+
Utc.with_ymd_and_hms(2023, 8, 22, 17, 0, 0).unwrap()
174178
}
175179
}
176180
}
@@ -224,6 +228,7 @@ impl FromStr for Moment {
224228
"lightfall" => Ok(Moment::Lightfall),
225229
"season_of_defiance" => Ok(Moment::SeasonOfDefiance),
226230
"season_of_the_deep" => Ok(Moment::SeasonOfTheDeep),
231+
"season_of_the_witch" => Ok(Moment::SeasonOfTheWitch),
227232

228233
_ => Err("Unknown Moment type"),
229234
}
@@ -272,7 +277,8 @@ impl fmt::Display for Moment {
272277
Moment::SeasonOfTheSeraph => "Season of the Seraph",
273278
Moment::Lightfall => "Lightfall",
274279
Moment::SeasonOfDefiance => "Season of Defiance",
275-
Moment::SeasonOfTheDeep => "Season of the Deep"
280+
Moment::SeasonOfTheDeep => "Season of the Deep",
281+
Moment::SeasonOfTheWitch => "Season of the Witch",
276282
};
277283

278284
write!(f, "{}", out)

src/dclia/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dclia"
33
#version
4-
version = "0.99.1"
4+
version = "0.99.2"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
description = "Command line tool for retrieving information on current activity for specified player character."
77
homepage = "https://www.mikechambers.com"

src/dcliad/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcliad"
33
#version
4-
version = "0.99.1"
4+
version = "0.99.2"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for viewing Destiny 2 activity details."

src/dcliad/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ OPTIONS:
6767
6868
Addition values available are crimsom_doubles, supremacy, survival, countdown, all_doubles, doubles,
6969
private_clash, private_control, private_survival, private_rumble, showdown_competitive, survival_competitive, rift_competitive, showdown, lockdown, scorched, rift, iron_banner_rift, zone_control, iron_banner_zone_control
70-
scorched_team, breakthrough, clash_quickplay, trials_of_the_nine [default: all_pvp]
70+
scorched_team, breakthrough, clash_quickplay, trials_of_the_nine, relic [default: all_pvp]
7171
-n, --name <name>
7272
Bungie name for player
7373
@@ -77,9 +77,9 @@ OPTIONS:
7777
The number of weapons to display details for [default: 5]
7878
```
7979

80-
| ARGUMENT | OPTIONS |
81-
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
82-
| --mode | all_pvp (default), control, clash, elimination, mayhem, iron_banner, all_private, rumble, pvp_competitive, quickplay and trials_of_osiris, crimsom_doubles, supremacy, survival, countdown, all_doubles, doubles private_clash, private_control, private_survival, private_rumble, showdown_competitive, survival_competitive, rift_competitive, showdown, lockdown, scorched, rift, iron_banner_rift, zone_control, iron_banner_zone_control, scorched_team, breakthrough, clash_quickplay, trials_of_the_nine |
80+
| ARGUMENT | OPTIONS |
81+
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
82+
| --mode | all_pvp (default), control, clash, elimination, mayhem, iron_banner, all_private, rumble, pvp_competitive, quickplay and trials_of_osiris, crimsom_doubles, supremacy, survival, countdown, all_doubles, doubles private_clash, private_control, private_survival, private_rumble, showdown_competitive, survival_competitive, rift_competitive, showdown, lockdown, scorched, rift, iron_banner_rift, zone_control, iron_banner_zone_control, scorched_team, breakthrough, clash_quickplay, trials_of_the_nine, relic |
8383

8484
Manifest can be downloaded and synced with from [dclim](https://github.com/mikechambers/dcli/tree/main/src/dclim).
8585

src/dcliad/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ struct Opt {
508508
/// private_survival, private_rumble, showdown_competitive, survival_competitive,
509509
/// rift_competitive, showdown, lockdown, iron_banner_rift,
510510
/// zone_control, iron_banner_zone_control, rift,
511-
/// scorched, scorched_team, breakthrough, clash_quickplay, trials_of_the_nine
511+
/// scorched, scorched_team, breakthrough, clash_quickplay, trials_of_the_nine, relic
512512
#[structopt(long = "mode", short = "M",
513513
parse(try_from_str=parse_and_validate_mode), default_value = "all_pvp")]
514514
mode: Mode,

src/dcliah/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcliah"
33
#version
4-
version = "0.99.1"
4+
version = "0.99.2"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for viewing Destiny 2 activity history."

0 commit comments

Comments
 (0)