Releases: googleapis/nodejs-spanner
v1.3.0
Fixes
- Updated dependencies, including google-gax, to fix streaming behavior. (googleapis/gax-nodejs#197)
- Promisify
database.delete()(#148)
v1.2.0
Features
- (#132) Support batch queries.
Fixes
- (#131) Correctly remove database cache when closed. (Thanks for the heads up, @voltrue2!)
- (#133) Restore
autoCreatebehavior fordatabase#get()andinstance#get()methods. - (#135) Fix session leak. (🙇 @anup-honey!)
- (#141) Prevent tampering with user-provided query object. (Thanks, @eric4545!)
- (#148) Promisify
database#delete(). - Update dependencies, including gRPC for more reliable performance.
@google-cloud/spanner v1.1.0
@google-cloud/spanner v1.0.3
Fixes
- (#103) Add exception to be thrown when ending transactions more than once.
@google-cloud/spanner v1.0.2
Bugfixes
(#95, #97): handle null values - Thanks @hugoluchessi!
@google-cloud/spanner v1.0.1
Bugfixes
(#89): fix session leak - Thanks @zubeyiro and @kriptontr!
v1.0.0
General Availability
The Spanner library is now considered to be General Availability (GA). This means it is stable; the code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority.
Breaking change
toJson() will not wrap integers and floats into objects by default. Example of the change in the JSON returned by toJson():
{
"boolValue": false,
"stringValue": "Hello",
- "intValue": {
- "value": "42"
- },
+ "intValue": 42,
- "floatValue": {
- "value": "3.14"
- }
+ "floatValue": 3.14
}You can still ask toJson() to wrap numbers by providing an option object to toJSON() specifying wrapNumbers: true. You should do it if you expect that you will work with integers greater than Number.MAX_SAFE_INTEGER, as toJSON() will throw an exception if asked to convert an integer when it's not safe to do that without losing precision. See #80 for details.
Fixes
@google-cloud/spanner v0.10.0
Deprecation Notice
This release deprecates the date, time and timestamp instance methods. Please use the static methods in their place.
Bugfixes
- (#61):
setIntervalcauses process to hang.