Releases: zcutlip/pyonepassword
Releases · zcutlip/pyonepassword
3.6.0
3.5.0
Summary
Support creating item objects from non-conformant item data and unknown item types
Fixed
Non-conformant item dictionaries returned by op
can now optionally be parsed with relaxed validation (gh-85). See "Added" below.
Added
- An API to relax validation of item dictionaries in the case that
op
returns non-conforming dictionaries. SeeITEM_VALIDATION.md
. - The ability to instantiate item objects and item descriptor lists (e.g., OP.item_get() & OP.item_list()) where an item is an unknown type (gh-86)
- Where appropriate, a
generic_okay
kwargs has been added, enabling generic item objects to be returned
- Where appropriate, a
3.4.1.post0
Summary
Missed a few housekeeping commits from the development branch
Fixed
Fixed a shellcheck complaint in a docker testing script
Changed
- update .pre-commit-config: bump isort 5.11.3 -> 5.11.4
- refactor
pypi_password.py
script
3.4.1
3.4.0
3.3.5
3.3.4
Changed
- Added
py.typed
marker formypy
type analysis when imported into other projects (gh-48) - Extensive improvements with type-hinting throughout project
- Added
mypy
testing totox.ini
- Add
mypy
testing to Docker infrastructure
Fixed
- A few bugs found by
mypy
where the wrong type was being passed to or returned from a method - A few cases where the wrong type being passed by a caller would have crashed rather than passed back up as a meaningful error
- Properly export all symbols exposed under
pyonepassword.api
s
Acknowledgements
Thank you to @delfick for extensive advice and patience