Skip to content

Commit 9c48cd6

Browse files
committed
Add changelog
1 parent a17b25b commit 9c48cd6

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
## v3.0.0
10+
11+
### Added
12+
- `detectBatch()` for batch detections
13+
14+
### Changed
15+
- Switched to v3 API which uses updated language detection model
16+
- ⚠️ `detect()` result fields are `language` and `score`
17+
- Switched to the native `fetch` API. Minimum supported Node version 8.
18+
19+
### Deprecated
20+
- Calling `detect()` with array argument. Use `detectBatch` instead.
21+
- `userStatus()` - Use `accountStatus()` instead.
22+
23+
### Removed
24+
- `axios` dependency

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Node.js client for the [Detect Language API](https://detectlanguage.com/).
1212
npm install detectlanguage [--save]
1313
```
1414

15+
### Upgrading
16+
17+
When upgrading please check [changelog](CHANGELOG.md) for breaking changes.
18+
1519
## Configuration
1620

1721
Before using Detect Language API client you have to setup your personal API key.

0 commit comments

Comments
 (0)