Skip to content

Changelog ​

0.31.0 (2026-11-16) ​

Features ​

  • lint: add per-file-ignores configuration (c672776)

Bug Fixes ​

  • project: model source destination environments (41d02be)
  • project: count qualified uses across packages (c3f49f7)
  • project: resolve source() paths from execution roots (9faade3)
  • semantic: recognize .Random.seed after RNG initialization (ffab761)
  • lint: resolve tinytest runner bindings (dd15985)
  • format: align integrations with expanded function bodies (e2524fe)
  • lint: flag seq(length(x)) for possibly empty input (3f5036d)
  • cli: emit empty JSON arrays for clean lint runs (fee3435)
  • cli: resolve configuration per input directory (fbcf8f1)
  • deps: update rustix for sound xattr handling (9e34347), fixes #184
  • ci: build musl releases with Zig (d836100)

Dependencies ​

  • updated crates/arity-formatter to v0.9.0

0.30.0 (2026-11-10) ​

Features ​

  • lsp: add symbol signatures and containers (12b8191)
  • lsp: complete DESCRIPTION field names (054dbc5)
  • symbols: prune archived CRAN packages (b252428)
  • lint: add description-collate-mismatch (415ad24)
  • lint: add description-title-case rule (06515f5)
  • lint: add opt-in Authors@R requirement (aaea683)
  • lint: add description-license rule (8026be0)
  • lint: add description date format rule (341c3a9)
  • lint: add description-title-format rule (45a1925)

Bug Fixes ​

  • lint: validate derived maintainer addresses (5b3d4b6)
  • lint: validate dependency version strings (e04e648)
  • ci: update Cargo dependencies from workspace root (600b0a0)
  • wasm: clone only string diagnostic getters (99608a2)
  • roxygen: resolve manual aliases and usage (67f55bc)

Dependencies ​

  • updated crates/arity-formatter to v0.8.4
  • updated crates/arity-parser to v0.8.0

0.29.0 (2026-10-30) ​

Features ​

  • lint: add list-comparison rule (78a7685)

Bug Fixes ​

  • test: avoid stdin race in config conflict test (9b5547e)
  • lint: resolve required fields from Authors@R (6f3dac1)
  • lint: preserve topic owner parameter coverage (6f9b131)

0.28.0 (2026-10-27) ​

Arity now has rudimentary support for .Rd files. It parses them but does not yet supply and language server features, linting, or formatting. It does, however, attach the server to .Rd files so that workspace symbols and diagnostics are available.

Features ​

  • cli: support Rd files in parse (d450a06)
  • lsp: enable workspace features from Rd buffers (9733d28), ref #170

Bug Fixes ​

  • ci: preserve Rd oracle fixture line endings (5e8b02b)

Dependencies ​

  • updated crates/arity-formatter to v0.8.3
  • updated crates/arity-parser to v0.7.0

0.27.0 (2026-10-25) ​

Features ​

  • lint: add cyclomatic-complexity rule (64a35a7)
  • lint: add strings-as-factors rule (df3e9a1)
  • lint: add routine-registration rule (8c06bd7)
  • lint: add terminal-close (f9163b8)
  • lint: add confusable-identifier (b2ac2fc)

Bug Fixes ​

Dependencies ​

  • updated crates/arity-formatter to v0.8.2
  • updated crates/arity-parser to v0.6.2

0.26.0 (2026-10-13) ​

Features ​

  • lint: suggest nearby visible symbol names (c445867)
  • lint: add extend-select option (5a880b2)
  • lint: warn on partial argument matches (968b026)
  • lint: warn on nonportable sprintf padding (5c94173)
  • lint: flag bare return statements (752d442)

Bug Fixes ​

  • lint: detect rejected trailing argument holes (53fd077)
  • lint: resolve quoted data bindings (87c08cb)

Dependencies ​

  • updated crates/arity-formatter to v0.8.1

0.25.0 (2026-10-05) ​

Features ​

  • docs: negotiate Markdown responses (88e5208)
  • config: add extend to extend configurations (ee7c1d0)
  • format: expose roxygen setting (6a22dc4), refs #149

Bug Fixes ​

  • lint: clarify repeated title diagnostic (fcfd29f)

Performance Improvements ​

  • lsp: cache document symbols until the next edit (f40b177)
  • lsp: prune document symbol traversal (6938781)
  • lsp: reuse cached document analysis (d73fa44)

Dependencies ​

  • updated crates/arity-formatter to v0.8.0
  • updated crates/arity-parser to v0.6.1

0.24.0 (2026-09-25) ​

Features ​

  • config: support ARITY_CONFIG fallback (d801991), closes #135

Bug Fixes ​

  • deps: update salsa to 0.28.5 (ad953c3)
  • lsp: discard queued lints for closed descriptions (3b3264c)
  • lint: attach skips to the next argument (4cd65a4)
  • deps: bump rustls (d4b93f9)
  • discovery: honor excludes through symlinked roots (a5efd8e)

Performance Improvements ​

  • build: enable ThinLTO with one codegen unit (4c3457c)

0.23.0 (2026-09-07) ​

Features ​

  • lint: add boolean-arithmetic rule (da1045b)
  • parser: expose function formals (9333512)
  • rindex: use typed NAMESPACE syntax (677902e)
  • config: publish schema (7180652)
  • lint: add description text format rule (080b46c)

Bug Fixes ​

  • bump rust-version to 1.89 and CI job (6683330)

Dependencies ​

  • updated crates/arity-formatter to v0.7.1
  • updated crates/arity-parser to v0.6.0

0.22.0 (2026-08-31) ​

Features ​

  • verify formatter preserves syntax (b144f7d)

Bug Fixes ​

  • formatter: preserve else after comments (bdf224d), fixes #129
  • formatter: ignore comment trailing whitespace (4d924d0), fixes #128
  • formatter: keep bare if consequences (bd63cc8), fixes #125
  • formatter: preserve comment order (44626da), fixes #123

Dependencies ​

  • updated crates/arity-formatter to v0.7.0
  • updated crates/arity-parser to v0.5.3

0.21.0 (2026-08-26) ​

Features ​

  • format: report outdated directives (eaa48e2)
  • lsp: refresh cached config (6d82ca0)
  • format: align trailing comments (58d854c)

Bug Fixes ​

  • lint: gate local promise arguments (2ec3e8b)
  • format: preserve commas before comments (d529b97), closes #117

Performance Improvements ​

  • lint: reuse analyzed source for rendering (6cab16e)

Dependencies ​

  • updated crates/arity-formatter to v0.6.0

0.20.0 (2026-08-21) ​

Features ​

  • lint: add description encoding rule (f4f0ba3)
  • lint: flag unknown DESCRIPTION fields (1f52925)
  • roxygen: honor projector markdown default (533fc49)
  • lint: add pipe-return rule (18ab02a)
  • lint: add base call rewrites (a04dd36)
  • lint: flag assignments in return (72f7a77)
  • lint: add all-equal rule (eebc4f7)
  • lint: add sprintf rule (a04b37c)
  • lint: add rep-times-ignored rule (efcf3ca)
  • lint: add missing-argument rule (594d564)
  • lint: detect NaN and NULL comparisons (88da964)

Bug Fixes ​

  • lsp: skip discovery on unchanged membership reseed (9c92a00)
  • lsp: complete dependency names without faulting index in (b31b7db)
  • lsp: reload package index on cache root or meta change (79a86c3)
  • rindex: derive package views from a single read (92608d5)
  • lsp: stop leaking project snapshots per metadata change (8cf322f), fixes #116
  • lsp: record query log only during observation (9959129)
  • parser: match read.dcf duplicate lookup (55f7b68)
  • parser: match read.dcf empty-line folding (7ce1789)
  • lint: recognize string-based reads (b2b7a23), closes #115
  • parser: span ordinary roxygen comments (592a5fe)
  • lint: address future corpus false positives (5615b43)

Performance Improvements ​

  • lsp: load package index lazily, once per cache root (de39edf)
  • format: bound formatting line diffs (c3f9bc5)

Dependencies ​

  • updated crates/arity-formatter to v0.5.0
  • updated crates/arity-parser to v0.5.2

0.19.1 (2026-08-17) ​

Bug Fixes ​

  • roxygen: classify Rd block macros by name (49f2f40), closes #106
  • accept non-ASCII letters in syntactic R names (2c29b2f), refs #108

Performance Improvements ​

  • linter: seed the project scope once, not per document (f12344c)
  • project: share the per-file facts instead of copying them twice (ebb1d4f)
  • linter: hand the salsa database teardown to the pool (210f8fc)
  • linter: read the prologue's files in parallel (938367b)
  • project: stop reading DESCRIPTION twice per package root (262e460)
  • project: walk to a package root once per directory (7b75a3c)
  • project: share one NAMESPACE's sets across a package's members (21d1738)
  • project: answer the file-set relations from one shared member set (2777621)
  • project: derive visibility from shared layers, not per-member sets (36005a0)
  • project: fold a package clique once, not per ordered pair (e1ecf4e)
  • linter: warm every fold input before the parallel passes (6c0ee06)
  • lsp,incremental: verify edit slices without applying them (7654bbd)
  • text,lsp: back document text with Arc<str> (e80c63a)
  • rindex: load the lint index lazily, per package (f472c69)
  • linter: find a directive's comment by offset (0151f48)

Dependencies &ZeroWidthSpace;

  • updated crates/arity-formatter to v0.4.1
  • updated crates/arity-parser to v0.5.1

0.19.0 (2026-08-14) &ZeroWidthSpace;

The most prominent feature of this release is that Arity now handles the DESCRIPTION file in R projects: it lints it, formats it, and provides language-server features like inlay hints for loaded versions.

Breaking changes &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • lint: add deprecated-suppression (41c37c0)
  • lint: add region directives and lint the new forms (fdd1e5e)
  • lsp: send line-scoped formatting edits (406b5ab)
  • lsp: add inlay hints for DESCRIPTION deps (7aa282a)
  • lint: add description-empty-person (41c7786)
  • lint: add description-authors-at-r (21c4597)
  • lint: add description-malformed-maintainer (f813cb5)
  • lint: add description-malformed-version (31fcb76)
  • lint: add description-malformed-name (3347825)
  • lint: add description-package-in-multiple-fields (41cd5af)
  • format package DESCRIPTION files (#104) (40583bf)
  • lsp: hover a DESCRIPTION dependency (5655f64)
  • lsp: complete package names in DESCRIPTION dependency fields (76f339f)
  • lsp: make an open DESCRIPTION authoritative in salsa (2537f39)
  • lsp: publish DESCRIPTION diagnostics (9b433a5)
  • lsp: route DESCRIPTION documents away from the R pipeline (23a61fc)
  • linter: add unused-dependency (b6d73cf)
  • linter: add undeclared-dependency (d35c7fc)
  • linter: add three DESCRIPTION rules (7ac50e4)
  • linter: discover and lint DESCRIPTION files (18c9366)
  • linter: add a rule trait for the DCF grammar (f3779d5)
  • rindex: treat declared dependencies as referenced (256d4c8)
  • project: defer the import(pkg) verdict to the library index (6f580bf)
  • project: resolve against declared Depends (d999290)
  • incremental: make DESCRIPTION a salsa input (3340923)
  • parser: add a lossless DCF CST parser (42ca268)
  • lsp: widen call hierarchy edge attribution (00a798d)
  • formatter: honor skip-file in a DESCRIPTION (f737e8b)
  • formatter: honor arity-format directives (922813c)
  • parser: record a directive's prefix range (72d8536)
  • parser: add the shared arity directive grammar (39651b0)
  • ast: add RoxygenTag::value_text (5b35b6d)
  • parser: re-export the dependency-field helpers from dcf (fbb8183)
  • dcf: parse structured dependency entries (e5ee844)
  • vscode: gate inlay hints on the feature toggle (dd6fde8)
  • code: claim DESCRIPTION for the language server (0fe3077)

Bug Fixes &ZeroWidthSpace;

  • linter: skip coalesce in the %||% definition (2114c88)
  • semantic: mark every def a closure read reaches (32e98e2)
  • semantic: resolve names bound by useDynLib (c72462a)
  • semantic: make defusing operators unquote-aware (dd2ce0a)
  • roxygen: read projector topic names whole (f7b6d3e)
  • lint: resolve roxygen topics across the package (7e6e7ce)
  • lint: exempt S3 methods from unused-binding (a107859)
  • lint: judge roxygen topics, not single blocks (3357e83)
  • cli: give lint --fix the project scope (85d6d1e)
  • lint: skip roxygen-param on @noRd blocks (0b842d9)
  • semantic: mask the .External2 routine name (c090566)
  • semantic: never bind the walrus operator (d1251b9)
  • semantic: match backticked names to NAMESPACE (078d0e0)
  • lint: name the actual range in seq messages (5d4cbab)
  • lint: skip roxygen topic rules on S3 methods (029af86)
  • lsp: refresh the graph when a DESCRIPTION disappears (f987130)
  • linter: skip a fixture package's DESCRIPTION when walking (0d70adb)
  • semantic: resolve backtick-quoted names (cc3d1db)
  • rindex: keep only the packages import() names (205957c)
  • formatter: give an Rd \item its own line (481b9ac)
  • formatter: flush a block Rd macro's opener line (bd27d5c)

Performance Improvements &ZeroWidthSpace;

  • linter: keep the standalone attach set lazy (a238d64)
  • lsp: invalidate package metadata by path (629ac9c)
  • formatter: answer both prepasses in one green-tree walk (6f8a444)

Dependencies &ZeroWidthSpace;

  • updated crates/arity-formatter to v0.4.0
  • updated crates/arity-parser to v0.5.0

0.18.0 (2026-08-11) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • cli: read stdin from -, not a bare terminal (ae70cbb)
  • text: add TextBuffer pairing text with its line index (bff3617)
  • text: patch the line index across an edit (06c10c5)
  • semantic: mask data.table subsets, gate masking verbs (aa7a8aa)
  • lsp: support folder renames (00151ee)
  • parser: make brace-less system Rd macros sticky (aed2df0)
  • parser: stop unknown Rd macros consuming a group (374879e)
  • parser: expose an is_single_expression predicate (93cae60)

Bug Fixes &ZeroWidthSpace;

  • lsp: drop file renames that leave the workspace scope (237daea)
  • lsp: follow a renamed workspace root through a rename (1de3fb2)
  • roxygen: keep a trailing ; in a code span as \code (a1fcff9), closes #99
  • formatter: keep blank line after a comment (e50f7fe)

Performance Improvements &ZeroWidthSpace;

  • lsp: answer position reads off the shared index (e53de52)
  • lsp: answer whole-document reads off the shared index (a354814)
  • lsp: thread the shared buffer into the lint request (9b610a0)
  • text: scan for line starts with memchr (6aa8b3b)

Dependencies &ZeroWidthSpace;

  • updated crates/arity-formatter to v0.3.1
  • updated crates/arity-parser to v0.4.0

0.17.0 (2026-08-07) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • parser: let Rd macros win over literal backticks (c9a88c4)
  • parser: model zero-arity Rd user macros (884448e)
  • parser: model per-macro Rd argument arity (b0b3f34)
  • roxygen: expand R system Rd user macros (4867f69)
  • parser: model md blocks in block-macro bodies (26aaa75)
  • parser: model multi-line Rd macro arguments (b3b88e4)
  • roxygen: collapse within-block same-head sections (104da98)
  • roxygen: project block-form verbatim macro bodies per-line (c5e5f8b)
  • parser: model \eqn and \deqn optional second argument (3051dd4)
  • roxygen: model demoted md code spans via fragile gating (30f0127)
  • roxygen: model parse_Rd brace recovery for kept md sections (6121854)
  • lint: add r-compat and roxygen2-compat rules (9098185)
  • config: add [compat] minimum-version floors (4152c80)
  • roxygen: model roxygen2 8.0.0 grammar additions (501180c)
  • roxygen: track roxygen2 8.0.0 as the parity oracle (925411f)
  • linter: add outdated-suppression (e017cbf)
  • linter: add unexplained-suppression (b84eea9)
  • linter: add blanket-suppression (cba661e)
  • linter: add misnamed-suppression (404baa7)
  • linter: add duplicated-function-definition (f3ec2fc)
  • linter: add unused-function (740bf81)
  • linter: add internal-function (6632b06)
  • cli: suppress format --check diff under --quiet (3865fb0)
  • linter: add for-loop-index/for-loop-dup-index (e75efad)
  • linter: add download-file (bea9893)
  • linter: add per-rule config and undesirable-function (4f7a112)
  • formatter: classify @prop and @R6method tags (a0e81d0)
  • parser: model block-macro tails and adjacent second arg groups (f7413a7)
  • parser: model parse_Rd verbatim args and Rd fragment reparse (903f500)
  • parser: roxygen2 8.0.0 tag grammar (f6d3647)
  • vscode: add per-feature enable toggles (e8370b0)

Bug Fixes &ZeroWidthSpace;

  • roxygen: treat a wide tag separator as prose (d9f6a1b), closes #96
  • formatter: keep marker-less remainder after a block macro (40a89cb)
  • parser: fold deep-indented block starts into an open paragraph (72ef2f1)

Dependencies &ZeroWidthSpace;

  • updated crates/arity-formatter to v0.3.0
  • updated crates/arity-parser to v0.3.0

0.16.0 (2026-08-06) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • lsp: thread roxygen markdown default through salsa and lint (6bd4801)
  • format: honor package roxygen markdown default (5606f61)
  • project: discover roxygen markdown default statically (be86db1)
  • rindex: opt-in search()-diff attach probe (deecf3e)
  • rindex: capture attach sets at harvest (4c6e7d8)
  • lint: gate undefined-symbol on harvested attach sets (ed92f87)
  • rindex: resolve members from harvested attach sets (492cfd0)
  • rindex: add attaches to the index schema (731c4db)
  • formatter: re-export rowan for embedders (81a8d02)
  • formatter: options-taking format_with_options entry (76ab583)
  • formatter: add serde and schema features (341e173)
  • parser: caller-set roxygen markdown default (6367b0b), closes #94

Bug Fixes &ZeroWidthSpace;

  • lsp: expand meta-package members in packages_to_build (a5b7466)
  • linter: simulate R argument matching for model-frame calls (7eb78e0)

Dependencies &ZeroWidthSpace;

  • updated crates/arity-formatter to v0.2.0
  • updated crates/arity-parser to v0.2.0

0.15.0 (2026-08-05) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • build: add installation scripts (b620c58)
  • linter: mask model-frame args in undefined-symbol (1fef3ea)
  • lsp: make nested functions call-hierarchy items (5e3eb7f)
  • lsp: trigger signature help on = (1021a4b)
  • linter: add unnecessary-nesting rule (501f451)
  • lint: add implicit-assignment rule (64a3f5e)
  • lint: add empty-assignment rule (77efa97)
  • lsp: thread precise edits into span mapping (09101b9)
  • lsp: thread precise edits into incremental reparse (78ce7d1)
  • lsp: use incremental text document sync (0e4b9ce)
  • linter: cut undefined-symbol FPs from opaque binders (e1e5264)
  • linter: add coalesce rule (b7ac1d9)
  • linter: add browser rule (fe7a5ba)
  • linter: add if-always-true rule (96c136a)
  • semantic: add per-region control-flow graph (a912b3c)
  • lsp: sharpen references/rename off def-use edges (6204c54)
  • format: cache already-formatted files for --check (acc46fc)
  • lsp: content-derived pull resultId (f7ecb99)
  • lsp: negotiate positionEncoding (UTF-8) (7a9af95)
  • lsp: work-done progress for background jobs (12fa210)
  • lsp: static $/@ completion + label details (a5b72b8)

Bug Fixes &ZeroWidthSpace;

  • npm: fall back to musl when glibc build fails (f45beb7)
  • linter: withhold unused-binding fix on chain (b3d42f6)
  • linter: cut unused-binding FPs from lazy reads (17dbaf8)
  • linter: skip non-UTF-8 files instead of aborting (89bacc4)
  • formatter: handle mid-line roxygen as trailing comment (41140fa)
  • formatter: flatten binary chains with lhs-trailing comment (ab99d52)
  • formatter: handle roxygen comment on assignment rhs (0e29c0e), closes #89
  • formatter: handle comment trailing binary lhs (6953947)
  • parser: left-associate extract ops with postfix (29c7416)
  • linter: resolve for-body reads in enclosing frame (023cc57)
  • linter: close three undefined-symbol gaps (9b4634d)
  • parser: group loose roxygen in arg lists (f22b0e6)
  • parser: continue exprs across newlines in brackets (c603475)
  • lexer: accept all raw string delimiter forms (178dca1)
  • parser: continue expr across trailing comment in brackets (31b23ea)

0.14.0 (2026-07-30) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • semantic: add def-use reverse index (89c8ab4)
  • lsp: react to on-disk changes via didChangeWatchedFiles (3fa343b)
  • ci: add smoke-test-triage skill, sharpen corpus scan (#80) (bb8906e)
  • lsp: add request cancellation and stale-read gating (9f0d51a)
  • lsp: guard threads against handler panics (1b0e329)
  • formatter: treat trailing comments as zero-width (cd38a47)
  • roxygen: merge same-@name blocks into one topic (31df16a)
  • roxygen: drop blocks past the last top-level expr (a7a264b)
  • roxygen: knitr chunk fence class carries the language (85fbb37)
  • roxygen: newline ends unquoted html attribute value (af07249)
  • roxygen: demote md image after odd backslash run (579414b)
  • roxygen: inline-link destination crosses soft breaks (78b7f79)
  • roxygen: raw fence info string can drop the section (ef21a51)
  • roxygen: demote md macro after odd backslash run (85cc88d)
  • roxygen: block-level reparse of leaked linkref defs (ab90044)
  • roxygen: escaped-close link labels and markdown leak parsing (41df574)
  • roxygen: link-ref defs inside block quotes (27dbbe3)
  • roxygen: same-line HTML block in a list item (122b450)
  • roxygen: field-edge Unicode trim and fence-info entities (2fdc85c)
  • roxygen: setext column gate and per-piece rdComplete drop (8e095f5)
  • roxygen: thematic-break block edges (c6c011d)
  • roxygen: code-span backtick runs and \verb fallback (965049e)
  • roxygen: consume link-ref defs inside list items (25400f6)
  • parser: same-line code fence in a list item (e51a6c9)
  • roxygen: strip setext-title link defs, field-wide refmap (3f197dd)
  • roxygen: model roxygen2's trailing-empty-heading raw fallback (4e2bb91)
  • parser: expand tabs to 4-column stops in roxygen markdown (df95b3a)
  • parser: headings inside list items with in-list H1 hoist (82e8c32)
  • parser: block quote opening on a list-marker line (6fb3838)
  • parser: list-item content-indent start conditions (56c1aec)
  • parser: nest same-line consecutive list markers (531664b)
  • parser: list siblings pair by CommonMark indent window (aa8f33f)
  • lint: add sort rule (de7de18)

Bug Fixes &ZeroWidthSpace;

  • formatter: don't let a paren's trailing comment eat the ')' (5df242d)
  • formatter: don't let an if-branch trailing comment force a break (86846c4), closes #70
  • parser: don't bind an operator to a comment atom (4856f9d), closes #71
  • formatter: brace both if branches when a comment braces one (d65d573), closes #73
  • formatter: lay out a comment before an assignment RHS (0f722b3)
  • formatter: measure breaks at the real column (#82) (82e83fe), closes #67
  • config: tolerate a missing anchor in discovery (#81) (c627e2f)
  • parser: reject juxtaposed statements, fix two lexer gaps (#79) (e98b877), closes #68
  • guard force-exclude paths by has_root (0a87100)

0.13.0 (2026-07-20) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • cli: add --force-exclude for explicit paths (0b600ca)
  • parser: link-reference definitions parse at the block level (86b4a9d)
  • parser: reference-image resolution parity (3504005)
  • parser: autolink span wins over the bracket carve (787bcbb)
  • parser: refmap-aware reference-link chain pairing (bf519eb)
  • parser: escaped open bracket is link-label content (7a03ad1)
  • parser: invalid link-ref labels never define or link (ebc4dd4)
  • parser: cmark-parity link-ref label normalization (e0893d2)
  • parser: cmark-parity inline link destinations (27f7b5e)
  • parser: block quote laziness state and xml_text flatten (e5f03aa)
  • parser: block quote folds into a markdown list item (3a37044)
  • parser: collapsed reference links under roxygen @md (6bc059e)
  • parser: tilde code fences and CommonMark closer matching (06b0b46)

0.12.0 (2026-07-11) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • lint: add is-numeric and class-equals rules (b3c8443)
  • lint: add seq rule (d3cf745)
  • lint: add nzchar rule (e903216)
  • lint: add lengths rule (94b8f67)
  • bench: add linter and project benchmarks (9852172)
  • roxygen: split fenced code body into per-line VERBs (5f27595)
  • parser: resolve user-defined markdown image refs (aa59fd4)
  • docs: add benchmark page with plots (e17bcf9)
  • parser: resolve shortcut and reference markdown images (9c0f625)
  • parser: drop section on trailing-backslash link dest (355f6c8)
  • parser: reject invalid inline link destinations (3054434)
  • roxygen: drop inline link title from href destination (b34e06d)
  • parser: fold setext underline into block quote lazily (2d40e13)
  • parser: fold block Rd macro into list item under @md (27caa31)
  • parser: fold GFM table into list item under @md (5cb6589)
  • rindex: harvest lazy-data symbols (5f35fab)
  • ast: add Expr union and HasArgList trait (6c11cf5)
  • ast: add AstToken layer and complete node wrappers (9167928)
  • parser: fold indented code block into list item (c22ae83)
  • parser: fold fenced code block into list item (bf274b3)

Bug Fixes &ZeroWidthSpace;

  • parser: make operator lexing UTF-8-safe (2e5e9d9)
  • roxygen: don't markdown-process code-tag bodies under @md (ceb0dba)
  • parser: flag stray closing delimiter at top level (51f3023)
  • formatter: honor line-ending in format_range (5800f16)

Performance Improvements &ZeroWidthSpace;

  • use mimalloc as the global allocator (fb60bf0)
  • lint: parallelize project lint over salsa db clones (820ca43)
  • rindex: load lint index names-only and in parallel (915bd80)
  • semantic: index scope bindings by name (bccb478)
  • project: bucket top-level events in one model pass (c9f668a)
  • lint: render pretty snippets from a line window (11a4558)

0.11.0 (2026-07-08) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • linter: add string-boundary and fixed-regex rules (bddd07b)
  • linter: add crossprod rule for %*% with t() (de48640)
  • parser: fold blank-separated list item paragraphs (92772ce)
  • parser: split roxygen md lists on no-blank marker-type change (f65195d)
  • lsp: add document color support (3f8b048)
  • lsp: add selection ranges (43dd077)
  • lsp: add roxygen skeleton code action (8cac459)
  • lsp: add type hierarchy for S4/R6/RefClass (b4c3133)
  • lsp: add document link support (b0f5a92)
  • roxygen: project sticky brace-less RCODE/VERB swallow (917fca5)
  • roxygen: project brace-less \item as UNKNOWN node (0b3f1cf)
  • roxygen: group bare braces in md heading titles as LIST (a479f00)
  • roxygen: group bare braces in macro args as Rd LIST (1143364)
  • config: honor excludes in LSP, sibling, and index walks (66e7680)
  • parser: reparse non-braced top-level statements (81124a5)
  • roxygen: project md bare brace groups as Rd LIST (9edfcfa)
  • roxygen: project bare prose brace groups as Rd LIST (0e2cbd7)
  • parser: gate in-arg macro carve on backslash parity (b5fa27f)
  • roxygen: resolve Rd-string escapes in macro args (8d08c7a)
  • roxygen: render md escaped braces bare in TEXT (146da14)
  • roxygen: drop brace-less known Rd macros in projection (3eba086)
  • parser: parity-gate Rd macro carves on backslash runs (ba1a9e0)
  • parser: resolve multi-line code spans in the inline pass (c3575f5)
  • parser: resolve multi-line inline HTML in the inline pass (62ca1f3)
  • parser: merge blank-separated same-type markdown lists (164d519)
  • parser: fold lazy continuations into markdown list items (54f56f9)
  • linter: add roxygen documentation rules (167ae38)
  • ast: add roxygen tag and prose accessors (792ec6b)
  • parser: block quote, thematic break from tag value (ff3f647)

Bug Fixes &ZeroWidthSpace;

  • formatter: indent nested operand of binary chain (ef14a99)
  • roxygen: keep md section on trailing % swallow (4425971)
  • roxygen: resolve multi-backslash md brace runs at cmark stage (756aacd)
  • roxygen: keep fragile-macro escaped braces in md drop scan (0674bc7)
  • roxygen: scan raw text for md-off rdComplete drop (f291ab1)
  • formatter: bail folded roxygen tags on structured lines (b251e40)
  • formatter: reflow roxygen prose containing pipes (6b17cad)

0.10.0 (2026-07-05) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • parser: markdown block starts from same-line tag value (62e976c)
  • parser: markdown HTML block from same-line tag value (f343419)
  • parser: markdown HTML block condition 7 (1d6c837)
  • parser: inline markdown HTML comment, PI, decl, CDATA (b1b08b9)
  • parser: markdown HTML block conditions 2-5 under @md (04819f4)

Bug Fixes &ZeroWidthSpace;

  • formatter: break associative binary chains uniformly (2c32f0a)
  • lint: sort rendered diagnostics by source offset (950d223)
  • lint: surface parse errors instead of swallowing them (9afb39f)

0.9.0 (2026-07-04) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • parser: markdown HTML block condition 1 under @md (dcc35a2)
  • parser: markdown indented code blocks under @md (9308021)
  • parser: setext heading from same-line tag value (6725dbe)
  • parser: fold block-quote lazy continuation lines (d3d5583)

0.8.0 (2026-07-02) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • roxygen: glue block-quote text onto adjacent prose (8410550)
  • parser: recognize single-dash setext H2 underlines (b6a56bf)
  • parser: recognize @md thematic breaks (176cd31)
  • parser: recognize @md block quotes (f1b02aa)
  • parser: recognize @md setext headings (b630a8e)
  • parser: hoist @md ATX headings into \section/\subsection (55bf690)
  • parser: recognize GFM tables in @md prose (89d9ec4)
  • parser: recognize CommonMark email autolinks (bb988c8)
  • parser: reject link-ref def with trailing content (1a728f5)
  • parser: decode HTML entities in @md prose (9c8828e)
  • parser: fold prose tag continuation into the tag (7179469)
  • parser: swallow @md prose percent comments (4c03eea)
  • formatter: canonicalize roxygen tag layout by class (bc9f3cb)
  • formatter: hang list Rd macros under prose tags (6b1d6a4)
  • parser: collapse @md prose backslash runs (a0cf8a7)
  • parser: emphasis span crosses inline Rd macro (b282810)
  • parser: emphasis across nested macro in structural md arg (ab7ab90)
  • parser: markdown in structural Rd macro args (7808c50)
  • parser: pure-macro link displays drop/keep, not literal [] (65eea34)
  • parser: markdown in non-fragile Rd macro args (e337667)
  • parser: backslash words in markdown link displays (e303a9d)
  • roxygen: multi-line and entity-decoded link-ref defs (02e1a15)
  • roxygen: whole-field link-ref poisoning demotion (5d43db3)
  • roxygen: whole-field refmap for in-list undefined links (a31927c)
  • roxygen: resolve user link-refs across list items (798783a)
  • roxygen: run full link-ref pipeline in @section arm (98be39b)
  • roxygen: resolve user link-reference definitions (6bcb008)
  • roxygen: nodeify same-line markup reference links (c5e3fc3)
  • roxygen: drop shortcut links with non-plain display (e56d66b)
  • roxygen: demote undefined-label shortcut/ref links (4d52240)
  • parser: drop @section to NA on md-off brace imbalance (30669fc)
  • parser: drop @field/@slot tag on raw brace imbalance (8c8c0e5)
  • parser: drop md-off prose sections on brace imbalance (497f3f7)
  • parser: resolve nested md links with opener deactivation (859006d)
  • parser: drop md sections on rdComplete imbalance (bca67f5)
  • parser: lex @rawRd body as Rd, never markdown (81bdf09)
  • roxygen: leak opaque nested-bracket inline-link inner candidate (46a6110)
  • roxygen: leak get_md_linkrefs defs for image alt-text (1c51798)
  • roxygen: leak get_md_linkrefs defs for inline-link candidates (8185a92)
  • roxygen: leak get_md_linkrefs defs in field/section bodies (ee65a6c)
  • roxygen: model mixed valid+invalid link-ref poisoning (97dcd47)
  • roxygen: leak get_md_linkrefs defs for escaped-close [text\] (7829072)
  • parser: resolve cross-line @md shortcut links (81e2747)
  • parser: escaped @md brackets [ ] are not link delimiters (70d95b4)
  • parser: resolve cross-line @md reference links (04325a1)
  • parser: preserve Unicode whitespace in roxygen norm_ws (d935f05)
  • parser: resolve @md inline links across soft line breaks (8310e0e)
  • parser: resolve @md inline link text on the delimiter stack (188ce50)
  • parser: underscore-leading code span renders \verb not \code (c4b3174)
  • parser: empty md list item can't interrupt a paragraph (250eee0)
  • parser: resolve @md emphasis across soft line breaks (67e5003)
  • parser: resolve @md emphasis via CommonMark delimiter stack (dbc9989)
  • roxygen: project non-md Rd % as a line comment (b0b6be2)
  • parser: model mid-prose \preformatted block-macro opener (c554c14)
  • roxygen: project \preformatted as a verbatim block macro (aa92fe6)
  • parser: model nested markdown lists by indentation (b313550)
  • parser: model nested Rd block macros (\itemize in \enumerate) (bfe7e32)
  • roxygen: project @rawRd as bare top-level Rd nodes (fd76c95)
  • parser: model @md block raw HTML as \if{html}{\out} (6192663)

Bug Fixes &ZeroWidthSpace;

  • roxygen: honor soft-wrap line for %-swallow (b67b966)
  • linter: only flag function shadows in shadowed-builtin (f8a30ce)
  • linter: exempt c() from duplicated-arguments (6f0db6d)
  • linter: attach testthat implicitly for test files (95067fa)
  • linter: keep excluded package files in scope (c79953a)
  • linter: exempt parameters from shadowed-builtin (de10514)
  • linter: count infix operator use as a read (e3bc112)
  • linter: dont flag super-assignment as unused (8835944)
  • linter: count pkg:::name as cross-file use (d72b5b4)
  • linter: dont flag builtin shadow used only in own rhs (22243b1)
  • formatter: reflow roxygen prose past inline list markers (5798c5e)
  • formatter: keep roxygen link-ref defs unjoined (877d7c6)
  • formatter: don't reflow non-md roxygen prose across % (584f489)

0.7.0 (2026-06-24) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • parser: model @md inline raw HTML as \if{html}{\out} (a2f5cc9)
  • roxygen: sub-render inline-link code-span text to \verb/\code (585b096)
  • parser: model @md URL autolinks and empty-dest links as \url (7bc2879)
  • parser: model @md fenced code blocks, project to \preformatted (06509b3)
  • parser: project brace-less unknown Rd macros to UNKNOWN (50572be)
  • roxygen: project @section body inlines with GRP-wrap (95dbbfb)
  • roxygen: aggregate multiple @examples into one \examples (37357fb)
  • parser: lex Rd macro names with digits (\linkS4class) (856be51)
  • parser: project markdown images and Rd \figure to \figure (0afed9a)
  • roxygen: split intro into title/description/details by paragraph (fb2c926)
  • parser: resolve @md reference and shortcut links to \link (fd8b6d2)
  • parser: project @md inline links text to \href (4cd8cfa)
  • roxygen: aggregate @slot/@field into \section{Slots,Fields} (19f326e)
  • parser: model \href as two-arg macro with verbatim URL arg (a129a7a)
  • roxygen: project \code body as verbatim RCODE (5ec9cf3)
  • roxygen: suppress sections with NULL sentinel value (be2d579)
  • roxygen: project title as description fallback (e9f2471)
  • parser: model @md markdown lists as \itemize/\enumerate (1cf5da9)
  • parser: model @md inline markdown (emph/strong/code) (6e617ca)
  • parser: model \tabular{fmt}{ … \tab … \cr } block macro (8cfbdbe)
  • parser: model two-arg \item{term}{def} in \describe (c1b30a9)
  • linter: suppress undefined-symbol for data-masked columns (d1e382d)
  • linter: resolve meta-package attaches for undefined-symbol (d64cd31)
  • parser: model \itemize/\enumerate block Rd macros (dc8a38b)
  • parser: model inline Rd macros as nested CST nodes (be0521b)
  • roxygen: bulk-pin projector-eligible harvested corpus (58ad5e4)
  • roxygen: add CST->Rd projector + pinned parity gate (7473f2f)

Bug Fixes &ZeroWidthSpace;

  • semantic: mask operands of opaque custom infix operators (479c3dd)
  • parser: model string-named call/subscript args as named args (4e2fdbf)
  • formatter: don't treat mid-prose years as list markers (d90e7d5)

0.6.0 (2026-06-22) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • cli: add global --color, --quiet, --verbose flags (1bef2ae)
  • cli: add completions and init subcommands (ea055bc)
  • cli: lint reads stdin, drop no-op --check flag (5237c95)
  • config: add top-level exclude/default-exclude file filtering (8a3c661)
  • config: add format.line-ending (auto/lf/crlf/native) (033937a)
  • linter: add unreachable-code rule (after return()/stop()) (52eb74b)
  • linter: add any-duplicated rule (any(duplicated(x)) -> anyDuplicated(x) > 0) (e3d6348)
  • linter: add any-is-na rule (any(is.na(x)) -> anyNA(x)) (3d8590d)
  • linter: add comparison-negation and outer-negation rules (caeda1a)
  • roxygen: format embedded R in @examples bodies (8715ad4)
  • roxygen: hanging-indent reflow of tag prose (8e52c62)
  • roxygen: reflow prose to line width (b5e92c5)
  • linter: add vector-logic rule (&/| -> &&/|| in conditions) (2e74063)
  • linter: add repeat rule (while (TRUE) -> repeat) (93cff91)
  • formatter: normalize roxygen marker + single space (52b96f6)
  • parser: parse roxygen doc comments into the CST (23fe61f)
  • linter: generate rule docs from rule metadata (e8ef3db)
  • lsp: add pull diagnostics support (e8da220)
  • lsp: add call hierarchy support (24d52f3)
  • lint: add true-false-symbol rule (1a37cfa)

Bug Fixes &ZeroWidthSpace;

  • formatter: preserve trailing blank lines in roxygen examples (7ca4fd1)
  • parser: bind unary ! looser than comparison operators (a386bc4)
  • formatter: handle comments in if/while conditions (5ba6f02), fixes #37

0.5.0 (2026-06-18) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • lsp: add semantic tokens (full) (7f578d2)
  • lsp: rename binding-only reads instead of refusing (B2.4) (b4643d8)
  • lsp: add workspace/symbol fuzzy name search (56ba0dc)
  • lint: wire CLI --select/--ignore flags (a3f7844)
  • lint: add resolves_to_base namespace-confirmation helper (2bfb17f)
  • lint: add §I1 matchers and first Phase 1 rule batch (e39e6ba)
  • lsp: narrow dynamic-source refusal in cross-file rename (93f601b)
  • index: add opt-in downloadable CRAN symbol sidecar (84da1fb)
  • lsp: add signature help (85efe66)
  • lsp: add completion (59d01fa)
  • lsp: add folding range support (824ab9d)
  • lsp: add file rename support (81f4752)
  • lsp: load-order resolution for cross-file rename/references (617ccb0)
  • lsp: scope-aware cross-file rename and references (1aa7f8c)
  • lsp: cross-file symbol rename (3b12b12)
  • cli: add diff print to --check (16ebdf3)

Bug Fixes &ZeroWidthSpace;

  • lsp: bind reader body reads to final scope (B2.4) (0f367d5)
  • project: classify source() path relativity host-independently (751406e)
  • semantic: don't record reserved constants as reads (9848162)
  • index: probe .libPaths() for launcher-injected libraries (ed729f1)
  • linter: only flag shadowed-builtin on call-position reads (fca8ef7)
  • formatter: don't break out [[ unnecessarily (81543c8)
  • ci: default cran-symbols window to 30 days (c581c4b)
  • format trailing comments after binary and pipe operators (e9d41b2), closes #29 and #30
  • parser: lex ...-prefixed names as one identifier (c3a42b2)
  • parser: lex dot-leading numeric literals (e5923fa), closes #27
  • formatter: format := (walrus) assignment operator (e80a0fc), closes #26, #28, #31, and #32
  • formatter: break over-width if condition onto its own line (0b26da6)
  • formatter: don't break [[ group (89e3eb7)
  • parser: parse function parameter defaults as expressions (5cd36e1)
  • parser: lex backtick-quoted and bare-dot names (2a6252a)
  • linter: eliminate unused-binding false positives (c941fcb)

Performance Improvements &ZeroWidthSpace;

  • incremental: make workspace_project pure via PackageGraph input (0409a6a)

0.4.0 (2026-06-12) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • add npm distribution (arity-cli) (ea0658b)

0.3.0 (2026-06-12) &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • add VS Code / Open VSX extension (4501ec4)
  • lsp: index default R packages for hover (3bf0927)
  • build man pages and completion and cli docs (660d947)

0.2.0 (2026-06-12) &ZeroWidthSpace;

Breaking changes &ZeroWidthSpace;

Features &ZeroWidthSpace;

  • lsp: document symbols outline (b203c2f)
  • lsp: find-references + document highlight (12e7566)
  • lsp: add go-to-definitions (f74a087)
  • lsp: cross-edit node refs + intra-file rename (64533de)
  • project: workspace-wide symbol/reference index (8920e6f)
  • incremental: model the package index as a HIGH-durability salsa input (d04b2cb)
  • symbols: bundle top-500 CRAN export lists (0c2a59b)
  • parser: incremental token/block reparse (231e0f3)
  • lsp: wrap project scope as tracked salsa queries (5006a04)
  • lsp: add range formatting (c0dafe1)
  • lsp: preempt in-flight lint on a fresher edit (81b2e71)
  • lsp: reuse salsa db for hover/format/code-action reads (e90dd68)
  • lsp: add init options (3e6757b)
  • lsp: cross-file resolution for the active document (1e7f046)
  • linter: honor NAMESPACE exports and imports (7177f47)
  • linter: resolve bindings across files in a project (44c1938)
  • project: add source() edge and file-export extractors (cc5ee3d)
  • lsp: lint off a persistent salsa database (54afbe1)
  • incremental: cache parse tree + semantic model in salsa (8651d0c)
  • formatter: hug trailing block past an unbreakable atom (cfc892c)
  • formatter: rest-aware group fit; break inner hug on overflow (e493d0d)
  • formatter: line width wins over hug; explode instead (579621a)
  • add space after = in fn(NULL =) (e311b0d)
  • formatter: adopt air's always-brace for control flow (c583583)
  • inline syntax (accf8a8)
  • formatter: pack leading argument holes inline (cd78c06)
  • lsp: hover with indexed package help (e6e0b66)
  • rindex: harvest full Rd help bodies as markdown (8833905)
  • lsp: load the index and lazily build missing packages (f1852c4)
  • linter: enable undefined-symbol behind an all-indexed gate (8a5861d)
  • rindex: harvest function formals from lazy-load DBs (5693f7c)
  • rindex: on-disk R-introspection sidecar (ravel index) (36c8aae)
  • linter: autofix infrastructure, --fix, and LSP code actions (76dcb44)
  • linter: semantic foundation, suppression directives, and LSP diagnostics (2f121a2)
  • lsp: add initial lsp with formatting capabilities (e8e2a73)
  • add a config (058b8af)
  • formatter: support @ slot extraction as sticky operator (c46b761)
  • support the walrus operator (b2549b6)
  • parser: lex ** as exponentiation synonym for ^ (fa6d90a)
  • parser: handle help operators (d7e9ab7)
  • parser: lex imaginary suffix as complex literal (4732bb3)
  • parser: recognize unary tilde formula operator (edc90bc)
  • formatter: conditional group for break-aware fits (410dd48)
  • formatter: handle nested expressions/curly-curly (e041594)
  • formatter: handle magrittr pipes (8bb6a56)
  • cli: format in place if file provided (eac1fe3)
  • formatter: handle binary operators (0bd8db6)
  • formatter: handle complex comment cases (340ced7)
  • formatter: handle curly-curlies and whitespace (1c4d189)
  • formatter,parser: handle complex if-else cases (09beb1e)
  • formatter: handle repeat constructs (2425148)
  • formatter: handle empty functions (a2d04c9)
  • formatter: handle some parenthesized expressions (27bf2fd)
  • parser,formatter: handle comment prefixed args (630df1c)
  • formatter: handle more complex subsetting cases (a1efad0)
  • formatter: handle comment in subset (a6be358)
  • formatter: add support for subsetting with holes (790f63d)
  • formatter: handle basic subsetting and holes (000b3f7)
  • formatter: flatten simple functions (0881304)
  • formatter: handle more function cases (20033bb)
  • formatter,parser: handle comments in function defs (e844b23)
  • formatter: handle lambdas (3aecd57)
  • formatter: support [[ subsetting (52f32f2)
  • formatter: harden support around hugging and calls (961d748)
  • formatter: add call hugging support (e92401f)
  • formatter: handle blanklines between function arguments (2398618)
  • formatter: handle curly-curly (3d47fe1)
  • formatter,parser: handle empty RHS (978828c)
  • formatter: handle comments and continuations in calls (d534d66)
  • parse,formatter: handle lambdas and trailing functions (5ad396b)
  • formatter: handle training braces (3103ac3)
  • formatter: handle comments after holes (310bde3)
  • formatter: handle comments inside holes (17e7b12)
  • formatter: tackle holes in calls (b57fc73)
  • formatter: support calls and handle line breaks (f1ae921)
  • formatter: support basic calls (b95eeac)
  • formatter: support while statements (4e7d3e5)
  • formatter: support for statements (0f4f836)
  • formatter: handle blanklines and functions (363fbd8)
  • formatter: don't add spaces for carets (461f329)
  • refactor formatter (a7d5600)
  • parser: wrap up air test parity (9e5ca51)
  • parser: handle double colon namespace error (99c2259)
  • parser: handle dots and repeats (84c790c)
  • parser: extend to air fixtures (d411968)
  • parser: extend to subset assignment (f19572a)
  • parser: suppor subsetting brackets (c80a021)
  • parser: add multiple new operators (c2ca22c)
  • parser: add semicolon, comma (4f4e76f)
  • parser: add newline-sensitive boundaries (fd490f4)
  • parser: add slash, minus, colon (d45cb7e)
  • parser: expand operator coverage (939667e)
  • parser: improve coverage and add operator precedence (085e59b)
  • add a linter (72519c1)
  • add more parsing cases (4982f1c)
  • lay groundwork for formatter and parser (76005cd)
  • parser: expand to handle more cases (2783429)
  • add cli, with parse command (8a2b5e9)
  • add a minimal parser (1c0289c)
  • setup basic package infrastructure (835dad5)

Bug Fixes &ZeroWidthSpace;

  • ci: avoid SIGPIPE in CRAN ranking script (c8703ad)
  • formatter: render comment-free if/else as native IR (bd9e8c6)
  • formatter: indent pipe RHS so broken calls nest correctly (af16e75)
  • lsp: handle URIs properly on windows (130c741)
  • formatter: keep else-if chains flat, brace consistently (e16aa86)
  • parser: skip comments around if-clause boundaries (da34806)
  • formatter: handle comments between if-body and else (9336fa1)
  • parser: handle newline between subset args (c9e41d1)
  • parser: newline terminates complete top-level expressions (23a63c3)
  • properly handle CLRF (f147ad6)

Performance Improvements &ZeroWidthSpace;

  • rindex: parallelize package harvest across rayon (8852209)

arity v0.31.0 · Released under the MIT license.