Skip to content

Releases: uktrade/data-hub-api

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

v3.2.0

27 Mar 14:09
dfc717c
Compare
Choose a tag to compare

Companies

  • Added a CLI management command to update company numbers using a CSV file
  • Return a business type from the Companies House company view, for the front end to use when adding companies via a Companies House record

Interactions

  • Added policy area and policy issue type fields for policy feedback interactions
  • Added sector descends filter to interaction search

OMIS

  • Added a Celery task to refresh ongoing payments

Internal changes

  • Dropped the name column from metadata_sector table
  • Updated various dependencies
  • Updated the Cloud Foundry build pack to v1.6.11

v3.1.1

20 Mar 15:14
9cb8c17
Compare
Choose a tag to compare

Internal changes

  • Removed some redundant migration operations, and added a migration to the investment app to correct the InvestmentProjectStageLog model

v3.1.0

20 Mar 11:51
481d128
Compare
Choose a tag to compare

Companies

  • Added validation to prevent a subsidiary from being set as a global HQ
  • Added a sector filter to search that matches both a sector and its sub-sectors
  • Removed sector name from fields searched in global search
  • Made headquarter type read-only in the admin site

Contacts

  • Added a sector filter to search that matches both a sector and its sub-sectors

Sectors

  • Added a hierarchy to sectors

Interactions

  • Added a sector filter to search that matches both a sector and its sub-sectors

Investment projects

  • Added a sector filter to search that matches both a sector and its sub-sectors
  • Added a stage change log and service performance indicators (SPI) fields
  • Removed sector name from fields searched in global search

OMIS

  • Added card payment API

Internal changes

  • Made tasks that run in the thread pool better recover following temporary database connectivity problems
  • Updated PostgreSQL to 9.6 on CircleCI and in docker-compose.yml
  • Set up Celery, Django caching and Redis
  • Removed previously squashed migrations
  • Improved robustness of search tests
  • Updated various dependencies

v3.0.0

05 Mar 09:26
433c1af
Compare
Choose a tag to compare

Companies

  • Added the ability to link a company to its global headquarters
  • Added limited liability partnership as a business type, to allow the creation of limited liability partnerships from Companies House records
  • Added a search filter to filter by type of headquarters
  • Added a search filter to filter by the company's global headquarters
  • Removed the parent and children properties in the company response as they aren't currently being used

Interactions

  • Added a 'policy feedback' interaction kind

OMIS

  • Foundation for card payments

Internal changes

  • Added the ability to run tests using multiple processes
  • Fixed various bugs in the test suite that were causing test failures in rare cases
  • Added a bash script to start Leeloo using Docker for running the acceptance tests
  • Improvements to how models are registered with django-reversion
  • Various dependency updates

v2.1.0

19 Feb 11:53
4727b5a
Compare
Choose a tag to compare

Companies

  • Added community interest company as a business type, to allow the creation of community interest companies from Companies House records

Investment projects

  • Fixed a bug where restricted users saw duplicate investment projects in some circumstances
  • Added a query parameter to investment project search to filter by adviser

Interactions

  • Added net company receipt field
  • Added command-line management command for loading status, grant amount offered and net company receipt fields to service deliveries (for the migration of legacy data)

Advisers

  • Added command-line management command to load updated contact email addresses

Internal changes

  • Renamed the loadmetadata management command to loadinitialmetadata, amended it to fail if there is pre-existing data in the metadata tables, and merged the load_omis_metadata command into loadinitialmetadata
  • Squashed interaction, investment project and metadata migrations
  • Updated various dependencies

v2.0.0

08 Feb 14:54
da21c7f
Compare
Choose a tag to compare

Interactions

  • Added status and grant amount offered fields to service deliveries
  • Removed the /metadata/interaction-type/ endpoint (was replaced by /metadata/communication-channel/ some time ago)

OMIS

  • Added the ability to add new versions of the terms and conditions via the admin site
  • Added notifications for regional managers when orders are created, configurable via the admin site
  • Fixed double-escaping of HTML in quotes