Skip to content

v0.11.1

Latest

Choose a tag to compare

@bhowiebkr bhowiebkr released this 10 Sep 21:23
c04d1b2

Core Engine Fixes

Named Output Pins System Overhaul

  • Fixed connection deserialization: Resolved critical issue where graphs using @outputs: docstring annotations failed to execute due to ambiguous pin name resolution
  • Added direction-aware pin lookup: Implemented get_pin_by_name_and_direction() method in Node class for precise pin identification during connection creation
  • Enhanced pin update algorithm: Replaced naive pin removal/recreation with intelligent position-based matching that preserves connections during docstring edits
  • Connection preservation: Pin renaming operations now maintain all existing connections, types, and visual properties

Code Editor Integration Fixes

  • CommandHistory method calls: Fixed AttributeError in CodeEditorDialog where incorrect push() calls were replaced with proper execute_command() method
  • Pin type synchronization: Function signature type changes now correctly update both pin.pin_type property and visual labels
  • Real-time updates: Pin labels refresh automatically when function annotations are modified (e.g., Data (str) to Data (int))

Pin Display Enhancements

  • Type visibility controls: Added Settings dialog checkbox for toggling pin type display with dynamic refresh capability
  • Label formatting: Pin labels can show/hide type information (e.g., length (int)) based on user preference
  • Settings persistence: show_pin_types setting saved with default value true

Build System Improvements

  • Script error fixes: Corrected syntax errors in batch files that caused build failures
  • Automated workflow: Removed interactive prompts to enable automated builds
  • Build organization: All artifacts now organized into builds/ directory structure
  • PowerShell compatibility: Fixed Python runtime download command and updated deprecated Nuitka console options
  • Artifact management: Added builds/ to .gitignore to prevent accidental commits

Example Graph Updates

  • Named pin migration: Updated all example graphs with proper @outputs: annotations
  • Connection fixes: Corrected pin names in weather_data_processor.md, nvidia_gpu_computer_vision_pipeline.md, and recipe_nutrition_calculator.md
  • File dialog memory: Added folder memory functionality to remember last used directory
  • Example cleanup: Removed 10 outdated example files that lacked named output pin support

Documentation Restructure

  • Organized hierarchy: Restructured docs into logical categories (developer_guide, implementation, issues, project, reference, user_guide)
  • Technical specifications: Added Epic 3.4 documentation and pin type visibility enhancement specifications
  • Development guides: Enhanced testing documentation and implementation notes

Technical Improvements

  • Backward compatibility: All changes maintain compatibility with existing graphs
  • Error handling: Enhanced error handling in execution pipeline and connection resolution
  • Code organization: Improved module structure and separation of concerns

Known Issues

  • Python virtual environment configuration requires manual setup
  • Environment switching workflow needs refinement
  • Some build script edge cases on specific Windows configurations

Files Changed: 65 files modified, 13,889 additions, 5,055 deletions