Releases: zcutlip/pyonepassword
Releases · zcutlip/pyonepassword
4.0.0b0
Added
-
Item editing:
OP.item_edit_generate_password()
OP.item_edit_set_password()
OP.item_edit_set_title()
OP.item_edit_set_favorite()
OP.item_edit_set_tags()
OP.item_edit_set_url()
OP.item_edit_set_text_field()
OP.item_edit_add_text_field()
OP.item_edit_set_url_field()
-
OPAbstractItem.field_value_by_section_label()
as a replacement for poorly namedfield_value_by_section_title()
-
Support for
op
newwhoami
behvior version 2.20.0- new
whoami
dict - On
OP()
initialization, accomodatewhoami
failure when the token hasn't been used recently
- new
Changed
- Removed Python 3.8 support
- Added Python 3.12 support
- Ensure all methods for section lookup by label raise
OPSectionNotFound
if no section is found matching the given label - Ensure all methods for field lookup by label rais
OPFieldNotFound
if no field is found matching the given label
Deprecated
OPAbstractItem.field_value_by_section_title()
- call
OPAbstractItem.field_value_by_section_label()
instead
- call
Misc
- Updated testing configuration in conjuncton with refactored
mock-op
- Add
FUNDING.yml
3.12.1
3.12.0
3.11.1
3.11.0
3.10.0
Added
Support for authentication via service accounts: Set OP_SERVICE_ACCOUNT_TOKEN
prior to initializing OP
object. See docs/AUTHENTICATION.md
for more details.
Note: The minimum supported op
command version is 2.18.0-beta.01.
- New exception classes:
OPAuthenticationException
- For any issue with authentication during
OP()
initialization - If authentication has exipired prior to performing an operation
- For any issue with authentication during
OPCLIPanicException
- the rare case the
op
command itself crashes
- the rare case the
OPCmdMalformedSvcAcctTokenException
- in the case that the
op
command is unable to parse a service account token
- in the case that the
OPRevokedSvcAcctTokenException
- The service account token in use has been revoked and is no longer valid
Deprecated
- The exception class
OPNotSignedInException
is now deprecated:- handle
OPAuthenticationException
instead
- handle
3.9.0
3.8.0
3.7.1
Fixed
- Check if authorization has expired or is otherwise invalid before performing
op
operations (gh-84)- Raise
OPNotSignedInException
rather than the genericOPCmdFailedException
- Raise
- Detect if an
op
command failure was actuallymock-op
failing to find a response definition- This was masking test failures that are expecting simulated command failures