Skip to content

Releases

Release v0.18.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 19:18

What's Changed

  • Let a second Ctrl+D quit sight console when Stata refuses over unsaved data by @jbearak in #453

Full Changelog: v0.18.1...v0.18.2

Release v0.18.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:03

What's Changed

  • Remove the Perch integration by @jbearak in #449
  • Color sight console input the way the VS Code editor colors the same code by @jbearak in #450
  • Let users open the Stata pane when their own "Stata" terminal profile hides Sight's by @jbearak in #451
  • Give sight console its own terminal colors instead of copying the editor's by @jbearak in #452

Full Changelog: v0.18.0...v0.18.1

Release v0.18.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 22:42

What's Changed

  • Let Ctrl+C in the Stata pane stop a command Stata runs through shell by @jbearak in #447
  • Let Ctrl+C in sight console stop a command Stata runs through shell by @jbearak in #448

Full Changelog: v0.17.7...v0.18.0

Release v0.17.7

Release v0.17.7 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 13:50

What's Changed

  • Test compute-runner abort and deadline with a job that never finishes, not a regex that is merely slow by @jbearak in #409
  • Find references to a variable inside factor-variable terms such as i.foo and _b[2.foo] by @jbearak in #410
  • Test that a tempfile name in a block, one-line if, ///, or #delimit ; is not reported undefined by @jbearak in #411
  • Treat #d, #del, and other abbreviations of #delimit like #delimit by @jbearak in #412
  • Keep file names out of variable references, warn on a forvalues range after version N:, and resolve graph working directories and do-file arguments like Stata by @jbearak in #413
  • Report locals set by an abbreviated tokenize or an unloaded program, accept g as generate, and check abbreviated variables in linear time by @jbearak in #415
  • Parse include using/…, program name', and glued stem'using as Stata does, and keep label text and program-header comments when formatting by @jbearak in #417
  • Keep Stata console sends from being lost at --more--, while connecting, or behind a long command, and keep polling after a huge burst of output by @jbearak in #416
  • Read input data, prefixed mata: and python: openers, and #delimit ; star comments as Stata does by @jbearak in #414
  • Read a ///-continued mata: line as Mata, keep prefix options from macros, and open the Mata block of if 1 mata by @jbearak in #418
  • Send only the cursor's statement under #delimit ;, and run the release build's tests the way CI does by @jbearak in #420
  • Copy long strLs whole, stop a timed-out restore from rerunning, keep piped parse output, and fix four Send to Stata slips by @jbearak in #421
  • Keep strings, option arguments, call parens and blank input rows as written when formatting, and read abbreviated weights and foreach list types in parse --json by @jbearak in #419
  • Pass inherited working directories down every level in sight graph, report do arguments as args reads them, finish piped output before exiting, and keep continued operator uses and file names apart in Find References by @jbearak in #422
  • Credit c_local arguments from programs that files loaded at any depth define, keep them after a later tokenize, and stop input types from defining variables by @jbearak in #423
  • Enter an editor send on its own line, reveal the Stata pane on active-terminal sends, and copy unloaded rows whole with the latest copy winning by @jbearak in #425
  • Stop two order- and seed-dependent test failures: a temp-file mock that ignored holds, and di/pr as random command names by @jbearak in #427
  • Send whole lines again under #delimit ; so Send Statement never skips or repeats code, and send input from a data line as its whole block by @jbearak in #424
  • Read #delimit only at the start of a statement, end input data at a row that doesn't fit its variables, and keep every line when formatting by @jbearak in #428
  • Copy Data Browser rows in one order, let the newest copy win across every copy action, and check Send Statement sends whole statements by @jbearak in #429
  • Credit caller locals from the program definition Stata has in memory, navigate to locals a loaded program sets, and fix Find References file names, graph arguments after a quoted path, and EPIPE on early pipe close by @jbearak in #431
  • Read #delimit cr after a Mata end, keep continued mata: lines as written under #delimit ;, end string input at a row with extra fields, and read Unicode program names by @jbearak in #430
  • Find names with Unicode letters under the cursor again, keep Find References on a program call to the program and on a local to its own program, find locals an autoloaded ado sets, and drop programs at clear all by @jbearak in #433
  • End input data at a closing brace and before a prefixed input, and keep input data rows as written when formatting by @jbearak in #432
  • Stop a parser property test from failing when it draws di as a command name by @jbearak in #436
  • Hold console sends for a recognized prompt, keep Windows do-files while Stata may have them, and send CD commands through the pane queue by @jbearak in #426
  • Let eight console tests run on a Windows host by @jbearak in #438
  • Keep a Windows pane's last 20 sent do-files until the pane closes by @jbearak in #437
  • Use one canonical path form on Windows so roots and URI paths match by @jbearak in #440
  • Make the test suite pass on Windows by @jbearak in #441
  • Run the tests on a Windows host in CI by @jbearak in #439
  • Close four Windows path gaps: UNC host case, drive-relative paths, directive drive paths, PATH case by @jbearak in #443
  • Accept any spelling of a file URI from an LSP client by @jbearak in #442
  • Poll for the temp file's removal in the cleanup test by @jbearak in #444
  • Reuse unchanged directory listings in sight check by @jbearak in #445
  • Give a sight: cd directory one spelling with or without a trailing separator by @jbearak in #446

Full Changelog: v0.17.6...v0.17.7

Release v0.17.5

Release v0.17.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Nov 00:10

What's Changed

  • Warn about a forvalues range that runs no times, such as 3/1, and suggest the countdown by @jbearak in #407

Full Changelog: v0.17.4...v0.17.5

Release v0.17.4

Release v0.17.4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 06 Nov 22:01

What's Changed

  • Parse a prefixed frame block named by a macro as one frame block, not a command named frame by @jbearak in #406

Full Changelog: v0.17.3...v0.17.4

Release v0.17.3

Release v0.17.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 06 Nov 18:33

What's Changed

  • Report a missing do, run, or include target once, at the call site, not again on each sibling callee by @jbearak in #405

Full Changelog: v0.17.2...v0.17.3

Release v0.17.2

Release v0.17.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 06 Nov 12:04

What's Changed

  • Read a command's macro writes from one module, so definitions and loop poisoning can't drift by @jbearak in #387
  • Stop property tests from generating _b and other reserved names as variables by @jbearak in #388
  • Decide whether a macro is defined yet at a reference in one place by @jbearak in #389
  • Stop reporting a local as undefined after an abbreviated program option, such as myprog, c(r) for Cache(string) by @jbearak in #390
  • Show a syntax option's real minimum abbreviation in hover, completion, and sight parse --json by @jbearak in #391
  • Read syntax [, saveAs(string)] as defining saveAs', not saveas' by @jbearak in #392
  • Record on each block whether its own } or end closed it, and let Send to Stata read that instead of pairing braces itself by @jbearak in #393
  • Keep offering a user program's option as more of it is typed, and insert it as Stata accepts it by @jbearak in #394
  • Read the lines after input as its data, up to end, instead of as statements by @jbearak in #396
  • Report an end that closes nothing from the parsed program structure, not a separate line scan by @jbearak in #398
  • Show a user program's option on hover, as Stata reads its abbreviation by @jbearak in #395
  • Report indentation from Format Document's layout, so a diagnostic always matches what formatting does by @jbearak in #397
  • Keep Stata's system globals out of property tests that expect an undefined global by @jbearak in #399
  • Move the lines continuing a one-line mata: statement with it once, not one level further on every format by @jbearak in #400
  • Read nobreak and break as prefixes, so nobreak { opens a block whose locals stay visible by @jbearak in #401
  • Read prog def and the other abbreviations Stata accepts for program define as program definitions by @jbearak in #402
  • Read mata : and the other one-line mata and python forms as Stata does, opening embedded code only where a command can start by @jbearak in #403
  • Parse assert's condition and display's arguments as expressions in sight parse --json by @jbearak in #404

Full Changelog: v0.17.1...v0.17.2

Release v0.17.1

Release v0.17.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 05 Nov 16:22

What's Changed

  • Parse Stata expressions, and stop splitting one statement into several AST nodes by @jbearak in #346
  • Add sight parse --json and sight graph --json, so other tools can read Sight's view of Stata code by @jbearak in #347
  • Read a /* */ comment inside a statement as whitespace, so expressions aren't cut off and AST formatting keeps the comment by @jbearak in #349
  • Stop warning that a macro is undefined after capture local and other prefixed definitions by @jbearak in #348
  • Report the Sight directive in each comment in sight parse --json, so other tools don't reimplement the directive grammar by @jbearak in #353
  • Fix three property-test flakes: an expression range outside its input, and generators that emit invalid commands and block content by @jbearak in #352
  • Keep comments on their own lines and stop doubling the ; in #delimit ; when AST formatting by @jbearak in #350
  • Read a /* */ comment around a colon as whitespace, and a mid-statement * under #delimit ; as multiplication by @jbearak in #351
  • Skip the help-topic coverage test on machines with a user ado directory but no Stata install by @jbearak in #355
  • Stop reporting own-line comments at end of file and after #delimit ; as trailing in sight parse --json by @jbearak in #356
  • Keep syntax statements when AST formatting instead of deleting them by @jbearak in #354
  • End mata and python blocks where Stata does, so a mid-line end no longer cuts a block short by @jbearak in #357
  • Keep the final newline, // comments, and #delimit-line comments when formatting under #delimit ; by @jbearak in #358
  • End a * comment where Stata does, and read * after unab's colon and Mata's :* as code by @jbearak in #360
  • Keep the body of a prefixed loop, if, or brace block when formatting, and print header comments as comments by @jbearak in #359
  • Stop AST formatting from adding spaces inside strings with embedded macros and inside macro concatenations by @jbearak in #361
  • Keep the note after /// when AST formatting instead of joining the lines and dropping it by @jbearak in #362
  • Read // comments in loop and if headers under #delimit ; as whitespace, and accept a prefix with no command by @jbearak in #364
  • Indent the later lines of a #delimit ; statement like the lines after ///, instead of putting them at column 0 by @jbearak in #363
  • Read Mata and Python blocks the way Stata does: end tails, Python comments, blocks that end a program, and #delimit ; blocks by @jbearak in #365
  • Read a // or /// with code right before it as text, as Stata does, instead of joining the next line or starting a comment by @jbearak in #367
  • On Windows, ask to take over one of several open Statas instead of refusing, and name the one taken by @jbearak in #366
  • Report each sight parse --json error's severity, so warnings can be told from errors by @jbearak in #368
  • Read a column-0 // or /// as Stata does, and never format a // comment into code by @jbearak in #370
  • Send a /// statement whole when its continuation has a note by @jbearak in #371
  • Keep args and unab whole, end a program at a nested end, and stop AST formatting from losing code it can't parse by @jbearak in #369
  • Send a #delimit ; statement whole, and run it under #delimit ; by @jbearak in #372
  • Print more files with AST formatting, and keep Mata indentation, else if, and comments before a ; as written by @jbearak in #373
  • Send a whole block when the cursor is on its header or closer by @jbearak in #374
  • Read the body of a quietly, capture, or bare { } block, so its locals and do calls count by @jbearak in #376
  • Accept a standalone { } block, and report a block header with no { by @jbearak in #375
  • Stop reporting list retok as an undefined macro, read a syntax inside quietly { } as the signature, and make code after a non-if { an error by @jbearak in #378
  • Report a program's args from inside quietly { } in sight parse --json by @jbearak in #379
  • Send Upward and Downward Lines no longer cut a block in half by @jbearak in #377
  • Stop console-pty tests from hanging in CI: run the sight-pty helper tests in their own process, away from a Bun 1.3 double close by @jbearak in #380
  • Stop reporting a local as undefined after a call like _getrhs rhs, where the program sets it with c_local from an argument by @jbearak in #381
  • Stop treating c_local foo`x' as defining foo, and point a c_local local's definition at the call in the caller's file by @jbearak in #382
  • Stop reporting `touse' as undefined after marksample touse, which defines it as tempvar does by @jbearak in #383
  • Read local foox' 1 as defining foo + x's value, not foo, and stop the AST formatter from splitting it to local foo x' 1 by @jbearak in #384
  • Stop reporting constant' as undefined after syntax [, noCONStant], which defines it, not noconstant' by @jbearak in #385
  • Make the undefinedVariable setting work, checking only commands that take a varlist by @jbearak in #386

Full Changelog: v0.17.0...v0.17.1

Release v0.17.0

Release v0.17.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 19:26

What's Changed

  • Add sight console: Stata's console with highlighting, completion and colors by @jbearak in #335
  • Measure the data browser and plan its redesign by @jbearak in #333
  • Require VS Code 1.123, the first with Node 24 by @jbearak in #334
  • Keep VS Code responsive during data browser sorts, filters and copies (Phase 1a) by @jbearak in #336
  • Run sight console on Windows, driving the Stata app by @jbearak in #337
  • Ask where to send code instead of guessing by @jbearak in #338
  • Stop building sight binaries whose console can't start by @jbearak in #339
  • Read data browser pages in a thread on dta-parser 1.0, with R-style display (Phase 1b) by @jbearak in #340
  • Run sight console in the Stata pane on macOS and Linux, with nothing to install by @jbearak in #341
  • Keep the Stata console running across closed windows and dropped connections, with Perch in remote windows by @jbearak in #343
  • Stop property tests from flaking on if/in as variable names by @jbearak in #342
  • Start Sight's Stata console from Perch's terminal list, in local windows too by @jbearak in #344
  • Let users opt into pre-release builds with Switch to Pre-Release Version by @jbearak in #345

Full Changelog: v0.15.1...v0.17.0