Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,59 @@
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.

- - -
## v0.11.8 - 2026-10-03
#### Tests
- (**markdown**) accept the line-block terminator on the structure span - (6f3cd8c) - *HaoZeke*
- (**markdown**) keep the paragraph after an unclosed bracket - (037c3de) - *HaoZeke*
- (**markdown**) unclosed bracket math must not swallow the next line - (9223256) - *HaoZeke*
- restore the 42 CLI tests the consolidated binary overwrote - (df6b271) - *HaoZeke*
- the fancyvrb VerbatimInput test is named for what it checks - (9d043bb) - *HaoZeke*
- a nested test runs at the top level, and the clippy lints in the consolidated tests are cleared - (eeb13b4) - *HaoZeke*
#### Buildsystem
- (**release**) the bump moves every pre-commit rev pin, which now live under docs/orgmode - (ed8847a) - *HaoZeke*
- (**release**) a bump moves only the workspace crates in the lockfile - (439519a) - *HaoZeke*
- (**tests**) one integration test binary links the library once - (f0c1e75) - *HaoZeke*
#### Documentation
- (**org**) hang the vale item description under its tag - (9bda344) - *HaoZeke*
- cli reference reflowed where a sentence opens with a number - (918162e) - *HaoZeke*
- keep the 0.11.7 changelog on the released notes - (1029ef1) - *HaoZeke*
#### Bug Fixes
- (**build**) use thin LTO for the release profile - (bf92050) - *HaoZeke*
- (**latex**) keep letter-delimited verb and url spans whole - (dee2151) - *HaoZeke*
- (**latex**) keep pgfplots group and special axes whole - (c8fb922) - *HaoZeke*
- (**latex**) keep breqn dgroup and darray whole - (4ca94ae) - *HaoZeke*
- (**latex**) keep more math and verbatim environments whole - (1e41fb9) - *HaoZeke*
- (**latex**) keep leftover math and filecontents bodies whole - (2af7677) - *HaoZeke*
- (**markdown**) keep mid-line bracket display math whole - (3633660) - *HaoZeke*
- (**markdown**) hang the second sentence of a pandoc example item - (d1a833f) - *HaoZeke*
- (**markdown**) match shortcut labels without lookahead - (45405fd) - *HaoZeke*
- (**markdown**) keep shortcut labels, citations, and dollar math whole - (25d078f) - *HaoZeke*
- (**markdown**) keep pandoc line blocks and example lists whole - (37f3086) - *HaoZeke*
- (**markdown**) keep LaTeX non-prose environments whole - (c22f021) - *HaoZeke*
- (**markdown**) end a bracket math search at a blank line - (3b1e7bd) - *HaoZeke*
- (**markdown**) do not treat a div fence as a definition marker - (c124ffa) - *HaoZeke*
- (**markdown**) keep bracket math and div fences out of prose - (2a93456) - *HaoZeke*
- (**org**) take the item tag through the last separator - (ad67258) - *HaoZeke*
- (**org**) keep list item tags on the item line - (7a13061) - *HaoZeke*
- (**org,rst**) keep continued tags and titles whole - (711f7a8) - *HaoZeke*
- (**pandoc**) shield alltt, BVerbatim, and luacode - (3e207aa) - *HaoZeke*
- (**pandoc**) shield starred verbatim, lstlisting, and minted - (ceb11e5) - *HaoZeke*
- (**plaintext**) do not split a balanced quote on a period - (7a87430) - *HaoZeke*
- (**rst**) hang the indented line after a same-line title - (66651ec) - *HaoZeke*
- (**rst**) keep csv-table title continuations as structure - (2547a67) - *HaoZeke*
- (**rst**) keep directive title arguments on the directive line - (389e864) - *HaoZeke*
- (**sentence**) lowercase academic abbreviations rejoin a number after them - (67b0547) - *HaoZeke*
- (**sentence**) a number opens a sentence, and a lowercase start can be asked for - (e0a7df2) - *HaoZeke*
#### Style
- (**latex**) sort imports with the edition 2024 formatter - (b5de4ca) - *HaoZeke*
- (**org,rst**) wrap the lines rustfmt rejected - (3356281) - *HaoZeke*
- (**pandoc**) wrap the starred-verbatim test input - (1aefe7d) - *HaoZeke*
- (**rst**) keep the title-body fixture on one line - (c325926) - *HaoZeke*
- unwrap_or_else with panic! over expect(&format!) in tests, and two needless borrows - (db7b015) - *HaoZeke*
- clear the clippy lints Rust 1.98 raises in tests and the LaTeX parser - (ee1f49e) - *HaoZeke*

- - -

## v0.11.7 - 2026-09-23
#### Bug Fixes
- generated pre-commit hook runs under bash so the format loop runs on Ubuntu
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snapper-fmt"
version = "0.11.7"
version = "0.11.8"
edition = "2024"
autotests = false
rust-version = "1.85"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Configuration guide (org source in-tree): `docs/orgmode/howto/mcp-integration.or
## Pre-commit hook

- repo: https://github.com/TurtleTech-ehf/snapper
rev: v0.11.7
rev: v0.11.8
hooks:
- id: snapper

Expand Down
3 changes: 2 additions & 1 deletion cog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ pre_bump_hooks = [
# dependency and ship upgrades no test ran against.
"cargo update --workspace",
"sed -i 's/^release = \".*\"/release = \"{{version}}\"/' docs/source/conf.py",
"sed -i 's/rev: v[0-9][0-9.\\-]*/rev: v{{version}}/' README.md docs/source/howto/vale-integration.rst",
# Only the rev under snapper's own repo line; other hooks keep their pins.
"sed -i '/repo: https:\\/\\/github.com\\/TurtleTech-ehf\\/snapper/{n;s/rev: v[0-9][0-9.\\-]*/rev: v{{version}}/}' README.md readme_src.org docs/orgmode/tutorials/quickstart.org docs/orgmode/howto/vale-integration.org docs/orgmode/howto/ci-enforcement.org",
"sed -i 's/\"version\": \".*\"/\"version\": \"{{version}}\"/' editors/vscode/package.json editors/obsidian/package.json editors/obsidian/manifest.json editors/word/package.json packages/snapper-wasm/package.json npm/package.json",
]

Expand Down
2 changes: 1 addition & 1 deletion conda/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
schema_version: 1

context:
version: "0.11.7"
version: "0.11.8"

package:
name: snapper-fmt
Expand Down
6 changes: 3 additions & 3 deletions docs/orgmode/howto/ci-enforcement.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The easiest way to enforce semantic line breaks in CI.
Add to your workflow:

#+begin_src yaml
- uses: TurtleTech-ehf/snapper@v0.11.7
- uses: TurtleTech-ehf/snapper@v0.11.8
with:
files: '**/*.org **/*.tex **/*.md'
#+end_src
Expand All @@ -20,7 +20,7 @@ This installs snapper and runs =--check= on the specified files.
For GitHub Code Scanning integration (SARIF annotations on PRs):

#+begin_src yaml
- uses: TurtleTech-ehf/snapper@v0.11.7
- uses: TurtleTech-ehf/snapper@v0.11.8
with:
files: '**/*.org **/*.tex **/*.md'
sarif: 'true'
Expand All @@ -35,7 +35,7 @@ Add to =.pre-commit-config.yaml=:

#+begin_src yaml
- repo: https://github.com/TurtleTech-ehf/snapper
rev: v0.11.7
rev: v0.11.8
hooks:
- id: snapper
#+end_src
Expand Down
2 changes: 1 addition & 1 deletion docs/orgmode/howto/vale-integration.org
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ A typical workflow:

#+begin_src yaml
- repo: https://github.com/TurtleTech-ehf/snapper
rev: v0.11.7
rev: v0.11.8
hooks:
- id: snapper
- repo: https://github.com/errata-ai/vale
Expand Down
2 changes: 1 addition & 1 deletion docs/orgmode/tutorials/quickstart.org
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Add to your =.pre-commit-config.yaml=:

#+begin_src yaml
- repo: https://github.com/TurtleTech-ehf/snapper
rev: v0.11.7
rev: v0.11.8
hooks:
- id: snapper
#+end_src
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
project = "snapper"
copyright = '2026--present, <a href="https://rgoswami.me">Rohit Goswami</a>'
author = "Rohit Goswami"
release = "0.11.7"
release = "0.11.8"
html_logo = "../../branding/logo/snapper_logo.png"

extensions = [
Expand Down
2 changes: 1 addition & 1 deletion editors/obsidian/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "snapper",
"name": "Snapper - Semantic Line Breaks",
"version": "0.11.7",
"version": "0.11.8",
"minAppVersion": "1.0.0",
"description": "Format prose with semantic line breaks for clean git diffs. Supports Org-mode, LaTeX, Markdown, and plaintext.",
"author": "TurtleTech",
Expand Down
6 changes: 3 additions & 3 deletions editors/obsidian/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion editors/obsidian/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-snapper",
"version": "0.11.7",
"version": "0.11.8",
"private": true,
"description": "Obsidian plugin for snapper semantic line break formatter",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions editors/vscode/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# snapper - Semantic Line Breaks

Requires the **snapper** / **snapper-fmt** CLI **0.11.7+** on your PATH (or set `snapper.path`).
Requires the **snapper** / **snapper-fmt** CLI **0.11.8+** on your PATH (or set `snapper.path`).
The crate is `snapper-fmt`; installers ship both names.
If [openSUSE snapper](https://github.com/openSUSE/snapper) already owns `/usr/bin/snapper`, call `snapper-fmt` or set `snapper.path`.
Install: `cargo install snapper-fmt` or the [release installer](https://github.com/TurtleTech-ehf/snapper/releases/tag/v0.11.7).
Install: `cargo install snapper-fmt` or the [release installer](https://github.com/TurtleTech-ehf/snapper/releases/tag/v0.11.8).


Format prose so each sentence occupies its own line, producing clean git diffs for collaborative writing.
Expand Down
2 changes: 1 addition & 1 deletion editors/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "snapper",
"displayName": "snapper - Semantic Line Breaks",
"description": "Format prose with semantic line breaks for clean git diffs",
"version": "0.11.7",
"version": "0.11.8",
"publisher": "TurtleTech",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions editors/word/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Office add-in that formats document prose with **semantic line breaks** (one sentence per line) using the **snapper WASM** build (`@snapper/wasm`). Useful when drafting in Word and exporting to Org, Markdown, or LaTeX for git-friendly diffs.

**Version:** 0.11.7 (tracks snapper-fmt)
**Version:** 0.11.8 (tracks snapper-fmt)

Development preview; not published in AppSource.

Expand Down Expand Up @@ -34,7 +34,7 @@ CI builds the Word add-in in `.github/workflows/wasm.yml` (`build-word` job).

## Relationship to the CLI

Word uses the **plaintext** format path in WASM. For Org/LaTeX fidelity, prefer the CLI or VS Code extension (LSP). Delimiter-span and abbreviation behavior matches the current WASM API (requires snapper **0.11.7+**).
Word uses the **plaintext** format path in WASM. For Org/LaTeX fidelity, prefer the CLI or VS Code extension (LSP). Delimiter-span and abbreviation behavior matches the current WASM API (requires snapper **0.11.8+**).

## License

Expand Down
2 changes: 1 addition & 1 deletion editors/word/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
xsi:type="TaskPaneApp">
<Id>a8f3c2e1-9b4d-4e7a-8c5f-1d2e3f4a5b6c</Id>
<Version>0.11.7</Version>
<Version>0.11.8</Version>
<ProviderName>TurtleTech ehf</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Snapper — Semantic Line Breaks"/>
Expand Down
6 changes: 3 additions & 3 deletions editors/word/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion editors/word/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "word-snapper",
"version": "0.11.7",
"version": "0.11.8",
"private": true,
"description": "Microsoft Word add-in for snapper semantic line break formatter",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion editors/word/src/taskpane/taskpane.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<div class="snapper-taskpane">
<h2>Snapper</h2>
<p class="tagline">Semantic line breaks for Word (v0.11.7)</p>
<p class="tagline">Semantic line breaks for Word (v0.11.8)</p>
<p class="hint">Formats paragraphs as plaintext. Use the CLI or VS Code for Org/LaTeX structure awareness.</p>
<div class="actions">
<button type="button" id="format-doc">Format Document</button>
Expand Down
2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@turtletech/snapper-mcp",
"version": "0.11.7",
"version": "0.11.8",
"private": true,
"description": "MCP server for snapper semantic line break formatter",
"main": "bin/run.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/snapper-wasm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/snapper-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapper/wasm",
"version": "0.11.7",
"version": "0.11.8",
"description": "WebAssembly build of snapper semantic line break formatter",
"type": "module",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion readme_src.org
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Configuration guide (org source in-tree): =docs/orgmode/howto/mcp-integration.or
:END:
#+begin_src yaml
- repo: https://github.com/TurtleTech-ehf/snapper
rev: v0.11.7
rev: v0.11.8
hooks:
- id: snapper
#+end_src
Expand Down
Loading
Loading