Skip to content

Releases: Ossifragus/runcode

v2.6.2

Choose a tag to compare

@github-actions github-actions released this 12 Aug 14:53
a267c96
runcode v2.6.2 (2026/08/12)

writeChunk now checks \ifruncode before doing any staleness verification:
in cache mode (e.g. Overleaf via make_overleaf.py-style workflows) it
trusts an existing cached file outright with zero subprocess calls,
matching runExtCode/inln's existing cache-mode behavior. The v2.6.1 MD5
checksum check ran unconditionally, including in cache mode, where it
defeated the point.

Adds examples/WriteChunkCacheTest/ as a permanent regression test
covering the full factorial design (ifruncode true/false x generated-file
missing/fresh/stale).

v2.6.1

Choose a tag to compare

@github-actions github-actions released this 12 Aug 13:28
runcode v2.6.1 (2026/08/11)

writeChunk performance fix: checksum-based cache invalidation (matching
runExtCode elsewhere in the package) replaces the old always-rescan
behavior, which dominated compile time on documents with many showChunk
calls. Also retires the dead org->LaTeX release pipeline in favor of
directly compiling the hand-maintained runcode.tex.

runcode v2.6 (2026/06/13)

Choose a tag to compare

@haimbar haimbar released this 13 Jun 13:11

What's new in v2.6

New auxiliary tools

  • wait_for_server.py — polls a talk2stat server until it is ready to accept connections, eliminating the nohup startup race condition. Supports R, Python, Julia, and Matlab.
  • runcode-Makefile.sample — sample Makefile encoding three best practices for nohup builds: restart server before each build, wait for readiness, send a sync barrier after the draft pass.
  • consolidate.py — produces a self-contained copy of a runcode project with all cached outputs inlined into the .tex source, so the result compiles without talk2stat or any language runtime (e.g. for Overleaf or journal submission).

Checksum-based cache invalidation

Source files are now fingerprinted with MD5. A script is re-executed only when its source has changed or the output file is missing — no more unnecessary reruns, and no need to toggle the cache/run option manually.

Documentation

  • runcode.tex / runcode.pdf: documentation rewritten directly in LaTeX (replacing the Emacs org→tex workflow); covers all new features.
  • runcode_troubleshoot.tex: new entry for the nohup race-condition problem; updated cache-clearing section to reflect v2.5+ auto-invalidation.

Fixes

  • Renamed wait_for_rserver.py → wait_for_server.py (works for all four languages).
  • .ctan.sh: README is now generated from CTAN/README with the version placeholder correctly substituted.

v2.4.1

Choose a tag to compare

@github-actions github-actions released this 11 Jun 02:31
Restore CTAN/README placeholder (substituted by .org2tex.sh at releas…

v2.4

Choose a tag to compare

@github-actions github-actions released this 18 Jan 14:47
changed the copyright years

v2.3

Choose a tag to compare

@github-actions github-actions released this 17 Jan 02:12
fixed a bug - extra space when using inln

v2.2

Choose a tag to compare

@github-actions github-actions released this 08 Sep 19:16
document \runLANGChunk; update dates and version #

v2.1

Choose a tag to compare

@github-actions github-actions released this 01 Jul 02:25
detokenize the code in the inln macro

v2.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 16:04
added features - cache, combine run code and show results

v1.9

Choose a tag to compare

@github-actions github-actions released this 14 Jun 02:56
version 1.9