File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ Node.js client for the [Detect Language API](https://detectlanguage.com/).
12
12
npm install detectlanguage [--save]
13
13
```
14
14
15
+ ### Upgrading
16
+
17
+ When upgrading please check [ changelog] ( CHANGELOG.md ) for breaking changes.
18
+
15
19
## Configuration
16
20
17
21
Before using Detect Language API client you have to setup your personal API key.
You can’t perform that action at this time.
0 commit comments