Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ dist
/docs
examples
node_modules
types
types/demo
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ examples
official/fixtures/
package-lock.json
style_guides/
types/
vendor/
venv/
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- Breaking: `makeApiCall` now accepts `delete` (the `del` alias was removed)
- `requestMiddleware` compatibility preserved using a fetch-era compatibility request object
- Default `User-Agent` retains structured runtime metadata fields (`Nodejs/`, `OS/`, `OSVersion/`, `OSArch/`) via runtime-safe detection
- TypeScript declarations are now generated from source and published from `dist/types`.
- Internal root `types/` declaration sources and demo fixtures were removed from the repository.

## v8.9.0 (2026-06-25)

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ just update-examples-submodule

Starting with `v5.3.0`, this project has Typescript definitions included.

Current definitions are generated from source and published with the package at `dist/types`.
No consumer configuration changes are required when importing `@easypost/api` from the package root.

#### Typescript Exclusions

- We do not provide a DefinitelyTyped version of these definitions at this time
Expand Down
11 changes: 11 additions & 0 deletions UPGRADE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Use the following guide to assist in the upgrade process of the `easypost-node`
- [Response Objects Are Now Plain JSON Objects](#90-response-objects-are-now-plain-json-objects)
- [HTTP Transport Migrated to Fetch](#90-http-transport-migrated-to-fetch)

### 9.0 Low Impact Changes

- [Type Declarations Are Source-Generated](#90-type-declarations-are-source-generated)

### 9.0 Response Objects Are Now Plain JSON Objects

Likelihood of Impact: **High**
Expand Down Expand Up @@ -67,6 +71,13 @@ const client = new EasyPostClient('api_key', {
await client.makeApiCall('delete', '/trackers/trk_123');
```

### 9.0 Type Declarations Are Source-Generated

Likelihood of Impact: **Low**

Type declarations are generated from source and published from `dist/types`.
Package-root imports are unchanged. If you were importing internal files from the old root `types/` folder, migrate to package-root imports.

## Upgrading from 7.x to 8.0

### 8.0 High Impact Changes
Expand Down
Loading