v6.2.0

VERT-sh/VERTv6.2.0Nov 7, 2025by tanchongmin

AI Summary

This release enhances parse_yaml functionality with Pydantic v2.12.4 support and robust regex parsing for complex data structures and special characters.

Key Highlights

  • Added support for Pydantic v2.12.4
  • Improved robustness using regex for special characters and double colons
  • Added Union type support using the | operator (e.g., int | str)
  • Created image_parser decorators for OpenAI-compatible API providers

New Features

  • Pydantic v2.12.4 compatibility
  • Regex-based YAML parsing enhancements
  • Union type syntax support
  • Image parsing capabilities

Full Release Notes

Added support for parse_yaml for pydantic v2.12.4
Made parse_yaml more robust using regex to solve keys with special characters and lines with double colons
Better catching of non-working format for list[] and dict[]. list[] must now contain only one datatype, and dict[] must contain exactly two datatypes
Allows | for datatyping: int | str -> Union[int, str], int | None -> Optional[int]
Created image_parser and image_parser_async decorators to parse images for model providers capable of using OpenAI API interface (such as OpenRouter)