Releases: CoderJoshDK/WIOpy
v1.2.2
What's Changed
- fix: override typing import on older python by @CoderJoshDK in #9
Full Changelog: v_1.2.1...v_1.2.2
v1.2.1
What's Changed
- build: switch to uv-build backend by @CoderJoshDK in #8
- fix: python 3.9 syntax error on generics @CoderJoshDK in #8
Full Changelog: v_1.2.0...v_1.2.1
v1.2.0
Upgrades to the typing of this package, alongside various other minor changes.
Breaking Changes
- Drop support for python 3.8 (it is past EOL)
- Pure internal modules are - properly - no longer exported
Interface changes
catalog_productignores all other kwargs whennextPageis present- Properly export common
errormodule
Style
- Inline types (specified with
py.typed) - Enforce type checking with the use of basedpyright
Thank you to the contributors
@CoderJoshDK
v1.1.1
v1.1.0
Clean up code quality, docs, and stability.
"Breaking" Changes
A few names of classes and functions were changed. However, you should not have been using them in the first place. If you were ... sorry.
WalmartResponse->_WalmartResponseget_items_ids->_get_items_idsttl_cache->_ttl_cache
Bug Fixes
WalmartReviewResponse.reviewsnow returns the proper object typeWalmartProduct.customerRatingImageshowed up twice in API docs; therefor showing up twice in the class. Duplicate has been removed.taxonomynow explicitly constructs response object
Stricter Linting
Switched to using Ruff for linting and applying more rules. See pyproject.toml for the exact list. When possible, these rules are followed. If a rule is not possible to follow, a noqa is added to that line. Or, in the case of static checking, a type: ignore is added.
Better Docstrings
The docstrings are now following the Numpy doc standards. Before, they were a strange hybrid of numpy and google.
Better Stability
A few areas of code were wrong. And some had room for raising an error, if the Walmart servers returned garbage data.
Response items that construct objects from lists, now include a dict.get(...) or [] to prevent a NoneType object is not iterable.
Other small, miscellaneous code quality and readability changes were made.
Notes
#4 / #3 was caused by an annotation issue. Originally, I solved this by using List over list. However, I have returned to using the newer annotations. That means that the code is now using from __future__ import annotations
This package should no longer have any development needed on it, unless a change to the Walmart I/O system occurs. If you have any issues or find any bugs, please open an issue and I will get to it (you are welcome to try to fix it yourself, PRs are welcome.)
If no issues are found, do not expect any more development on this package. If Walmart I/O makes any breaking changes, you are welcome to notify me. However, depending on those changes, I might not maintain this package.
v1.0.1
Major Release
Better Performance
- Request headers implement TTL Cache
- WalmartIO and AsyncWalmartIO now use
__slots__
Breaking Changes
ResponseHandler->_ResponseHandler(you should not be using this class to being with)- WalmartIO and AsyncWalmartIO now use
__slots__; You can no longer create dynamic attributes inside these classes - Internal utils are no longer exposed
import WIOpy->import wiopy
Other changes
v0.1.1
Added retries to the bulk look-up. In prolonged testing, no issues have arisen, so the wrapper is ready for a non-pre-release.
v0.0.9-alpha
Fix init
Fix errors in async with error handling and added extra error catch to bulk lookup
Update logging
v0.0.7-alpha
Asynchronous calls were added.
WIOpy now supports awaiting with the AsyncWalmartIO class
v0.0.6-alpha
Changes:
bulk_product_lookup became a generator