Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jjuliano
Copy link
Member

@jjuliano jjuliano commented Aug 6, 2025

πŸš€ Major Schema Migration & Infrastructure Improvements

This PR introduces a comprehensive migration to the new uniform schema semantics (v0.2.42) and includes several infrastructure enhancements for better Docker and web server capabilities.

οΏ½οΏ½ Schema Migration (Breaking Changes)

  • Migrated to uniform schema v0.2.42 - Updated all PKL templates to use new schema format
  • Template Updates: All resource templates (workflow.pkl, llm.pkl, python.pkl, exec.pkl, response.pkl, client.pkl) updated to use new schema semantics
  • Field Naming: Changed from camelCase to PascalCase (e.g., name β†’ Name, targetActionID β†’ TargetActionID)
  • Documentation: Updated all documentation files to reflect new schema format

🐳 Docker & Infrastructure Improvements

  • WebSocket Support: Added proper WebSocket upgrade handling for proxy web applications
  • Docker Build Enhancement: Implemented system-wide pip installation for better Python package management
  • Dependency Updates: Updated key dependencies including Docker client, SQLite, and various Go packages

πŸ“š Documentation & Testing

  • Comprehensive Documentation: Updated all getting-started guides and resource documentation
  • Test Coverage: Enhanced test coverage across multiple packages
  • Examples: Updated tutorials and examples to use new schema format

πŸ”§ Technical Details

  • Files Changed: 97 files with 2,730 additions and 1,970 deletions
  • Key Dependencies Updated:
    • github.com/kdeps/schema: v0.2.40 β†’ v0.2.42
    • github.com/docker/docker: v28.3.0 β†’ v28.3.3
    • github.com/mattn/go-sqlite3: v1.14.28 β†’ v1.14.30
    • Added github.com/gorilla/websocket for WebSocket support

⚠️ Breaking Changes

This is a breaking change that requires users to update their existing PKL configurations to use the new uniform schema format. The migration involves:

  • Converting field names from camelCase to PascalCase
  • Updating template structures to match new schema requirements
  • Reviewing and updating custom resource definitions
  • Use 'kdeps upgrade' to upgrade to latest schema version and semantics as feasible.

πŸ§ͺ Testing

  • All existing tests updated and passing
  • New tests added for WebSocket functionality
  • Enhanced test coverage for schema migration components

πŸ“‹ Migration Guide

Users should refer to the updated documentation for migration instructions from the old schema format to the new uniform schema format.

@jjuliano jjuliano merged commit ff0e826 into main Aug 6, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants