Skip to content

Releases: uktrade/data-hub-api

v4.1.0

27 Jun 12:55
6ab92ca
Compare
Choose a tag to compare

Companies

  • Added an archived filter to company search

Investment projects

  • Added daily service performance indicator (SPI) report generation with report downloads via the admin site
  • Restricted who can move a project to Verify win to the project manager or project assurance adviser for the project
  • Restricted who can move a project to Won to the Investment Verification Team (or anyone with the relevant permission)
  • Added a one-time migration to correct the case of migrated project statuses in the database

Teams

  • Added tags to teams (currently used to tag Investment Services teams for the investment SPI report)

Internal changes

  • Added a stub activity stream endpoint
  • Updated various dependencies
  • Removed Interaction.policy_area from the database
  • Removed forced pytest -vv argument from pytest.ini

v4.0.0

19 Jun 12:46
77cbf07
Compare
Choose a tag to compare

Companies

  • Updated the label for the 'Government Department' business type to be 'Government department or other public body'
  • Added a One List report to the reports page on the admin site
  • Ordered the One List tiers (by adding an order field)

Interactions

  • Made the notes field optional for event service deliveries
  • Removed support for the deprecated policy_area field (replaced by policy_areas)

Events

  • Made lead team a required field

OMIS

  • Added a sector filter to order search

Internal and other changes

  • Turned on (by default) signature verification for responses received from the data science company API
  • Updated various dependencies

v3.10.0

12 Jun 14:46
f049b6b
Compare
Choose a tag to compare

Companies

  • Fixed a bug with the headquarter_type search filter where you could not filter to companies that aren't headquarters

Interactions

  • Added the ability to /v3/interaction to filter by event
  • Added the ability to /v3/interaction to sort by first name and last name
  • Migrated policy_area to a to-many field named policy_areas (the API accepts and returns both policy_area and policy_areas for now)
  • Added contacts' job titles to interaction responses

Internal changes

  • Updated various dependencies

v3.9.0

04 Jun 08:57
b508295
Compare
Choose a tag to compare

Companies

  • Updated the fixtures to add a company with its One List fields filled in

Investment projects

  • Added a management command to update the business activities for projects using a CSV file

v3.8.0

29 May 10:56
7a3f0f8
Compare
Choose a tag to compare

Companies

  • Added a global_headquarters_id filter to the /v3/company endpoint
  • Added name and created_on sorting options to the /v3/company endpoint

Admin

  • Added a simple framework for CSV reports, and an advisers report as the first report

Internal changes

  • Updated various dependencies

v3.7.0

18 May 09:16
63c00f8
Compare
Choose a tag to compare

Companies

  • Added an endpoint for retrieving the timeline for a company via the data science platform
  • Added management commands to update companies' One List account tiers and managers using a CSV file
  • Added a new Tier B - Global Accounts (Capital Investment) tier to the fixtures

Interactions

  • Added a service for policy feedback
  • Added permissions for policy feedback interactions

Investment projects

  • Added additional services for service performance indicators
  • Added a project_manager_first_assigned_on field to automatically track when a project manager is first assigned
  • Added API to manage investment project's propositions

Internal changes

  • Updated dependencies
  • Refactoring

v3.6.0

09 May 09:52
e0eeaf0
Compare
Choose a tag to compare

Core

  • Improved bulk Elasticsearch syncing performance when syncing very large data sets

Companies

  • Added management commands to update company names and trading names using a CSV file

v3.5.0

01 May 12:16
d1412b0
Compare
Choose a tag to compare

Core

  • Added an environment variable to control whether the daily ES sync is enabled (disabled by default)

Companies

  • Added a management command to update the global headquarters for companies using a CSV file
  • Improved global headquarters validation

v3.4.0

30 Apr 08:20
e33e58a
Compare
Choose a tag to compare

Core

  • Added the ability to restrict access to the admin site by IP address
  • Added feature flags, managed via the admin site and exposed at /v3/feature-flag
  • Scheduled the full Elasticsearch sync to run daily overnight using Celery
  • Moved Elasticsearch index and mapping creation and updating from app start-up to a separate init_es management command
  • Corrected various minor errors in search model and view definitions and added internal consistency checks to prevent recurrences
  • Set the Elasticsearch dynamic mapping mode to strict to avoid hidden bugs due to data being silently discarded or silently added to the Elasticsearch mapping
  • Removed unused Role metadata model and view

Contacts

  • Corrected the company name filter so that it searches companies' trading names as well as their non-trading names

Interactions

  • Added stricter validation for interactions to ensure data consistency
  • Added created_on and modified_on as read-only fields in the admin site
  • Corrected the company name filter so that it searches companies' trading names as well as their non-trading names
  • Improved test coverage

OMIS

  • Corrected the company name filter for orders so that it searches companies' trading names as well as their non-trading names

Internal changes

  • Updated Python to version 3.6.5
  • Update various dependencies
  • Internal refactoring

v3.3.0

11 Apr 10:10
225c71e
Compare
Choose a tag to compare

Companies

  • Improved Companies House Company tests

Metadata

  • Added order to Headquarter Type
  • Added context to Services

Search

  • Make paging consistent
  • Moved query building functions to separate module

OMIS

  • Add OMIS refunds to Django admin

Internal Changes

  • Updated various dependencies
  • Add multiple choice field
  • Updated migrations
  • Updated Django Rest Framework to 3.8.2
  • Ability to make psycopg2 asynchronous using gevent
  • Removed incorrect quotes in docker-compose.env
  • Internal refactoring