Skip to content

Releases: DasSkelett/AVC-VersionFileValidator

v1.4.0

08 Feb 13:20
9bf127a
Compare
Choose a tag to compare
  • Point workflow examples to master branch
  • Annotate warnings and errors in PR "Changes" overview (#17 by: DasSkelett)
  • Raise exception for bad HTTP codes of remote version files
  • Update Dockerfile to Python 3.10

For usage instructions see README.md, older release notes can be found in the CHANGELOG.md.

v1.3.1

20 Jun 10:22
32c3bfe
Compare
Choose a tag to compare
  • Fix TypeError when formatting logging messages that don't have any args (#15 by: DasSkelett)
  • Add 'only' parameter to Action; Changes to this repo's workflow setup (#16 by: DasSkelett)

For usage instructions see README.md, older release notes can be found in the CHANGELOG.md.

v1.3.0

20 May 12:43
715486d
Compare
Choose a tag to compare
  • Don't fail validation for invalid remote files (#11 by: DasSkelett)
  • Update requirements (#12 by: DasSkelett)
  • Allow specifying list of files to validate in console (#13 by: DasSkelett)
  • Check version range for possible simplification (#14 by: DasSkelett)

For usage instructions see README.md, older release notes can be found in the CHANGELOG.md.

v1.2.1

12 Feb 01:06
75f7f8f
Compare
Choose a tag to compare
  • Convert to GitHub raw URIs before downloading remote files (#7 by: DasSkelett)
  • Fix incorrect compatibility warning for "KSP_VERSION": "any" (#8: by DasSkelett)
  • Download schema + build map only once during tests (#9 by: DasSkelett)

For usage instructions see README.md, older release notes can be found in the CHANGELOG.md.

v1.2.0

26 Jan 13:56
2a65417
Compare
Choose a tag to compare
  • Validate remote version file if specified with URL property.
  • Make the validator importable as a package (#4 by: DasSkelett)
  • Use logging instead of print(), make use of the Action logging syntax (#4 by: DasSkelett)
  • Implement KSP version comparison logic + warn for outdated KSP compatibilities (#5 by: DasSkelett)
  • Throw validation errors only once; format 'requests' debug logging (#6 by: DasSkelett)

For usage instructions see README.md, older release information can be found in the CHANGELOG.md.

v1.1.1

18 Dec 19:55
f3d0880
Compare
Choose a tag to compare
  • Add requirements.txt for easier dev env setup.
  • Add examples in the examples/ folder. The standard.yml should cover most use cases.
  • Do not overwrite requirements.txt if it exists in the triggering repo.

The usage section in the README.md should hopefully be clearer to read now.

v1.1.0 - Exclusion wildcards

17 Dec 20:07
3004122
Compare
Choose a tag to compare
  • Allow wildcards in the exclusion input arguments. They are evaluated according to Python3's pathlib.Glob() function, so recursive exclusions (**/*.version) are supported.
    The exclusion value has to be a JSON array now!
  • Output handy details when finishing validation (number of failed, successful, ignored)
  • Add CHANGELOG.md
  • Push PyCharm IDE settings into repository.
    Includes configurations for running the tests in a container or on the host directly,
    running the validator itself in one of the test workspaces (container or host).
  • Unit test setup

For usage information, see README.md.

v1.0.0

16 Dec 23:37
497817a
Compare
Choose a tag to compare

First time working!
Currently available features:

  • Scan your repo for files ending with .version, check if they're valid JSON and validate them against the KSP-AVC schema.
  • Exclude specific files from validation:
        with:
          exclude: 'invalid.version,test/corruptversionfile.version'

For usage information, see the README.md