Skip to content

Releases: microsoft/genaiscript

v2.1.1

27 Jun 03:59
Compare
Choose a tag to compare

πŸŽ‰ Improved Dependency Management: We've streamlined the build process by removing unused dependencies, including toml, to enhance efficiency and reduce overhead.

v2.1.0

27 Jun 03:41
Compare
Choose a tag to compare

What's New in GenAIScript 2.1.0 πŸŽ‰

  • Streamlined Markdown Handling: The prettifyMarkdown and markdownStringify 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

27 Jun 03:27
Compare
Choose a tag to compare

πŸŽ‰ New in GenAIScript 2.0.13!

πŸš€ Enhanced Markdown Handling

  • Refactored and modularized markdown utilities for better performance and maintainability.
  • Introduced markdownStringify and prettifyMarkdown 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 and turndown 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

26 Jun 18:01
Compare
Choose a tag to compare
  • πŸš€ Enhanced Test Evaluation: Introduced a new evaluateTestResult framework, supporting advanced assertions like levenshtein 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 and evaluateTestResult ensure robustness and reliability.
  • πŸ—‘οΈ Code Cleanup: Removed unused YAML output options and debug categories, reducing clutter.

v2.0.11

26 Jun 04:49
Compare
Choose a tag to compare

πŸš€ 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

25 Jun 23:21
Compare
Choose a tag to compare

πŸŽ‰ 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

25 Jun 22:56
Compare
Choose a tag to compare

πŸš€ 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

25 Jun 21:35
Compare
Choose a tag to compare

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

25 Jun 05:08
Compare
Choose a tag to compare

πŸš€ 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

23 Jun 22:09
Compare
Choose a tag to compare

πŸŽ‰ 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! πŸš€