Releases: uktrade/data-hub-api
Releases · uktrade/data-hub-api
v4.1.0
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 frompytest.ini
v4.0.0
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 bypolicy_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
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 namedpolicy_areas
(the API accepts and returns bothpolicy_area
andpolicy_areas
for now) - Added contacts' job titles to interaction responses
Internal changes
- Updated various dependencies
v3.9.0
v3.8.0
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
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
v3.5.0
v3.4.0
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
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