Skip to content

Commit

Permalink
docs: Add information about v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shrink committed Nov 14, 2024
1 parent b0c84fe commit 17bb2a1
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 57 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG

## 4.0.0

Version 4 is a major version bump due to changing internals
(from http(s) to node-fetch) which consumers may depend on. The public API
remains unchanged.

- Replace NodeJS http(s) with [node-fetch](https://www.npmjs.com/package/node-fetch) for communication with API
- Increases minimum Node engine version to 14

## 3.5.4 / 3.5.5

- Reject on timeout in lookupIP, lookupASN, and getMap
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-ipinfo",
"version": "3.5.5",
"version": "4.0.0",
"description": "Official Node client library for IPinfo",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const VERSION = "3.5.5";
const VERSION = "4.0.0";

export default VERSION;
108 changes: 54 additions & 54 deletions test-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"node-ipinfo": "3.5.5",
"node-ipinfo": "^4.0.0",
"typescript": "^4.4.2"
}
}

0 comments on commit 17bb2a1

Please sign in to comment.