Skip to content

Releases: zcutlip/pyonepassword

3.6.0

01 Mar 23:40
2774d41
Compare
Choose a tag to compare

Added

  • Ability to delete multiple items at once via OP.item_delete_multiple() (gh-82)
  • Ability to create items with tags applied (gh-83)
  • tags property to all items and item descriptors (gh-93)

3.5.0

15 Feb 22:10
efee9f1
Compare
Choose a tag to compare

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. See ITEM_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

3.4.1.post0

13 Jan 04:19
1ac1e25
Compare
Choose a tag to compare

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

12 Jan 05:10
f3c8540
Compare
Choose a tag to compare

Fixed

  • Initialize url_obj in OP.login_item_create() to not crash if no URL provided (gh-78)

Changed

  • minor tweaks to docker testing scripts

3.4.0

22 Dec 05:26
e675302
Compare
Choose a tag to compare

Added

  • OP.document_delete() method (gh-52)
  • about & version clas methods:
    • OP.about()
    • OP.version()

3.3.5

29 Nov 05:45
509f2cb
Compare
Choose a tag to compare

Fixed

  • Include all pyonepassword subpackages by wildcard during build/installation (gh-64)
  • Clean *.egg-info during build/installation to ensure proper things get included/excluded

3.3.4

25 Nov 17:25
a3e1f92
Compare
Choose a tag to compare

Changed

  • Added py.typed marker for mypy type analysis when imported into other projects (gh-48)
  • Extensive improvements with type-hinting throughout project
  • Added mypy testing to tox.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.apis

Acknowledgements

Thank you to @delfick for extensive advice and patience

3.3.3

19 Nov 02:52
4c18164
Compare
Choose a tag to compare

Changed

  • Fix an issue where op.item_delete() would blow up if the item to be deleted was an unknown (to pyonepassword) type (gh-54)

3.3.2

17 Nov 02:18
Compare
Choose a tag to compare

Changed

Minor updates to ITEM_CREATION.md

3.3.1

16 Nov 05:42
Compare
Choose a tag to compare

Added

New item creation API!

Primarily

  • OP.item_create()
  • OP.login_item_create()

Additionally, there are a number of new types in support of item creation. See ITEM_CREATION.md for a variety of examples.

Item deletion API:

  • OP.item_delete()