Releases: Steffo99/patched-porobot
Releases · Steffo99/patched-porobot
v1.0.0 - Final release
What's changed
- ✨ Support game version 5.9 and
set8
set8a
set9
- ...sort of. not really feeling motivated to maintain support for a game riot games themselves don't care about
v0.13.0
v0.12.0
What's changed
- ✨ Add CardKeyword::Brash
- ✨ Add CardSet::GloryInNavori Discord emoji
- ✨ Add proper support for the new formats
Testing
Packaging
Miscellaneous
v0.11.1
What's changed
- ✨ Added basic support for the Glory in Navori set
- 🐛 Fix configuration via the
DATA_DRAGON_SET_CODES
envvar - 🧹 Changed argument order of
data::setbundle::create_cardindex_from_dd_latest
- 🧹 Used
impl Iterator
instead ofVec
indata::setbundle::create_cardindex_from_dd_latest
Development
- 📦 Added
tokio
as a dev-dependency
Deployment
- 🧹 Tweaked debug logging for bundle loading and fetching
Documentation
- 📘 Removed references to "english" data in the documentation
- 📘 Fixed non-closed code blocks in the documentation
- 🐛 Restored development card data (required for tests)
- 🧪 Added doctest for
data::deckcode::deck::Deck::champions
v0.10.0
What's changed
Binaries
- ✨ Card data is downloaded automatically via Data Dragon!
- ✨ Select a locale via the
DATA_DRAGON_LOCALE
envvar
- ✨ Select a locale via the
Telegram
- ✨ Card art can be converted automatically to jpg via a imgproxy server
- ✨ Select the server with the
POROXY_HOST
envvar - ✨ Specify the authentication key with the
POROXY_KEY
envvar - ✨ Specify the salt with the
POROXY_SALT
envvar
- ✨ Select the server with the
Data usage
- ✨ Added
data::corebundle::CoreBundle::fetch
method to retrieve data from a remote server- ✨ Added
data::corebundle::create_globalindexes_from_dd_latest
to createdata::corebundle::globals::LocalizedGlobalsIndexes
with data from a remote server
- ✨ Added
- ✨ Added
data::setbundle::SetBundle::fetch
method to retrieve data from a remote server- ✨ Added
data::setbundle::create_cardindex_from_dd_latest
to createdata::setbundle::card::CardIndex
with data from a remote server
- ✨ Added
Tests
- 🧪 Added various tests
Known issues
- 🐞 Tests cannot complete successfully on GitHub Actions due to the
test
feature not being installed there - 🐛 Deck
CQAAADABAICACAIFBLAACAIFAEHQCBQBEQBAGBADAQBAIAIKBUBAKBAWDUBQIBACA4GAMAIBAMCAYHJBGADAMBAOCQKRMKBLA4AQIAQ3D4QSIKZYBACAODJ3JRIW3AABQIAYUAI
returns wrong legality results
v0.9.2
v0.9.1
v0.9.0
What's changed
Discord
- 🎉 Add Discord support!
Data usage
- ✨ Add Discord custom emoji codes for many data structs to be used in bots
- ✨ Add
data::setbundle::keyword::discord_emoji
- ✨ Add
data::setbundle::region::discord_emoji
- ✨ Add
- ✨ Implement
From<&CardSupertype>
for&'static str
andString
- 🔧 Implement
From<&CardType>
for&'static str
Search engine
- ✨ Add experimental
level
field to search, allowing disambiguation between champion levels
Misc
- ⬆️ Update dependencies
- 🧹 Apply various clippy lints
- 🧹 Cleanup documentation some more
v0.8.0
What's changed
Schema
- 🧹 Removed
data::setbundle::region::CardRegion::Jhin
,data::setbundle::region::CardRegion::Evelynn
anddata::setbundle::region::CardRegion::Bard
as they are absent in the real world data - ✨ Implement
data::setbundle::supertype::CardSupertype
as an enum
Data loading
- ✨ Add
data::corebundle::create_globalindexes_from_wd
to load indexes from the "default" location - ✨ Add
data::setbundle::create_cardindex_from_paths
to load cards from the givenPathBuf
s - ✨ Add
data::setbundle::create_cardindex_from_wd
to load cards from the "default" location - 📦
glob
became a required dependency
Data usage
- ✨ Add
deck!(deck_code)
macro to quickly load a deck from a valid deck code - ✨ Change
deck![card_code, quantity]
to accept aexpr
asquantity
- ✨ Add
data::deckcode::Deck::champions(&self, &CardIndex)
to get anIterator
of all champions in the deck - ✨ Add
data::deckcode::Deck::copies_of(&self, &CardCode)
to get the number of copies in the deck of a certain card - ✨ Add
data::deckcode::Deck::card_count(&self)
to count the number of cards in the deck - ✨ Add
data::deckcode::Deck::champions_count(&self, &CardIndex)
to count the number of champions in the deck - ✨ Add
data::deckcode::Deck::regions(&self, &CardIndex, usize)
to find a possible region combination for the deck- May not report accurate results for Runeterran decks
- ✨ Add
data::deckcode::Deck::standard
to validate a deck for Standard play and return its regions - ✨ Add
data::deckcode::Deck::singleton
to validate a deck for Singleton play and return its regions
Telegram bot
- ✨ Handle invalid card codes present in decks
- 🧹 Use
data::corebundle::create_globalindexes_from_wd
anddata::setbundle::create_cardindex_from_wd
to load data
Documentation
- 🧹 Various improvements
Deployment
- 🔧 Various Dockerfile tweaks