Release Notes¶
0.4.1¶
Upgrade Notes¶
The
.show()
call does not return aRichDisplayURL
anymore. Instead, we reverted to returning URL in a plainstr
. Jupyter viewer will display the inspector inline if possible, otherwise the URL is opened in a browser.To render the inspector URL inline in a Jupyter notebook cell, independently of the
.show()
call, you can do:url = dwave.inspector.show(...) ... from dwave.inspector.utils import RichDisplayURL RichDisplayURL(url)
0.4.0¶
New Features¶
Add support for jupyter-server-proxy. Inspector URL gets rewritten prior to opening/viewing according to external URL as defined by the new config environment variable:
DWAVE_INSPECTOR_JUPYTER_SERVER_PROXY_EXTERNAL_URL
. See #144
Add support for Python 3.11
Add support for dimod~=0.11.0 and dimod~=0.12.0
Add support for running the inspector behind a network proxy. Now users can register a URL rewriter specific to their environment using the
inspectorapp_proxies
entry point. See #141
Use relative API paths to enable app hosting on externally-configured paths (app#110). See #146.
Upgrade Notes¶
Drop Python 3.6 support
Drop dimod~=0.8.0 and dimod~=0.9.0 support
Custom viewer can now return
False
to signal a non-blockingshow()
behavior is desired. Previously the value returned was ignored by the caller.
Lower bound on Flask version is now 2.2.
Bug Fixes¶
Improve error handling and display in
dwave-inspectorapp
(app#100)
Make
show()
non-blocking regardless of theblock
argument when no viewer manages to open the inspector page. See #139.
Upgraded JSON serialization to use Flask’s new
DefaultJSONProvider
(introduced in Flask 2.2). The “old” way is deprecated by Flask in 2.2, to be dropped in next minor release, 2.3.
0.2.11¶
New Features¶
Add support for (serialization of) NumPy types used anywhere in the inspector data served from the Inspector web server (Flask app).
0.2.10¶
New Features¶
Support opening of external visualizer links when running in vscode-based Leap IDE’s Simple Browser (dwave-inspectorapp#97).