Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 277b522

Browse files
authored
doc: update version and release notes for v1.0.0 (#1431)
1 parent 245a482 commit 277b522

File tree

5 files changed

+59
-10
lines changed

5 files changed

+59
-10
lines changed

CHANGELOG.md

+50-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,55 @@
11
# Changelog
22

3-
## v0.10.x - TBD
3+
## v1.1.0 - TBD
4+
5+
## v1.0.0 - 2020-03
6+
7+
* **Breaking Changes**
8+
9+
* feat!: add support for QueryOptions (#1351), this is a breaking
10+
change for any developers that used
11+
`Connection::SqlParams::placeholder_do_not_use_name_will_change`.
12+
* feat!: implement SessionPool session refresh (#1425), this is a
13+
breaking change as the return type for
14+
`SessionOptions::keep_alive_interval` changed from
15+
`std::chrono::minutes` to `std::chrono::seconds`.
16+
17+
We believe the risk of developers being impacted by these changes
18+
is small, but do apologize if this impacts you.
19+
20+
* **Other Changes**
21+
22+
* feat: add Managed Backup feature (#1358)
23+
* feat: sessions are automatically created and refreshed by
24+
background threads as described in:
25+
https://cloud.google.com/spanner/docs/sessions#best_practices
26+
* We made multiple improvements (detailed below) to the documentation and
27+
code samples.
28+
* fix: polling policy stops after 'too many' successes (#1427)
29+
* feat: clean up main doxygen page (#1404)
30+
* feat: implement async session creation (#1405)
31+
* fix: avoid deadlocks during shutdown (#1397)
32+
* feat: streaming Value STRING only quotes in aggregates (#1401)
33+
* doc: small improvements to Client samples (#1398)
34+
* doc: link existing example for ExecuteBatchDml (#1395)
35+
* doc: update snippets for all mutation types (#1394)
36+
* fix: Value::op==() correctly handles Date and Timestamp (#1386)
37+
* feat: taught Date how to stream itself (#1385)
38+
* feat: escape non-printable bytes in Value::op<< (#1371)
39+
* docs: add snippets for Commit() with a mutator or mutations (#1374)
40+
* docs: updated snippets and samples for profile and analyze methods (#1364)
41+
* feat: Value streaming respects io manipulators (#1362)
42+
* feat: SqlStatement uses `op<<(Value)` (#1361)
43+
* cleanup: make use of the new Client::Commit(Mutations) overload (#1359)
44+
* feat: add ostream operator for Value (#1336)
45+
* feat: refactor and enhance session creation logic (#1343)
46+
* doc: link to the style guide in the common repo (#1348)
47+
* fix: associate each `Session` with a `Channel` (#1346)
48+
* feat: moved INSTALL.md -> doc/packaging.md (#1341)
49+
* fix: use correct quickstart URL (#1339)
50+
* feat: simplify README.md (#1338)
51+
* doc: add more snippets to documentation (#1331)
52+
* doc: an example of spanner::GetSingularRow (#1327)
453

554
## v0.9.x - 2020-03
655

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ include(SelectMSVCRuntime)
3535
include(EnableCxxExceptions)
3636

3737
# This should be included from the top level CMakeLists file
38-
set(SPANNER_CLIENT_VERSION_MAJOR 0)
39-
set(SPANNER_CLIENT_VERSION_MINOR 10)
38+
set(SPANNER_CLIENT_VERSION_MAJOR 1)
39+
set(SPANNER_CLIENT_VERSION_MINOR 0)
4040
set(SPANNER_CLIENT_VERSION_PATCH 0)
4141
string(CONCAT SPANNER_CLIENT_VERSION "${SPANNER_CLIENT_VERSION_MAJOR}" "."
4242
"${SPANNER_CLIENT_VERSION_MINOR}" "."
4.56 KB
Binary file not shown.

google/cloud/spanner/doc/spanner-main.dox

+5-5
Original file line numberDiff line numberDiff line change
@@ -127,20 +127,20 @@ there is no value.
127127
The library automatically retries requests that fail with transient errors, and
128128
follows the recommended practices with respect to backoff between retries.
129129
Application developers can override the default
130-
[retry](@ref google::cloud::spanner::v0::RetryPolicy) and
131-
[backoff](@ref google::cloud::spanner::v0::BackoffPolicy) policies.
130+
[retry](@ref google::cloud::spanner::v1::RetryPolicy) and
131+
[backoff](@ref google::cloud::spanner::v1::BackoffPolicy) policies.
132132

133133
The default policies are to continue retrying for up to 15 minutes, and to
134134
use truncated (at 5 minutes) exponential backoff, doubling the maximum backoff
135135
period between retries.
136136

137137
@snippet samples.cc custom-retry-policy
138138

139-
@see [LimitedTimeRetryPolicy](@ref google::cloud::spanner::v0::LimitedTimeRetryPolicy)
140-
and [LimitedErrorCountRetryPolicy](@ref google::cloud::spanner::v0::LimitedErrorCountRetryPolicy)
139+
@see [LimitedTimeRetryPolicy](@ref google::cloud::spanner::v1::LimitedTimeRetryPolicy)
140+
and [LimitedErrorCountRetryPolicy](@ref google::cloud::spanner::v1::LimitedErrorCountRetryPolicy)
141141
for alternative retry policies.
142142

143-
@see [ExponentialBackoffPolicy](@ref google::cloud::spanner::v0::ExponentialBackoffPolicy)
143+
@see [ExponentialBackoffPolicy](@ref google::cloud::spanner::v1::ExponentialBackoffPolicy)
144144
to configure different parameters for the exponential backoff policy.
145145

146146
## Next Steps

google/cloud/spanner/version_info.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#ifndef GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H
1616
#define GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H
1717

18-
#define SPANNER_CLIENT_VERSION_MAJOR 0
19-
#define SPANNER_CLIENT_VERSION_MINOR 10
18+
#define SPANNER_CLIENT_VERSION_MAJOR 1
19+
#define SPANNER_CLIENT_VERSION_MINOR 0
2020
#define SPANNER_CLIENT_VERSION_PATCH 0
2121

2222
#endif // GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H

0 commit comments

Comments
 (0)