You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
4
+
5
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
9
+
## v2.0.0
10
+
11
+
### Added
12
+
-`detect_batch` method for batch detections
13
+
14
+
### Changed
15
+
- Switched to v3 API which uses an updated language detection model
16
+
- ⚠️ `detect` method result fields are `language` and `score`
17
+
- ⚠️ Proxy URL configured using `config.proxy`
18
+
- Client connection is reused. If you change configuration after the client is initialized, you need to reset client using `DetectLanguage.client = nil`.
19
+
20
+
### Deprecated
21
+
- Calling `detect` with array argument. Use `detect_batch` instead.
22
+
-`simple_detect` - Use `detect_code` instead.
23
+
-`user_status` - Use `account_status` instead.
24
+
-`configuration` - Use `config` instead.
25
+
26
+
### Removed
27
+
- Secure mode configuration. HTTPS is always used.
0 commit comments