Change8

v5.2.2

📦 sentence-transformersView on GitHub →
1 features🐛 1 fixes

Summary

This patch release removes the mandatory `requests` dependency, making `httpx` the preferred (but optional) dependency, primarily to support Transformers v5.

Migration Steps

  1. If you rely on the underlying HTTP client being `requests`, you may need to install `requests` explicitly, as the dependency is now optional and defaults to `httpx` usage.

✨ New Features

  • Replaced mandatory `requests` dependency with an optional `httpx` dependency to align with Transformers v5 support.

🐛 Bug Fixes

  • Importing Sentence Transformers should no longer crash if `requests` is not installed.