Added
- Use
--show-outputwith--executeto see cell stdout and stderr as the notebook runs. Live output goes to stderr so stdout remains available for notebook output, and cell outputs are still saved in the notebook. Thanks to Helge Gehring for the request and Joshua Bronson for implementing it (#1277, #1662).
Fixed
- Syncing or updating a paired notebook preserves the metadata of a raw cell created from YAML front matter, including tags, MIME type, and slideshow settings. Metadata edits in explicitly fenced MyST raw cells are carried over from the text file. Thanks to Thomas Thomsen for reporting the original metadata loss and Eliot5566 for the front-matter fix (#1687, #1688, #1702).
- When adding a final newline would be the only change to a Python source,
jupytext --syncleaves the script as saved, preventing a cursor jump in VS Code. Thanks to @sysy007uuu for reporting the issue and Victor Negîrneac for tracing it to Jupytext (Jupytext Sync #42, #1705). - MyST round trips preserve syntax highlighting for cells that use recognized IPython language magics. Other magics such as
%%scriptand%%sparkkeep the notebook lexer. Thanks to Ilya Khalafi for the PR (#1396, #1680). - Light scripts with default cell markers round-trip magics in cells written in another language, such as
%%bashin a Python notebook. Thanks to Surya S for the PR (#1697). - Empty Markdown lines no longer start block comments in q scripts. Cell boundaries and trailing blank lines are preserved in light, percent, and hydrogen formats. Thanks to Ben Lubas for reporting and fixing this (#1630, #1636).
- Markdown round trips preserve the order of bare cell metadata attributes. Thanks to Langning Zhang for the PR (#1665).
- Configuration discovery reads
pyproject.tomlas UTF-8 on systems with non-UTF-8 locales. Thanks to Davis Rens for the PR (#1686). - Conversions to and from
py:marimonow use UTF-8 for temporary files, fixing errors and corrupted non-ASCII text on Windows with a non-UTF-8 locale. Thanks to Hyungjoo Jeon for the PR (#1679). - Building Jupytext from a source distribution no longer fails when the generated README is missing. Thanks to Nico Della Torre for the PR (#1671).
- The Jupyter server extension now uses
inspect.iscoroutinefunction, avoiding a deprecation warning on Python 3.14 and preparing for the removal ofasyncio.iscoroutinefunctionin Python 3.16. Thanks to mao for this fix (#1674). - Fixed documentation links in the README. Thanks to thjbdvlt for this contribution (#1657).
- Fixed Pixi dependency resolution and notebook test kernel registration in CI, and aligned the development container's Pixi version with CI (#1682).
Changed
- Script parsing skips quote scanning on lines that cannot change the parser's state. Thanks to mscavnicky for the PR (#1676).
- Regenerated the Marimo notebook examples with Marimo 0.25.2 (#1486).
- CI now tests loading paired and standalone notebooks through Jupyter Collaboration. Thanks to Rayan Salhab for the original tests (#1552, #1699).
- CI tests with newer Pandoc releases. Pixi resolves Quarto separately because its Conda package pins Pandoc (#1700).
- CLI tests use isolated notebook trust databases to prevent lock errors during parallel runs (#1693).
- CI now runs for GitHub merge queue groups. Contributors can supply optional changelog fragments to be collected at release time (#1691, #1692).
- CI jobs now run in parallel after successful
zizmorandpre-commitchecks, and Pixi dependency updates are limited to the tested platform with serial solves (#1682). - Updated the JupyterLab extension and documentation website dependencies, including Astro, Starlight, and Sharp (#1659, #1666, #1669, #1682, #1696).
- Updated the GitHub Actions used for CI and publishing (#1658, #1667, #1668, #1678).
Security
- We have merged Dependabot security updates for the JupyterLab extension and the documentation website (#1661, #1663, #1670, #1685, #1689).
Known issues
- With Jupyter Collaboration, saving one member of an open pair can discard unsaved edits in the other. Open only the paired text file as a notebook. Jupytext still saves outputs to the
.ipynbfile. Thanks to Guillaume Therin for reporting this (#1648). - Pandoc 3.10 can truncate the Jupytext format version in Markdown metadata and prevent paired notebooks from reopening. Upgrade to Pandoc 3.10.1 or later (#1545).