Skip to content
Merged
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
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.4.1] - 2026-07-13
### Added
- Regression tests covering all five error branches (RateLimitError, PermissionError, ServiceError x2, HttpError, and the ValidationError path in the Onfleet constructor), none of which had prior test coverage.

### Changed
- lib/error.js: ValidationError, PermissionError, HttpError, RateLimitError, and ServiceError changed from arrow functions to `function` declarations.

### Fixed
- Fixed `TypeError: X is not a constructor` thrown whenever the Onfleet API returned a non-2xx response, which masked the real API error details (rate limiting, permission errors, service errors, generic HTTP errors) and the missing-API-key validation error.

## [1.4.0] - 2025-08-08
### Added
Expand Down Expand Up @@ -135,7 +144,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release on npm

[Unreleased]: https://github.com/onfleet/node-onfleet/compare/v1.4.0...HEAD
[Unreleased]: https://github.com/onfleet/node-onfleet/compare/v1.4.1...HEAD
[1.4.1]: https://github.com/onfleet/node-onfleet/compare/v1.4.0...v1.4.1
[1.4.0]: https://github.com/onfleet/node-onfleet/compare/v1.3.8...v1.4.0
[1.3.7]: https://github.com/onfleet/node-onfleet/compare/v1.3.7...v1.3.8
[1.3.6]: https://github.com/onfleet/node-onfleet/compare/v1.3.4...v1.3.7
Expand Down
Loading