From 2ae2dd6d7a114d85f930179af37183212721b222 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Thu, 4 Jun 2020 21:59:27 -0700 Subject: [PATCH 1/3] Bump version to 1.2.0 --- CHANGELOG.md | 17 +++++++++++++++++ README.md | 6 ++++++ setup.py | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffc570a7..7088eaa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 1.2.0 + +**Date** - 06/04/2020 + +**Release Tag** - [v1.2.0](https://github.com/datacommonsorg/api-python/releases/tag/v1.2.0) + +**Release Status** - Current head of branch [`master`](https://github.com/datacommonsorg/api-python/tree/master) + +New features added to the Python Client API + +- Add get_stats API to get observations given a StatisticalVariable and place dcids. + +Bugs fixed in new release + +- Null and empty data check. + + ## 1.1.0 **Date** - 04/10/2020 diff --git a/README.md b/README.md index 0cee6b69..82425c21 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,12 @@ $ bazel build //... $ bazel test //... ``` +## Release + +- Update "VERSION" in setup.py +- Update CHANGELOG.md for a new version +- Upload a new package using steps in https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives + ## Support For general questions or issues about the API, please open an issue on our diff --git a/setup.py b/setup.py index d96fbd9a..a7db4358 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ EMAIL = 'support@datacommons.org' AUTHOR = 'datacommons.org' REQUIRES_PYTHON = '>=2.7' -VERSION = '1.1.0' +VERSION = '1.2.0' REQUIRED = [ 'six', From f8a196dd3b77325c6125d10b9de0ef5664f13044 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Thu, 4 Jun 2020 22:04:55 -0700 Subject: [PATCH 2/3] Make changelog more specific --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7088eaa0..82556fe6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ New features added to the Python Client API Bugs fixed in new release -- Null and empty data check. +- Check Null and empty data in REST API response field to avoid KeyError. ## 1.1.0 From 850ba6b09e3ae399183bb05b7123c987dad44d47 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Thu, 4 Jun 2020 22:10:24 -0700 Subject: [PATCH 3/3] Update the pip upload steps link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82425c21..4ef720e7 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ $ bazel test //... - Update "VERSION" in setup.py - Update CHANGELOG.md for a new version -- Upload a new package using steps in https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives +- Upload a new package using steps for [generating distribution archives](https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives) and [uploading the distribution archives](https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives) ## Support