diff --git a/CHANGELOG.md b/CHANGELOG.md index ad2a36f..533db99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v10.5.1 (2026-02-24) + +- Corrects the return type of `carrier_account.all()` (closes #386) + ## v10.5.0 (2026-02-20) - Adds the following functions: diff --git a/easypost/constant.py b/easypost/constant.py index 1bd4a74..864f07c 100644 --- a/easypost/constant.py +++ b/easypost/constant.py @@ -1,6 +1,6 @@ # flake8: noqa # Library version -VERSION = "10.5.0" +VERSION = "10.5.1" VERSION_INFO = [str(number) for number in VERSION.split(".")] # Client defaults diff --git a/easypost/services/carrier_account_service.py b/easypost/services/carrier_account_service.py index 63b16f7..201103d 100644 --- a/easypost/services/carrier_account_service.py +++ b/easypost/services/carrier_account_service.py @@ -40,7 +40,7 @@ def create(self, **params) -> CarrierAccount: return convert_to_easypost_object(response=response) - def all(self, **params) -> dict[str, Any]: + def all(self, **params) -> list[dict[str, Any]]: """Retrieve a list of CarrierAccounts.""" return self._all_resources(self._model_class, **params) diff --git a/pyproject.toml b/pyproject.toml index b9fe5d2..355d72c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "easypost" description = "EasyPost Shipping API Client Library for Python" -version = "10.5.0" +version = "10.5.1" readme = "README.md" requires-python = ">=3.9" license = { file = "LICENSE" }