diff --git a/CHANGELOG.MD b/CHANGELOG.MD index e5f181d..0ac2afb 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -2,6 +2,32 @@ All notable changes to this project will be documented in this file. +## [1.0.1] - 2024-09-20 + +### Added + +- N/A + +### Changed + +- Migrated `API_URL` to the new domain `api.parityvend.cloud`. + +### Deprecated + +- N/A + +### Removed + +- N/A + +### Fixed + +- N/A + +### Security + +- Updated dependencies in `requirements.txt` and `requirements_dev.txt`. + ## [1.0.0] - 2024-03-15 ### Added @@ -27,4 +53,4 @@ All notable changes to this project will be documented in this file. ### Security -- N/A (Initial release) \ No newline at end of file +- N/A (Initial release) diff --git a/parityvend_api/config.py b/parityvend_api/config.py index a33fa54..0578ce8 100644 --- a/parityvend_api/config.py +++ b/parityvend_api/config.py @@ -1,2 +1,2 @@ -API_URL = "https://api.parityvend.com" -VERSION = "1.0.0" +API_URL = "https://api.parityvend.cloud" +VERSION = "1.0.1" diff --git a/parityvend_api/handler.py b/parityvend_api/handler.py index 7639efc..baeba38 100644 --- a/parityvend_api/handler.py +++ b/parityvend_api/handler.py @@ -77,7 +77,7 @@ def get_default_request_options() -> dict: """ return { "headers": { - "User-Agent": "Python ParityVend API Client/1.0.0 (+https://www.ambeteco.com/ParityVend/docs/index.html)" + "User-Agent": "Python ParityVend API Client/1.0.1 (+https://www.ambeteco.com/ParityVend/docs/index.html)" } } diff --git a/pyproject.toml b/pyproject.toml index 10c348b..9531b06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "parityvend_api" -version = "1.0.0" +version = "1.0.1" keywords = ["parityvend", "purchasing power parity", "purchasing power", "location based pricing", "pricing optimization", "api library", "geographical pricing", "dynamic pricing"] description = "The official Python library for ParityVend API" readme = "README.md" diff --git a/requirements.txt b/requirements.txt index 4810eae..ecb0582 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -requests==2.31.0 -cachetools==5.3.3 -aiohttp==3.9.3 +requests==2.32.3 +cachetools==5.5.0 +aiohttp==3.10.5 diff --git a/requirements_dev.txt b/requirements_dev.txt index c580601..8d6d9ee 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,2 +1,2 @@ -pytest==8.1.1 -pytest-asyncio==0.23.5.post1 +pytest==8.3.3 +pytest-asyncio==0.24.0 diff --git a/setup.py b/setup.py index c7b3e0a..487eb7c 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="parityvend_api", - version='1.0.0', + version='1.0.1', description="Official Python library for ParityVend API", long_description=long_description, url="https://github.com/parityvend/api_python", diff --git a/tests/handler_async_test.py b/tests/handler_async_test.py index a0656f8..acc53a8 100644 --- a/tests/handler_async_test.py +++ b/tests/handler_async_test.py @@ -29,7 +29,7 @@ async def test_init(): assert parityvend.request_options == { "headers": { - "User-Agent": "Python ParityVend API Client/1.0.0 (+https://www.ambeteco.com/ParityVend/docs/index.html)" + "User-Agent": "Python ParityVend API Client/1.0.1 (+https://www.ambeteco.com/ParityVend/docs/index.html)" } } diff --git a/tests/handler_test.py b/tests/handler_test.py index 772222d..55a4e40 100644 --- a/tests/handler_test.py +++ b/tests/handler_test.py @@ -28,7 +28,7 @@ def test_init(): assert parityvend.request_options == { "headers": { - "User-Agent": "Python ParityVend API Client/1.0.0 (+https://www.ambeteco.com/ParityVend/docs/index.html)" + "User-Agent": "Python ParityVend API Client/1.0.1 (+https://www.ambeteco.com/ParityVend/docs/index.html)" } }