Skip to content

0.12.0.dev0

Pre-release
Pre-release
Compare
Choose a tag to compare
@randomir randomir released this 12 Jun 21:37
· 189 commits to master since this release

New Features

  • Add support for binary-ref answer encoding format, where answer data is not immediately present in the answer, but on an URI referenced in the answer response.
  • Add dwave.cloud.computation.Future.answer_data property to hold the answer data of a resolved future. A call to .answer_data will block until computation future is resolved.
  • Add dwave.cloud.api.models.UnstructuredProblemAnswerBinaryRef model, a subclass of ProblemAnswer for binary-ref answers, and a method for downloading answer data (resolving binary-ref), dwave.cloud.api.resources.Problems.get_answer_data.
  • Add support for nonlinear unstructured solvers with dwave.cloud.solver.NLSolver.
  • Add request/response logging to AuthFlow/OAuth2Session.
  • Add basic support for structured logs (JSON output).
  • Enable log format control with DWAVE_LOG_FORMAT env variable (set to "json" for structured output.

Bug Fixes

  • Fix a possible race condition when multiple threads try to resolve remote computation results. A special case of this occurs on binary answer download from a reference link. See #624.
  • Log failing request/response details in the low-level API client.
  • Suppress logging output from the cloud-client by default (as recommended for libraries).
  • Format log record date/time according to ISO 8601.