Skip to content

Latest commit

 

History

History
283 lines (193 loc) · 19.4 KB

File metadata and controls

283 lines (193 loc) · 19.4 KB

Changelog

3.1.0

  • FEATURE: Add visit_ignored_arguments configuration. By default, Necessist does not descend into (e.g., remove statements and methods from) the arguments of ignored functions. Setting this configuration to true causes it to do so. (ae51dc3)
  • Dependency updates
    • swc_core upgraded to version 73.0

3.0.0

  • Reduce unnecessary blank lines (91c3a72)
  • BREAKING: Improve Rust test detection (ed3fd0c)
  • BREAKING: When --root <ROOT> is passed, interpret relative paths relative to <ROOT> (3045243)
  • Dependency updates
    • git2 upgraded to version 0.21
    • itertools upgraded to version 0.15
    • sha2 upgraded to version 0.11
    • swc_core upgraded to version 71.0

2.2.0

  • Add experimental --no-lines-or-columns option (4846795)
  • Add support for PHP (c414a50, dec887d, and 81eafd5)
  • Dependency updates
    • strum_macros upgraded to version 0.28
    • strum upgraded to version 0.28
    • subprocess upgraded to version 1.0
    • swc_core upgraded to version 58.0
    • toml_edit upgraded to version 0.25
    • toml upgraded to version 1.0
    • tree-sitter upgraded to version 0.26

2.1.3

  • Expand is_it_call_expr to work with function expressions (b9771db)
  • Expand it messages that Mocha backend can detect (9c13b2e)
  • Return reasons for build failures (85fce01)
  • Upgrade swc_core to version 47 (4ed813f)
  • In Foundry backend, track bytes rather than chars (bd10591)
  • Skip pure functions in Foundry backend (fc57bf6)

2.1.2

  • Upgrade dependencies, including:
    • indicatif to version 0.18 (#1595)
    • libsqlite3-sys to version 0.35 (#1610)
    • solang-parser to version 0.3.5 (#1587)
    • swc_core to version 38 (#1659)
    • toml to version 0.9 (#1617)
    • toml_edit to version 0.23 (#1609)
    • tree-sitter-go to version 0.25 (#1660)
    • windows-sys to version 0.60 (#1580)
  • Add "Running" section to README.md (#1638)—thanks @fcasal for the suggestion
  • Eliminate use of if_chain (#1645)

2.1.1

  • Fix typo in "Configuration files" section of README.md (#1538)—thanks @jasonpetro
  • Upgrade rewriter to version 0.2 (#1540)
  • Fix typo in "Possible theoretical foundation" section of README.md (#1542)—thanks @willyross

2.1.0

  • Remove deprecated anchor-ts and hardhat-ts framework aliases (#1483)
  • FEATURE: Accept directory names on the command line (#1499)—thanks @turkaturki
  • Update libsqlite3-sys to version 0.30 (#1514 and #1529)
  • Update swc_core to version 22 (#1516)
  • FEATURE: Support Vitest as a test runner for Anchor (#1509)
  • Ignore calls to vm.startSnapshotGas and vm.stopSnapshotGas in Forge backend (#1525 and #1530)
  • Correct two README.md omissions (#1531 and #1533)

2.0.0

  • Update strum to version 0.27 (#1439)
  • Update strum_macros to version 0.27 (#1442)
  • Fix a bug that caused TypeScript files with tab characters to be mishandled (#1464)
  • Ignore throw statements in Mocha-based tests (efae165)
  • Peel FunctionCallBlock expressions in Foundry backend (36c4855)
  • BREAKING CHANGE: Eliminate --no-dry-run option. During a dry run, Necessist records which tests execute which spans. This information facilitates testing span removals, because only the test(s) relevant to a span must be executed. (#1472)
  • Add experimental --dump-candidate-counts option (#1468)
  • Update libsqlite3-sys to version 0.31 (#1479)
  • Add support for the Vitest framework (#1475)
  • Update swc_core to version 16 (#1478)

1.0.4

  • Upgrade tree-sitter to version 0.25 (#1435)

1.0.3

  • Upgrade itertools to version 0.14 (#1426)
  • Upgrade swc_core to version 12 (#1427)

1.0.2

  • Upgrade git2 to version 0.20 (#1409)
  • Change "Test Harness Mutilation" paper url. The ieeexplore.ieee.org url was returning invalid HTTP response codes. (#1423)
  • Upgrade swc_core to version 11 (#1422)

1.0.1

  • Upgrade tree-sitter-go to version 0.23.4 (#1371)
  • Upgrade swc_core to version 9 (#1376 and #1393)
  • Refine regular expression used to identify times in Mocha logs (#1378)
  • Allow Mocha test files to have .js extensions (#1379)
  • Upgrade cargo_metadata to version 0.19 (#1388)

1.0.0

  • Fix caching in the Rust backend. The backend was recomputing data that was supposed to be cached. (#1343)
  • Ignore log macros (debug!, error!, info!, trace!, and warn!) in the Rust backend (#1344)
  • Update swc_core to version 4 (#1345)
  • BREAKING CHANGE: Make walking local functions opt-in rather than the default. Version 0.7.0 made walking local functions the default. However, this caused problems in languages such as Rust, where test and non-test functions could be declared within the same file. Specifically, the non-test functions would be walked, creating unnecessary noise. PR #1351 requires users to name the functions that should be walked, rather than assume they all should be. (#1351)

0.7.1

  • Update tree-sitter to version 0.24 (#1326)
  • Update swc_core to version 1.0 (#1327)
  • Update documentation (#1328)
  • Fix a bug in the Anchor backend causing it to rebuild only Rust source files and not TypeScript source files (cf36b40)

0.7.0

  • Update libsqlite3-sys to version 0.30 (#1260)
  • Update swc_core to version 0.102 (#1263)
  • Do not consider TestMain a test in Go backend (#1266)
  • Add Helper as an ignored method in the Go backend (#1276)
  • FEATURE: Walk functions that are declared within the same files as the tests that call them (#1268)
  • Update tree-sitter and tree-sitter-go to version 0.23 (#1279)

0.6.4

  • Update windows-sys to version 0.59 (#1231)
  • Update libsqlite3-sys to version 0.29 (#1233)
  • Update swc_core to version 0.101 (#1246)

0.6.3

  • FEATURE: When a test cannot be run, show why (#1201)
  • Update swc_core to version 0.99 (#1204)

0.6.2

  • Update swc_core to version 0.96 (#1178)
  • Fix a bug causing Necessist to fail to build tests with recent versions of Foundry (af5098f)
  • Improve Foundry test detection, i.e., when "Failed to run test..." warnings should be emitted (#1186)
  • Fix necessist-backend's rerun-if-changed instructions, whose mention of a nonexistent file was causing the package to be unnecessarily rebuilt (#1187)
  • Shorten --framework values anchor-ts and hardhat-ts to just anchor and hardhat (respectively). anchor-ts and hardhat-ts continue to work as aliases for the shortened values. (de21f2e)
  • Improve error messages when certain Anchor and Hardhat files cannot be found (e6e756e)

0.6.1

  • Don't remove expressions that end blocks in Rust code (#1162)
  • Update git2 to version 0.19 (0de7726)

0.6.0

  • Don't remove const and type declarations in Go code (#1139)
  • Update swc_core to version 0.95 (#1146)
  • FEATURE: Use mutant schemata in the spirit of Untch, et al. '93 when removing statements. This should make running Necessist faster. (252ed2e)

0.5.1

  • Update solang-parser to version 0.3.4 (#1132)

0.5.0

  • Fix mishandling of multibyte characters in the Go framework (#1127)
  • FEATURE: More informative summaries, e.g., "k removal candidates in m tests in n test files". Also, tests and test files are counted even if they contain no removal candidates. (fixes #850) (#1128)

0.4.9

  • Add panic to list of ignored Go functions (#1093)
  • Update swc_core to version 0.92 (#1099)

0.4.8

  • Update swc_core to version 0.91 (#1085)

0.4.7

  • Update libsqlite3-sys to version 0.28 (#1048)
  • Update tree-sitter to version 0.22 (674f1ff)
  • Update tree-sitter-go to version 0.21 (48f716f)

0.4.6

  • Update heck to version 0.5 (#1034)

0.4.5

  • Eliminate reliance on is-terminal (#1008 and 7878f3e)
  • Fix README.md table of contents (f0c3c7a)
  • Add readme explaining origin of pt.rs file (#1015)
  • Update toml_edit to version 0.22 (#1026)

0.4.4

  • Update strum_macros to version 0.26 (#975)
  • Update swc_core to version 0.90 (#976 and #992)
  • Update strum to version 0.26 (#978)
  • Include a copy of Solang's pt.rs in the repository, rather than download it when building (#986)

0.4.3

  • Update swc_core to version 0.88.1 (#963)
  • Update shlex to version 1.3.0 (#967)
  • Update env_logger to version 0.11.0 (#969)

0.4.2

  • Give an example when "configuration or test files have changed" (fix #248) (#936)
  • Make --resume work correctly following a dry run failure (fix #249) (#936)
  • Make parsing failures warnings instead of hard errors (fix #245) (#947)

0.4.1

  • Update windows-sys to version 0.52.0 (#911)

0.4.0

  • Make error messages more informative (#901 and #900)
  • FEATURE: Limited Windows support (#879)

0.3.4

  • Fix link to README.md (#887)
  • Strip ANSI escapes from build and test command output (a problem affecting forge, for example) (#886)

0.3.3

  • Fix a bug involving the Foundry framework's handling of extra arguments (#884)

0.3.2

  • Update list of ignored Rust methods (51a0ec4)

0.3.1

  • Simplify warning message (20cf99e)
  • Initialize Sqlite database lazily (00e2446)

0.3.0

  • Ignore Skip, Skipf, and SkipNow methods in Go framework (#759 and #760)
  • 94e81c6 unintentionally removed recursive_kill's post-visit behavior. 381a0ff restores the post-visit behavior, but retains the non-recursiveness that 94e81c6 introduced. (381a0ff)
  • Add ability to ignore tests (#798)
  • Lock project's root directory to help protect against concurrent uses of Necessist (#791)

0.2.3

  • Limit the number of threads a test can allocate (275b097)
  • Make one recursive function not recursive to reduce the likelihood of a stack overflow (94e81c6)

0.2.2

  • Use pnpm if a pnpm-lock.yaml file exists (bfb30b0)

0.2.1

  • Fix a bug involving the Foundry framework's handling of trailing semicolons (#663)

0.2.0

  • Add Anchor framework (#587)

0.1.3

  • Verify that package.json exists before installing Node modules (#580)—thanks @0xPhaze

0.1.2

  • Migrate away from atty (#556)
  • Improve Rust test discovery (#537)

0.1.1

0.1.0

  • Initial release