- Move
Response
fromvws.exceptions.response
tovws.types
. - Add
raw
field toResponse
.
- Make
VWS.make_request
a public method.
- Breaking change: Exception names now end with
Error
. - Use a timeout (30 seconds) when making requests to the VWS API.
- Type hint changes: images are now
io.BytesIO
instances orio.BufferedRandom
.
- Add exception response attribute to
vws.exceptions.custom_exceptions.RequestEntityTooLarge
.
- Exception response attributes are now
vws.exceptions.response.Response
instances rather thanrequests.Response
objects.
- Return a new error (
vws.custom_exceptions.ServerError
) when the server returns a 5xx status code.
- Breaking change: The
vws.exceptions.cloud_reco_exceptions.UnknownVWSErrorPossiblyBadName
is nowvws.exceptions.custom_exceptions.OopsAnErrorOccurredPossiblyBadName
. vws.exceptions.custom_exceptions.OopsAnErrorOccurredPossiblyBadName
now has aresponse
parameter and attribute.
- Breaking change: the
vws.exceptions.custom_exceptions.ActiveMatchingTargetsDeleteProcessing
exception has been removed as Vuforia no longer returns this error.
- Support file-like objects in every method which accepts a file.
- Breaking change: The
vws.exceptions.cloud_reco_exceptions.MatchProcessing
is nowvws.exceptions.custom_exceptions.ActiveMatchingTargetsDeleteProcessing
. - Added new exception
vws.exceptions.custom_exceptions.RequestEntityTooLarge
. - Add better exception handling when querying a server which does not serve the Vuforia API.
- Breaking change: Move exceptions and create base exceptions.
It is now possible to, for example, catch
vws.exceptions.base_exceptions.VWSException
to catch many of the exceptions raised by theVWS
client. Credit to@laymonage
for this change.
- Change the return type of
vws_client.get_target_record
to match what is returned by the web API.
- Add Windows support.
- Make
active_flag
andapplication_metadata
required onadd_target
.