Skip to content

v0.56.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 11:53
· 238 commits to main since this release
d763f15

Minor Changes

  • #494 9b3edf0 Thanks @mattiamanzati! - Add codegen CLI command to automatically update Effect codegens

    This release introduces a new CLI command effect-language-service codegen that allows you to automatically update Effect codegens in your TypeScript files from the command line. The command scans files containing @effect-codegens directives and applies the necessary code transformations.

    Usage:

    • effect-language-service codegen --file <path> - Update a specific file
    • effect-language-service codegen --project <tsconfig.json> - Update all files in a project
    • effect-language-service codegen --verbose - Show detailed output during processing

    Example:

    # Update a single file
    effect-language-service codegen --file src/MyService.ts
    
    # Update entire project
    effect-language-service codegen --project tsconfig.json --verbose

    This is particularly useful for CI/CD pipelines or batch processing scenarios where you want to ensure all codegens are up-to-date without manual editor intervention.