Skip to content

py-strictcli@v0.22.0

Choose a tag to compare

@smm-h smm-h released this 05 Sep 14:52
· 2564 commits to main since this release

Required booleans, Context type, schema project_id guard, tag contract global flags fix

Context

Breaking change: Bool flags no longer auto-default to false. BoolFlag without explicit Default(false) is now required. New Context type for structured handler communication. Schema dump now validates project_id. TagContract now checks global flags.

Breaking

  • [strictcli] Breaking. Bool flags no longer auto-default to false. BoolFlag without explicit Default(false) is now required — user must pass --flag or --no-flag.

Features

  • [strictcli] New. Schema dump validates project_id before writing — hard error if existing schema belongs to a different project.
  • [strictcli] New. Context type with output methods (Info, Warn, Debug, Error, Emit) for structured handler communication.
  • [strictcli] New. Comprehensive sub-project READMEs replacing severely stale documentation.

Fixes

  • [strictcli] Fix. TagContract now checks global flags, not just command-level flags.