Releases: Steffo99/patched-porobot
Releases · Steffo99/patched-porobot
v1.0.0 - Final release
What's changed
- ✨ Support game version 5.9 and
set8set8aset9 - ...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_CODESenvvar - 🧹 Changed argument order of
data::setbundle::create_cardindex_from_dd_latest - 🧹 Used
impl Iteratorinstead ofVecindata::setbundle::create_cardindex_from_dd_latest
Development
- 📦 Added
tokioas 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_LOCALEenvvar
- ✨ Select a locale via the
Telegram
- ✨ Card art can be converted automatically to jpg via a imgproxy server
- ✨ Select the server with the
POROXY_HOSTenvvar - ✨ Specify the authentication key with the
POROXY_KEYenvvar - ✨ Specify the salt with the
POROXY_SALTenvvar
- ✨ Select the server with the
Data usage
- ✨ Added
data::corebundle::CoreBundle::fetchmethod to retrieve data from a remote server- ✨ Added
data::corebundle::create_globalindexes_from_dd_latestto createdata::corebundle::globals::LocalizedGlobalsIndexeswith data from a remote server
- ✨ Added
- ✨ Added
data::setbundle::SetBundle::fetchmethod to retrieve data from a remote server- ✨ Added
data::setbundle::create_cardindex_from_dd_latestto createdata::setbundle::card::CardIndexwith data from a remote server
- ✨ Added
Tests
- 🧪 Added various tests
Known issues
- 🐞 Tests cannot complete successfully on GitHub Actions due to the
testfeature not being installed there - 🐛 Deck
CQAAADABAICACAIFBLAACAIFAEHQCBQBEQBAGBADAQBAIAIKBUBAKBAWDUBQIBACA4GAMAIBAMCAYHJBGADAMBAOCQKRMKBLA4AQIAQ3D4QSIKZYBACAODJ3JRIW3AABQIAYUAIreturns 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 strandString - 🔧 Implement
From<&CardType>for&'static str
Search engine
- ✨ Add experimental
levelfield 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::Evelynnanddata::setbundle::region::CardRegion::Bardas they are absent in the real world data - ✨ Implement
data::setbundle::supertype::CardSupertypeas an enum
Data loading
- ✨ Add
data::corebundle::create_globalindexes_from_wdto load indexes from the "default" location - ✨ Add
data::setbundle::create_cardindex_from_pathsto load cards from the givenPathBufs - ✨ Add
data::setbundle::create_cardindex_from_wdto load cards from the "default" location - 📦
globbecame 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 aexprasquantity - ✨ Add
data::deckcode::Deck::champions(&self, &CardIndex)to get anIteratorof 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::standardto validate a deck for Standard play and return its regions - ✨ Add
data::deckcode::Deck::singletonto 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_wdanddata::setbundle::create_cardindex_from_wdto load data
Documentation
- 🧹 Various improvements
Deployment
- 🔧 Various Dockerfile tweaks