Skip to content

Updated Release Notes for v0.2.0 #10

@namastex888

Description

@namastex888

Release v0.2.0

Major Architectural Changes

1. Distributed Task Processing with Celery

  • Implemented a robust Celery-based task processing system
  • Added a custom DatabaseScheduler for reliable task scheduling
  • Integrated Redis as the message broker and result backend
  • Enhanced scheduler reliability with database-backed persistence
  • Added worker management with foreground execution mode
  • Implemented retry mechanisms and error handling for tasks

2. Multi-Source LangFlow Integration

  • Added comprehensive workflow source management
  • Support for multiple LangFlow instances
  • New API endpoints for managing workflow sources
  • Enhanced remote flows API integration
  • Improved workflow synchronization across sources

3. Workflow Management

  • Complete refactor from flows to workflows architecture
  • Added LangFlowManager for workflow execution
  • Enhanced workflow scheduling with one-time and recurring schedules
  • Improved workflow input handling and validation
  • Added workflow component management
  • Enhanced workflow deletion with proper cleanup of related objects

Infrastructure & Performance

  • Integrated Redis for improved task queue management
  • Consolidated timezone configuration (AUTOMAGIK_TIMEZONE)
  • Enhanced database initialization and migrations
  • Improved setup process with Docker integration
  • Better error handling and logging throughout the system

API Enhancements

  • New endpoints for workflow source management
  • Enhanced workflow management endpoints
  • Improved task management and monitoring
  • Better error handling for invalid component responses

CLI Improvements

  • Added worker logs command for better debugging
  • Enhanced schedule list command
  • Improved workflow sync command with source name support
  • Better task management commands
  • Enhanced error reporting and user feedback

Bug Fixes

  • Fixed scheduling one-time creation issues
  • Improved workflow deletion functionality
  • Fixed workflow sync and execution issues
  • Resolved greenlet errors in workflow sync
  • Fixed various task execution and scheduling issues

Code Quality & Testing

  • Extensive test coverage for new features
  • Improved test structure and organization
  • Enhanced error handling and logging
  • Better code organization and modularity
  • Consolidated version management

Breaking Changes

The transition from flows to workflows architecture introduces some breaking changes:

  • Workflow API endpoints have changed
  • Task execution model has been updated
  • Configuration structure has been modified

Migration Guide

  1. Update your configurations to use the new AUTOMAGIK_TIMEZONE setting
  2. Migrate your existing flows to the new workflow structure
  3. Update any custom integrations to use the new API endpoints
  4. Configure Redis for Celery integration

Dependencies

Added new required dependencies:

  • Celery for distributed task processing
  • Redis for message broker and result backend
  • Additional Python packages for enhanced functionality

See pyproject.toml for the complete list of dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions