v6.2.0

coleam00/Archonv6.2.0Nov 7, 2025by tanchongmin

AI Summary

This release improves the robustness of parse_yaml by implementing regex for handling special characters and enforcing stricter data typing rules. It also adds image parsing capabilities for providers using the OpenAI API interface.

Key Highlights

  • Made parse_yaml more robust using regex to solve keys with special characters and lines with double colons
  • Allows | for datatyping: int | str -> Union[int, str], int | None -> Optional[int]
  • Created image_parser and image_parser_async decorators to parse images
  • Added support for parse_yaml for pydantic v2.12.4

Breaking Changes

  • Enforced stricter data typing rules: list[] must now contain only one datatype, and dict[] must contain exactly two datatypes

New Features

  • Regex-based parsing for complex YAML structures
  • Union and Optional type support
  • Image parsing functionality
  • Pydantic v2.12.4 compatibility

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)