Releases: uktrade/data-hub-api
Releases · uktrade/data-hub-api
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
v3.2.0
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
v3.1.0
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
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
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
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