From 71680ddc48c1360cc37cd8eeb53caad4fe37f0cf Mon Sep 17 00:00:00 2001 From: John Pedrie Date: Thu, 18 May 2017 14:34:54 -0400 Subject: [PATCH] Prepare v0.30.0 (#497) * Prepare v0.30.0 * Add GAPIC to Spanner docs table of contents --- docs/contents/cloud-spanner.json | 24 +++++++++++++++++++++--- docs/contents/google-cloud.json | 1 + docs/manifest.json | 3 +++ src/Core/VERSION | 2 +- src/ServiceBuilder.php | 2 +- src/Spanner/SpannerClient.php | 2 +- src/Spanner/V1/README.md | 16 ++++++++++++++++ src/Spanner/VERSION | 1 + 8 files changed, 45 insertions(+), 6 deletions(-) create mode 100644 src/Spanner/V1/README.md create mode 100644 src/Spanner/VERSION diff --git a/docs/contents/cloud-spanner.json b/docs/contents/cloud-spanner.json index 274b72c15e06..af768389970d 100644 --- a/docs/contents/cloud-spanner.json +++ b/docs/contents/cloud-spanner.json @@ -4,15 +4,15 @@ "services": [{ "title": "SpannerClient", "type": "spanner/spannerclient" - }, { - "title": "Configuration", - "type": "spanner/configuration" }, { "title": "Database", "type": "spanner/database" }, { "title": "Instance", "type": "spanner/instance" + }, { + "title": "InstanceConfiguration", + "type": "spanner/instanceconfiguration" }, { "title": "Snapshot", "type": "spanner/snapshot" @@ -43,5 +43,23 @@ },{ "title": "CacheSessionPool", "type": "spanner/session/cachesessionpool" + }, { + "title": "v1", + "type": "spanner/v1/readme", + "patterns": [ + "spanner/v1/\\w{1,}", + "spanner/admin/database/v1/\\w{1,}", + "spanner/admin/instance/v1/\\w{1,}" + ], + "nav": [{ + "title": "SpannerClient", + "type": "spanner/v1/spannerclient" + }, { + "title": "DatabaseAdminClient", + "type": "spanner/admin/database/v1/databaseadminclient" + }, { + "title": "InstanceAdminClient", + "type": "spanner/admin/instance/v1/instanceadminclient" + }] }] } diff --git a/docs/contents/google-cloud.json b/docs/contents/google-cloud.json index 5fc3b2f4adc5..c7a5ba8e8932 100644 --- a/docs/contents/google-cloud.json +++ b/docs/contents/google-cloud.json @@ -12,6 +12,7 @@ "cloud-monitoring", "cloud-language", "cloud-pubsub", + "cloud-spanner", "cloud-speech", "cloud-storage", "cloud-translate", diff --git a/docs/manifest.json b/docs/manifest.json index fd163dbb508b..dcae5012050e 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -11,6 +11,7 @@ "name": "google/cloud", "defaultService": "servicebuilder", "versions": [ + "v0.30.0", "v0.29.0", "v0.28.0", "v0.27.0", @@ -63,6 +64,7 @@ "name": "google/cloud-core", "defaultService": "core/readme", "versions": [ + "v1.4.0", "v1.3.0", "v1.2.0", "v1.1.1", @@ -144,6 +146,7 @@ "name": "google/cloud-spanner", "defaultService": "spanner/spannerclient", "versions": [ + "v0.1.0", "master" ] }, diff --git a/src/Core/VERSION b/src/Core/VERSION index 589268e6fedb..e21e727f96fa 100644 --- a/src/Core/VERSION +++ b/src/Core/VERSION @@ -1 +1 @@ -1.3.0 \ No newline at end of file +1.4.0 \ No newline at end of file diff --git a/src/ServiceBuilder.php b/src/ServiceBuilder.php index 0cf0b0e3151a..d2198b842a5b 100644 --- a/src/ServiceBuilder.php +++ b/src/ServiceBuilder.php @@ -50,7 +50,7 @@ */ class ServiceBuilder { - const VERSION = '0.29.0'; + const VERSION = '0.30.0'; /** * @var array Configuration options to be used between clients. diff --git a/src/Spanner/SpannerClient.php b/src/Spanner/SpannerClient.php index 5b72de2a684a..878a0900eb5d 100644 --- a/src/Spanner/SpannerClient.php +++ b/src/Spanner/SpannerClient.php @@ -65,7 +65,7 @@ class SpannerClient use LROTrait; use ValidateTrait; - const VERSION = 'master'; + const VERSION = '0.1.0'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/spanner.data'; const ADMIN_SCOPE = 'https://www.googleapis.com/auth/spanner.admin'; diff --git a/src/Spanner/V1/README.md b/src/Spanner/V1/README.md new file mode 100644 index 000000000000..de583242a7c3 --- /dev/null +++ b/src/Spanner/V1/README.md @@ -0,0 +1,16 @@ +# Google Cloud PHP Spanner + +> Idiomatic PHP client for [Cloud Spanner](https://cloud.google.com/spanner/). + +* [Homepage](http://googlecloudplatform.github.io/google-cloud-php) +* [API documentation](http://googlecloudplatform.github.io/google-cloud-php/#/docs/cloud-spanner/latest/spanner/spannerclient) + +**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googlecloudplatform/google-cloud-php). Any +support requests, bug reports, or development contributions should be directed to +that project. + +## Installation + +``` +$ composer require google/cloud-spanner +``` diff --git a/src/Spanner/VERSION b/src/Spanner/VERSION new file mode 100644 index 000000000000..6c6aa7cb0918 --- /dev/null +++ b/src/Spanner/VERSION @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file