Releases: detectlanguage/detectlanguage-ruby
Releases · detectlanguage/detectlanguage-ruby
v2.0.0
Added
detect_batchmethod for batch detections
Changed
- Switched to v3 API which uses an updated language detection model
⚠️ detectmethod result fields arelanguageandscore⚠️ Proxy URL configured usingconfig.proxy- Client connection is reused. If you change configuration after the client is initialized, you need to reset client using
DetectLanguage.client = nil.
Deprecated
- Calling
detectwith array argument. Usedetect_batchinstead. simple_detect- Usedetect_codeinstead.user_status- Useaccount_statusinstead.configuration- Useconfiginstead.
Removed
- Secure mode configuration. HTTPS is always used.
- Ruby 1.x support
Full Changelog: v1.1.2...v2.0.0