Skip to content

Releases: Steffo99/patched-porobot

v1.0.0 - Final release

01 Oct 14:07
65ce804
Compare
Choose a tag to compare

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

23 Jun 02:24
dde2637
Compare
Choose a tag to compare

What's changed

  • ✨ Support game version 4.5.x and set7b

v0.12.0

11 Apr 17:19
40d040f
Compare
Choose a tag to compare

v0.11.1

11 Apr 14:47
e42034c
Compare
Choose a tag to compare

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 of Vec in data::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

24 Mar 00:50
ead9eed
Compare
Choose a tag to compare

What's changed

Binaries

  • ✨ Card data is downloaded automatically via Data Dragon!
    • ✨ Select a locale via the DATA_DRAGON_LOCALE envvar

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

Data usage

  • ✨ Added data::corebundle::CoreBundle::fetch method to retrieve data from a remote server
    • ✨ Added data::corebundle::create_globalindexes_from_dd_latest to create data::corebundle::globals::LocalizedGlobalsIndexes with data from a remote server
  • ✨ Added data::setbundle::SetBundle::fetch method to retrieve data from a remote server
    • ✨ Added data::setbundle::create_cardindex_from_dd_latest to create data::setbundle::card::CardIndex with data from a remote server

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

19 Mar 23:48
33163ab
Compare
Choose a tag to compare

What's changed

Docker

  • 🐳 Significantly improved multi-arch Docker image builds

Misc

  • 🧹 Fixed various typos here and there

v0.9.1

07 Feb 02:34
27ae299
Compare
Choose a tag to compare

What's changed

  • 🐛 Fix links in static strings
  • 🧹 Documentation improvements

v0.9.0

07 Feb 00:31
a0974f9
Compare
Choose a tag to compare

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
  • ✨ Implement From<&CardSupertype> for &'static str and String
  • 🔧 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

31 Jan 04:29
9e9e321
Compare
Choose a tag to compare

What's changed

Schema

  • 🧹 Removed data::setbundle::region::CardRegion::Jhin, data::setbundle::region::CardRegion::Evelynn and data::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 given PathBufs
  • ✨ 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 a expr as quantity
  • ✨ Add data::deckcode::Deck::champions(&self, &CardIndex) to get an Iterator 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 and data::setbundle::create_cardindex_from_wd to load data

Documentation

  • 🧹 Various improvements

Deployment

  • 🔧 Various Dockerfile tweaks

v0.7.0

18 Oct 23:14
d87e19d
Compare
Choose a tag to compare

What's Changed

  • 🐛 Fix weird behaviour with CardSet::TheDarkinSaga by @Steffo99 in #3
  • ✨ Allow deck codes to be sent with a name by @Steffo99 in #5

Full Changelog: v0.6.0...v0.7.0