AtlatestRepositorysigil-markdown
1# Changelog
2
3Versions are synced with Sigil releases. A missing entry indicates no changes for that version.
4
5All notable changes to this project will be documented in this file.
6
7The format is based on [Keep a Changelog](https://keepachangelog.com/),
8and this project adheres to [Semantic Versioning](https://semver.org/).
9
10## [0.9.5] - 2026-08-02
12### Fixed
14- An underscore between two word characters is no longer an emphasis delimiter, per CommonMark. `sokol_gfx and sokol_gp` previously rendered as `sokol<em>gfx and sokol</em>gp`: the underscores were consumed and the words silently joined, with nothing in the output to show that anything had been eaten. Every snake_case identifier written as prose was affected. Measured over the corpus one consumer actually renders, 97 of 1,389 commit messages and 1 of 86 READMEs were corrupted this way. `_emphasis_` at a word boundary, `__bold__`, and `_foo_bar_` (which CommonMark emphasises across the inner underscore) are unchanged. **`*` deliberately keeps the old behaviour** — `foo*bar*baz` is emphasis in CommonMark and remains so here; a negative-control test fails if the rule is ever applied to both characters. The boundary test is ASCII-only, like this parser's own `char-numeric?`, so a non-ASCII letter beside an underscore still reads as a boundary.
16## [0.9.4] - 2026-07-31
18### Fixed
20- HTML comments are no longer rendered. A `<!-- ... -->` block previously fell through to the paragraph case and appeared as escaped, visible text, so authoring notes intended for source readers were published. Both single-line and multi-line comments are now consumed and emitted as nothing. Per CommonMark, an unterminated comment runs to the end of the document; that behaviour is deliberate and covered by a test. Inline comments inside a paragraph are still passed through, since this parser has no inline raw-HTML handling.
22## [0.9.3] - 2026-07-30
24### Fixed
26- Nested lists now nest instead of flattening. An indented list item under another item previously became a sibling, so a three-level list rendered as one flat run of items with the structure silently discarded. Ordered lists nested under unordered ones keep their own type, a shallower item of a different type is no longer absorbed into the deeper list, and four-space indentation is read as nesting rather than as a code block.
28## [0.9.2] - 2026-07-20
30### Changed
32- Rewrote the inline and block parsers as hand-written linear scanners, replacing the interpreted PEG grammar: 95x to 108x faster parse and render (a 26KB document went from 1797ms to 16.5ms), with byte-identical output verified against a golden corpus plus a differential fuzz of roughly 16,000 markup-dense documents.
34### Removed
36- Removed the sigil-peg dependency; the parsers no longer use it, which shrinks the bundle for wasm consumers.
38## [0.7.0] - 2026-03-01
40### Added
42- Added procedure specifications with inline (: ...) syntax, optional runtime checking via sigil-checks feature, and predicate combinators (any-of, maybe, list-of, none-of).
43- Added procedure specs and docstrings to all exported procedures.
44- Added procedure specs and docstrings to all exported procedures.
45- Added define-native compiler form for declaring native C bindings in Scheme modules with optional specs and docstrings.
46- Added VM-level exception handler stack for tail-optimized guard semantics, replacing prompt-based exception handling.
47- Added multi-VM threading with share-nothing architecture, message passing, and parallel-map for data-parallel workloads.
48- Added preemptive yield points at loop back-edges to prevent CPU-bound tasks from starving the async scheduler.
49- Added procedure specifications with inline (: ...) syntax, optional runtime checking via sigil-checks feature, and predicate combinators (any-of, maybe, list-of, none-of).
50- Added procedure specs and docstrings to all exported procedures.
51- Added procedure specs and docstrings to all exported procedures.
52- Added procedure specs and docstrings to all exported procedures.
53- Added immediate-mode terminal UI toolkit with native C grid, layout system, component rendering, event parsing, text input, and chat demo application.
54- Added procedure specs and docstrings to all exported procedures.
55- Added procedure specs and docstrings to all exported procedures.
56- Added procedure specs and docstrings to all exported procedures.
57- Added procedure spec display in MCP search and exports tool output.
58- Added streaming HTTP download support with binary-safe reads and file serving with Range request support.
59- Added procedure specs and docstrings to all exported procedures.
60- Added procedure specs and docstrings to all exported procedures.
61- Added procedure specs and docstrings to all exported procedures.
62- Added immediate-mode terminal UI toolkit with native C grid, layout system, component rendering, event parsing, text input, and chat demo application.
63- Added procedure specs and docstrings to all exported procedures.
64- Added procedure specs and docstrings to all exported procedures.
65- Add structured logging package with levels, text/JSON output, configurable targets, and lazy macros.
66- Added procedure specs and docstrings to all exported procedures.
67- Add JMAP email client library with session discovery, mailbox operations, email query/get/update, and email sending via EmailSubmission.
68- Added procedure specs and docstrings to all exported procedures.
69- Added VM-level exception handler stack for tail-optimized guard semantics, replacing prompt-based exception handling.
70- Added multi-VM threading with share-nothing architecture, message passing, and parallel-map for data-parallel workloads.
71- Added field type annotations to define-struct for automatic spec generation on constructors, accessors, and mutators.
72- Added preemptive yield points at loop back-edges to prevent CPU-bound tasks from starving the async scheduler.
73- Added procedure specifications with inline (: ...) syntax, optional runtime checking via sigil-checks feature, and predicate combinators (any-of, maybe, list-of, none-of).
74- Added procedure specs and docstrings to all exported procedures.
76### Changed
78- Changed I/O multiplexing to use epoll (Linux) and kqueue (macOS/BSD) instead of select(2) for better scalability.
79- Changed I/O multiplexing to use epoll (Linux) and kqueue (macOS/BSD) instead of select(2) for better scalability.
81### Fixed
83- Fixed false positive capture corruption check in serializer, Windows build issues with mingw macro collision and unix-connect, closure arity errors now catchable by guard, and exception handler double-pop segfault.
84- Fixed sigil docs api command and added procedure spec signatures to generated API documentation.
86## [0.6.0] - 2026-02-22
88### Added
90- Added package-provided MCP tools with dynamic discovery and nREPL describe/modules operations.
91- Added package documentation for web stack (SXML, CSS, and Web routing/UI).
92- Added higher-level UI components, css-sel compound selectors, Vinyl Vault demo application, and improved web API ergonomics including table actions, form loading, GET request handling, and error overlay fixes.
93- Add Org Mode parser producing SXML output with support for headlines, metadata, source blocks, inline markup, links, lists, and property drawers.
94- Added table parsing support to Org Mode parser.
95- Add rich error diagnostics with structured error type hierarchy, VM error kind mapping, and (sigil diagnostic) module with Levenshtein-based suggestions.
96- Added R7RS compliance features: dynamic-wind, do syntax, datum labels, let-syntax, letrec-syntax, include/include-ci, import set modifiers (only, except, prefix, rename), cond-expand, features, syntax-error, bytevector ports, write-shared with datum labels, char-ready?, u8-ready?, interaction-environment, and (scheme time/process-context/repl) libraries.
97- Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
98- Added package documentation.
99- Add 7 new MCP tools for live browser control (web-morph, web-error, web-status, web-navigate, web-css-class, web-css-reload, web-exec) with supporting SSE events and dev helpers.
100- Added package documentation for web stack (SXML, CSS, and Web routing/UI).
101- Added higher-level UI components, css-sel compound selectors, Vinyl Vault demo application, and improved web API ergonomics including table actions, form loading, GET request handling, and error overlay fixes.
102- Added live-coding support via nREPL and SSE reload for real-time browser updates.
103- Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
104- Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
105- Added package documentation for socket and websocket APIs.
106- Added package documentation for socket and websocket APIs.
107- Add rich error diagnostics with structured error type hierarchy, VM error kind mapping, and (sigil diagnostic) module with Levenshtein-based suggestions.
108- Add 7 new MCP tools for live browser control (web-morph, web-error, web-status, web-navigate, web-css-class, web-css-reload, web-exec) with supporting SSE events and dev helpers.
109- Added live-coding support via nREPL and SSE reload for real-time browser updates.
110- Added package-provided MCP tools with dynamic discovery and nREPL describe/modules operations.
111- Add (sigil inspect) module for structured value introspection with nREPL and MCP integration.
112- Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
113- Add rich error diagnostics with structured error type hierarchy, VM error kind mapping, and (sigil diagnostic) module with Levenshtein-based suggestions.
114- Added live-coding support via nREPL and SSE reload for real-time browser updates.
115- Added package-provided MCP tools with dynamic discovery and nREPL describe/modules operations.
116- Add (sigil inspect) module for structured value introspection with nREPL and MCP integration.
117- Added higher-level UI components, css-sel compound selectors, Vinyl Vault demo application, and improved web API ergonomics including table actions, form loading, GET request handling, and error overlay fixes.
118- Added live-coding support via nREPL and SSE reload for real-time browser updates.
119- Added package documentation for web stack (SXML, CSS, and Web routing/UI).
120- Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
121- Add PEG (Parsing Expression Grammar) library with S-expression pattern DSL, recursive interpreter with backtracking, and comprehensive capture system.
122- Add rich error diagnostics with structured error type hierarchy, VM error kind mapping, and (sigil diagnostic) module with Levenshtein-based suggestions.
123- Added watch mode for sigil build and sigil test with --watch flag and --format json support.
124- Added R7RS compliance features: dynamic-wind, do syntax, datum labels, let-syntax, letrec-syntax, include/include-ci, import set modifiers (only, except, prefix, rename), cond-expand, features, syntax-error, bytevector ports, write-shared with datum labels, char-ready?, u8-ready?, interaction-environment, and (scheme time/process-context/repl) libraries.
125- Add (sigil inspect) module for structured value introspection with nREPL and MCP integration.
126- Added watch mode for sigil build and sigil test with --watch flag and --format json support.
127- Add web-app, api-service, and mcp-tool templates to sigil init.
128- Added package documentation.
130### Fixed
132- Fixed SIGIL_NATIVES_MAX limit by increasing to 2048.
133- Fixed MCP format tool crash with auto-fix support, binary-safe nREPL wire protocol, and SIGPIPE handling.
134- Fixed MCP format tool crash with auto-fix support, binary-safe nREPL wire protocol, and SIGPIPE handling.
136### Other
138- Cache FNV-1a hash for string dict keys, avoiding repeated hash computation on dict lookups.
139- Collect docstrings for variable definitions and propagate native doc strings through re-exports.
140- Handle UTF-16 surrogate pairs in JSON unicode escapes. Reject bare low surrogates per RFC 8259.
141- Support multi-form eval via eval-string and add runtime doc fallback for undocumented exports.
142- Resolve re-export descriptions in search index from source module entries.
143- Show source code snippets with caret indicators in error stack traces for the first 3 frames.
144- Rewrite inline parser using PEG grammars, reducing code by ~120 lines while maintaining identical behavior.
146## [0.5.0] - 2026-02-17
148### Added
150- Added test harness generation and build support for packages with native dependencies. Improved native package handling, added c-flags field to library struct. Fixed stdlib inclusion in bundles with custom native runtimes, directory structure preservation in compile-c-sources, and absolute sigil-lib include path resolution.
151- Added test coverage.
152- Added test coverage.
153- Added test coverage for TCP/UDP/address operations and crypto primitives.
154- Added test coverage for TCP/UDP/address operations and crypto primitives.
155- Added test coverage.
156- Added test coverage.
157- Added test coverage.
158- Added test coverage.
159- Added test coverage.
160- Added test coverage.
161- Added opcode-level profiling with --profile flag. Added test harness support for packages with native dependencies. Build safety: warn when replacing the running binary, error on 0-byte output or missing target package. Fixed module cache clearing before running entry points, handling of missing sigil-lib in user-created packages.
162- Added test coverage.
164### Fixed
166- Fixed random seed initialization crash caused by flonum-to-bignum promotion in modulo. Fixed status command crash when displaying projected versions for packages without changes.
167- Fixed SSE and remove-after initialization on child elements. Added comprehensive test coverage for routing, middleware, cookies, security, SSE, and response helpers.
168- Fixed assq-ref to return values instead of aliasing assq, added assv-ref. Added async-aware process pipe I/O. Fixed REPL string-length error after exception recovery. Added comprehensive error path tests and GC stress tests for dicts.
170### Other
172- New packages split from sigil-studio. Font and image modules moved to (sigil graphics *) namespace.
173- GC correctness: added write barriers to all heap mutation sites, enabled GC during compilation with full compiler rooting, and added GC stress testing infrastructure. Completed HAMT dict implementation (printing, equality, collision handling, structural removal). Added arbitrary-precision bignum type with full reader/VM/native/serializer integration. Performance: inline caching for module binding lookups, peephole optimizer with 8 superinstruction patterns. Improved error handling: replaced exit(1) with recoverable errors, fixed error propagation in vm_error_abort and OP_ABORT_TO_PROMPT. Added definition location tracking in stack traces. Implemented VFS/bundle directory listing. Fixed number->string precision for exact IEEE 754 roundtrip. Removed dead opcodes.
174- Configured custom mbedTLS for TLS 1.2 only. Added test coverage for connection predicates, failure paths, and error handling.
175- New packages split from sigil-studio. Font and image modules moved to (sigil graphics *) namespace.
177## [0.1.0] - 2026-01-09
179### Other
181- Initial release of the test framework with assertions, test discovery, filtering, and formatted output.
182- Initial release with TCP and UDP socket support for network programming.
183- Core runtime providing a bytecode VM with incremental mark-sweep garbage collector, S-expression reader with extensible syntax, and hygienic macro system supporting syntax-rules and syntax-case. Native bindings for I/O, filesystem, networking, process management, SQLite, and cryptographic hashing.
184- Initial release with SXML utilities for XML/HTML document construction and manipulation.
185- JWT token encoding and verification with HS256 signing support.
186- Model Context Protocol server implementation for building AI tool integrations with resources, tools, and prompts.
187- SQLite database bindings with prepared statements, transactions, and result iteration.
188- Initial release of the WebAssembly runtime for running Sigil applications in the browser via Emscripten.
189- Initial release of changeset-based release management with version bumping, changelog generation, and git integration.
190- Initial release of the interactive web playground for trying Sigil in the browser.
191- Core standard library with (sigil core) providing pattern matching, records, delimited continuations, and utilities for arrays, dicts, strings, and lists. Includes modules for math operations, process spawning, time/date handling, filesystem access, and path manipulation. Nearly complete R7RS (scheme base) compatibility with additional modules for I/O, exceptions, generators, and coroutines.
192- Static site generation with composable pipeline for Markdown files and module documentation.
193- Initial release with Markdown parsing and frontmatter extraction.