Skip to content

Releases: turinglambdaai/regexmate

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 13:25

Self-update: regexmate update brings standalone installs to the latest GitHub release without any package manager.

Added

  • update command: checks the latest GitHub release, downloads the platform archive, verifies its SHA-256 against the published checksum, extracts and swaps the install in place. --check reports without installing; --json emits the standard envelope (current, latest, updateAvailable, action). Non-interactive by default — built for agents and scripts.
  • Swap safety on all three platforms: the running binary is renamed aside (works even on Windows while the process is live), stale .old runtime files are cleaned on the next startup.
  • Checksums are enforced: a mismatched download aborts the update before anything is touched.
  • Pure-Racket SHA-256 (verified against FIPS 180-4 test vectors including padding boundaries) — no new dependencies.

Notes

  • Update requires a standalone binary install; source/pkg installs are pointed at git pull / raco pkg update.
  • schema now lists the update command.

Standalone binaries — no Racket installation required.

Checksums (SHA-256)

7269a3a68b9d42f936b80261ec4d69b87b06037a4d0a8306a1c49a9aba4a888d  regexmate-linux-x86_64-v1.2.0.tar.gz
9fbd4aa026f120e4f3cf3827764b014b03c048487f85afe75ed893e0a341ff80  regexmate-macos-aarch64-v1.2.0.tar.gz
d20c96f624bf88f886cb84bdd0ad58d38424ab879c7abdb81a30d7e882cc243b  regexmate-windows-x86_64-v1.2.0.zip

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 12:39

The agent-era release: MCP server, batch testing with evidence, static risk analysis and a self-describing contract.

Added

  • MCP server (regexmate mcp): stdio JSON-RPC 2.0, newline-delimited — exposes regexmate_validate, regexmate_match, regexmate_explain, regexmate_replace, regexmate_graph, regexmate_test and regexmate_lint as agent tools with input schemas. UTF-8 forced on both directions; notifications never produce output.
  • test command: assert a pattern against JSON cases (text / expect: match|no-match / contains) and get per-case evidence with reasons. Exit 0 all pass, 3 failures, 1 invalid regex.
  • lint command: deterministic static findings — nested-quantifier (catastrophic backtracking risk), quantified-assertion, empty-branch, duplicate-branch, shadowed-branch — each with rule id, approximate position, severity and message. --strict turns findings into exit code 3 for CI gating.
  • schema command: machine-readable description of every command, flag, exit code and MCP tool — the contract describes itself.
  • SKILL.md: agent skill card for platforms that load repository skills.

Changed

  • --help now lists nine commands; usage text is bilingual.
  • 49 unit tests and 42 smoke checks, including an end-to-end MCP session test.

Standalone binaries — no Racket installation required.

Checksums (SHA-256)

a93ce66b45d821045abd5fd08e585b6352fa2cd0997dc5cdb98a702b1c6d2a6e  regexmate-linux-x86_64-v1.1.0.tar.gz
45159c03a4fcc6f07e813f4974d874ab75f2a9fd8abdc25b25b010ef2a5ba217  regexmate-macos-aarch64-v1.1.0.tar.gz
b0cf2a5c9094466de21283a8320cf2f1f8f7c1e03f98d0485f18ab1ad4627ffc  regexmate-windows-x86_64-v1.1.0.zip

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 11:51

First productized release: agent-first regex CLI with a stable JSON contract, standalone binaries and a product homepage.

Added

  • replace command with backreference substitution and replacement count
  • match JSON output now includes per-match capture groups: index, name, value, start, end; absent groups are null
  • Versioned JSON contract: every envelope carries schema: "regexmate/v1", command and ok; single-line error strings
  • Explicit exit codes: 0 ok · 1 invalid regex · 2 usage error · 3 valid pattern, zero matches/replacements
  • Bilingual human output (--lang en|zh, REGEXMATE_LANG)
  • Parser support for lookarounds, atomic groups, flag groups, backreferences, POSIX classes and unicode classes \p{…}
  • --version, --help, stdin input for match/replace, NO_COLOR support
  • Standalone binaries for Windows, Linux and macOS, with SHA-256 checksums
  • Product homepage at https://jrtx.site/regexmate/ with tool-generated railroad diagrams

Changed

  • Clean node type names in JSON output (literal, quantifier, group, lookaround, … instead of internal re-* names)
  • Compile errors cleaned to a single friendly line
  • Repackaged as an installable Racket package: raco pkg install https://github.com/turinglambdaai/regexmate.git

Fixed

  • Character-class items with symbolic escapes no longer confuse the explain/visualizer formatters
  • Empty matches no longer stall the match scan