Skip to content

Release v1.2.0: Markdown & DateTime Enhancements

Choose a tag to compare

@jwesleye jwesleye released this 07 Nov 18:19
· 25 commits to main since this release

Release v1.2.0: Markdown & DateTime Enhancements

This minor release adds powerful markdown processing capabilities and comprehensive datetime formatting/parsing tools.

🆕 New Features

Markdown Enhancements

Enhanced HTML Conversion (Issue #29)

  • Blockquotes: > text<blockquote>
  • Horizontal rules: --- and ***<hr>
  • Task lists: - [ ] and - [x] → HTML checkboxes
  • Tables: Full markdown table support with proper structure
  • HTML entity escaping throughout

Advanced Parsing (Issue #30)

  • parse_reference_links(): Extract reference-style links
  • parse_footnotes(): Parse footnote definitions
  • parse_definition_lists(): Extract term/definition pairs
  • parse_task_lists(): Identify checked/unchecked tasks
  • extract_image_references(): Find inline and reference images

DateTime Enhancements

Formatting & Parsing (Issues #17-20)

  • parse_date_string(): Parse custom formats → ISO
  • format_date(): Convert between date formats
  • format_date_human_readable(): ISO → "January 15, 2025"
  • format_time_human_readable(): 24h → "2:30 PM"
  • format_duration(): Seconds → human-readable (verbose/short/compact)
  • parse_duration_string(): "2h 30m" → seconds

Helper Function

  • load_datetime_essential(): 13 essential datetime tools for agents
    • Current values, date math, validation, formatting, parsing, timezone

📊 Statistics

  • New Functions: 11 (5 markdown + 6 datetime)
  • Total Tools: 337+ agent-compatible functions
  • Test Coverage: 299/300 tests passing
  • Google ADK Compliance: 100% (JSON-serializable types, no defaults)

🔧 Quality

  • ✅ Ruff: All checks passed
  • ✅ MyPy: New code fully typed
  • ✅ Tests: 299/300 passing
  • ✅ Documentation: Comprehensive docstrings

📦 Installation

pip install basic-open-agent-tools==1.2.0

🙏 Credits

All enhancements follow Google ADK standards for seamless agent framework integration.