From 3c834222f83e5243cd50e49a550b31fc64a15f9e Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 25 Mar 2026 22:11:39 -0700 Subject: [PATCH] chore: prepare release 4.3.2 --- .env.example | 2 +- CHANGELOG.md | 9 ++++++++- RELEASE_NOTES_TEMPLATE.md | 9 ++++++++- docker-compose.yml | 2 +- dockerhub-docker-compose.yml | 2 +- docs/releases/v4.3.2.md | 21 +++++++++++++++++++++ pyproject.toml | 2 +- 7 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 docs/releases/v4.3.2.md diff --git a/.env.example b/.env.example index 6c4a3dc..3db71cf 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=v4.3.1 # Matches dockerhub compose. +APP_VERSION=v4.3.2 # Matches dockerhub compose. ############################ # Theming diff --git a/CHANGELOG.md b/CHANGELOG.md index 0571964..f6396c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning ## [Unreleased] ### Added -- **Smart Land Bases checkbox**: The New Deck modal Preferences section now has a **Smart Land Bases** checkbox (checked by default) to enable or disable smart land analysis per-build, replacing the `ENABLE_SMART_LANDS` environment variable. +_No unreleased changes yet_ ### Changed _No unreleased changes yet_ @@ -17,6 +17,13 @@ _No unreleased changes yet_ ### Fixed _No unreleased changes yet_ +### Removed +_No unreleased changes yet_ + +## [4.3.2] - 2026-03-25 +### Added +- **Smart Land Bases checkbox**: The New Deck modal Preferences section now has a **Smart Land Bases** checkbox (checked by default) to enable or disable smart land analysis per-build, replacing the `ENABLE_SMART_LANDS` environment variable. + ### Removed - **`ENABLE_SMART_LANDS` environment variable**: Removed in favor of the per-build checkbox in the New Deck modal. Use `LAND_PROFILE` or `LAND_COUNT` for headless/CLI control. diff --git a/RELEASE_NOTES_TEMPLATE.md b/RELEASE_NOTES_TEMPLATE.md index a7dda74..b643be8 100644 --- a/RELEASE_NOTES_TEMPLATE.md +++ b/RELEASE_NOTES_TEMPLATE.md @@ -2,7 +2,7 @@ ## [Unreleased] ### Added -- **Smart Land Bases checkbox**: The New Deck modal now has a **Smart Land Bases** checkbox in the Preferences section (checked by default). Enables or disables smart land analysis per-build without needing environment variables. +_No unreleased changes yet_ ### Changed _No unreleased changes yet_ @@ -10,6 +10,13 @@ _No unreleased changes yet_ ### Fixed _No unreleased changes yet_ +### Removed +_No unreleased changes yet_ + +## [4.3.2] - 2026-03-25 +### Added +- **Smart Land Bases checkbox**: The New Deck modal now has a **Smart Land Bases** checkbox in the Preferences section (checked by default). Enables or disables smart land analysis per-build without needing environment variables. + ### Removed - **`ENABLE_SMART_LANDS` environment variable**: Replaced by the per-build checkbox. Use `LAND_PROFILE` or `LAND_COUNT` for headless overrides. diff --git a/docker-compose.yml b/docker-compose.yml index 5b7bf06..7229571 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -142,7 +142,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: "v4.3.1" # Displayed version label (set per release/tag) + APP_VERSION: "v4.3.2" # 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 56dfae1..7c22d5c 100644 --- a/dockerhub-docker-compose.yml +++ b/dockerhub-docker-compose.yml @@ -144,7 +144,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: "v4.3.1" # Displayed version label (set per release/tag) + APP_VERSION: "v4.3.2" # Displayed version label (set per release/tag) # ------------------------------------------------------------------ # Misc / Land Selection (Step 7) Environment Tuning diff --git a/docs/releases/v4.3.2.md b/docs/releases/v4.3.2.md new file mode 100644 index 0000000..c4853b1 --- /dev/null +++ b/docs/releases/v4.3.2.md @@ -0,0 +1,21 @@ +# MTG Python Deckbuilder v4.3.2 + +## Summary +Replaces the `ENABLE_SMART_LANDS` environment variable with a per-build **Smart Land Bases** checkbox in the New Deck modal, giving you direct control over smart land analysis without needing to configure environment variables. + +## Added + +### Smart Land Bases checkbox +The New Deck modal Preferences section now includes a **Smart Land Bases** checkbox (checked by default). Each build can independently enable or disable smart land analysis — no environment variable or container restart required. + +- Checked (default): Smart land analysis runs as before — automatic land count, mana-base profile, and ETB tapped tolerance based on the commander's CMC and color complexity. +- Unchecked: Smart land analysis is skipped; land count and ratios use your configured defaults. + +The preference is remembered across builds in the current session. + +## Removed + +### `ENABLE_SMART_LANDS` environment variable +The `ENABLE_SMART_LANDS` env var has been removed. The per-build checkbox in the New Deck modal replaces it for web UI usage. + +For headless and CLI builds, smart land analysis runs by default. Use `LAND_PROFILE` or `LAND_COUNT` to override the profile or target count. diff --git a/pyproject.toml b/pyproject.toml index 5874dea..999e5b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "mtg-deckbuilder" -version = "4.3.1" +version = "4.3.2" description = "A command-line tool for building and analyzing Magic: The Gathering decks" readme = "README.md" license = {file = "LICENSE"}