Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Dec 12:56
· 853 commits to main since this release

Added

  • New Rhai functions:
    • extract_email(), extract_email(nth), extract_emails() - Extract email addresses from text with nth indexing support (completes the network identifier extraction trio alongside extract_ip() and extract_url())
    • track_percentiles() - Streaming percentile estimation using t-digest algorithm for memory-efficient, parallel-safe percentile tracking with ~1-2% accuracy (auto-suffixes metric names like "latency_p95", "latency_p99")
    • to_float(thousands_sep, decimal_sep), to_int(thousands_sep) - Explicit number format parsing for different locales (US: "1,234.56".to_float(',', '.'), EU: "1.234,56".to_float('.', ','), French: "1 234,56".to_float(' ', ',')). The thousands_sep removes any character in the string for handling messy data, while decimal_sep must be single-character or empty
    • to_float_or(thousands_sep, decimal_sep, default), to_int_or(thousands_sep, default) - Fallback variants with default values

Changed

  • Input formats now listed in both -h (short help) and --help output for easier discovery

What's Changed

  • Add extract_email() function family for email address extraction by @dloss in #56
  • Add track_percentiles() for streaming percentile estimation by @dloss in #57
  • Add comprehensive exploration of number format parsing options by @dloss in #58
  • Refine number conversion: char-based thousands_sep, validate decimal_sep by @dloss in #59
  • List all available input formats in --help output by @dloss in #60

Full Changelog: v1.0.0...v1.1.0