v1.4.0 of blocz

2026-03-11T09:53:09.745607Z

1.4.0 was published on Mar 11, 2026.

Changelog excerpt:
- **New `--update`flag**: Added support for updating existing events. When used, `blocz`will synchronize parameters between your API methods and existing Event/State factory constructors, and surgically update BLoC method call arguments.
- **Robust Parameter Extraction**: Uses Dart AST (Abstract Syntax Tree) to correctly parse complex method arguments (e.g., nested parentheses) during code generation.
- **Surgical BLoC Updates**: Implemented AST-based surgical updates that only modify the necessary method call arguments, preserving any manual logic added to BLoC handlers.
- **Improved Documentation**: Added Mermaid flow diagrams to README and README-vi to explain `make`and `add:event`workflows.
- **Enhanced READMEs**: Clearly highlighted the technical advantages of using AST for reliable and non-destructive scaffolding.
- **Bug Fixes**: Resolved issues with fragile regex-based extraction and improved general stability.