Skip to content

Commit 17bb2a1

Browse files
committed
docs: Add information about v4.0.0
1 parent b0c84fe commit 17bb2a1

File tree

5 files changed

+66
-57
lines changed

5 files changed

+66
-57
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## 4.0.0
4+
5+
Version 4 is a major version bump due to changing internals
6+
(from http(s) to node-fetch) which consumers may depend on. The public API
7+
remains unchanged.
8+
9+
- Replace NodeJS http(s) with [node-fetch](https://www.npmjs.com/package/node-fetch) for communication with API
10+
- Increases minimum Node engine version to 14
11+
312
## 3.5.4 / 3.5.5
413

514
- Reject on timeout in lookupIP, lookupASN, and getMap

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-ipinfo",
3-
"version": "3.5.5",
3+
"version": "4.0.0",
44
"description": "Official Node client library for IPinfo",
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const VERSION = "3.5.5";
1+
const VERSION = "4.0.0";
22

33
export default VERSION;

test-app/package-lock.json

Lines changed: 54 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"node-ipinfo": "3.5.5",
12+
"node-ipinfo": "^4.0.0",
1313
"typescript": "^4.4.2"
1414
}
1515
}

0 commit comments

Comments
 (0)