Release notes#
0.63 (2025-10-04)#
Fixed layout issues in admonitions.
Added a logo and a favicon. Yay!
Split
run.pyinto two stages, a loader (still in the site repository) and a payload fetched from GitHub. This should reduce the frequency ofrun.pyupdates across all repositories.
0.62 (2025-09-28)#
Hardened t-doc against supply chain attacks.
0.61 (2025-09-14)#
Added the
leaderrole.Added the
{jsxgraph} :template:option.
0.60 (2025-09-07)#
Added the
pointsrole.Added a print stylesheet for exams.
Added support for styling console output with
{exec} :console-style:.
0.59 (2025-08-23)#
Added the
mermaiddirective.Changed the mapping for auto-completion in editors from Enter to Tab.
0.58 (2025-08-10)#
Added the
jsxgraphdirective.Made it easier to run multiple local servers simultaneously by automatically selecting a port.
0.57 (2025-08-05)#
0.56 (2025-08-04)#
Added the
flex-tabledirective.Added styles for numbered lists and multi-column layouts.
Added a print stylesheet and styles for column and page break control.
0.55 (2025-07-24)#
❤️ Happy anniversary t-doc! ❤️
The first changeset was committed to thecommonrepository one year ago, on 2024-07-23, followed by 682 more changesets until this release.Added support for running Python code on the main thread. This enables the use of
pygame-cein{exec} pythonblocks.
0.54 (2025-07-10)#
Fixed a build issue on Windows.
0.53 (2025-07-10)#
Fixed an issue that broke
{exec} python.This release breaks builds on Windows.
0.52 (2025-07-10)#
Unbundled most JavaScript dependencies. They are now loaded from a CDN, and cached locally when using the local server.
This release breaks
{exec} pythondirectives.
0.51 (2025-06-28)#
Added a UI for signing in and out. Signing in is domain-wide, so it needs to be done only once to work across all sites.
0.50 (2025-06-22)#
Integrated table-based dynamic quizzes into the
quizdirective.Fixed an issue with line numbers in tracebacks in
{exec} micropython.
0.49 (2025-06-14)#
Renamed "quizz" to "quiz" everywhere. English is hard.
0.48 (2025-06-13)#
Added the
quizdirective and associated roles to create interactive quizzes.Reduced the latency of database change notifications, to make them practically instantaneous.
0.47 (2025-05-25)#
Added the
polldirective to perform live audience polls.Improved the performance of incremental rebuilds.
0.46 (2025-05-20)#
Added automatic store upgrades.
0.45 (2025-05-17)#
0.44 (2025-05-16)#
Added a config value to set the default solution visibility.
Fixed an internal error in unauthenticated API requests.
0.43 (2025-05-15)#
Added dynamic control of the visibility of solutions.
Added support for user authentication.
Added an event streaming API to enable more dynamic pages.
0.42 (2025-04-21)#
Added a visual indication that editor content is unchanged.
Added a mechanism to show removed solutions.
Prepared for per-site subdomains.
0.41 (2025-04-13)#
Added functionality to draw over page content.
0.40 (2025-04-11)#
Added a metadata setting to remove the content of
solutiondirectives from the output.Added an option to open the site in a browser when running the local server.
0.39 (2025-03-20)#
Added table-based quiz generation functionality.
0.38 (2025-03-01)#
Added a menu entry to read
main.pyin{exec} micropython.Simplified math typesetting in quiz prompts.
0.37 (2025-02-21)#
Added support for programming MicroPython devices through
{exec} micropython.
0.36 (2025-02-13)#
Improved command-line option parsing.
Moved the check for upgrades to the
run.pyscript.
0.35 (2025-02-06)#
Simplified the generation of color output on the terminal.
Refactored internals to enable running single-file scripts within the venv.
0.34 (2025-02-02)#
Enabled loading packages for
{exec} pythonblocks.Bundled the
micropip,packagingandsqlite3packages.
Enabled calling
asyncfunctions synchronously on Chrome-based browsers.Added
tdoc.core.input().
0.33 (2025-01-25)#
Fixed the breakage in CLI sub-commands.
0.32 (2025-01-25)#
Made it simpler to run a local server with a store.
Added a script to test all document repositories.
This release breaks certain CLI sub-commands.
0.31 (2025-01-12)#
Added the t-doc version in the content footer.
0.30 (2025-01-12)#
Finalized the auto-install and upgrade functionality.
On Windows, made the
run.pyscript pause on termination due to an exception, so that the console window doesn't close immediately.Enabled development in an isolated virtual environment.
0.29 (2025-01-09)#
Added a wrapper script for the
tdoccommand to auto-install and upgradet-doc-common.
0.28 (2025-01-09)#
Fixed an issue with missing
_staticdirectories.
0.27 (2025-01-03)#
Added packaging of Python modules in the
_pythondirectory.Added
tdoc.core.redirect()to redirectstdout/stderr.Fixed the overflow of wide non-editable
execblocks.
0.26 (2024-12-27)#
Added quiz functionality.
Fixed issues with non-ID characters in
{exec} :after:and{exec} :then:.
0.25 (2024-12-15)#
Made editor IDs globally unique, to allow moving across documents.
Made the "Toggle solutions" button conditional on the presence of solutions.
0.24 (2024-12-14)#
Enabled saving the content of editors to browser local storage and restoring it on reload.
Renamed
{exec} :editable:to{exec} :editor:.Added links to the documentation of major dependencies.
0.23 (2024-12-07)#
Converted the dev server to WSGI.
Added support for a backend store to the dev server.
Fixed more cosmetic issues with collapsed admonitions.
0.22 (2024-11-26)#
Added some basic cryptographic helpers for secret management.
0.21 (2024-11-23)#
Added the
defaultsdirective.Fixed a cosmetic issue with collapsed admonitions.
0.20 (2024-11-21)#
Added the
numrole.
0.19 (2024-11-17)#
Fixed the un-collapsing of admonitions through click events.
Fixed the full-screen mode of
{exec} html.
0.18 (2024-11-14)#
Removed the dependency on
sphinx_togglebutton.
0.17 (2024-11-09)#
Added the
solutiondirective and the "Toggle solutions" navbar button.Fixed the flickering on page load due to
sphinx_togglebutton.Added an option to exclude files from watching in the dev server.
0.16 (2024-11-03)#
Added support for
{exec} html.Added support for styling editors and output blocks with
{exec} :style:and{exec} :output-style:.Added the
metadatadirective.The rendered HTML output is now fully self-contained.
0.15 (2024-10-19)#
Added a mechanism to render arbitrary HTML from
{exec} pythonblocks.Added a Python module to create SVG images.
Added automatic focusing of
{exec} pythontext input elements.Fixed the positioning of the "Remove" button on scrollable tables.
0.14 (2024-10-03)#
Added a button to remove
{exec}output.Fixed
{exec} :linenos:.
0.13 (2024-09-29)#
Added support for executing blocks after a block with
{exec} :then:.
0.12 (2024-09-28)#
Added user input functionality for
{exec} pythonblocks.
0.11 (2024-09-27)#
{exec} pythonnow works when offline.Fixed an issue that prevented entering the character
/in editors.Disabled the search shortcut, as it can interfere with editors.
Made the workaround for missing
SharedArrayBufferconfigurable.By default, no workaround is installed, and Polyscript seems to work fine.
Cross-origin isolation can be enabled, but this breaks
<iframe>tags.Alternatively, a Sabayon service worker can be installed.
0.10 (2024-09-21)#
Added initial support for
{exec} python.Currently, Python code execution only works when online.
Made the automatic page reloading more reactive.
Made pages cross-origin isolated even if the server doesn't set the appropriate headers.
This release breaks
<iframe>tags in documents. On Chrome, setting thecredentiallessattribute on the<iframe>tags fixes the issue, but Firefox and Safari don't support it (yet).
0.9 (2024-09-12)#
Added automatic page reloading on successful builds in the dev server.
Fixed encoding issues with
{exec} :include:.
0.8 (2024-09-12)#
Allowed multiple references in
{exec} :after:.Added support for including external files with
{exec} :include:.
0.7 (2024-09-07)#
Fine-tuned the
execcontrol buttons.
0.6 (2024-09-07)#
Added support for editable blocks with
{exec} :editable:.
0.5 (2024-08-31)#
Added on-click execution of
execblocks.Added support for dependencies with
{exec} :after:.Added proper rendering of SQL errors in
{exec} sql.Fixed the handling of
NULLvalues in{exec} sql.
0.4 (2024-08-22)#
Added checking for updates in the dev server.
Added install, use and development documentation.
0.3 (2024-08-19)#
Added automatic rebuilding on source file changes in the dev server.
0.2 (2024-08-17)#
First public release.