Skip to content

Commit

Permalink
Release 1.0.1: Update dependencies; Migrate to new API domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dsibe committed Sep 20, 2024
1 parent 955cd33 commit 352d0fd
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 13 deletions.
28 changes: 27 additions & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,4 +53,4 @@ All notable changes to this project will be documented in this file.

### Security

- N/A (Initial release)
- N/A (Initial release)
4 changes: 2 additions & 2 deletions parityvend_api/config.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
API_URL = "https://api.parityvend.com"
VERSION = "1.0.0"
API_URL = "https://api.parityvend.cloud"
VERSION = "1.0.1"
2 changes: 1 addition & 1 deletion parityvend_api/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.1.1
pytest-asyncio==0.23.5.post1
pytest==8.3.3
pytest-asyncio==0.24.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/handler_async_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/handler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
}

Expand Down

0 comments on commit 352d0fd

Please sign in to comment.