mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2026-04-05 12:47:17 +02:00
This commit is contained in:
parent
b808f411ea
commit
3c834222f8
7 changed files with 41 additions and 6 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
# HOST=0.0.0.0 # Uvicorn bind host (only when APP_MODE=web).
|
# HOST=0.0.0.0 # Uvicorn bind host (only when APP_MODE=web).
|
||||||
# PORT=8080 # Uvicorn port.
|
# PORT=8080 # Uvicorn port.
|
||||||
# WORKERS=1 # Uvicorn worker count.
|
# WORKERS=1 # Uvicorn worker count.
|
||||||
APP_VERSION=v4.3.1 # Matches dockerhub compose.
|
APP_VERSION=v4.3.2 # Matches dockerhub compose.
|
||||||
|
|
||||||
############################
|
############################
|
||||||
# Theming
|
# Theming
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### 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
|
### Changed
|
||||||
_No unreleased changes yet_
|
_No unreleased changes yet_
|
||||||
|
|
@ -17,6 +17,13 @@ _No unreleased changes yet_
|
||||||
### Fixed
|
### Fixed
|
||||||
_No unreleased changes yet_
|
_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
|
### 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.
|
- **`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.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### 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
|
### Changed
|
||||||
_No unreleased changes yet_
|
_No unreleased changes yet_
|
||||||
|
|
@ -10,6 +10,13 @@ _No unreleased changes yet_
|
||||||
### Fixed
|
### Fixed
|
||||||
_No unreleased changes yet_
|
_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
|
### Removed
|
||||||
- **`ENABLE_SMART_LANDS` environment variable**: Replaced by the per-build checkbox. Use `LAND_PROFILE` or `LAND_COUNT` for headless overrides.
|
- **`ENABLE_SMART_LANDS` environment variable**: Replaced by the per-build checkbox. Use `LAND_PROFILE` or `LAND_COUNT` for headless overrides.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,7 @@ services:
|
||||||
# WEB_THEME_FILTER_PREWARM: "0"
|
# WEB_THEME_FILTER_PREWARM: "0"
|
||||||
WEB_AUTO_ENFORCE: "0" # 1=auto-run compliance export after builds
|
WEB_AUTO_ENFORCE: "0" # 1=auto-run compliance export after builds
|
||||||
WEB_CUSTOM_EXPORT_BASE: "" # Optional: custom base dir for deck export artifacts
|
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
|
# Misc / Land Selection (Step 7) Environment Tuning
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ services:
|
||||||
# WEB_THEME_FILTER_PREWARM: "0"
|
# WEB_THEME_FILTER_PREWARM: "0"
|
||||||
WEB_AUTO_ENFORCE: "0" # 1=auto-run compliance export after builds
|
WEB_AUTO_ENFORCE: "0" # 1=auto-run compliance export after builds
|
||||||
WEB_CUSTOM_EXPORT_BASE: "" # Optional: custom base dir for deck export artifacts
|
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
|
# Misc / Land Selection (Step 7) Environment Tuning
|
||||||
|
|
|
||||||
21
docs/releases/v4.3.2.md
Normal file
21
docs/releases/v4.3.2.md
Normal file
|
|
@ -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.
|
||||||
|
|
@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mtg-deckbuilder"
|
name = "mtg-deckbuilder"
|
||||||
version = "4.3.1"
|
version = "4.3.2"
|
||||||
description = "A command-line tool for building and analyzing Magic: The Gathering decks"
|
description = "A command-line tool for building and analyzing Magic: The Gathering decks"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue