From 63182528076911a4c264ab45e5e7d65debbec90c Mon Sep 17 00:00:00 2001 From: "czi-github-helper[bot]" <95879977+czi-github-helper[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:21:46 -0700 Subject: [PATCH] chore(main): release apiv2 1.3.0 (#279) * chore(main): release apiv2 1.3.0 --------- Co-authored-by: czi-github-helper[bot] <95879977+czi-github-helper[bot]@users.noreply.github.com> Co-authored-by: czi-github-helper[bot] --- .infra/prod/values.yaml | 8 ++++---- .infra/staging/values.yaml | 8 ++++---- .release-please-manifest.json | 2 +- apiv2/CHANGELOG.md | 23 +++++++++++++++++++++++ 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/.infra/prod/values.yaml b/.infra/prod/values.yaml index f45c62298..f30cb0ece 100644 --- a/.infra/prod/values.yaml +++ b/.infra/prod/values.yaml @@ -2,13 +2,13 @@ stack: services: apiv2: image: - tag: sha-497df01 + tag: sha-76a45c0 initContainers: # Install cerbos policies where the cerbos sidecar can grab them. - name: install-cerbos-policies image: repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2 - tag: sha-497df01 + tag: sha-76a45c0 command: ["cp", "-r", "./cerbos/", "/var/policies/"] volumeMounts: - mountPath: /var/policies @@ -24,7 +24,7 @@ stack: - name: run-migrations image: repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2 - tag: sha-497df01 + tag: sha-76a45c0 command: ["alembic", "upgrade", "head"] resources: limits: @@ -37,7 +37,7 @@ stack: - name: gen-keypair image: repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2 - tag: sha-497df01 + tag: sha-76a45c0 command: ["bash", "./etc/gen_keys.sh", "/var/keys/"] volumeMounts: - mountPath: /var/keys diff --git a/.infra/staging/values.yaml b/.infra/staging/values.yaml index f45c62298..f30cb0ece 100644 --- a/.infra/staging/values.yaml +++ b/.infra/staging/values.yaml @@ -2,13 +2,13 @@ stack: services: apiv2: image: - tag: sha-497df01 + tag: sha-76a45c0 initContainers: # Install cerbos policies where the cerbos sidecar can grab them. - name: install-cerbos-policies image: repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2 - tag: sha-497df01 + tag: sha-76a45c0 command: ["cp", "-r", "./cerbos/", "/var/policies/"] volumeMounts: - mountPath: /var/policies @@ -24,7 +24,7 @@ stack: - name: run-migrations image: repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2 - tag: sha-497df01 + tag: sha-76a45c0 command: ["alembic", "upgrade", "head"] resources: limits: @@ -37,7 +37,7 @@ stack: - name: gen-keypair image: repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2 - tag: sha-497df01 + tag: sha-76a45c0 command: ["bash", "./etc/gen_keys.sh", "/var/keys/"] volumeMounts: - mountPath: /var/keys diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8a47ec2e9..9fdaee225 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - "apiv2": "1.2.0" + "apiv2": "1.3.0" } \ No newline at end of file diff --git a/apiv2/CHANGELOG.md b/apiv2/CHANGELOG.md index 6f1f831cc..51a35be2d 100644 --- a/apiv2/CHANGELOG.md +++ b/apiv2/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [1.3.0](https://github.com/chanzuckerberg/cryoet-data-portal-backend/compare/apiv2-v1.2.0...apiv2-v1.3.0) (2024-10-08) + + +### Features + +* Align v1 and v2 schemas better ([#277](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/277)) ([2286dac](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/2286dacd613c7ef29a157e6151cf8fb886c8a5da)) +* support importing s3 files into the v2 database ([#275](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/275)) ([f04e5f3](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/f04e5f3df2482f8d8a630628cd8154f3e487a998)) +* track gain and mdoc files alongside runs ([#280](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/280)) ([483eee8](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/483eee815a94903898e70c0d776af82e91440782)) + + +### Bug Fixes + +* add is_standardized back temporarily ([#304](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/304)) ([dfe9a8b](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/dfe9a8bc409b7f011349992f0bd1923f4a9f4289)) +* Date fields on tomograms are net-new so they need to be nullable. ([#301](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/301)) ([cf8d2e0](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/cf8d2e0b97da7f0fb7a4ef28319e75f83ea1a9d1)) +* keep both `tomogram.is_canonical` and `tomogram.is_portal_standard` ([#303](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/303)) ([c65e2f6](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/c65e2f66244453f32c5f76f0e672171b199c0f3a)) +* make sure bool comparators don't require int input. ([#278](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/278)) ([991d9fa](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/991d9fadfe622268083d39628be3a0ea8eb456e3)) +* Make sure we're using DB connection pools properly. ([#285](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/285)) ([169f8d8](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/169f8d8429c452954f9e3f69acfb9542c9ac1335)) +* schema changes to support synthetic datasets. ([#282](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/282)) ([dfa24c0](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/dfa24c0e4d65287edb98b5fb0fd677f42b89dad7)) +* support filtering entities by related object id's ([#296](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/296)) ([6879a79](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/6879a7930e9b44d5be1b94c64545e710c883e1e5)) +* Update sync script to sync missing fields. ([#281](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/281)) ([c4b7f81](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/c4b7f8169765e668cfd05962443e66730fdc92c7)) +* use is_standardized rather than is_canonical ([dfe9a8b](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/dfe9a8bc409b7f011349992f0bd1923f4a9f4289)) +* workaround for docker compose bugs. ([#295](https://github.com/chanzuckerberg/cryoet-data-portal-backend/issues/295)) ([78daec3](https://github.com/chanzuckerberg/cryoet-data-portal-backend/commit/78daec360edaf6aad763dbd3f63f99098683dd2a)) + ## [1.2.0](https://github.com/chanzuckerberg/cryoet-data-portal-backend/compare/apiv2-v1.1.0...apiv2-v1.2.0) (2024-09-11)