Releases: microsoft/genaiscript
v1.142.10
๐ Improved GitHub Actions Support
- Enhanced workspace handling for GitHub Actions: the CLI now properly detects and sets up the GitHub Actions workspace, ensuring smoother execution in CI environments.
- Git operations are now robust in GitHub Actions, with automatic safe.directory configuration to avoid permission issues.
๐ Action Configuration & Documentation Upgrades
- The action configuration (
actionConfigure
) now supports additional prompts for pull request description, comments, and review comments, making PR automation more flexible. - Generated
README.md
files and workflow examples are clearer and more actionable, with improved formatting and guidance for users.
๐ Bug Fixes & Reliability
- Fixed null reference issues in action configuration.
- Custom action test improvements for more reliable CI runs.
- Dependency installation in Dockerfile switched to
yarn
with--frozen-lockfile
for consistent builds.
โจ Developer Experience
- Enhanced workflow and scripts, including smarter upgrade and fix scripts, for easier development and maintenance.
v1.142.9
๐ Environment variables are now automatically converted to camelCase when received, making variable handling more intuitive and consistent across your scripts.
๐ ๏ธ Updated sample scripts and parameters to use camelCase, ensuring smoother integration and less confusion when referencing environment variables.
๐ Improved debugging and logging to reflect the new naming convention, helping you track variable usage more easily.
v1.142.8
๐ Added support for processing specific files in GitHub Actions!
You can now specify files to process via the new files input, separated by semicolons (;), making workflows more flexible and targeted.
๐ ๏ธ Improved integration:
Actions and CLI now recognize the files input, ensuring your selected files are included in processing.
๐ Mermaid diagram validation fixes:
Removed temporary mermaid diagram repair logic to improve stability. Mermaid diagrams are now validated before returning, with clearer error handling and up-to-date syntax.
These enhancements streamline automation and diagram generation while improving reliability for your CI/CD pipelines!
v1.142.7
โจ Improved file handling with .gitignore support!
GenAIScript now respects your .gitignore files when searching for script files, making builds cleaner and more predictable. Custom include globs can opt in or out of .gitignore filtering for flexible project setups. Debug output is enhanced for better visibility into file discovery and filtering.
v1.142.6
๐ Improved GitHub Action Generation
- Generated action.yml and README now include direct links to documentation for permissions and debug logging, making setup and usage clearer.
- Output fields in action.yml are now only included if outputs are defined, keeping the action interface cleaner.
โจ Workspace Script Ignoring
- Added support for ignoring scripts in the current workspace via the new ignoreCurrentWorkspace configuration option, allowing more flexible script discovery and action generationโespecially useful in CI and multi-repo setups.
๐ ๏ธ Internal Enhancements
- Improved debug logging during project build and script file discovery, making troubleshooting easier.
- Refined how script inclusion paths are handled, ensuring the correct scripts are picked up based on workspace context.
v1.142.5
โจ Interactive CLI Action Configuration
Introducing interactive mode for configuring GitHub Actions! The CLI now guides you step-by-step with prompts for event triggers, Python, Playwright, and ffmpeg usage, making setup easier and more intuitive.
๐ ๏ธ Improved Defaults & Output
Action generation now smartly includes outputs based on your script's response schema, and the generated Dockerfile/README are more accurate and informative.
๐ Enhanced Permissions
GitHub Actions now request the correct permissions (models, pull-requests, issues) by default for smoother operation.
๐ Debug & Usability Tweaks
Better variable parsing and debug logging for CLI vars, and improved run command output make troubleshooting and scripting easier.
v1.142.4
๐ Improved GitHub Action Template
The action template now includes a streamlined release process with a new release.sh script for automated versioning, tagging, and GitHub release creation. The CI workflow is updated to use the correct GitHub token input, making it easier to run actions securely.
๐ Enhanced Documentation
References to the Node.js API have been added to the docs, making it simpler to automate GenAIScript with code. Action README now includes clear release instructions for maintainers.
๐ท๏ธ GitHub Issue Labels Exposed
Labels are now included in the GitHub issue data structure, enabling more advanced automation and integrations.
๐ง Devcontainer Update
Development containers now use Node.js 22 for improved compatibility and performance.
โ
Clearer Action Test Assertions
Action tests have been refactored for clarity, improving reliability and maintainability.
v1.142.3
๐ Enhanced GitHub Action Configuration
- Added support for specifying GitHub event types (push, pull_request, issue_comment, issue) when configuring actions, enabling more flexible workflows.
- Improved handling of existing action.yml files: now preserves and updates relevant fields instead of overwriting.
- Introduced robust YAML parsing for action.yml, ensuring safer and smarter updates.
- Streamlined package.json generation and dependency upgrades for smoother setup.
These improvements make it easier to customize and maintain your GenAIScript-powered GitHub Actions!
v1.142.2
๐ Major revamp of GitHub Actions integration!
- Introduced robust, ready-to-use GitHub Actions CI workflows (
ci.yml
), enabling seamless automated testing and action validation. - Revamped action configuration: smarter action scaffolding, improved Dockerfile with
npm ci
, and dynamic detection of required permissions and inputs. - Cleaner, more informative
README.md
and action metadata, with clearer setup, upgrade, and usage instructions. - Package scripts overhaul: added upgrade, lint, fix, and test scripts for easier maintenance and extensibility.
- Action generator now auto-creates workflows and improves compatibility with GitHub repositories.
Upgrade now for a smoother, more configurable GitHub Actions experience!
v1.142.1
๐ Enhanced GitHub Actions Support
- The CLI now generates richer GitHub Action scaffolding, including improved README instructions, Dockerfile, and package.json scripts for easier local and act-based testing.
- New options for pull request workflows: generate actions that comment on PRs, update descriptions, or trigger reviews directly from your scripts.
๐ ๏ธ Improved CLI & Action Configuration
- Action configuration is smarter: auto-detects when to use push or pull_request events, and streamlines input/output handling.
- OS checks added for dependency installationโensuring correct package management for both Alpine and Debian-based images.
- More robust template extraction and script generation with less boilerplate.
โจ GitHubClient Enhancements
- New method to list all issue labels in a repository or for a specific issue.
- All GitHub comments and descriptions are now dedented and prettified for better readability.
๐งน Refactoring & Quality of Life
- Unused variables removed and internal structure streamlined for maintainability.
- Debug logging is now easier to enable within GitHub Actions for troubleshooting.
Thanks to these updates, integrating GenAIScript into CI/CD pipelines and customizing GitHub Actions is now smoother and more powerful than ever!