Release 0.7.1
What's Changed
Fixed
Qx.Hardware.connect/2now supports discovery before a backend is
chosen. It previously hard-validatedbackend ∈ backends_listand
returned aQx.Hardware.ConfigErroron a blank backend, which broke
the connect-then-pick flow (e.g. a UI populating a backend dropdown
from the connect result). Blank (nil/""/whitespace)backendnow
skips the membership check and returns the populated config; a
set backend is still validated (catches typos early).run/3,
run!/3, andsubmit_qasm/3now reject a blank backend up front
with a clearConfigErrorinstead of failing deep in an IBM call.
Security
Qx.Hardware.Configno longer leaks credentials viainspect/1
(qx-o9h). Added@derive {Inspect, except: [...]}so:portal_token,
:ibm_api_key,:ibm_crn, and:access_tokenare redacted in all
inspect output (Logger, BEAM crash reports, error tuples embedding
the struct). Non-secret fields remain visible.
Installation
Add to your mix.exs:
def deps do
[
{:qx_sim, "~> 0.7.1"}
]
end