.show()call does not return a
RichDisplayURLanymore. Instead, we reverted to returning URL in a plain
str. 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)
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_proxiesentry point. See #141
Use relative API paths to enable app hosting on externally-configured paths (app#110). See #146.
Drop Python 3.6 support
Drop dimod~=0.8.0 and dimod~=0.9.0 support
Custom viewer can now return
Falseto signal a non-blocking
show()behavior is desired. Previously the value returned was ignored by the caller.
Lower bound on Flask version is now 2.2.
Improve error handling and display in
show()non-blocking regardless of the
blockargument 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.
Add support for (serialization of) NumPy types used anywhere in the inspector data served from the Inspector web server (Flask app).
Support opening of external visualizer links when running in vscode-based Leap IDE’s Simple Browser (dwave-inspectorapp#97).
We began using Reno as a changelog tool after the release of 0.2.7. Content added before that release is not included. See releases for previous release notes.
Begin using reno for changelog.