Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Releases: GSA/code-gov-api

Elasticsearch updates, CORS changes, and minor bug fixes

19 Sep 22:45
Compare
Choose a tag to compare

What's Changed

In this release we've completly upgraded our Elasticsearch mappings to support versions 5.x and above. There were a few types that were not updated from our last release.

We've also improved our build process to avoid random failures during our integration tests and added a ALLOWED_DOMAINS configuration variable to force our users to go through our API URL api.code.gov.

Change Details

  • Added ALLOWED_DOMAINS configuration.
  • Updated our Elasticsearch types in our mappings.
  • Obsolete mappings were removed.
  • Elasticsearch settings were updated.
  • Elasticsearch mappings fields are now configured to text data type with a keyword field for sorting and aggregations.
  • Updated Elasticsearch docker image used in our integration tests (.circleci/config.yml).
  • Added a sleep time of 45 seconds to our integration test to ensure that the Elasticsearch container is up and running.
  • Minor bug fixes to indexing process and tests.

PRs Included in this release

Search and Configuration Improvements

20 Aug 06:09
Compare
Choose a tag to compare

What's changed

This release mainly focussed on configuration and API feature improvements. No new features were implemented.

Change Details

  • Search improvements
  • Upgraded Elasticsearch queries, mappings, and settings to be compatible with versions greater than 5.6.
  • Indexing improvements.
  • Code and configuration clean up.
  • Updates to settings and configuration.
  • Updates and improvements to Cloud.gov (Cloud Foundry) configuration and deployments.
  • Fixed New Relic configuration.
  • Fixed and improved scalability issues and manifest.yml configurations.

PRs Included in this release