diff --git a/CHANGELOG.md b/CHANGELOG.md index fcc46ff3..eac468c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,4 +27,19 @@ system specs. Also included is a FactoryBot linter for linting factories. A couple of redundant methods have also been removed from the models. * Merged in a number of PRs fixing vulnerabilities on the frontend and backend that were -opened by Dependabot. \ No newline at end of file +opened by Dependabot. + +## 1.3.0 + +* chore: add `/TAGS` to .gitignore +* chore: upgrade puma from 3.7 ~> 4.3 +* fix: add missing "`WHERE geo_entities.iso3 IS NOT NULL`" to *countries* scope in `geo_entity.rb` and "`WHERE geo_entities.iso3 <> 'GBL'`" to *country_stats* scope in `geo_entity_stat.rb` +* fix: change global protection stats to be static within habitats table, as there was a problem with the automatic generation of global stats not including non-member state data yet. +* refactor: partially automate country last-updated by using the geo_entity's `updated_at` property +* refactor: set Red List last updated date (`@red_list_last_updated`) in site & countries controller +* feat: add rake invoke task to deploy.rb so that you can run any specified rake task before the deploy is published e.g. `bundle exec cap staging deploy TASK=import:refresh` +* feat: add `BRANCH=` option `cap staging deploy` so you can specify the branch to deploy to staging (default to develop) +* refactor: raise more informative exception in Esri class if the response is not what was expected +* feat: add utilities/files.rb with `latest_file_by_glob` method to help select the latest filename-timestamped CSV that is used in the _habitat coverage protection_ imports +* refactor: add more informative error when a CSV is missing an expected header +* fix: wrap _import:refresh_ within a DB transaction so that it doesn't commit anything on failure \ No newline at end of file