From 4cf3969ae644c8f01a8afafd1240616acb9da090 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 17 Oct 2025 17:17:20 -0700 Subject: [PATCH] chore: prepare release 2.9.0 --- .env.example | 2 +- CHANGELOG.md | 16 +++++++++++++++ RELEASE_NOTES_TEMPLATE.md | 30 +++++----------------------- docker-compose.yml | 2 +- dockerhub-docker-compose.yml | 2 +- docs/releases/v2.9.0.md | 38 ++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 7 files changed, 63 insertions(+), 29 deletions(-) create mode 100644 docs/releases/v2.9.0.md diff --git a/.env.example b/.env.example index a7d347e..c2bcb05 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=v2.8.1 # Matches dockerhub compose. +APP_VERSION=v2.9.0 # Matches dockerhub compose. ############################ # Theming diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d277bf..ef7d5ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,22 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning ## [Unreleased] ### Summary +_No unreleased changes yet_ + +### Added +_None_ + +### Changed +_None_ + +### Removed +_None_ + +### Fixed +_None_ + +## [2.9.0] - 2025-10-17 +### Summary New card browser for exploring 29,839 Magic cards with advanced filters, similar card recommendations, and performance optimizations. ### Added diff --git a/RELEASE_NOTES_TEMPLATE.md b/RELEASE_NOTES_TEMPLATE.md index 2042211..39fbda5 100644 --- a/RELEASE_NOTES_TEMPLATE.md +++ b/RELEASE_NOTES_TEMPLATE.md @@ -1,36 +1,16 @@ # MTG Python Deckbuilder ${VERSION} ### Summary -New card browser for exploring and discovering cards with advanced filters, similar card recommendations, and fast performance. +_No unreleased changes yet_ ### Added -- **Card Browser**: Browse and search all 29,839 Magic cards at `/browse/cards` - - Smart autocomplete with typo tolerance for card names and themes - - Multi-theme filtering (up to 5 themes) - - Color, type, rarity, CMC, power/toughness filters - - Multiple sorting options including EDHREC popularity - - Infinite scroll with shareable URLs -- **Card Detail Pages**: Individual card pages with similar card suggestions - - Enable with `ENABLE_CARD_DETAILS=1` environment variable - - Full card stats, oracle text, and theme tags - - Similar cards based on theme overlap with color-coded scores - - Card preview on hover -- **Similarity Cache**: Pre-computed card similarities for instant page loads - - Build cache with `python -m code.scripts.build_similarity_cache_parquet --parallel` - - Control with `SIMILARITY_CACHE_ENABLED` environment variable -- **Keyboard Shortcuts**: Quick navigation - - `Enter` to add autocomplete matches - - `Shift+Enter` to apply filters - - Double `Esc` to clear all filters +_None_ ### Changed -- **Card Database**: Expanded to 29,839 cards (from 26,427) -- **Theme Catalog**: Improved coverage and filtering +_None_ ### Removed -- **Unused Scripts**: Removed redundant `regenerate_parquet.py` +_None_ ### Fixed -- **Card Browser**: Improved UI consistency and image loading -- **Infinite Scroll**: No more duplicate cards when loading more -- **Sorting**: Sort order now persists correctly across pages +_None_ diff --git a/docker-compose.yml b/docker-compose.yml index e1f9d71..f8eb29e 100644 --- a/docker-compose.yml +++ b/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: "2.8.1" # Displayed version label (set per release/tag) + APP_VERSION: "2.9.0" # 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 b60f571..04f9c3d 100644 --- a/dockerhub-docker-compose.yml +++ b/dockerhub-docker-compose.yml @@ -127,7 +127,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: "2.8.1" # Displayed version label (set per release/tag) + APP_VERSION: "2.9.0" # Displayed version label (set per release/tag) # ------------------------------------------------------------------ # Misc / Land Selection (Step 7) Environment Tuning diff --git a/docs/releases/v2.9.0.md b/docs/releases/v2.9.0.md new file mode 100644 index 0000000..6b9298a --- /dev/null +++ b/docs/releases/v2.9.0.md @@ -0,0 +1,38 @@ +# MTG Python Deckbuilder v2.9.0 + +### Summary +New card browser for exploring 29,839 Magic cards with advanced filters, similar card recommendations, and performance optimizations. + +### Added +- **Card Browser**: Browse and search all Magic cards at `/browse/cards` + - Smart autocomplete for card names and themes with typo tolerance + - Multi-theme filtering (up to 5 themes) + - Color, type, rarity, CMC, power/toughness filters + - Multiple sorting options including EDHREC popularity + - Infinite scroll with shareable filter URLs +- **Card Detail Pages**: Individual card pages with similar card suggestions + - Full card stats, oracle text, and theme tags + - Similar cards based on theme overlap + - Color-coded similarity scores + - Card preview on hover + - Enable with `ENABLE_CARD_DETAILS=1` environment variable +- **Similarity Cache**: Pre-computed card similarities for fast page loads + - Build cache with parallel processing script + - Automatically used when available + - Control with `SIMILARITY_CACHE_ENABLED` environment variable +- **Keyboard Shortcuts**: Quick navigation in card browser + - `Enter` to add autocomplete matches + - `Shift+Enter` to apply filters + - Double `Esc` to clear all filters + +### Changed +- **Card Database**: Expanded to 29,839 cards (updated from 26,427) +- **Theme Catalog**: Improved coverage with better filtering + +### Removed +- **Unused Scripts**: Removed `regenerate_parquet.py` (functionality now in web UI setup) + +### Fixed +- **Card Browser UI**: Improved styling consistency and card image loading +- **Infinite Scroll**: Fixed cards appearing multiple times when loading more results +- **Sorting**: Sort order now persists correctly when scrolling through all pages diff --git a/pyproject.toml b/pyproject.toml index 185f077..bf67e36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "mtg-deckbuilder" -version = "2.8.1" +version = "2.9.0" description = "A command-line tool for building and analyzing Magic: The Gathering decks" readme = "README.md" license = {file = "LICENSE"}