v6.2.0
vectordotdev/vectorv6.2.0Nov 7, 2025by tanchongmin
AI Summary
Enhanced YAML parsing capabilities with support for Pydantic v2.12.4 and improved robustness for complex keys, while introducing decorators for parsing images in OpenAI-compatible model providers.
Key Highlights
- Added support for parse_yaml with Pydantic v2.12.4
- Improved robustness using regex for keys with special characters and double colons
- Enforced stricter rules for list[] and dict[] data types
- Added | operator for type unions (e.g., int | str -> Union[int, str])
- Introduced image_parser decorators for OpenAI-compatible model providers
New Features
- parse_yaml support for Pydantic v2.12.4
- image_parser and image_parser_async decorators
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)