AtlatestRenderedmarkdown
Readme

Changelog

Versions are synced with Sigil releases. A missing entry indicates no changes for that version.

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.10.0] - 2026-04-29

Added

  • Server-side WebSocket support: new (sigil websocket server) module with parse-handshake-request, build-handshake-response, build-handshake-error-response, and compute-accept-key for accepting WebSocket upgrades on a TCP listener.
  • Server-side frame encoders that omit the client mask per RFC 6455 §5.1: encode-server-text-frame, encode-server-binary-frame, encode-server-close-frame, encode-server-ping-frame, encode-server-pong-frame.
  • Re-exported frame primitives (encode-frame, decode-frame, ws-frame*) and handshake helpers from the top-level (sigil websocket) module so server applications can use one import.

Changed

  • Rebased dependencies on the post-monorepo split: sigil-stdlib ^0.14, sigil-socket ^0.14, sigil-tls ^0.14.1, sigil-crypto ^0.15. Top-level sigil: "^0.14" declared so the resolver picks a compatible compiler.

Fixed

  • Client conn-read switched from socket-read (string-returning) to socket-read-bytevector to preserve high bytes. Frames whose header bytes fall in the 0x80–0xFF range — i.e. every server-to-client text frame, since the FIN+opcode byte is 0x81 — were silently corrupted by Sigil's UTF-8 normalization on the read side. Surfaced while building enclave's IRCv3-WS transport. Diagnosis lives in the consuming workspace.

[0.7.0] - 2026-03-01

Added

  • Added procedure specifications with inline (: ...) syntax, optional runtime checking via sigil-checks feature, and predicate combinators (any-of, maybe, list-of, none-of).
  • Added procedure specs and docstrings to all exported procedures.
  • Added procedure specs and docstrings to all exported procedures.
  • Added define-native compiler form for declaring native C bindings in Scheme modules with optional specs and docstrings.
  • Added VM-level exception handler stack for tail-optimized guard semantics, replacing prompt-based exception handling.
  • Added multi-VM threading with share-nothing architecture, message passing, and parallel-map for data-parallel workloads.
  • Added preemptive yield points at loop back-edges to prevent CPU-bound tasks from starving the async scheduler.
  • Added procedure specifications with inline (: ...) syntax, optional runtime checking via sigil-checks feature, and predicate combinators (any-of, maybe, list-of, none-of).
  • Added procedure specs and docstrings to all exported procedures.
  • Added procedure specs and docstrings to all exported procedures.
  • Added procedure specs and docstrings to all exported procedures.
  • Added immediate-mode terminal UI toolkit with native C grid, layout system, component rendering, event parsing, text input, and chat demo application.
  • Added procedure specs and docstrings to all exported procedures.
  • Added procedure specs and docstrings to all exported procedures.
  • Added procedure specs and docstrings to all exported procedures.

Changed

  • Changed I/O multiplexing to use epoll (Linux) and kqueue (macOS/BSD) instead of select(2) for better scalability.
  • Changed I/O multiplexing to use epoll (Linux) and kqueue (macOS/BSD) instead of select(2) for better scalability.

Fixed

  • 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.

[0.6.0] - 2026-02-22

Added

  • Added package-provided MCP tools with dynamic discovery and nREPL describe/modules operations.
  • Added package documentation for web stack (SXML, CSS, and Web routing/UI).
  • 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.
  • Add Org Mode parser producing SXML output with support for headlines, metadata, source blocks, inline markup, links, lists, and property drawers.
  • Added table parsing support to Org Mode parser.
  • Add rich error diagnostics with structured error type hierarchy, VM error kind mapping, and (sigil diagnostic) module with Levenshtein-based suggestions.
  • 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.
  • Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
  • Added package documentation.
  • 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.
  • Added package documentation for web stack (SXML, CSS, and Web routing/UI).
  • 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.
  • Added live-coding support via nREPL and SSE reload for real-time browser updates.
  • Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
  • Add XMPP client library with STARTTLS, SASL (SCRAM-SHA-1/PLAIN), roster, presence, and MUC support.
  • Added package documentation for socket and websocket APIs.
  • Added package documentation for socket and websocket APIs.

Fixed

  • Fixed SIGILNATIVESMAX limit by increasing to 2048.

Other

  • Cache FNV-1a hash for string dict keys, avoiding repeated hash computation on dict lookups.
  • Collect docstrings for variable definitions and propagate native doc strings through re-exports.
  • Handle UTF-16 surrogate pairs in JSON unicode escapes. Reject bare low surrogates per RFC 8259.

[0.5.0] - 2026-02-17

Added

  • 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.
  • Added test coverage.
  • Added test coverage.
  • Added test coverage for TCP/UDP/address operations and crypto primitives.
  • Added test coverage for TCP/UDP/address operations and crypto primitives.
  • Added test coverage.

Fixed

  • 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.
  • Fixed SSE and remove-after initialization on child elements. Added comprehensive test coverage for routing, middleware, cookies, security, SSE, and response helpers.

Other

  • New packages split from sigil-studio. Font and image modules moved to (sigil graphics *) namespace.
  • 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 vmerrorabort and OPABORTTO_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.
  • Configured custom mbedTLS for TLS 1.2 only. Added test coverage for connection predicates, failure paths, and error handling.
  • New packages split from sigil-studio. Font and image modules moved to (sigil graphics *) namespace.

[0.1.0] - 2026-01-09

Other

  • Initial release of the test framework with assertions, test discovery, filtering, and formatted output.
  • Initial release with TCP and UDP socket support for network programming.
  • 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.
  • Initial release with SXML utilities for XML/HTML document construction and manipulation.
  • JWT token encoding and verification with HS256 signing support.
  • Model Context Protocol server implementation for building AI tool integrations with resources, tools, and prompts.
  • SQLite database bindings with prepared statements, transactions, and result iteration.
  • Initial release of the WebAssembly runtime for running Sigil applications in the browser via Emscripten.
  • Initial release of changeset-based release management with version bumping, changelog generation, and git integration.
  • Initial release of the interactive web playground for trying Sigil in the browser.
  • 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.
  • Static site generation with composable pipeline for Markdown files and module documentation.
  • Initial release with Markdown parsing and frontmatter extraction.
  • Initial release with ANSI escape code utilities for terminal colors, bold, dim, and other text formatting.
  • Initial release with extensible hook system for REPL and application customization.
  • CSS generation from Sigil code with selectors, properties, and stylesheet composition.
  • Initial release of the code formatter with automatic indentation and parenthesis inference.
  • Initial release with declarative command-line argument parsing, supporting options, flags, subcommands, and automatic help generation.
  • Initial release of the build system with package management, dependency resolution, task execution, and executable bundling.
  • Initial release of the network REPL server for editor integration and remote evaluation.
  • Command-line interface with commands for building packages, creating standalone executables, running tests, code formatting, project initialization, documentation generation, and release management. Interactive REPL for development.
  • HTTP/1.1 server with routing, request/response handling, and server-sent events for streaming responses. HTTP client with TLS support for making outbound requests.
  • Web application framework with routing, middleware, and template rendering.
  • WebSocket client and server implementation with support for text and binary messages.