Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to Milo are documented here.

## 0.2.1 — 2026-04-10

Comment on lines +5 to +6
### Fixed

- Fixed group bare invocation showing "Unknown command" instead of group help, and help output now lists subcommands by name instead of raw argparse internals.

## 0.2.0 — 2026-04-10

### Added
Expand Down
1 change: 0 additions & 1 deletion changelog.d/+group-help-fix.fixed.md

This file was deleted.

1 change: 1 addition & 0 deletions changelog.d/+release-0.2.1.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Towncrier `title_format` updated to match established changelog heading style (`## version — date`).
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "milo-cli"
version = "0.2.0"
version = "0.2.1"
description = "Template-driven CLI applications for free-threaded Python"
readme = "README.md"
requires-python = ">=3.14"
Expand Down Expand Up @@ -136,7 +136,7 @@ directory = "changelog.d"
filename = "CHANGELOG.md"
package = "milo"
package_dir = "src"
title_format = "## [{version}] - {project_date}"
title_format = "## {version} {project_date}"
issue_format = "[#{issue}](https://github.com/lbliii/milo-cli/issues/{issue})"
underlines = ["", "", ""]

Expand Down
17 changes: 17 additions & 0 deletions site/content/releases/0.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Milo 0.2.1
description: Fix group help display and subcommand listing.
type: changelog
date: 2026-04-10
draft: false
lang: en
tags: [release, changelog]
keywords: [release, 0.2.1]
category: changelog
---

Patch release fixing group command help display.

## Fixed

- **Group help display** — Bare invocation of a command group now correctly shows group help instead of "Unknown command". Help output lists subcommands by name instead of raw argparse internals.
2 changes: 1 addition & 1 deletion src/milo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _Py_mod_gil() -> int: # noqa: N802
return 0


__version__ = "0.2.0"
__version__ = "0.2.1"
__all__ = [
"BUILTIN_ACTIONS",
"CLI",
Expand Down
10 changes: 5 additions & 5 deletions tests/test_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,22 +992,22 @@ def inner_saga():
yield Put(Action("DEBOUNCED_FIRE"))

def parent():
# First debounce — 0.15s
yield Debounce(seconds=0.15, saga=inner_saga)
# First debounce — 0.2s
yield Debounce(seconds=0.2, saga=inner_saga)
# Wait a bit, then retrigger before first fires
yield Delay(seconds=0.05)
# Second debounce — resets the timer
yield Debounce(seconds=0.15, saga=inner_saga)
yield Debounce(seconds=0.2, saga=inner_saga)
# Wait long enough for second to fire
yield Delay(seconds=0.3)
yield Delay(seconds=0.5)

def reducer(state, action):
actions.append(action.type)
return state or 0

store = Store(reducer, None)
store.run_saga(parent())
time.sleep(0.6)
time.sleep(1.0)
store._executor.shutdown(wait=True)

# Should fire exactly once (first timer cancelled, second fires)
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading