Skip to content

Latest commit

 

History

History
197 lines (135 loc) · 16.7 KB

CHANGELOG.md

File metadata and controls

197 lines (135 loc) · 16.7 KB

0.9.3 (2023-02-21)

Bug Fixes

  • update package/package-lock when release runs (32d326c)

0.9.2 (2023-02-20)

Bug Fixes

  • publish v0.9.3 (8e992c1)
  • use context var instead of hardcoding (cf7593c)
  • use context var instead of hardcoding (ecc88bd)

Reverts

  • strip quotes from stringified content (56e223b)

0.9.2 (2023-02-20)

Bug Fixes

  • use context var instead of hardcoding (cf7593c)
  • use context var instead of hardcoding (ecc88bd)

Reverts

  • strip quotes from stringified content (56e223b)

0.9.1 (2023-02-17)

Bug Fixes

  • split build and cleanup release (94d9fac)

0.9.0 (2023-02-17)

Bug Fixes

  • add backwards compatibility for blacklist -> denylist switch (002deae)
  • add command-exists test to axioms for stability, moved from sync to async calls (#182) (0da11b9)
  • add missing github-markup dependencies to dockerfile (b5fb88a)
  • attempt to fix timeout on MacOS when running axioms (05e81ad)
  • broken test case. (4816a53)
  • explicitly check-out the forked repo for release job (5c7d05b)
  • file-hash now accepts legacy configuration format (d509274)
  • fix axiom object with invalid axiom (11e7048)
  • fix broken link behavrior with files in subdirectories (6c14db9)
  • fix flaky glob behavior with broken symlinks (57c0dfd)
  • fix path seperator in symlink detection (3898ed5)
  • fix pathing issues and succeed/fail criteria with no files found (c0c101b)
  • jsdoc initial rules (d200c51)
  • minor updates to the markdown formatter (#180) (45ee596)
  • move command-exists to dependencies (72abd8a)
  • remove accidental shadowing of fs (d5d6359)
  • remove lstat check, fix flakey fs tests (a154a89)
  • remove npm from plugins (a628f6c)
  • remove Object.fromEntries for node 10 support (0644374)
  • schema $id mixup. (6bc0828)
  • strip quotes from stringified content (5222510)
  • switch to canonical broken-link-checker (#205) (e62d767)
  • undo change (cd23a3a)
  • undo change (33d6384)
  • update action to semantic-relase v19.0.5 is used (b043a24)
  • update axioms, fixes and rules for documentation (7432dfe)
  • update base image (1d0a938)
  • update dockerfile to fix bad copying (#224) (92389be)
  • update dockerfile to reconfigure bundle which (may) have caused some bugs on linux (889da3e)
  • update github-markup to remove python2 dependency (#209) (0c7c50c)
  • update JSON schema URLs to point to TODOGroup repo (9d397ef)
  • update test case for 'fail-on-non-existent' scenario, the 'passed' of non-exist file should depend on the parameter. (e31bfb3)
  • upgrade broken-link-checker to add node 10 support (4f00b33)
  • upgrade ruby gems to latest version (e36c10a)
  • windows compatibility fixes (8fc0540)
  • windows fixes (d52353e)

Features

  • add 'files-not-contents' rule to make string detection rulesets easier to maintain. (093afc3)
  • add better regex context support for file-contents (2ff65d1)
  • add file-not-exists rule (184b787)
  • add file-not-exists rule (#183) (ebca0b1)
  • add file-remove fix (04743ce)
  • add file-remove fix (#181) (ee913b3)
  • add files-not-hash rule for files detections. (d2f262a)
  • add large file rules (2e48a85)
  • add lines of regex match in the file-contents and file-not-contents rule output, default turned off. (9831684)
  • add policyUrl and policyInfo in the default output. (fb81866)
  • add support for inheriting rulesets (#207) (ca1ae01), closes #21
  • add YAML support in config (fb6c743)
  • finalize no broken links rule and dockerfile (c1b1f72)
  • merge contributor-count axiom into fork (f3dc857)
  • no-broken-links: add option to pass or not pass in external links (aaa92f8)
  • switch to fork of broken-link-checker (7df3086)
  • update dockerfile to reflect new dependencies (c256af7)
  • WIP adding a broken link checker rule (9e8bb98)

0.11.2 (2021-09-27)

Bug Fixes

  • update dockerfile to fix bad copying (#224) (92389be)

0.11.1 (2021-04-14)

Bug Fixes

  • update github-markup to remove python2 dependency (#209) (0c7c50c)

0.11.0 (2021-04-14)

Features

0.10.1 (2021-03-25)

Bug Fixes

  • switch to canonical broken-link-checker (#205) (e62d767)

0.10.0 (2020-12-30)

Bug Fixes

  • add missing github-markup dependencies to dockerfile (b5fb88a)
  • file-hash now accepts legacy configuration format (d509274)
  • fix broken link behavrior with files in subdirectories (6c14db9)
  • fix pathing issues and succeed/fail criteria with no files found (c0c101b)
  • remove Object.fromEntries for node 10 support (0644374)
  • update dockerfile to reconfigure bundle which (may) have caused some bugs on linux (889da3e)
  • upgrade broken-link-checker to add node 10 support (4f00b33)
  • upgrade ruby gems to latest version (e36c10a)

Features

  • finalize no broken links rule and dockerfile (c1b1f72)
  • update dockerfile to reflect new dependencies (c256af7)
  • no-broken-links: add option to pass or not pass in external links (aaa92f8)
  • switch to fork of broken-link-checker (7df3086)
  • WIP adding a broken link checker rule (9e8bb98)

Changelog

1.0.0

Breaking Changes

  • The ruleset configuration format has been upgraded to version 2, including adding a JSON schema and support for YAML. The previous ruleset format is still supported, however it is recommended that you translate your rulesets for this upgrade.
  • Major changes have been made to the lint function:
    • Formatting and printing have been moved outside lint, allowing the developer to suppress or modify the output as needed. This change is reflected in the new CLI implementation.
    • The object returned by lint (LintResult) has been completely restructured.
    • A dryRun parameter has been added to disable fixes.
    • async was added to the function interface.
  • Major changes have been make to the JSON Formatter to accommodate the structure change of LintResult.
  • Non top-level configuration support (ex. targetdir/otherdir/repolinter.json would trigger another lint of otherdir) has been removed for now.
  • Renamed several rule options to more clearly convey functionality (files -> globsAny) and remove problematic language (blacklist -> denylist). Backwards compatibility for old property names in version 1 rulesets is still maintained, however the schema will fail to validate in version 2.
  • Some slight changes have been made to the default formatter to accommodate the feature list below.

Features

  • Automatic fixes have been added. These fixes must be configured in your ruleset before they can be used, but are otherwise enabled by default.

  • Markdown formatting is now supported via a CLI argument.

  • CLI argument parsing has re-implemented with Yargs to allow for a more user-friendly experience. All previous commands and arguments remain, and the following new options are now available:

    • --dryRun/-d - Disable fixes.
    • --allowPaths/-a - Specify an allowlist that repolinter should limit itself to.
    • --rulesetFile/-r - Manually specify the configuration repolinter should use.
    • --rulesetUrl/-u - Specify a URL where repolinter can retrieve the ruleset from.
    • --format/-f - Change the output format.

    For more information on these options please see the Repolinter CLI.

  • Added several other functions to the Node API: runRuleset, determineTargets, validateConfig, and parseConfig.

  • Added TypeScript types for the Node API.

  • Add numerical comparison support for axioms and the contributor-count axiom.

Fixes

  • All file-based operations have been moved to fs.promises, which increased performance by a factor of 10.
  • Fixed some issues with Windows paths.
  • Updated NPM dependencies.
  • Added more tests and autogenerated documentation.