From 429ac67ce05e3a01802ea014c5ad2d4fa3de2220 Mon Sep 17 00:00:00 2001 From: Elmehdi Aitbrahim Date: Fri, 28 Aug 2026 01:56:55 -0400 Subject: [PATCH] chore(release): 0.12.0 -- the web UI rewrite lands, and the broker-port flip completes Bumps keel-trader and the seven workspace packages from 0.11.2 to 0.12.0, plus every '==' sibling pin and uv.lock. 69 commits since v0.11.2, 23 feat and 14 fix among them -- a minor, not a patch. What ships: the zero-dependency web UI (#531-#555 -- static serving with checkable headers, JSON reports, the four-module client shell, six views, installable PWA whose worker structurally cannot cache a balance, the renderer and the curses TUI deleted); the broker-port flip completed (#524, #561-#569 -- the default venue resolves through the registry, every order is an OrderSpec, the second Coinbase renderer is gone, the pre-port client's grandfather clause retires); live stop management (#502, #521, #527 -- a per-cycle stop step off by default, a bracket as one order kind because two legs race, the sizing stop recorded because the current one ratchets away, and #519/#522's crash-ledger fixes); each rule declares its parameter space and tuning reads the declaration (#528); Alpaca refuses margin accounts by posture (#372); the installer fixes (#556, #557 -- confirm-mode production config, the floor is the artifact's); per-release self-update and the Windows installer (#510, #511, #512, #438-#439); the pooled-review report driver (#427); the Python floor moves to 3.14 (#546). All eight distributions move as one set; 'keel versions' exits non-zero when they disagree and tests/test_packaging.py pins the sibling '==' constraints, which is how this bump caught itself half-finished on the first red run. uv.lock moves with them (8 lines: one version per distribution, nothing else) -- the release workflow checks it is current before anything else. --- packages/keel-broker-alpaca/pyproject.toml | 4 ++-- packages/keel-broker-api/pyproject.toml | 4 ++-- packages/keel-broker-coinbase/pyproject.toml | 4 ++-- packages/keel-broker-fake/pyproject.toml | 4 ++-- packages/keel-broker-kraken/pyproject.toml | 4 ++-- packages/keel-broker-robinhood/pyproject.toml | 4 ++-- packages/keel-core/pyproject.toml | 2 +- pyproject.toml | 8 ++++---- uv.lock | 16 ++++++++-------- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/packages/keel-broker-alpaca/pyproject.toml b/packages/keel-broker-alpaca/pyproject.toml index 298d766..f6b8313 100644 --- a/packages/keel-broker-alpaca/pyproject.toml +++ b/packages/keel-broker-alpaca/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "keel-broker-alpaca" -version = "0.11.2" +version = "0.12.0" description = "Alpaca Trading API adapter for keel (US equities, cash account)" license = "Apache-2.0" requires-python = ">=3.14" @@ -9,7 +9,7 @@ requires-python = ">=3.14" # deliberately NO `alpaca-py` SDK: Alpaca's Trading + Market Data APIs are plain # JSON-over-HTTPS with two header credentials, so the SDK would add a version-churning # dependency for nothing the port needs. -dependencies = ["keel-core==0.11.2", "keel-broker-api==0.11.2", "requests>=2.32.0"] +dependencies = ["keel-core==0.12.0", "keel-broker-api==0.12.0", "requests>=2.32.0"] [project.entry-points."keel.brokers"] alpaca = "keel_broker_alpaca:AlpacaAdapter" diff --git a/packages/keel-broker-api/pyproject.toml b/packages/keel-broker-api/pyproject.toml index f37baf5..7f62f0b 100644 --- a/packages/keel-broker-api/pyproject.toml +++ b/packages/keel-broker-api/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "keel-broker-api" -version = "0.11.2" +version = "0.12.0" description = "Broker port, domain types, capability model, and conformance suite for keel" license = "Apache-2.0" requires-python = ">=3.14" # Pinned `==`: see the note in the root `pyproject.toml`. An unpinned sibling is satisfied by # whatever is already installed, which is how a deployment ends up running mixed versions. -dependencies = ["keel-core==0.11.2"] +dependencies = ["keel-core==0.12.0"] [project.optional-dependencies] conformance = ["pytest>=9.1.1"] diff --git a/packages/keel-broker-coinbase/pyproject.toml b/packages/keel-broker-coinbase/pyproject.toml index d5a24d3..3a6531f 100644 --- a/packages/keel-broker-coinbase/pyproject.toml +++ b/packages/keel-broker-coinbase/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "keel-broker-coinbase" -version = "0.11.2" +version = "0.12.0" description = "Coinbase Advanced Trade adapter for keel" license = "Apache-2.0" requires-python = ">=3.14" # Siblings pinned `==` (see the root `pyproject.toml`); the third-party SDK is not, because it # has its own release cycle and is not cut from this repo. -dependencies = ["keel-core==0.11.2", "keel-broker-api==0.11.2", "coinbase-advanced-py>=1.8.4"] +dependencies = ["keel-core==0.12.0", "keel-broker-api==0.12.0", "coinbase-advanced-py>=1.8.4"] [project.entry-points."keel.brokers"] coinbase = "keel_broker_coinbase:CoinbaseAdapter" diff --git a/packages/keel-broker-fake/pyproject.toml b/packages/keel-broker-fake/pyproject.toml index 0724af4..7e3debc 100644 --- a/packages/keel-broker-fake/pyproject.toml +++ b/packages/keel-broker-fake/pyproject.toml @@ -1,11 +1,11 @@ [project] name = "keel-broker-fake" -version = "0.11.2" +version = "0.12.0" description = "A deliberately divergent second broker adapter, to keep the port honest" license = "Apache-2.0" requires-python = ">=3.14" # Pinned `==`: see the note in the root `pyproject.toml`. -dependencies = ["keel-core==0.11.2", "keel-broker-api==0.11.2"] +dependencies = ["keel-core==0.12.0", "keel-broker-api==0.12.0"] [project.entry-points."keel.brokers"] fake = "keel_broker_fake:FakeAdapter" diff --git a/packages/keel-broker-kraken/pyproject.toml b/packages/keel-broker-kraken/pyproject.toml index d631f23..48583de 100644 --- a/packages/keel-broker-kraken/pyproject.toml +++ b/packages/keel-broker-kraken/pyproject.toml @@ -1,13 +1,13 @@ [project] name = "keel-broker-kraken" -version = "0.11.2" +version = "0.12.0" description = "Kraken adapter for keel (port-complete stub; every data/market method raises)" license = "Apache-2.0" requires-python = ">=3.14" # Siblings pinned `==` (see the root `pyproject.toml`). There is deliberately NO third-party # dependency: this package is a stub (#313) that handles no keys and makes no network calls, # so a Kraken SDK (and its credentials) arrive with the real implementation, not before it. -dependencies = ["keel-core==0.11.2", "keel-broker-api==0.11.2"] +dependencies = ["keel-core==0.12.0", "keel-broker-api==0.12.0"] [project.entry-points."keel.brokers"] kraken = "keel_broker_kraken:KrakenAdapter" diff --git a/packages/keel-broker-robinhood/pyproject.toml b/packages/keel-broker-robinhood/pyproject.toml index 6f07da3..dc4e30f 100644 --- a/packages/keel-broker-robinhood/pyproject.toml +++ b/packages/keel-broker-robinhood/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "keel-broker-robinhood" -version = "0.11.2" +version = "0.12.0" description = "Robinhood Crypto Trading API v2 adapter for keel" license = "Apache-2.0" requires-python = ">=3.14" @@ -8,7 +8,7 @@ requires-python = ">=3.14" # Ed25519 key, which no other venue keel talks to requires. Keeping it a dependency of this # package alone means an engine that never installs this adapter never installs the crypto stack # either -- the whole point of adapters being separate distributions. -dependencies = ["keel-core==0.11.2", "keel-broker-api==0.11.2", "pynacl>=1.5.0", "requests>=2.32.0"] +dependencies = ["keel-core==0.12.0", "keel-broker-api==0.12.0", "pynacl>=1.5.0", "requests>=2.32.0"] [project.entry-points."keel.brokers"] robinhood = "keel_broker_robinhood:RobinhoodAdapter" diff --git a/packages/keel-core/pyproject.toml b/packages/keel-core/pyproject.toml index 3f33b66..2647df8 100644 --- a/packages/keel-core/pyproject.toml +++ b/packages/keel-core/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "keel-core" -version = "0.11.2" +version = "0.12.0" description = "Shared domain types, configuration, and logging for keel" license = "Apache-2.0" requires-python = ">=3.14" diff --git a/pyproject.toml b/pyproject.toml index e425d22..f1b38d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "keel-trader" -version = "0.11.2" +version = "0.12.0" description = "Offline-first, broker-agnostic, rule-based spot-trading agent (halal policy by default)" license = "Apache-2.0" readme = "README.md" @@ -23,15 +23,15 @@ dependencies = [ # in one build, so `==` states a fact rather than guessing at compatibility. The cost is that # a version bump must move these numbers too -- the bump already edits every package's # `version`, and `tests/test_packaging.py` fails the build if a pin is left behind. - "keel-core==0.11.2", - "keel-broker-api==0.11.2", + "keel-core==0.12.0", + "keel-broker-api==0.12.0", # The default venue resolves through the keel.brokers entry points (#524), so the adapter # is a hard runtime dependency, not a convenience: without it installed, every config -- # including one with no `broker:` section -- fails at broker construction. The CLI also # imports the SDK directly to build the adapter's RESTClient transport # (`keel/commands/_common.py`); moving that construction into the adapter package is # Phase B's, with cb_client.py's deletion. - "keel-broker-coinbase==0.11.2", + "keel-broker-coinbase==0.12.0", ] [project.scripts] diff --git a/uv.lock b/uv.lock index 2f8669b..47a7674 100644 --- a/uv.lock +++ b/uv.lock @@ -454,7 +454,7 @@ wheels = [ [[package]] name = "keel-broker-alpaca" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-broker-alpaca" } dependencies = [ { name = "keel-broker-api" }, @@ -471,7 +471,7 @@ requires-dist = [ [[package]] name = "keel-broker-api" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-broker-api" } dependencies = [ { name = "keel-core" }, @@ -491,7 +491,7 @@ provides-extras = ["conformance"] [[package]] name = "keel-broker-coinbase" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-broker-coinbase" } dependencies = [ { name = "coinbase-advanced-py" }, @@ -508,7 +508,7 @@ requires-dist = [ [[package]] name = "keel-broker-fake" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-broker-fake" } dependencies = [ { name = "keel-broker-api" }, @@ -523,7 +523,7 @@ requires-dist = [ [[package]] name = "keel-broker-kraken" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-broker-kraken" } dependencies = [ { name = "keel-broker-api" }, @@ -538,7 +538,7 @@ requires-dist = [ [[package]] name = "keel-broker-robinhood" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-broker-robinhood" } dependencies = [ { name = "keel-broker-api" }, @@ -557,7 +557,7 @@ requires-dist = [ [[package]] name = "keel-core" -version = "0.11.2" +version = "0.12.0" source = { editable = "packages/keel-core" } dependencies = [ { name = "keyring" }, @@ -574,7 +574,7 @@ requires-dist = [ [[package]] name = "keel-trader" -version = "0.11.2" +version = "0.12.0" source = { editable = "." } dependencies = [ { name = "click" },