v9.8.0

huggingface/finetrainersv9.8.0Apr 29, 2026by davidmezzetti

AI Summary

A maintenance release primarily focused on security and compatibility, fixing issues with LiteLLM, Model2Vec, and protocol handling in request URLs.

Key Highlights

  • Security issue with LiteLLM fixed
  • Support for last token pooling added
  • Streaming Labels pipeline support added
  • Performance improvement using JOIN for JSON fields
  • Fix for missing 'http://' or 'https://' protocol in request URLs

New Features

  • Support for last token pooling
  • Support for streaming Labels pipeline
  • Safeopen parameter for Textractor

Full Release Notes

**This release is primarily a bug fix, security and compatibility release.**

See below for full details on the new features, improvements and bug fixes.

New Features
--------------------------
- Add support for last token pooling (#1072)
- Add support for streaming Labels pipeline (#1075)
- Add safeopen parameter for Textractor (#1077)

Improvements
--------------------------
- Support Authorization tokens with MCP endpoints (#899)
- Update embeddings documentation to mention loading ONNX vector models (#1071)
- Performance Improvement: Use JOIN when JSON fields being used (#1078)
- Limit template scope with Agents (#1080)

Bug Fixes
--------------------------
- Security issue with LiteLLM (#1065)
- Issue with latest version of llama-cpp-python (#1066)
- Issue with latest version of Model2Vec (#1067)
- UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol (#1073)