Upgrading¶
| Where you use feynjs | To upgrade |
|---|---|
| npm | npm install feynjs@latest |
jsDelivr link, feynjs@0.10 |
nothing for a 0.10.x release; change the link for 0.11 |
| Obsidian | replace the plugin folder with the one from the new release |
Versions follow semantic versioning. Before 1.0, a new minor version (0.9 to 0.10) may change how a diagram is written. A layout that moves counts as a change too. Each one is in the changelog below.
npm¶
This updates package.json and the feynjs command too. Check with npx feynjs check FILE on a
few of your diagrams.
The jsDelivr link¶
A link to feynjs@0.10 picks up each 0.10.x release on its own:
jsDelivr can cache the version a range points to for up to about 12 hours, so a page may draw with the previous release for that long after a new one is out.
A new minor version needs a new link. For 0.11, change @0.10 to @0.11 wherever the script is
loaded: extra_javascript in zensical.toml or mkdocs.yml, or the <script> tag. To stay on
one exact release, write it in full, such as feynjs@0.10.0. Pages still linking feynjs@0.9
keep drawing with 0.9.5, the last 0.9 release.
Obsidian¶
- Download
feynjs-obsidian.zipfrom the latest release and unzip it. - Replace the
feynjsfolder in<vault>/.obsidian/plugins/with the new one. - In Settings → Community plugins, switch feynjs off and on again, or restart Obsidian.
The plugin keeps no settings of its own, so nothing is lost when its folder is replaced.
Changelog¶
The full list is in CHANGELOG.md. In short:
- 0.9.3 (2026-11-24)
- Every part of a drawing is named in the SVG (
data-edge,data-vertex) and the diagram is written into it as JSON. The playground. The grid and the lattice view stay faint on dark pages. Releases carry the Obsidian plugin asfeynjs-obsidian.zip. Cascades on the grid layout are drawn as a level spine with what they give off hanging from it. - 0.9.1 (2026-11-24)
- In Zensical and MkDocs, diagrams are drawn again after each instant page change, so the
script and the
feynmanfence are all a site needs. - 0.9.0 (2026-11-23)
- The first public release: the edge and process syntaxes, every TikZ-Feynman line style, the force, grid and manual layouts, the kinematic and lattice views, the npm package, the command line, TikZ export and the Obsidian plugin.