Releases: paw-lu/nbpreview
v0.9.1
Changes
👷 Continuous Integration
📚 Documentation
🔨 Refactoring
📦 Dependencies
- Pin typer to < 0.6.0 (#701) @paw-lu
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.3 to 1.19.0 (#694) @dependabot
- ⬆️ Bump executing from 0.8.3 to 0.9.1 (#690) @dependabot
- ⬆️ Bump pyupgrade from 2.37.1 to 2.37.2 (#687) @dependabot
- ⬆️ Bump flake8-rst-docstrings from 0.2.6 to 0.2.7 (#684) @dependabot
- ⬆️ Bump mypy from 0.961 to 0.971 (#681) @dependabot
- ⬆️ Bump pep8-naming from 0.13.0 to 0.13.1 (#680) @dependabot
- ⬆️ Bump safety from 2.0.0 to 2.1.1 (#679) @dependabot
- ⬆️ Bump coverage from 6.4.1 to 6.4.2 (#676) @dependabot
- ⬆️ Bump jsonschema from 4.6.2 to 4.7.2 (#674) @dependabot
- ⬆️ Bump distlib from 0.3.4 to 0.3.5 (#672) @dependabot
- ⬆️ Bump pyupgrade from 2.37.0 to 2.37.1 (#675) @dependabot
- ⬆️ Bump pre-commit from 2.19.0 to 2.20.0 (#667) @dependabot
- ⬆️ Bump jupyter-core from 4.10.0 to 4.11.1 (#661) @dependabot
- ⬆️ Bump atomicwrites from 1.4.0 to 1.4.1 (#665) @dependabot
- ⬆️ Bump stevedore from 3.5.0 to 4.0.0 (#671) @dependabot
- ⬆️ Bump zipp from 3.8.0 to 3.8.1 (#670) @dependabot
- ⬆️ Bump numpy from 1.23.0 to 1.23.1 (#668) @dependabot
- ⬆️ Bump ipykernel from 6.15.0 to 6.15.1 (#664) @dependabot
- ⬆️ Bump urllib3 from 1.26.9 to 1.26.10 (#660) @dependabot
- ⬆️ Bump poetry from 1.1.13 to 1.1.14 in /.github/workflows (#663) @dependabot
- ⬆️ Bump pyupgrade from 2.34.0 to 2.37.0 (#666) @dependabot
- ⬆️ Bump jsonschema from 4.6.1 to 4.6.2 (#659) @dependabot
- ⬆️ Bump debugpy from 1.6.0 to 1.6.2 (#658) @dependabot
- ⬆️ Bump typer from 0.4.2 to 0.5.0 (#656) @dependabot
- ⬆️ Bump pytest-mock from 3.8.1 to 3.8.2 (#655) @dependabot
- ⬆️ Bump sphinx-click from 4.2.0 to 4.3.0 in /docs (#653) @dependabot
- ⬆️ Bump sphinx-click from 4.2.0 to 4.3.0 (#654) @dependabot
- ⬆️ Bump tornado from 6.1 to 6.2 (#652) @dependabot
- Update cookiecutter to 2022.6.3 (#651) @paw-lu
- ⬆️ Bump virtualenv from 20.15.0 to 20.15.1 in /.github/workflows (#650) @dependabot
- ⬆️ Bump safety from 1.10.3 to 2.0.0 (#649) @dependabot
- ⬆️ Bump black from 22.3.0 to 22.6.0 (#648) @dependabot
- ⬆️ Bump pytest-mock from 3.7.0 to 3.8.1 (#646) @dependabot
- ⬆️ Bump nox-poetry from 1.0.0 to 1.0.1 in /.github/workflows (#645) @dependabot
- ⬆️ Bump virtualenv from 20.14.1 to 20.15.0 in /.github/workflows (#644) @dependabot
- ⬆️ Bump furo from 2022.6.4.1 to 2022.6.21 (#642) @dependabot
- ⬆️ Bump flake8-bugbear from 22.4.25 to 22.6.22 (#643) @dependabot
- ⬆️ Bump furo from 2022.6.4.1 to 2022.6.21 in /docs (#641) @dependabot
- ⬆️ Bump sphinx-click from 4.1.0 to 4.2.0 (#640) @dependabot
- ⬆️ Bump sphinx-click from 4.1.0 to 4.2.0 in /docs (#639) @dependabot
- ⬆️ Bump sphinx from 5.0.1 to 5.0.2 (#638) @dependabot
- ⬆️ Bump sphinx from 5.0.1 to 5.0.2 in /docs (#637) @dependabot
- ⬆️ Bump ipykernel from 6.14.0 to 6.15.0 (#634) @dependabot
- ⬆️ Bump sphinx from 4.5.0 to 5.0.1 (#633) @dependabot
- ⬆️ Bump sphinx-design from 0.1.0 to 0.2.0 (#632) @dependabot
- ⬆️ Bump flake8-rst-docstrings from 0.2.5 to 0.2.6 (#623) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.2 to 1.18.3 (#629) @dependabot
- ⬆️ Bump actions/setup-python from 3 to 4 (#626) @dependabot
- ⬆️ Bump ipykernel from 6.13.1 to 6.14.0 (#630) @dependabot
- ⬆️ Bump myst-parser from 0.17.2 to 0.18.0 (#624) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.2 to 1.18.3 in /docs (#628) @dependabot
- ⬆️ Bump myst-parser from 0.17.2 to 0.18.0 in /docs (#622) @dependabot
- ⬆️ Bump sphinx-design from 0.1.0 to 0.2.0 in /docs (#631) @dependabot
- ⬆️ Bump pre-commit-hooks from 4.2.0 to 4.3.0 (#625) @dependabot
- ⬆️ Bump ipykernel from 6.13.0 to 6.13.1 (#620) @dependabot
- ⬆️ Bump mypy from 0.960 to 0.961 (#619) @dependabot
- ⬆️ Bump pyupgrade from 2.32.1 to 2.34.0 (#621) @dependabot
- ⬆️ Bump furo from 2022.4.7 to 2022.6.4.1 (#617) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.1 to 1.18.2 (#614) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.1 to 1.18.2 in /docs (#616) @dependabot
- ⬆️ Bump furo from 2022.4.7 to 2022.6.4.1 in /docs (#615) @dependabot
- ⬆️ Bump sphinx from 5.0.0 to 5.0.1 in /docs (#611) @dependabot
- ⬆️ Bump validators from 0.19.0 to 0.20.0 (#618) @dependabot
- ⬆️ Bump pep8-naming from 0.12.1 to 0.13.0 (#613) @dependabot
- ⬆️ Bump coverage from 6.4 to 6.4.1 (#612) @dependabot
- ⬆️ Bump lxml from 4.8.0 to 4.9.0 (#610) @dependabot
- ⬆️ Bump pip from 22.1.1 to 22.1.2 in /.github/workflows (#609) @dependabot
- ⬆️ Bump sphinx-click from 4.0.3 to 4.1.0 (#608) @dependabot
- ⬆️ Bump sphinx-click from 4.0.3 to 4.1.0 in /docs (#607) @dependabot
- ⬆️ Bump ipython from 8.3.0 to 8.4.0 (#606) @dependabot
- ⬆️ Bump sphinx from 4.5.0 to 5.0.0 in /docs (#605) @dependabot
- ⬆️ Bump mypy from 0.950 to 0.960 (#602) @dependabot
- ⬆️ Bump crazy-max/ghaction-github-labeler from 3.1.1 to 4.0.0 (#603) @dependabot
- ⬆️ Bump rich from 12.4.3 to 12.4.4 (#601) @dependabot
- ⬆️ Bump httpx from 0.22.0 to 0.23.0 (#599) @dependabot
- ⬆️ Bump rich from 12.4.1 to 12.4.3 (#600) @dependabot
- ⬆️ Bump pip from 22.1 to 22.1.1 in /.github/workflows (#595) @dependabot
- ⬆️ Bump coverage from 6.3.3 to 6.4 (#596) @dependabot
- ⬆️ Bump pillow from 9.1.0 to 9.1.1 (#594) @dependabot
- ⬆️ Bump nox-poetry from 0.9.0 to 1.0.0 in /.github/workflows (#593) @dependabot
- ⬆️ Bump coverage from 6.3.2 to 6.3.3 (#592) @dependabot
- ⬆️ Bump pip from 22.0.4 to 22.1 in /.github/workflows (#591) @dependabot
- ⬆️ Bump release-drafter/release-drafter from 5.19.0 to 5.20.0 (#590) @dependabot
- Bump rich to 12.4.1 (#589) @paw-lu
- Bump rich to 12.4.0 (#588) @paw-lu
- ⬆️ Bump nbformat from 5.3.0 to 5.4.0 (#583) @dependabot
- ⬆️ Bump pre-commit from 2.18.1 to 2.19.0 (#587) @dependabot
- ⬆️ Bump pyupgrade from 2.32.0 to 2.32.1 (#585) @dependabot
- ⬆️ Bump term-image from 0.3.0 to 0.3.1 (#584) @dependabot
- ⬆️ Bump validators from 0.18.2 to 0.19.0 (#586) @dependabot
- ⬆️ Bump ipython from 8.2.0 to 8.3.0 (#582) @dependabot
- ⬆️ Bump click from 8.1.2 to 8.1.3 (#581) @dependabot
- ⬆️ Bump jinja2 from 3.1.1 to 3.1.2 (#580) @dependabot
- ⬆️ Bump mypy from 0.942 to 0.950 (#579) @dependabot
- ⬆️ Bump term-image from 0.2.0 to 0.3.0 (#577) @dependabot
- ⬆️ Bump rich from 12.2.0 to 12.3.0 (#578) @dependabot
- ⬆️ Bump flake8-bugbear from 22.3.23 to 22.4.25 (#576) @dependabot
- ⬆️ Bump pytest from 7.1.1 to 7.1.2 (#575) @dependabot
- ⬆️ Bump sphinx-design from 0.0.13 to 0.1.0 in /docs (#573) @dependabot
- ⬆️ Bump sphinx-design from 0.0.13 to 0.1.0 (#574) @dependabot
- ⬆️ Bump sphinx-click from 4.0.2 to 4.0.3 in /docs (#570) @dependabot
- ⬆️ Bump sphinx-click from 4.0.2 to 4.0.3 (#571) @dependabot
v0.9.0
Overview
Two main user-facing changes:
README previews
The GitHub README is now full of generated SVGs that illustrate the different types of aspects of a notebook nbpreview can render.
Rich compatibility
Older versions of nbpreview were incompatible with newer versions of Rich. Usage has been updated to stay in sync with the newest version of the Rich API.
Changes
📚 Documentation
- Move Requirements and Installation section to top of README (#569) @paw-lu
- Remove Features section preamble (#568) @paw-lu
- Make wording on nbpreview citation more consistent with other citations (#566) @paw-lu
- fix security badge (#565) @paw-lu
- Add SVG previews to README (#564) @paw-lu
📦 Dependencies
- Bump rich to 12.2.0 (#563) @paw-lu
- ⬆️ Bump term-image from 0.1.1 to 0.2.0 (#561) @dependabot
- ⬆️ Bump myst-parser from 0.17.0 to 0.17.2 (#562) @dependabot
- ⬆️ Bump markdown-it-py from 2.0.1 to 2.1.0 (#560) @dependabot
- ⬆️ Bump myst-parser from 0.17.0 to 0.17.2 in /docs (#559) @dependabot
- ⬆️ Bump sphinx-click from 4.0.1 to 4.0.2 (#558) @dependabot
- ⬆️ Bump sphinx-click from 4.0.1 to 4.0.2 in /docs (#557) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.0 to 1.18.1 in /docs (#555) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.18.0 to 1.18.1 (#556) @dependabot
- ⬆️ Bump sphinx-click from 4.0.0 to 4.0.1 (#553) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.17.0 to 1.18.0 (#554) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.17.0 to 1.18.0 in /docs (#552) @dependabot
- ⬆️ Bump sphinx-click from 4.0.0 to 4.0.1 in /docs (#551) @dependabot
- ⬆️ Bump virtualenv from 20.14.0 to 20.14.1 in /.github/workflows (#549) @dependabot
- ⬆️ Bump ipykernel from 6.12.1 to 6.13.0 (#550) @dependabot
- ⬆️ Bump pyupgrade from 2.31.1 to 2.32.0 (#548) @dependabot
- ⬆️ Bump sphinx-click from 3.1.0 to 4.0.0 (#546) @dependabot
- ⬆️ Bump furo from 2022.3.4 to 2022.4.7 (#547) @dependabot
- ⬆️ Bump furo from 2022.3.4 to 2022.4.7 in /docs (#544) @dependabot
- ⬆️ Bump sphinx-click from 3.1.0 to 4.0.0 in /docs (#545) @dependabot
- ⬆️ Bump pre-commit-hooks from 4.1.0 to 4.2.0 (#543) @dependabot
- ⬆️ Bump codecov/codecov-action from 2.1.0 to 3 (#542) @dependabot
- ⬆️ Bump nbformat from 5.2.0 to 5.3.0 (#539) @dependabot
- ⬆️ Bump ipykernel from 6.11.0 to 6.12.1 (#540) @dependabot
- ⬆️ Bump pillow from 9.0.1 to 9.1.0 (#537) @dependabot
- ⬆️ Bump pre-commit from 2.17.0 to 2.18.1 (#538) @dependabot
- ⬆️ Bump ipykernel from 6.10.0 to 6.11.0 (#536) @dependabot
- ⬆️ Bump click from 8.1.1 to 8.1.2 (#535) @dependabot
v0.8.3
Overview
Make nbpreview compatible with newer versions of Click. Typer has fixed its issues with newer versions of Click, so Typer has been updated, and Click is unpinned.
Changes
- Release 0.8.3 (#534) @paw-lu
- You should have an example in the readme (#494) @WaylonWalker
📦 Dependencies
- Unpin click (#533) @paw-lu
- ⬆️ Bump click from 8.0.4 to 8.1.1 (#530) @dependabot
- Upgrade Typer to 0.4.1 (#532) @paw-lu
- ⬆️ Bump sphinxext-opengraph from 0.6.2 to 0.6.3 in /docs (#528) @dependabot
- ⬆️ Bump sphinxext-opengraph from 0.6.2 to 0.6.3 (#529) @dependabot
v0.8.2
Overview
Patch release that pins Click to <8.1.0 to work around Typer incompatibility. If you are getting tracebacks with the message
ImportError: cannot import name 'get_terminal_size' from 'click.termui'
upgrade to 0.8.2 to fix this.
We expect to later remove this constraint after Typer is updated.
🪲 Fixes
👷 Continuous Integration
📚 Documentation
- Credit jsvine/nbpreview (#524) @paw-lu
- Add isort badge (#505) @paw-lu
- Simply can be overused (#495) @WaylonWalker
📦 Dependencies
- Pin Click to <8.1.0 (#526) @paw-lu
- ⬆️ Bump xdoctest from 0.15.10 to 1.0.0 (#519) @dependabot
- ⬆️ Bump ipykernel from 6.9.2 to 6.10.0 (#521) @dependabot
- ⬆️ Bump jinja2 from 3.1.0 to 3.1.1 (#520) @dependabot
- ⬆️ Bump sphinx from 4.4.0 to 4.5.0 (#518) @dependabot
- ⬆️ Bump sphinx from 4.4.0 to 4.5.0 in /docs (#516) @dependabot
- ⬆️ Bump virtualenv from 20.13.4 to 20.14.0 in /.github/workflows (#515) @dependabot
- ⬆️ Bump mypy from 0.941 to 0.942 (#514) @dependabot
- ⬆️ Bump jinja2 from 3.0.3 to 3.1.0 (#513) @dependabot
- ⬆️ Bump flake8-bugbear from 22.3.20 to 22.3.23 (#511) @dependabot
- ⬆️ Bump actions/cache from 2.1.7 to 3 (#510) @dependabot
- ⬆️ Bump virtualenv from 20.13.3 to 20.13.4 in /.github/workflows (#508) @dependabot
- ⬆️ Bump flake8-bugbear from 22.1.11 to 22.3.20 (#509) @dependabot
- ⬆️ Bump pytest from 7.1.0 to 7.1.1 (#504) @dependabot
- ⬆️ Bump ipykernel from 6.9.1 to 6.9.2 (#503) @dependabot
- ⬆️ Bump mypy from 0.940 to 0.941 (#502) @dependabot
- ⬆️ Bump mypy from 0.931 to 0.940 (#499) @dependabot
- ⬆️ Bump pytest from 7.0.1 to 7.1.0 (#500) @dependabot
- ⬆️ Bump pyupgrade from 2.31.0 to 2.31.1 (#501) @dependabot
v0.8.1
Overview
Bugfix release.
Before nbpreview would raise an exception if HTML output contained an encoded image in text.
<img src="data:image/png;base64,iVBOR…/>
This release prevents nbpreview from raising an exception in this general case, and additionally ads support for decoding and rendering these types of links.
Lastly, nbformat has a new release that changed some internals that prevented nbpreview from detecting bad notebook files. nbformat's logic has updated to keep up with the changes and validate notebooks properly.
Changes
🚀 Features
🪲 Fixes
📦 Dependencies
- ⬆️ Bump nbformat from 5.1.3 to 5.2.0 (#492) @dependabot
- Bump flake8-bandit to 3.0.0 (#497) @paw-lu
v0.8.0
Overview
The biggest change here is that term-img is now used to render --image-drawing=block
drawings. For the user, this now means
--image-drawing=block
may be run on Windows now--image-drawing=block
is faster now
If nbpreview thinks the terminal can support it, --image-drawing=block
is now the default drawer.
Check out some previews of the new block drawings in the docs!
Changes
🚀 Features
🪲 Fixes
📚 Documentation
💄 Style
📦 Dependencies
- ⬆️ Bump nbqa from 1.3.0 to 1.3.1 (#487) @dependabot
- ⬆️ Bump sphinxext-opengraph from 0.6.1 to 0.6.2 in /docs (#485) @dependabot
- ⬆️ Bump sphinxext-opengraph from 0.6.1 to 0.6.2 (#486) @dependabot
- ⬆️ Bump virtualenv from 20.13.2 to 20.13.3 in /.github/workflows (#484) @dependabot
- ⬆️ Bump pip from 22.0.3 to 22.0.4 in /.github/workflows (#483) @dependabot
- ⬆️ Bump release-drafter/release-drafter from 5.18.1 to 5.19.0 (#482) @dependabot
- ⬆️ Bump furo from 2022.2.23 to 2022.3.4 (#481) @dependabot
- ⬆️ Bump nbqa from 1.2.3 to 1.3.0 (#480) @dependabot
- ⬆️ Bump furo from 2022.2.23 to 2022.3.4 in /docs (#479) @dependabot
- ⬆️ Bump ipython from 8.1.0 to 8.1.1 (#477) @dependabot
- ⬆️ Bump actions/upload-artifact from 2.3.1 to 3 (#476) @dependabot
- ⬆️ Bump actions/download-artifact from 2.1.0 to 3 (#474) @dependabot
v0.7.2
Overview
This release unifies documentation differences across PyPI, GitHub, and Read the Docs.
Additionally CI for macOS and Windows is updated to run on Python 3.10.
Changes
🪲 Fixes
- Fix README images not rendering on PyPI (#468) @paw-lu
- Align documentation headers to text (#469) @paw-lu
👷 Continuous Integration
📚 Documentation
v0.7.1
Overview
Small release that focuses on making HTML content more helpful.
First, nbpreview will try not to render HTML content if a useful text version is already present. There were cases where nbpreview would try to parse and print the HTML output, where the output already had a perfectly good plaintext representation.
Second, there is now a minimum column width for rendered DataFrames. Before, nbpreview would try to fit all columns in the terminal, which would just result in many illegible squished columns. Now we prefer to at least see the first few and then let the remaining columns be cutoff.
Finally --plain / -p
no longer affects how DataFrame are rendered. You can now still use plain stying with --plain
, and still get rich renderings of DataFrame.
Changes
🚀 Features
- Do not render HTML if a custom repr is present (#466) @paw-lu
- Set minimum column width for DataFrame (#460) @paw-lu
📦 Dependencies
- ⬆️ Bump actions/checkout from 2.4.0 to 3 (#465) @dependabot
- ⬆️ Bump actions/setup-python from 2.3.2 to 3 (#461) @dependabot
- ⬆️ Bump sphinx-autodoc-typehints from 1.16.0 to 1.17.0 in /docs (#459) @dependabot
v0.7.0
Overview
This is a documentation focused release. The full docs are hosted at
https://nbpreview.readthedocs.io/en/latest/.
Thanks to Rich, the documentation is full of generated HTML examples of the terminal output. This should allow us to automate example updates as things change, instead of manually having to grab screenshots.
Changes
🚀 Features
🪲 Fixes
- Remove Mypy badge from built documentation (#458) @paw-lu
- Explicitly enable dollarmath for MyST (#456) @paw-lu
- Fix documentation (#443) @paw-lu
- Add sphinx-autodoc-typehints to Read the Docs requirements (#442) @paw-lu
👷 Continuous Integration
📚 Documentation
- Remove Mypy badge from built documentation (#458) @paw-lu
- Add OpenGraph config (#457) @paw-lu
- Explicitly enable dollarmath for MyST (#456) @paw-lu
- Fix documentation (#443) @paw-lu
- Add sphinx-autodoc-typehints to Read the Docs requirements (#442) @paw-lu
- Document the project (#395) @paw-lu
- Switch license to use GitHub default plaintext file (#394) @paw-lu
- Replace sphinx-inline-tabs with sphinx-design (#391) @paw-lu
- Add PyPI issues link (#390) @paw-lu
- Add sphinx extensions (#389) @paw-lu
- Add bandit badge (#388) @paw-lu
- Move documentation to MyST (#384) @paw-lu
📦 Dependencies
- ⬆️ Bump sphinx-autodoc-typehints from 1.16.0 to 1.17.0 (#452) @dependabot
- ⬆️ Bump lxml from 4.7.1 to 4.8.0 (#455) @dependabot
- ⬆️ Bump tomli from 2.0.0 to 2.0.1 (#453) @dependabot
- ⬆️ Bump pytest from 6.2.5 to 7.0.1 (#454) @dependabot
- ⬆️ Bump sphinx-copybutton from 0.4.0 to 0.5.0 (#425) @dependabot
- ⬆️ Bump sphinxext-opengraph from 0.5.1 to 0.6.1 (#450) @dependabot
- ⬆️ Bump furo from 2022.1.2 to 2022.2.23 (#451) @dependabot
- ⬆️ Bump ipython from 8.0.1 to 8.1.0 (#449) @dependabot
- ⬆️ Bump myst-parser from 0.16.1 to 0.17.0 (#448) @dependabot
- ⬆️ Bump pillow from 9.0.0 to 9.0.1 (#420) @dependabot
- ⬆️ Bump ipykernel from 6.7.0 to 6.9.1 (#432) @dependabot
- ⬆️ Bump sphinx-click from 3.0.3 to 3.1.0 (#417) @dependabot
- ⬆️ Bump poetry from 1.1.12 to 1.1.13 in /.github/workflows (#427) @dependabot
- ⬆️ Bump click from 8.0.3 to 8.0.4 (#447) @dependabot
- ⬆️ Bump virtualenv from 20.13.0 to 20.13.2 in /.github/workflows (#440) @dependabot
- ⬆️ Bump actions/setup-python from 2.3.1 to 2.3.2 (#422) @dependabot
- ⬆️ Bump pip from 22.0.2 to 22.0.3 in /.github/workflows (#419) @dependabot
- ⬆️ Bump myst-parser from 0.16.1 to 0.17.0 in /docs (#430) @dependabot
- ⬆️ Bump sphinx-copybutton from 0.4.0 to 0.5.0 in /docs (#423) @dependabot
- ⬆️ Bump furo from 2022.1.2 to 2022.2.23 in /docs (#437) @dependabot
- ⬆️ Bump sphinxext-opengraph from 0.5.1 to 0.6.1 in /docs (#436) @dependabot
- ⬆️ Bump release-drafter/release-drafter from 5.17.6 to 5.18.1 (#421) @dependabot
- ⬆️ Bump sphinx-click from 3.0.3 to 3.1.0 in /docs (#415) @dependabot
- ⬆️ Update numpy to 1.22.2 (#444) @paw-lu
- ⬆️ Bump pytest-mock from 3.6.1 to 3.7.0 (#409) @dependabot
- ⬆️ Bump black from 21.12b0 to 22.1.0 (#410) @dependabot
- ⬆️ Bump pip from 21.3.1 to 22.0.2 in /.github/workflows (#407) @dependabot
- ⬆️ Bump sphinx-click from 3.0.2 to 3.0.3 in /docs (#408) @dependabot
- ⬆️ Bump sphinx-click from 3.0.2 to 3.0.3 (#411) @dependabot
- ⬆️ Bump httpx from 0.21.3 to 0.22.0 (#404) @dependabot
- ⬆️ Bump coverage from 6.2 to 6.3 (#402) @dependabot
- ⬆️ Bump markdown-it-py from 2.0.0 to 2.0.1 (#401) @dependabot
- ⬆️ Bump ipython from 8.0.0 to 8.0.1 (#398) @dependabot
- ⬆️ Bump release-drafter/release-drafter from 5.17.5 to 5.17.6 (#397) @dependabot
- ⬆️ Bump pre-commit from 2.16.0 to 2.17.0 (#396) @dependabot
- ⬆️ Bump sphinx from 4.3.2 to 4.4.0 (#387) @dependabot
- ⬆️ Bump sphinx from 4.3.2 to 4.4.0 in /docs (#386) @dependabot
- ⬆️ Bump release-drafter/release-drafter from 5.16.1 to 5.17.5 (#385) @dependabot
- ⬆️ Bump ipykernel from 6.6.1 to 6.7.0 (#382) @dependabot
- ⬆️ Bump release-drafter/release-drafter from 5.15.0 to 5.16.1 (#381) @dependabot
- ⬆️ Bump flake8-bugbear from 21.11.29 to 22.1.11 (#380) @dependabot
- ⬆️ Bump ipython from 7.31.0 to 8.0.0 (#379) @dependabot
- ⬆️ Bump nbqa from 1.2.2 to 1.2.3 (#378) @dependabot
- ⬆️ Bump nox from 2021.10.1 to 2022.1.7 in /.github/workflows (#377) @dependabot
- ⬆️ Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.5.0 (#376) @dependabot
v0.6.0
Oveview
This release focuses on making nbpreview look and work well across a large variety of machines, terminals, and themes. Many defaults, colors, and themes were changed to accommodate this goal.
In addition, the CLI experience was also improved. There are two major changes to highlight:
-
nbpreview can now take in multiple files for the
FILE
argument. This is especially handy when combined with globbing:% nbpreview *.ipynb
nbpreview will also render notebooks slightly different when it has multiple arguments passed to it—it will give the filename on top and draw a border around each file to distinguish different notebooks. See #348 for more details.
-
nbpreview can now render notebooks from stdin. This is really useful if you get the notebook text from somewhere else—like the web.
% curl https://raw.githubusercontent.com/paw-lu/nbpreview/main/tests/unit/assets/notebook.ipynb | nbp
See #336 for more details.
See below for a more detailed description of each change!
Changes
🚀 Features
- Colorize
--help
(#372) @paw-lu - Use terminal colors for markdown headers (#371) @paw-lu
- Add images autodetection (#365) @paw-lu
- Set default theme to dark (#364) @paw-lu
- Render images by default (#363) @paw-lu
- Validate provided theme parameter values (#358) @paw-lu
- Allow for multiple files (#348) @paw-lu
- Improve bad parameter value messages (#338) @paw-lu
- Render input from stdin (#336) @paw-lu
🪲 Fixes
- Rename positive space option short alias from
-p
to-s
(#370) @paw-lu - Fix color system not defaulting to auto (#354) @paw-lu
👷 Continuous Integration
📚 Documentation
🔨 Refactoring
- Move parameter validation and transformation to parameter callbacks (#349) @paw-lu
- Refactor CLI parameters code (#330) @paw-lu
📦 Dependencies
- ⬆️ Bump mypy from 0.930 to 0.931 (#374) @dependabot
- ⬆️ Bump httpx from 0.21.2 to 0.21.3 (#369) @dependabot
- ⬆️ Bump ipython from 7.30.1 to 7.31.0 (#367) @dependabot
- ⬆️ Bump httpx from 0.21.1 to 0.21.2 (#366) @dependabot
- ⬆️ Bump ipykernel from 6.6.0 to 6.6.1 (#361) @dependabot
- ⬆️ Bump furo from 2021.11.23 to 2022.1.2 (#355) @dependabot
- ⬆️ Bump rich from 10.16.1 to 10.16.2 (#356) @dependabot
- ⬆️ Bump pillow from 8.4.0 to 9.0.0 (#352) @dependabot
- ⬆️ Bump tryceratops from 1.0.0 to 1.0.1 (#353) @dependabot
- ⬆️ Bump pyupgrade from 2.30.1 to 2.31.0 (#357) @dependabot
- ⬆️ Bump virtualenv from 20.11.2 to 20.13.0 in /.github/workflows (#351) @dependabot
- ⬆️ Bump furo from 2021.11.23 to 2022.1.2 in /docs (#350) @dependabot
- ⬆️ Bump pyupgrade from 2.30.0 to 2.30.1 (#347) @dependabot
- ⬆️ Bump virtualenv from 20.11.1 to 20.11.2 in /.github/workflows (#345) @dependabot
- ⬆️ Bump virtualenv from 20.10.0 to 20.11.1 in /.github/workflows (#342) @dependabot
- ⬆️ Bump pyupgrade from 2.29.1 to 2.30.0 (#340) @dependabot
- ⬆️ Bump pre-commit-hooks from 4.0.1 to 4.1.0 (#337) @dependabot
- ⬆️ Bump mypy from 0.921 to 0.930 (#332) @dependabot