Skip to content

Releases: Materials-Consortia/optimade-validator-action

v2.7.0

16 May 12:52
Compare
Choose a tag to compare

Developer update

This minor release update implements the usage of pre-commit with subsequent style, linting, and minor security updates to the Python code.
Testing has also improved and the BATS system has been updated to the latest version, ensuring the code is up-to-date and stable with regards to the latest environment changes.

Changelog

v2.7.0 (2022-05-16)

Full Changelog

v2 (2022-05-16)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • GH GraphQL type issue in auto-merge workflow #94
  • Auto-merge dependabot PRs workflow failing #80

Closed issues:

  • Failure to install optimade package deps #98
  • Dependabot single PR workflow failing #82

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

v2.6.0

20 Aug 12:48
Compare
Choose a tag to compare

Changes:

  • Action now supports OPTIMADE v1.1 and validates against it by default (#69, @CasperWA)

Fixes:

  • Pinned action Docker image version to avoid fix domain detection (#71, @CasperWA)

v2.5.0

10 Mar 10:46
Compare
Choose a tag to compare

Enhancements:

  • Added minimal option to make use of minimal set of tests during validation (~100x fewer requests) (#60, @ml-evs)

v2.4.0

11 Feb 11:46
Compare
Choose a tag to compare

Fixes:

  • Ensure the input parameter validate unversioned path is uniform throughout the code and the action (#55, @CasperWA)
  • The as type input parameter now ensures the OPTIMADE Validator is run in the expected way (#57, @CasperWA).
    The expected way, is that it will take the URL (from protocol, domain, and path) as is, and run the validator with this and the passed as type value.
    The input parameters index, all versioned paths, and validate unversioned path will all be ignored when as type is supplied, since they are either not allowed in the validator or are irrelevant.
    For more information, see the README.

v2.3.0

11 Jan 11:40
Compare
Choose a tag to compare

Fixes:

  • By default, unversioned URLs are no longer validated as full OPTIMADE implementations. This is controlled by the validate_unversioned_path argument, which is false by default.

v2.2.2

11 Oct 22:48
Compare
Choose a tag to compare

Fixes:

  • Action was failing when run without test harness due to a missing directory (#48)

v2.2.1

28 Sep 16:50
Compare
Choose a tag to compare

Fixes:

  • The new helper.py was not called correctly in entrypoint.sh, resulting in a failed v2.2.0 release (#44).
    Now the Python script is called using its absolute path.

Developer:

  • To ensure the BATS tests are still working correctly, another search-and-replace is added to the test-specific entrypoint.sh created during setup of the BATS tests run (#44).

v2.2.0

28 Sep 15:46
Compare
Choose a tag to compare

Changes:

  • Add input parameter create output (default: false) (#42):
    If True, this will utilize the -j/--json option in the OPTIMADE Validator and create a JSON output similar to the output from the Validator. However, this output will be a single JSON object, where the keys correspond to the version part of the versioned base URL that is tested. If it's the unversioned base URL the key will be "unversioned".
    If False, the output from this action will be an empty JSON object.
  • Add output parameter results (default: {}) (#42):
    This is the parameter with which the collective JSON object can be retrieved. It will only not be empty if the input parameter create output is true.

Developer:

  • A helper.py Python script has been created to perform the previous in-line Python jobs in entrypoint.sh (#42).
  • A similar ci_helper.py is utilized in the CI tests (#42).
  • Additional BATS and CI tests have been added to make sure the output parameter results returns the expected value (#42).

v2.1.0

17 Sep 16:06
Compare
Choose a tag to compare

Changes:

  • Any failures inside the validation script now return an error in the action itself (#28)
  • validator_versions below 0.10 are no longer support (#37)
  • The behavior of the all_versioned_paths option has been modified to reflect the necessity of unversioned base URLs according to the v1.0 release of the OPTIMADE specification (#34).

Miscellaneous:

  • Fixes to the automated release process (#30, #33)

v2.0.1

16 Sep 16:23
v2.0.1
Compare
Choose a tag to compare

Fixes:

  • Installing specific version of the source package (optimade) that holds the validator (#27).
  • Fail workflow if the validation fails (#28).

Miscellaneous:

  • Have dependabot check dependencies in GitHub Actions workflows and Dockerfiles (#29).
  • Use new GitHub Actions workflow for releasing (#30).