Skip to content

Releases: Gelio/loose-ts-check

v2.0.0

01 Apr 15:40
Compare
Choose a tag to compare

BREAKING CHANGES

  • --auto-update will no longer add new file paths to the registry

    When there were errors that could be ignored because the error code is already
    ignored in other files, --auto-update used to add these new file paths to
    the registry. This allowed regressions to sneak in, since a file that was
    already conforming to the stricter config could re-appear in the registry of
    ignored files.

    In situations like this one, these file paths will be no longer added to the
    registry, and the program will fail when there are errors in files that could
    be ignored.

    If you need to start ignoring these errors, use the --init flag to
    regenerate the registries.

    See #16 for more information.

Engineering:

  • Include TypeScript 5.0 in integration tests.

Full Changelog: v1.3.0...v2.0.0

v1.3.0

08 Jan 17:24
Compare
Choose a tag to compare

Features:

  • Wildcard support in loosely-type-checked-files.json

    Paths in loosely-type-checked-files.json support wildcards now (e.g.
    src/**/* or node_modules/**/* or src/{a,b,c}/*.ts).

    Matching is done using minimatch.

Engineering:

  • Maintenance work (update npm packages, use newer Node versions in CI).

  • Add integration tests

    They give more confidence that the tool is working as expected.

v1.2.0

19 Nov 12:59
Compare
Choose a tag to compare

Features:

  1. Display unignored errors in the output

v1.1.0

11 Nov 14:55
Compare
Choose a tag to compare

Features:

  1. Detect which ignored error codes specified in the config that did not occur.

    If --auto-update is passed in, those error codes are automatically removed from the config.

Engineering:

  1. Refactor the code for easier maintenance
  2. Add unit tests for the CLI and individual functions

v1.0.1

11 Nov 09:44
Compare
Choose a tag to compare

Bugfix release

  1. Wait till the input ends before closing the input stream.

    This prevents displaying errors when piping output from a long-running TSC process when the
    loose-ts-check tool quits early due a config error.

v1.0.0

11 Nov 09:44
Compare
Choose a tag to compare

Initial release of the tool.

Features:

  1. Parse TSC errors from standard input (stdin)
  2. --init CLI option to initialize the configuration files (ignored errors and loosely type-checked
    files)
  3. CLI options to customize the paths to configuration files
  4. --auto-update CLI option to automatically update the list of loosely type-checked files when
    some file from no longer needs errors to be ignored

Engineering:

  1. Some unit tests using jest
  2. CI using GitHub Actions
  3. Compilation using TypeScript
  4. Formatting using prettier