Releases: googleapis/nodejs-spanner
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):
setInterval
causes process to hang.
@google-cloud/spanner v0.9.0
@google-cloud/spanner v0.8.2
@google-cloud/spanner v0.8.1
Bugfixes
Refer to the nodejs-spanner API reference documentation for details.
@google-cloud/spanner v0.8.0
Features
- Support for Application Default Credentials (#8)
Bugfixes
- Fixed a bug where the client library did not automatically retry in some cases. (#12)
Implementation Details
- Change to a new linter (ESLint) and code style formatter (prettify).
- Update docs to use JSDoc 3.
- Migrate to the
googleapis/nodejs-spanner
repository.
Refer to the nodejs-spanner API reference documentation for details.
@google-cloud/spanner v0.7.1
@google-cloud/spanner v0.7.0
@google-cloud/spanner v0.6.0
@google-cloud/spanner v0.5.0
Features
- Introduce
getTransaction
, allowing more natural Promise usage in a transaction workflow. (#2344)