Skip to content

Commit

Permalink
Merge pull request #354 from EasyPost/tracking_codes_all_param
Browse files Browse the repository at this point in the history
feat: add tracking_codes as param for all on TrackerService
  • Loading branch information
Justintime50 authored Oct 25, 2024
2 parents ca96499 + 8af0437 commit 0f38da0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# CHANGELOG

## Next Release
## v9.5.0 (2024-10-24)

- Adds `tracking_codes` as a parameter of the `all` method on the TrackerService
- Removes the deprecated `create_list` tracker endpoint function as it is no longer available via API

## v9.4.1 (2024-08-09)
Expand Down
2 changes: 1 addition & 1 deletion easypost/constant.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flake8: noqa
# Library version
VERSION = "9.4.1"
VERSION = "9.5.0"
VERSION_INFO = [str(number) for number in VERSION.split(".")]

# Client defaults
Expand Down
1 change: 1 addition & 0 deletions easypost/services/tracker_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def all(self, **params) -> Dict[str, Any]:
filters = {
"key": "trackers",
"tracking_code": params.get("tracking_code"),
"tracking_codes": params.get("tracking_codes"),
"carrier": params.get("carrier"),
}

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name="easypost",
version="9.4.1",
version="9.5.0",
description="EasyPost Shipping API Client Library for Python",
author="EasyPost",
author_email="[email protected]",
Expand Down

0 comments on commit 0f38da0

Please sign in to comment.