Releases: microsoft/genaiscript
v2.1.1
v2.1.0
What's New in GenAIScript 2.1.0 π
- Streamlined Markdown Handling: The
prettifyMarkdown
andmarkdownStringify
utilities have been modularized and improved for better performance and clarity. π - Enhanced File Handling: Introduced a new
filebytes
module, separating file byte operations for cleaner and more maintainable code. π - Dynamic HTML Processing: Libraries for HTML-to-text and HTML-to-Markdown conversions are now dynamically imported, reducing initial load times. π
- Safer Runtime: Improved runtime safety by adding checks for invalid keys and enhancing type handling in the NodeHost. π
- Slide Generator Script: Added a new sample script to generate slides with AI-driven prompts and image generation. π¨
- Developer Experience: Updated ESLint rules for better TypeScript enforcement and added copyright headers to files. π οΈ
- Docker Improvements: Fixed container management edge cases and improved error handling for robust Docker operations. π
This release focuses on modularity, performance, and developer experience while introducing exciting new features! π
v2.0.13
π New in GenAIScript 2.0.13!
π Enhanced Markdown Handling
- Refactored and modularized markdown utilities for better performance and maintainability.
- Introduced
markdownStringify
andprettifyMarkdown
in dedicated modules.
π File Processing Improvements
- Separated file handling logic into
filebytes
for streamlined operations. - Improved data URI and file content resolution.
π§ Dependency Updates
- Added missing
iconv-lite
dependency to build configuration. - Dynamically imported libraries like
html-to-text
andturndown
for optimized loading.
π Bug Fixes & Cleanup
- Resolved ESLint issues and refined rules.
- Enhanced DockerManager error handling and logging.
β¨ New Feature
- Added a sample script for generating image slides with AI, showcasing creative use cases.
Enjoy a smoother and more robust experience! π
v2.0.12
- π Enhanced Test Evaluation: Introduced a new
evaluateTestResult
framework, supporting advanced assertions likelevenshtein
distance checks for more flexible and precise test validations. - π§ͺ Levenshtein Distance Support: Added a
levenshtein
utility to calculate string similarity, now integrated into parsers and test evaluations. - β‘ CLI Improvements: Simplified and streamlined CLI options, making commands more intuitive and reducing redundancy.
- π§ Randomized Test Runs: Enabled optional randomization of test execution order for diverse testing scenarios.
- π Detailed Test Summaries: Enhanced test result reporting with error details and token usage stats for better insights.
- β
New Unit Tests: Comprehensive tests for
levenshtein
andevaluateTestResult
ensure robustness and reliability. - ποΈ Code Cleanup: Removed unused YAML output options and debug categories, reducing clutter.
v2.0.11
π Dynamic Imports for Performance Boost
Modules like TypeScript, Jimp, JSDOM, DOMPurify, and more are now dynamically imported, reducing initial load times and optimizing runtime performance.
π Enhanced XML and Data Parsing
XML parsing functions are now asynchronous, offering better scalability and responsiveness. Parsing logic across formats has been streamlined for improved flexibility.
π₯ JavaScript Profiling Support
Added the ms-vscode.vscode-js-profile-flame
extension and a genai:perf
script, enabling advanced JavaScript performance profiling.
π¦ Refined Dependency Management
Switched to importing types for unused runtime dependencies, reducing memory footprint and improving clarity.
π οΈ Cleaner and Faster Utilities
Refactored XML, DOCX, and XLSX handling with dynamic imports for libraries like fast-xml-parser
, mammoth
, and xlsx
. This ensures faster execution and reduced static overhead.
β¨ Improved Code Quality
Simplified filtering, error handling, and utility functions for better maintainability and performance.
v2.0.10
π Enhanced Dependency Management: Introduced a powerful analyze-deps
script to calculate PNPM dependency sizes, helping you optimize and understand your package footprint with ease.
β‘ Dynamic Imports: Improved performance and reduced initial bundle size by switching to dynamic imports for mermaid
and pdfjs-dist
.
π οΈ Dependency Updates: Updated package.json
dependencies to ensure compatibility and leverage the latest features.
π¦ Optimized Package Handling: Refined PNPM lockfile to streamline dependency resolution and improve package consistency.
v2.0.9
π Enhanced Performance with Lazy Loading
Dependencies like @ast-grep/napi
, @lvce-editor/ripgrep
, pyodide
, and z3-solver
are now lazily loaded, reducing startup time and memory usage.
π οΈ Smarter Dependency Management
Moved several dependencies to optionalDependencies
, optimizing installation footprint and making the build process more lightweight.
π PDF Rendering Improvements
Canvas initialization for PDF rendering is now dynamically imported, streamlining resource usage.
π Python Runtime Updates
The Pyodide runtime setup has been refactored for on-demand loading, improving efficiency for Python-based workflows.
π§ Miscellaneous Fixes
Minor tweaks to improve maintainability and align with modern coding practices.
v2.0.8
What's New in GenAIScript 2.0.8 π
- β¨ Enhanced GitHub Actions Support: Expanded input parameters for Azure OpenAI, GitHub tokens, and streamlined action configuration.
- π MCP Server & Client Improvements: Added response schema handling, robust input schema patching, and runtime support for MCP clients.
- π οΈ Better Handling of Tool Results: Enhanced error management and refined output processing for tool executions.
- π Documentation Boost: Updated README and action.yml with detailed setup instructions for Azure and GitHub integrations.
- π§ Stability Fixes: Corrected GitHub Actions syntax, improved changelog parsing, and addressed environment variable inconsistencies.
- β»οΈ Refactoring: Removed unused references, unified types, and optimized internal components for cleaner code.
- π DevProxy Integration: Added a new installation script and improved .gitignore for generated files.
- π Debugging Enhancements: Improved logging and debugging utilities across multiple modules.
- π Security: Enhanced environment variable resolution and validation for safer configurations.
Enjoy the improved stability, flexibility, and developer experience! π
v2.0.7
π GenAIScript 2.0.7 is here!
- π οΈ Enhanced Build System: Added a new ruler build script with improved configuration options, enabling better control and flexibility.
- π Streamlined Documentation: Updated instructions for GenAIScript and revamped Ruler documentation for clarity and ease of use.
- π§Ή Code Quality Boost: Refactored code to clean up unused variables and enhance type safety across multiple files.
- π Bug Fixes: Improved
build:ruler
script with additional options to resolve issues and optimize workflows. - π Trace Improvements: Introduced conditional tracing for better handling of optional debugging scenarios.
Enjoy the new features and refinements! π
v2.0.6
π Enhanced Publishing Experience
This release improves the reliability and usability of the npm publishing process:
- π οΈ Better error handling for 2FA prompts ensures smoother publishing, even if the initial code fails.
- β¨ Standardized and cleaner code for improved readability and maintainability.
Happy publishing! π