Skip to content

v0.105.0

Compare
Choose a tag to compare
@danielafeitosa danielafeitosa released this 13 Aug 01:34
· 163 commits to develop since this release

This note describes the latest changes on API and local development environment.

New ⭐

New mutations were added to this release. Most of them related to bulk operations:

  • deleteTeamStatus: delete a team status and change existing items to another status
  • updateProjectMediaProject: update the relation between a project media and a project
  • Bulk operations:
    • updateProjectMedias: send or restore trashed project medias
    • createProjectMediaProjects: add project medias to lists
    • updateProjectMediaProjects: move project medias from one list to another
    • destroyProjectMediaProjects: remove project medias from a list

Changes ♻️

Existing queries were changed, some arguments and fields were included or removed:

  • Team type: included two new arguments on field verification_statuses
    • items_count: when true, get the number of items that are marked with each team status
    • published_reports_count: when true is sent, get the number of reports published with each team status
  • User type: included the argument status on field team_users to filter only the team associations that have the specific status
  • ProjectMedia type: removed field verification_statuses. Please get it from Team type
  • PublicTeam type: removed field verification_statuses. Please get it from Team type
  • updateProjectMedia and destroyProjectMedia: these mutations now are exclusive for single operations with project medias
    • removed argument ids and payload field affectedIds
  • createTags mutation: removed payload field enqueued. The mutation now is executed in foreground
  • ⬆️ Upgraded PostgreSQL database to version 11: users that are running Check locally should follow these instructions to upgrade the database: https://github.com/meedan/check#upgrading-databases-in-development-environment