Skip to content

Commit 750352c

Browse files
committed
Add changelog
1 parent 9b6adcf commit 750352c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Changelog
2+
3+
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+
- Proxy support
14+
15+
### Changed
16+
- Switched to v3 API which uses updated language detection model
17+
- ⚠️ `simple_detect` method renamed to `detect_code`
18+
- ⚠️ `detect` method result fields are `language` and `score`
19+
- ⚠️ `detect` method no longer accept arrays - use `detect_batch` instead
20+
- ⚠️ `user_status` method renamed to `account_status`
21+
- HTTPS is used by default. Removed secure mode configuration.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ You can get it by signing up at https://detectlanguage.com
1515
pip install detectlanguage
1616
```
1717

18+
### Upgrading
19+
20+
When upgrading please check [changelog](CHANGELOG.md) for breaking changes.
21+
1822
### Configuration
1923

2024
```python

0 commit comments

Comments
 (0)