From 1d95c5cbd04a57586193af50234086b17301b1a1 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 19 Oct 2025 14:07:55 -0700 Subject: [PATCH] chore: prepare release v3.0.1 --- .env.example | 2 +- CHANGELOG.md | 22 ++++++++++++++++++++++ RELEASE_NOTES_TEMPLATE.md | 11 ++++------- docker-compose.yml | 2 +- dockerhub-docker-compose.yml | 2 +- docs/releases/v3.0.1.md | 24 ++++++++++++++++++++++++ pyproject.toml | 2 +- 7 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 docs/releases/v3.0.1.md diff --git a/.env.example b/.env.example index 775a47f..4eef7c2 100644 --- a/.env.example +++ b/.env.example @@ -13,7 +13,7 @@ # HOST=0.0.0.0 # Uvicorn bind host (only when APP_MODE=web). # PORT=8080 # Uvicorn port. # WORKERS=1 # Uvicorn worker count. -APP_VERSION=v3.0.0 # Matches dockerhub compose. +APP_VERSION=v3.0.1 # Matches dockerhub compose. ############################ # Theming diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c85672..0172a48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,28 @@ _None_ ### Removed _None_ +### Fixed +_None_ + +### Performance +_None_ + +### Deprecated +_None_ + +### Security +_None_ + +## [3.0.1] - 2025-10-19 +### Added +_None_ + +### Changed +_None_ + +### Removed +_None_ + ### Fixed - **Color Identity Display**: Fixed commander color identity showing incorrectly as "Colorless (C)" for non-partner commanders in the summary panel diff --git a/RELEASE_NOTES_TEMPLATE.md b/RELEASE_NOTES_TEMPLATE.md index e922080..7b914a9 100644 --- a/RELEASE_NOTES_TEMPLATE.md +++ b/RELEASE_NOTES_TEMPLATE.md @@ -3,7 +3,7 @@ ## [Unreleased] ### Summary -Performance improvements and bug fixes for commander selection and display. +_No unreleased changes yet_ ### Added _None_ @@ -15,16 +15,13 @@ _None_ _None_ ### Fixed -- **Color Identity Display**: Fixed commander color identity showing incorrectly as "Colorless (C)" for non-partner commanders in the summary panel +_None_ ### Performance -- **Commander Selection Speed**: Dramatically improved response time from 4+ seconds to under 1 second - - Implemented intelligent caching for card data to eliminate redundant file loading - - Both commander data and full card database now cached with automatic refresh when data updates +_None_ ### For Users -- Commander selection is now **much faster** - expect sub-second response times -- Color identity labels in deck summaries now display correctly for all commanders +_No changes yet_ ### Deprecated _None_ diff --git a/docker-compose.yml b/docker-compose.yml index 37c2d2e..fab4858 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -123,7 +123,7 @@ services: # WEB_THEME_FILTER_PREWARM: "0" WEB_AUTO_ENFORCE: "0" # 1=auto-run compliance export after builds WEB_CUSTOM_EXPORT_BASE: "" # Optional: custom base dir for deck export artifacts - APP_VERSION: "v3.0.0" # Displayed version label (set per release/tag) + APP_VERSION: "v3.0.1" # Displayed version label (set per release/tag) # ------------------------------------------------------------------ # Misc / Land Selection (Step 7) Environment Tuning diff --git a/dockerhub-docker-compose.yml b/dockerhub-docker-compose.yml index 7cb92dd..1a556af 100644 --- a/dockerhub-docker-compose.yml +++ b/dockerhub-docker-compose.yml @@ -125,7 +125,7 @@ services: # WEB_THEME_FILTER_PREWARM: "0" WEB_AUTO_ENFORCE: "0" # 1=auto-run compliance export after builds WEB_CUSTOM_EXPORT_BASE: "" # Optional: custom base dir for deck export artifacts - APP_VERSION: "v3.0.0" # Displayed version label (set per release/tag) + APP_VERSION: "v3.0.1" # Displayed version label (set per release/tag) # ------------------------------------------------------------------ # Misc / Land Selection (Step 7) Environment Tuning diff --git a/docs/releases/v3.0.1.md b/docs/releases/v3.0.1.md new file mode 100644 index 0000000..08a8b4f --- /dev/null +++ b/docs/releases/v3.0.1.md @@ -0,0 +1,24 @@ +# MTG Python Deckbuilder v3.0.1 + +## Summary +Performance improvements and bug fixes for commander selection and display. + +## Fixed +- **Color Identity Display**: Fixed commander color identity showing incorrectly as "Colorless (C)" for non-partner commanders in the summary panel + +## Performance +- **Commander Selection Speed**: Dramatically improved response time from 4+ seconds to under 1 second + - Implemented intelligent caching for card data to eliminate redundant file loading + - Both commander data and full card database now cached with automatic refresh when data updates + - Past builds recommendations now 107x faster (0.86s → 0.008s) + +## For Users +- Commander selection is now **much faster** - expect sub-second response times +- Color identity labels in deck summaries now display correctly for all commanders +- Web UI "Download from GitHub" button now includes the new commander cache file + +## Infrastructure +- Created dedicated `commander_cards.parquet` file (472KB) for fast commander lookups +- Updated GitHub Actions workflow to build and publish commander cache +- Added commander cache download support in Docker entrypoint +- Implemented three-level caching system for optimal performance diff --git a/pyproject.toml b/pyproject.toml index a8c65ac..8727750 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "mtg-deckbuilder" -version = "3.0.0" +version = "3.0.1" description = "A command-line tool for building and analyzing Magic: The Gathering decks" readme = "README.md" license = {file = "LICENSE"}