Code Gov Api Versions Save

API powering the code.gov source code harvester

v2.5.0

5 years ago

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

  • #267
  • #266
  • #265
  • #264
  • #263

v2.4.0

5 years ago

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

  • #250
  • #248
  • #247
  • #238
  • #237
  • #235
  • #234