zuraffa 3.20.0
zuraffa: ^3.20.0 copied to clipboard
AI first Flutter Clean Architecture Framework and CLI with Result types, UseCase patterns, Dependency Injection and MCP server for building type-safe, scalable apps with AI agents.
3.20.0 - 2026-04-01 #
Feat #
- Implemented Open Telemetry integration with persistent failure report queue for better observability
- Added Dart 3.0 Records support for VPC pattern with watchRecord methods
- Added register capability to DI plugin for dynamic dependency registration
- Added
--use-serviceflag to zfa feature and zfa make commands for service-based generation - Enabled adding view/presenter to existing usecases with correct state management via zfa make
Change #
- Refactored CLI to unify orchestration and implement active discovery pattern in all generator plugins
- Upgraded analyzer dependency from version 11 to 12 for better code analysis
- Standardized presenter pattern to directly inject data and set from view/controller
- Renamed debugmode for consistency
- Extended mock command with additional bug fixes
- Updated website documentation
Fix #
- Fixed usecase registration via zfa feature command
- Fixed routes generation and implemented detail view
- Fixed entity command issues
- Fixed datasource plugin stability
- Fixed default timeout configuration
- Stabilized revert method and config defaults
- Fixed pull request finding logic (multiple iterations)
- Fixed 173+ analysis errors in generated code
- Resolved stability issues across multiple components
Chore #
- Added gitignore entries for Junie IDE
- Formatted codebase
3.19.0 - 2026-03-13 #
Change #
- Implemented "Smart Revert" for append operations:
--revertnow removes specific methods/imports instead of deleting the entire file if other content remains. - Enhanced
LocalDataSourceBuilderto support non-Zorphy entities usingPartial<T>andapplyPartialpattern. - Improved
MockPluginto skip mock generation in presentation-only workflows when data layers are missing. - Updated
RouteBuilderto automatically generate and maintainrouting/index.dartfor all entity routes. - Standardized relative import paths in UseCases and Services to use project-consistent depth (e.g.,
../../entities/for UseCases). - Refactored Mock Provider naming convention to
EntityMockProviderand unified DI registration filenames.
Fix #
- Fixed
zfa featurecommand to correctly generate entity-based CRUD UseCases when theusecaseplugin is active. - Fixed missing imports for return types and mock data when appending to existing Mock Providers or DataSources.
- Fixed DI generation to prevent accidental deletion of existing mock DI registrations.
- Fixed
UseCasePluginto correctly handle revert operations even when implicit generation flags are off. - Resolved multiple regressions in integration and regression test suites, restoring 100% pass rate (386 tests).
3.18.0 - 2026-03-10 #
Change #
- Refactored all plugins to use unified
GeneratorOptionspattern (removed deprecateddryRun,force,verboseparameters) - Updated
CodeGeneratorto acceptGeneratorOptionsfor consistent configuration - Migrated test files to use new
GeneratorOptionsAPI
Fix #
- Fixed generate configs for orchestrate usecases
- Fixed
zfa makecommand with orchestrate usecases - Fixed mock provider builder
- Fixed dependency injection configuration
- Fixed provider implementation
3.17.0 - 2026-02-17 #
Change #
- Standardized all CLI commands to use
capability.execute()pattern - Updated MCP server
zuraffa_generatetool withremoteandlocalflags - Refactored
CodeGeneratorto execute independent plugin generations in parallel
Fix #
- Fixed hardcoded
dryRun: falsein all capabilities - Corrected
CreateDataSourceCapabilityinput schema (addedremote, removed duplicatecache) - Resolved timeout in
full_entity_workflow_test.dartby parallelizing plugin execution
3.16.0 - 2026-02-17 #
Fix #
- Resolved conflict between
--domainand entity-based generation inzfa generate - Fixed
NoParams.toString()format - Added
// TODOcomments to generated usecase templates - Added dead code check to
zfa doctor
3.14.0 - 2026-02-15 #
Change #
- Added build command, better error message if zuraffa is not installed
3.12.0 - 2026-02-15 #
Change #
- Improved timeout on doctor command,added zuraff_ prefix to mcp commands
3.10.0 - 2026-02-15 #
Fix #
- Added _asStringList helper to handle String or List
- Fixed field, subtypes, and values parsing
- All tests passing
- MCP server entity_create and entity_enum working correctly
3.0.9 - 2026-02-15 #
Change #
- Updated zorphy dependency to 1.6.0
- Entity command now uses zorphy library directly (no subprocess)
3.0.8 - 2026-02-15 #
Change #
- Integrated zorphy entity generation directly into zuraffa (no subprocess)
- Entity command now works without zorphy installed
- Published zorphy 1.6.0 with clean SOLID architecture
3.0.7 - 2026-02-15 #
Change #
- Refactor CLI to clean plugin-based architecture with Command
Change #
- Refactored CLI to use clean plugin-based architecture with
Command<void>from args package - Removed legacy
GenerateCommandmonolith, now usesPluginOrchestrator - Added all missing CLI flags:
--data,--debug,--from-json,--vpcs,--pc,--pcs, and more - Fixed disabled plugin support from
.zfa.jsonconfiguration - Improved error messages with suggestions for
--id-field-typevalidation
3.0.6 - 2026-02-15 #
Change #
- Embed zfa CLI directly in MCP server - no external activation required
- Fix suggestions for id-field-type errors
3.0.3 - 2026-02-14 #
3.0.0 - 2026-02-13 #
Change #
- Major refactoring: Clean Architecture with plugin-based CLI
- Plugin orchestrator for composable code generation
- MCP server for AI/IDE integration
- Zorphy entity support