Skip to content

Releases: jolars/arity

v0.6.0

22 Jun 11:19
879ebf0

Choose a tag to compare

Features

  • 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

  • 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

arity-code-v0.6.0

22 Jun 11:19
879ebf0

Choose a tag to compare

Dependencies

  • updated arity to v0.6.0

v0.5.0

19 Jun 20:54
dcff8e7

Choose a tag to compare

Features

  • 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

  • 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

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

arity-code-v0.5.0

19 Jun 20:54
dcff8e7

Choose a tag to compare

Dependencies

  • updated arity to v0.5.0

v0.4.0

12 Jun 21:21
3ec508e

Choose a tag to compare

Features

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

v0.3.0

12 Jun 20:27
16ef334

Choose a tag to compare

Features

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

v0.2.0

12 Jun 09:23
dc35e5d

Choose a tag to compare

Breaking changes

  • rename package to arity (979371b)

Features

  • 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 {{ x }} 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](978828cf51d79f04a754551...
Read more

arity-code-v0.4.0

12 Jun 21:21
3ec508e

Choose a tag to compare

Dependencies

  • updated arity to v0.4.0

arity-code-v0.3.0

12 Jun 20:27
16ef334

Choose a tag to compare

Features

  • add VS Code / Open VSX extension (4501ec4)

Dependencies

  • updated arity to v0.3.0

All notable changes to the Arity VS Code extension are documented here.