Skip to content

Releases: ral-facilities/datagateway-api

v9.1.0

08 Oct 07:14
Compare
Choose a tag to compare

v9.1.0 (2024-10-08)

Build System

  • build: Fix installation issues in modern Python 3.8+ (88d6390)

Features

  • feat: Implement ReaderQueryHandler for entity and count endpoints (60c5254)

Unknown

  • Merge pull request #488 from ral-facilities/reader-performance-query

Implement Reader Performance Queries for /datafiles and /datasets (7fba647)

  • Add tests for reader performance queries (e361e2b)

  • Add columns to drop list for SQL dump diff

  • The final diff in the CI will still fail because main doesn't contain these dropped columns, but the initial diff to check that two runs produce identical data should pass (b7b2b07)
  • Upgrade dependencies and ignore vulnerabilities
  • As ever, the vulnerabilities that are being ignored are because we cannot upgrade due to being tied to 3.6 (642ea8b)
  • Code cleanup
  • Add docstrings
  • Remove client_pool kwargs
  • Add type hints
  • Fix any outstanding linting issues (a36b607)
  • Improve exception handling on reader account login
  • If there's an issue when logging in (e.g. due to invalid credentials), the user will now return a 500, not a 403 (74185f9)
  • Move import and remove whitespace (c5325b0)

  • Do config check before ReaderQueryHandler creation (dca658f)

  • Ensure reader client only initialised once (7b4d5af)

  • Remove unused imports (11f4a7b)

  • Move reader_client into ReaderQueryHandler (6a5d1e5)

  • Add entity type lookup when checking user access (6eed052)

  • Use clients from the pool for reader queries (b47391a)

  • Ensure API works when reader config isn't present in config file (292cfef)

  • Add repr for WHERE filter to make logging them more readable (350480b)

  • Add class to handle queries which should be done by reader account (c9449f4)

  • Add config section for reader performance query option (720dbf4)

v9.0.3

01 Aug 10:09
Compare
Choose a tag to compare

v9.0.3 (2024-08-01)

Build

  • build(deps): bump python-semantic-release/python-semantic-release

Bumps python-semantic-release/python-semantic-release from 8.0.8 to 8.3.0.


updated-dependencies:

  • dependency-name: python-semantic-release/python-semantic-release
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]> (55061c3)

Ci

  • ci: Add more ignores on Safety session (a72af44)

Fix

  • fix: Upgrade dependencies and ignore further vulnerabilities (303529d)

  • fix: Update icat_db_generator.py to properly set datafileCreateTime & datafileModTime #486 (23ac563)

Style

Unknown

  • Merge pull request #487 from ral-facilities/#486-fix-datafileCreateTime-datafileModTime

Update icat_db_generator.py to properly set datafileCreateTime & datafileModTime (7ecf5d9)

  • Merge pull request #469 from ral-facilities/safety-ignore

Add more ignores on Safety session (a9f336c)

  • Merge pull request #465 from ral-facilities/dependabot/github_actions/python-semantic-release/python-semantic-release-8.3.0

build(deps): bump python-semantic-release/python-semantic-release from 8.0.8 to 8.3.0 (5ac810a)

v9.0.2

04 Jan 07:40
Compare
Choose a tag to compare

v9.0.2 (2024-01-04)

Ci

  • ci: Ignore Safety vulnerabilities #467
  • As normal, we can't upgrade because all patched versions have dropped support for Python 3.6 (05b3e13)
  • ci: Add job to test that the API can be installed via Pip #467 (8c2258d)

Fix

  • fix: Pin Flask to 2.0.3 in pyproject.toml #467
  • This will ensure this version is used when the API is installed via Pip (50dd13c)

Unknown

  • Merge pull request #468 from ral-facilities/pip-install-#467

Fix Pip Install Issues (2d7736f)

v9.0.1

07 Sep 13:31
Compare
Choose a tag to compare

v9.0.1 (2023-09-07)

Ci

  • ci: fix Safety CI job
  • As ever, we're having to ignore these vulnerabilities as patched versions don't support Python 3.6 (04c3eaf)

Fix

  • fix: Make DataPublicationDate.date to be different to DataPublication.publicationDate #444 (312c466)

Unknown

  • Merge pull request #447 from ral-facilities/bugfix/data-publication-dates-#444

fix: #444 Generate publication dates between two specific dates (b21002e)

v9.0.0

01 Sep 07:53
Compare
Choose a tag to compare

v9.0.0 (2023-09-01)

Breaking

  • feat!: Remove code and references to ISIS specific table endpoints #432 (12e0304)

Build

  • build(deps): bump python-semantic-release/python-semantic-release

Bumps python-semantic-release/python-semantic-release from 7.34.4 to 8.0.8.


updated-dependencies:

  • dependency-name: python-semantic-release/python-semantic-release
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (7216beb)

  • build(deps): bump actions/checkout from 3.5.2 to 3.6.0

Bumps actions/checkout from 3.5.2 to 3.6.0.


updated-dependencies:

  • dependency-name: actions/checkout
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]> (806367d)

  • build(deps): bump actions/setup-java from 3.11.0 to 3.12.0

Bumps actions/setup-java from 3.11.0 to 3.12.0.


updated-dependencies:

  • dependency-name: actions/setup-java
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]> (291abff)

  • build(deps): bump actions/setup-python from 4.6.0 to 4.7.0

Bumps actions/setup-python from 4.6.0 to 4.7.0.


updated-dependencies:

  • dependency-name: actions/setup-python
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]> (5d0f4eb)

  • build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4

Bumps codecov/codecov-action from 3.1.3 to 3.1.4.


updated-dependencies:

  • dependency-name: codecov/codecov-action
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <[email protected]> (52683d6)

  • build: Update PyYAML to fix 3.10 CI tests (82c3495)

  • build(deps): bump python-semantic-release/python-semantic-release

Bumps python-semantic-release/python-semantic-release from 7.33.2 to 7.34.4.


updated-dependencies:

  • dependency-name: python-semantic-release/python-semantic-release
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]> (c07bf92)

Ci

  • ci: Ignore new vulernabilties that cannot be fixed (97cb59e)

  • ci: fix GitHub Actions error (2319b35)

  • ci: remove reference to setuptools issue across CI

  • This is no longer needed as Python ICAT 1.0 is now used, which doesn't require an older version of setuptools (bd0a1ad)

Unknown

  • Merge pull request #448 from ral-facilities/remove-isis-endpoints-#432

feat!: Remove code and references to ISIS specific table endpoints (2825ea2)

  • Merge branch 'main' into remove-isis-endpoints-#432 (e667c78)

  • Merge pull request #445 from ral-facilities/dependabot/github_actions/python-semantic-release/python-semantic-release-8.0.8

build(deps): bump python-semantic-release/python-semantic-release from 7.34.4 to 8.0.8 (60c539c)

  • Merge pull request #446 from ral-facilities/dependabot/github_actions/actions/checkout-3.6.0

build(deps): bump actions/checkout from 3.5.2 to 3.6.0 (4e83e6b)

  • Merge pull request #441 from ral-facilities/dependabot/github_actions/actions/setup-java-3.12.0

build(deps): bump actions/setup-java from 3.11.0 to 3.12.0 (9761870)

  • Merge pull request #436 from ral-facilities/dependabot/github_actions/actions/setup-python-4.7.0

build(deps): bump actions/setup-python from 4.6.0 to 4.7.0 (b4d3c27)

  • Merge pull request #423 from ral-facilities/dependabot/github_actions/codecov/codecov-action-3.1.4

build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 (ea38bbc)

  • Containerize application and configure GitHub Actions to build and push Docker image to Harbor (#426)

  • Set python image #354

  • Upgrade pip #354

  • Install Poetry #354

  • Install a different version of setuptools #354

  • Install Gunicorn #354

  • Install the app dependencies #354

  • Serve the app on a Gunicorn server #354

  • Pin Poetry version #354

  • Define Actions job for building and pushing Docker image to Harbor #355

  • Configure job to only run after other jobs succeed #355

  • Configure job to login to Harbor #355

  • Configure job to extract Docker metadata #355

  • Configure job to build image #355

  • Configure job to push image to Harbor on pushes to k8s-deployment branch #355

  • Add job documentation and TODOs #355

  • Configure dependabot to maintain GH Actions dependencies #355

  • Add TODO for branch name of push events #355

  • Update Dockerfile and add entrypoint script

  • Use specific python and alpine versions in the base image

  • Pin python package versions in Dockerfile

  • Use a cache mount to speed up pip and poetry

  • Comment the RUN step

  • Move things out of the datagateway-api-run directory

  • Remove workaround that is no longer needed

  • log_location value should not be quoted

  • Only copy necessary files to build container

  • Improve readability of RUN instructions

  • Use a temp file instead of sed -i in entrypoint script

  • Create a symlink to the installed python module

  • Address TODOs

  • Change default value of ICAT_CHECK_CERT ENV

  • Upgrade and pin actions to commit SHAs

  • ci(docker): bump actions/checkout to 3.5.3 in docker job

  • Update README


Co-authored-by: Alan Kyffin <[email protected]> (176417b)

  • Merge pull request #449 from ral-facilities/ci-failures

Fix CI failures (c503f9c)

  • Merge pull request #419 from ral-facilities/relax-codecov-checks

Relax codecov checks (34a2662)

  • Merge pull request #434 from ral-facilities/dependabot/github_actions/python-semantic-release/python-semantic-release-...
Read more

v8.0.0

25 Apr 14:44
Compare
Choose a tag to compare

Fix

  • Add url_prefix param to fix swagger docs at non-root paths #408 (49632ea)

Breaking

  • add url_prefix param to fix swagger docs at non-root paths #408 (49632ea)

v7.1.0

23 Mar 10:06
Compare
Choose a tag to compare

Feature

  • Add icat 5 entity generation to the data generator script (579e321)

v7.0.0

24 Feb 13:09
Compare
Choose a tag to compare

Feature

Breaking

  • modify Search API endpoint URL paths (1dc815b)
  • add scoring related values to config (0472d96)

Documentation

  • Add search scoring information to README #398 (a4f833e)

v6.3.2

24 Feb 10:32
Compare
Choose a tag to compare

Fix

  • Add triggers for later stages of consistency test (2d7d677)

v6.3.1

23 Feb 15:54
Compare
Choose a tag to compare

Fix

  • Remove dataset filesize generator (fb466dd)