@googlemaps/routing 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,6 +161,7 @@
161
161
  }
162
162
  },
163
163
  "FileDescriptorSet": {
164
+ "edition": "proto2",
164
165
  "fields": {
165
166
  "file": {
166
167
  "rule": "repeated",
@@ -170,6 +171,7 @@
170
171
  }
171
172
  },
172
173
  "Edition": {
174
+ "edition": "proto2",
173
175
  "values": {
174
176
  "EDITION_UNKNOWN": 0,
175
177
  "EDITION_PROTO2": 998,
@@ -185,6 +187,7 @@
185
187
  }
186
188
  },
187
189
  "FileDescriptorProto": {
190
+ "edition": "proto2",
188
191
  "fields": {
189
192
  "name": {
190
193
  "type": "string",
@@ -202,18 +205,12 @@
202
205
  "publicDependency": {
203
206
  "rule": "repeated",
204
207
  "type": "int32",
205
- "id": 10,
206
- "options": {
207
- "packed": false
208
- }
208
+ "id": 10
209
209
  },
210
210
  "weakDependency": {
211
211
  "rule": "repeated",
212
212
  "type": "int32",
213
- "id": 11,
214
- "options": {
215
- "packed": false
216
- }
213
+ "id": 11
217
214
  },
218
215
  "messageType": {
219
216
  "rule": "repeated",
@@ -254,6 +251,7 @@
254
251
  }
255
252
  },
256
253
  "DescriptorProto": {
254
+ "edition": "proto2",
257
255
  "fields": {
258
256
  "name": {
259
257
  "type": "string",
@@ -336,6 +334,7 @@
336
334
  }
337
335
  },
338
336
  "ExtensionRangeOptions": {
337
+ "edition": "proto2",
339
338
  "fields": {
340
339
  "uninterpretedOption": {
341
340
  "rule": "repeated",
@@ -409,6 +408,7 @@
409
408
  }
410
409
  },
411
410
  "FieldDescriptorProto": {
411
+ "edition": "proto2",
412
412
  "fields": {
413
413
  "name": {
414
414
  "type": "string",
@@ -488,6 +488,7 @@
488
488
  }
489
489
  },
490
490
  "OneofDescriptorProto": {
491
+ "edition": "proto2",
491
492
  "fields": {
492
493
  "name": {
493
494
  "type": "string",
@@ -500,6 +501,7 @@
500
501
  }
501
502
  },
502
503
  "EnumDescriptorProto": {
504
+ "edition": "proto2",
503
505
  "fields": {
504
506
  "name": {
505
507
  "type": "string",
@@ -541,6 +543,7 @@
541
543
  }
542
544
  },
543
545
  "EnumValueDescriptorProto": {
546
+ "edition": "proto2",
544
547
  "fields": {
545
548
  "name": {
546
549
  "type": "string",
@@ -557,6 +560,7 @@
557
560
  }
558
561
  },
559
562
  "ServiceDescriptorProto": {
563
+ "edition": "proto2",
560
564
  "fields": {
561
565
  "name": {
562
566
  "type": "string",
@@ -574,6 +578,7 @@
574
578
  }
575
579
  },
576
580
  "MethodDescriptorProto": {
581
+ "edition": "proto2",
577
582
  "fields": {
578
583
  "name": {
579
584
  "type": "string",
@@ -608,6 +613,7 @@
608
613
  }
609
614
  },
610
615
  "FileOptions": {
616
+ "edition": "proto2",
611
617
  "fields": {
612
618
  "javaPackage": {
613
619
  "type": "string",
@@ -749,6 +755,7 @@
749
755
  }
750
756
  },
751
757
  "MessageOptions": {
758
+ "edition": "proto2",
752
759
  "fields": {
753
760
  "messageSetWireFormat": {
754
761
  "type": "bool",
@@ -822,6 +829,7 @@
822
829
  ]
823
830
  },
824
831
  "FieldOptions": {
832
+ "edition": "proto2",
825
833
  "fields": {
826
834
  "ctype": {
827
835
  "type": "CType",
@@ -883,10 +891,7 @@
883
891
  "targets": {
884
892
  "rule": "repeated",
885
893
  "type": "OptionTargetType",
886
- "id": 19,
887
- "options": {
888
- "packed": false
889
- }
894
+ "id": 19
890
895
  },
891
896
  "editionDefaults": {
892
897
  "rule": "repeated",
@@ -970,6 +975,7 @@
970
975
  }
971
976
  },
972
977
  "OneofOptions": {
978
+ "edition": "proto2",
973
979
  "fields": {
974
980
  "features": {
975
981
  "type": "FeatureSet",
@@ -989,6 +995,7 @@
989
995
  ]
990
996
  },
991
997
  "EnumOptions": {
998
+ "edition": "proto2",
992
999
  "fields": {
993
1000
  "allowAlias": {
994
1001
  "type": "bool",
@@ -1032,6 +1039,7 @@
1032
1039
  ]
1033
1040
  },
1034
1041
  "EnumValueOptions": {
1042
+ "edition": "proto2",
1035
1043
  "fields": {
1036
1044
  "deprecated": {
1037
1045
  "type": "bool",
@@ -1065,6 +1073,7 @@
1065
1073
  ]
1066
1074
  },
1067
1075
  "ServiceOptions": {
1076
+ "edition": "proto2",
1068
1077
  "fields": {
1069
1078
  "features": {
1070
1079
  "type": "FeatureSet",
@@ -1091,6 +1100,7 @@
1091
1100
  ]
1092
1101
  },
1093
1102
  "MethodOptions": {
1103
+ "edition": "proto2",
1094
1104
  "fields": {
1095
1105
  "deprecated": {
1096
1106
  "type": "bool",
@@ -1133,6 +1143,7 @@
1133
1143
  }
1134
1144
  },
1135
1145
  "UninterpretedOption": {
1146
+ "edition": "proto2",
1136
1147
  "fields": {
1137
1148
  "name": {
1138
1149
  "rule": "repeated",
@@ -1182,6 +1193,7 @@
1182
1193
  }
1183
1194
  },
1184
1195
  "FeatureSet": {
1196
+ "edition": "proto2",
1185
1197
  "fields": {
1186
1198
  "fieldPresence": {
1187
1199
  "type": "FieldPresence",
@@ -1253,9 +1265,21 @@
1253
1265
  1001,
1254
1266
  1001
1255
1267
  ],
1268
+ [
1269
+ 1002,
1270
+ 1002
1271
+ ],
1272
+ [
1273
+ 9990,
1274
+ 9990
1275
+ ],
1256
1276
  [
1257
1277
  9995,
1258
1278
  9999
1279
+ ],
1280
+ [
1281
+ 10000,
1282
+ 10000
1259
1283
  ]
1260
1284
  ],
1261
1285
  "reserved": [
@@ -1311,6 +1335,7 @@
1311
1335
  }
1312
1336
  },
1313
1337
  "FeatureSetDefaults": {
1338
+ "edition": "proto2",
1314
1339
  "fields": {
1315
1340
  "defaults": {
1316
1341
  "rule": "repeated",
@@ -1342,6 +1367,7 @@
1342
1367
  }
1343
1368
  },
1344
1369
  "SourceCodeInfo": {
1370
+ "edition": "proto2",
1345
1371
  "fields": {
1346
1372
  "location": {
1347
1373
  "rule": "repeated",
@@ -1355,12 +1381,18 @@
1355
1381
  "path": {
1356
1382
  "rule": "repeated",
1357
1383
  "type": "int32",
1358
- "id": 1
1384
+ "id": 1,
1385
+ "options": {
1386
+ "packed": true
1387
+ }
1359
1388
  },
1360
1389
  "span": {
1361
1390
  "rule": "repeated",
1362
1391
  "type": "int32",
1363
- "id": 2
1392
+ "id": 2,
1393
+ "options": {
1394
+ "packed": true
1395
+ }
1364
1396
  },
1365
1397
  "leadingComments": {
1366
1398
  "type": "string",
@@ -1380,6 +1412,7 @@
1380
1412
  }
1381
1413
  },
1382
1414
  "GeneratedCodeInfo": {
1415
+ "edition": "proto2",
1383
1416
  "fields": {
1384
1417
  "annotation": {
1385
1418
  "rule": "repeated",
@@ -1393,7 +1426,10 @@
1393
1426
  "path": {
1394
1427
  "rule": "repeated",
1395
1428
  "type": "int32",
1396
- "id": 1
1429
+ "id": 1,
1430
+ "options": {
1431
+ "packed": true
1432
+ }
1397
1433
  },
1398
1434
  "sourceFile": {
1399
1435
  "type": "string",
@@ -3089,7 +3125,10 @@
3089
3125
  "rule": "repeated",
3090
3126
  "type": "google.api.FieldBehavior",
3091
3127
  "id": 1052,
3092
- "extend": "google.protobuf.FieldOptions"
3128
+ "extend": "google.protobuf.FieldOptions",
3129
+ "options": {
3130
+ "packed": false
3131
+ }
3093
3132
  },
3094
3133
  "FieldBehavior": {
3095
3134
  "values": {
@@ -3207,6 +3246,11 @@
3207
3246
  "id": 1050,
3208
3247
  "extend": "google.protobuf.ServiceOptions"
3209
3248
  },
3249
+ "apiVersion": {
3250
+ "type": "string",
3251
+ "id": 525000001,
3252
+ "extend": "google.protobuf.ServiceOptions"
3253
+ },
3210
3254
  "CommonLanguageSettings": {
3211
3255
  "fields": {
3212
3256
  "referenceDocsUri": {
@@ -3315,6 +3359,10 @@
3315
3359
  "protoReferenceDocumentationUri": {
3316
3360
  "type": "string",
3317
3361
  "id": 110
3362
+ },
3363
+ "restReferenceDocumentationUri": {
3364
+ "type": "string",
3365
+ "id": 111
3318
3366
  }
3319
3367
  }
3320
3368
  },
@@ -96,26 +96,17 @@ class RoutesClient {
96
96
  constructor(opts, gaxInstance) {
97
97
  // Ensure that options include all the required fields.
98
98
  const staticMembers = this.constructor;
99
- if (opts?.universe_domain &&
100
- opts?.universeDomain &&
101
- opts?.universe_domain !== opts?.universeDomain) {
99
+ if (opts?.universe_domain && opts?.universeDomain && opts?.universe_domain !== opts?.universeDomain) {
102
100
  throw new Error('Please set either universe_domain or universeDomain, but not both.');
103
101
  }
104
- const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
105
- ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
106
- : undefined;
107
- this._universeDomain =
108
- opts?.universeDomain ??
109
- opts?.universe_domain ??
110
- universeDomainEnvVar ??
111
- 'googleapis.com';
102
+ const universeDomainEnvVar = (typeof process === 'object' && typeof process.env === 'object') ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] : undefined;
103
+ this._universeDomain = opts?.universeDomain ?? opts?.universe_domain ?? universeDomainEnvVar ?? 'googleapis.com';
112
104
  this._servicePath = 'routes.' + this._universeDomain;
113
105
  const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
114
106
  this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
115
107
  const port = opts?.port || staticMembers.port;
116
108
  const clientConfig = opts?.clientConfig ?? {};
117
- const fallback = opts?.fallback ??
118
- (typeof window !== 'undefined' && typeof window?.fetch === 'function');
109
+ const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function');
119
110
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
120
111
  // Request numeric enum values if REST transport is used.
121
112
  opts.numericEnums = true;
@@ -144,7 +135,10 @@ class RoutesClient {
144
135
  this.auth.defaultScopes = staticMembers.scopes;
145
136
  }
146
137
  // Determine the client header string.
147
- const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
138
+ const clientHeader = [
139
+ `gax/${this._gaxModule.version}`,
140
+ `gapic/${version}`,
141
+ ];
148
142
  if (typeof process === 'object' && 'versions' in process) {
149
143
  clientHeader.push(`gl-node/${process.versions.node}`);
150
144
  }
@@ -165,7 +159,7 @@ class RoutesClient {
165
159
  // Some of the methods on this service provide streaming responses.
166
160
  // Provide descriptors for these.
167
161
  this.descriptors.stream = {
168
- computeRouteMatrix: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries),
162
+ computeRouteMatrix: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries)
169
163
  };
170
164
  // Put together the default options sent with requests.
171
165
  this._defaults = this._gaxGrpc.constructSettings('google.maps.routing.v2.Routes', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -194,10 +188,10 @@ class RoutesClient {
194
188
  }
195
189
  // Put together the "service stub" for
196
190
  // google.maps.routing.v2.Routes.
197
- this.routesStub = this._gaxGrpc.createStub(this._opts.fallback
198
- ? this._protos.lookupService('google.maps.routing.v2.Routes')
199
- : // eslint-disable-next-line @typescript-eslint/no-explicit-any
200
- this._protos.google.maps.routing.v2.Routes, this._opts, this._providedCustomServicePath);
191
+ this.routesStub = this._gaxGrpc.createStub(this._opts.fallback ?
192
+ this._protos.lookupService('google.maps.routing.v2.Routes') :
193
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
194
+ this._protos.google.maps.routing.v2.Routes, this._opts, this._providedCustomServicePath);
201
195
  // Iterate over each of the methods that the service provides
202
196
  // and create an API call method for each.
203
197
  const routesStubMethods = ['computeRoutes', 'computeRouteMatrix'];
@@ -218,7 +212,8 @@ class RoutesClient {
218
212
  }, (err) => () => {
219
213
  throw err;
220
214
  });
221
- const descriptor = this.descriptors.stream[methodName] || undefined;
215
+ const descriptor = this.descriptors.stream[methodName] ||
216
+ undefined;
222
217
  const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
223
218
  this.innerApiCalls[methodName] = apiCall;
224
219
  }
@@ -230,8 +225,7 @@ class RoutesClient {
230
225
  * @returns {string} The DNS address for this service.
231
226
  */
232
227
  static get servicePath() {
233
- if (typeof process === 'object' &&
234
- typeof process.emitWarning === 'function') {
228
+ if (typeof process === 'object' && typeof process.emitWarning === 'function') {
235
229
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
236
230
  }
237
231
  return 'routes.googleapis.com';
@@ -242,8 +236,7 @@ class RoutesClient {
242
236
  * @returns {string} The DNS address for this service.
243
237
  */
244
238
  static get apiEndpoint() {
245
- if (typeof process === 'object' &&
246
- typeof process.emitWarning === 'function') {
239
+ if (typeof process === 'object' && typeof process.emitWarning === 'function') {
247
240
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
248
241
  }
249
242
  return 'routes.googleapis.com';
@@ -297,9 +290,7 @@ class RoutesClient {
297
290
  options = options || {};
298
291
  options.otherArgs = options.otherArgs || {};
299
292
  options.otherArgs.headers = options.otherArgs.headers || {};
300
- this.initialize().catch(err => {
301
- throw err;
302
- });
293
+ this.initialize().catch(err => { throw err; });
303
294
  this._log.info('computeRoutes request %j', request);
304
295
  const wrappedCallback = callback
305
296
  ? (error, response, options, rawResponse) => {
@@ -307,11 +298,16 @@ class RoutesClient {
307
298
  callback(error, response, options, rawResponse); // We verified callback above.
308
299
  }
309
300
  : undefined;
310
- return this.innerApiCalls
311
- .computeRoutes(request, options, wrappedCallback)
301
+ return this.innerApiCalls.computeRoutes(request, options, wrappedCallback)
312
302
  ?.then(([response, options, rawResponse]) => {
313
303
  this._log.info('computeRoutes response %j', response);
314
304
  return [response, options, rawResponse];
305
+ }).catch((error) => {
306
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
307
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
308
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
309
+ }
310
+ throw error;
315
311
  });
316
312
  }
317
313
  /**
@@ -437,9 +433,7 @@ class RoutesClient {
437
433
  options = options || {};
438
434
  options.otherArgs = options.otherArgs || {};
439
435
  options.otherArgs.headers = options.otherArgs.headers || {};
440
- this.initialize().catch(err => {
441
- throw err;
442
- });
436
+ this.initialize().catch(err => { throw err; });
443
437
  this._log.info('computeRouteMatrix stream %j', options);
444
438
  return this.innerApiCalls.computeRouteMatrix(request, options);
445
439
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googlemaps/routing",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": " client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,7 +46,7 @@
46
46
  "test": "c8 mocha build/test"
47
47
  },
48
48
  "dependencies": {
49
- "google-gax": "^5.0.1-rc.0"
49
+ "google-gax": "^5.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/mocha": "^10.0.10",
@@ -56,13 +56,13 @@
56
56
  "gapic-tools": "^1.0.0",
57
57
  "gts": "^6.0.2",
58
58
  "jsdoc": "^4.0.4",
59
- "jsdoc-fresh": "^3.0.0",
59
+ "jsdoc-fresh": "^4.0.0",
60
60
  "jsdoc-region-tag": "^3.0.0",
61
61
  "linkinator": "^6.1.2",
62
62
  "long": "^5.3.1",
63
63
  "mocha": "^11.1.0",
64
64
  "pack-n-play": "^3.0.0",
65
- "sinon": "^19.0.2",
65
+ "sinon": "^21.0.0",
66
66
  "typescript": "^5.8.2"
67
67
  },
68
68
  "engines": {
package/CHANGELOG.md DELETED
@@ -1,163 +0,0 @@
1
- # Changelog
2
-
3
- ## [2.0.1](https://github.com/googleapis/google-cloud-node/compare/routing-v2.0.0...routing-v2.0.1) (2025-03-19)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * [Many APIs] await/catch promises, and update listOperationsAsync return type ([#6190](https://github.com/googleapis/google-cloud-node/issues/6190)) ([f4866df](https://github.com/googleapis/google-cloud-node/commit/f4866dfa6ab481163150f54928a9857d2dfef948))
9
-
10
- ## [2.0.0](https://github.com/googleapis/google-cloud-node/compare/routing-v1.4.0...routing-v2.0.0) (2025-03-18)
11
-
12
-
13
- ### ⚠ BREAKING CHANGES
14
-
15
- * upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096))
16
-
17
- ### Features
18
-
19
- * [Many APIs] add request/response debug logging to gapics ([388b4e2](https://github.com/googleapis/google-cloud-node/commit/388b4e20329b7f6fc0dd061dddff573c45104213))
20
-
21
-
22
- ### Miscellaneous Chores
23
-
24
- * Upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096)) ([eadae64](https://github.com/googleapis/google-cloud-node/commit/eadae64d54e07aa2c65097ea52e65008d4e87436))
25
-
26
- ## [1.4.0](https://github.com/googleapis/google-cloud-node/compare/routing-v1.3.0...routing-v1.4.0) (2024-12-18)
27
-
28
-
29
- ### Features
30
-
31
- * [routing] add API for experimental flyover and narrow road polyline details ([#5865](https://github.com/googleapis/google-cloud-node/issues/5865)) ([24d7341](https://github.com/googleapis/google-cloud-node/commit/24d7341b387fc8f6d286ff945bc9aed54ddcc7df))
32
- * [routing] add API for shorter distance reference routes ([#5842](https://github.com/googleapis/google-cloud-node/issues/5842)) ([99b489f](https://github.com/googleapis/google-cloud-node/commit/99b489f1170ceb45d3ce6cb8d56c8c7aa671ad03))
33
-
34
- ## [1.3.0](https://github.com/googleapis/google-cloud-node/compare/routing-v1.2.0...routing-v1.3.0) (2024-05-21)
35
-
36
-
37
- ### Features
38
-
39
- * [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5351](https://github.com/googleapis/google-cloud-node/issues/5351)) ([01f48fc](https://github.com/googleapis/google-cloud-node/commit/01f48fce63ec4ddf801d59ee2b8c0db9f6fb8372))
40
- * [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5354](https://github.com/googleapis/google-cloud-node/issues/5354)) ([a9784ed](https://github.com/googleapis/google-cloud-node/commit/a9784ed3db6ee96d171762308bbbcd57390b6866))
41
- * [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5357](https://github.com/googleapis/google-cloud-node/issues/5357)) ([66111e8](https://github.com/googleapis/google-cloud-node/commit/66111e8d285a2357bc477004d1880b70934a60d2))
42
-
43
- ## [1.2.0](https://github.com/googleapis/google-cloud-node/compare/routing-v1.1.0...routing-v1.2.0) (2024-03-29)
44
-
45
-
46
- ### Features
47
-
48
- * [Many APIs] add several fields to manage state of database encryption update ([#5193](https://github.com/googleapis/google-cloud-node/issues/5193)) ([333b409](https://github.com/googleapis/google-cloud-node/commit/333b40951a255ecfab249bd6e7ace5877270ec85))
49
-
50
- ## [1.1.0](https://github.com/googleapis/google-cloud-node/compare/routing-v1.0.2...routing-v1.1.0) (2024-02-09)
51
-
52
-
53
- ### Features
54
-
55
- * Trusted Private Cloud support, use the universeDomain parameter ([#5029](https://github.com/googleapis/google-cloud-node/issues/5029)) ([09e59ad](https://github.com/googleapis/google-cloud-node/commit/09e59ad6e34001a33d01894ccd5a0643f1a84883))
56
-
57
- ## [1.0.2](https://github.com/googleapis/google-cloud-node/compare/routing-v1.0.1...routing-v1.0.2) (2024-01-23)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * [Many APIs] improve retry logic for streaming API calls ([#4969](https://github.com/googleapis/google-cloud-node/issues/4969)) ([70fe30a](https://github.com/googleapis/google-cloud-node/commit/70fe30af077ab6042822d62d31ca740dd5df55dd))
63
-
64
- ## [1.0.1](https://github.com/googleapis/google-cloud-node/compare/routing-v1.0.0...routing-v1.0.1) (2023-09-06)
65
-
66
-
67
- ### Bug Fixes
68
-
69
- * [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4589](https://github.com/googleapis/google-cloud-node/issues/4589)) ([07967ad](https://github.com/googleapis/google-cloud-node/commit/07967add1b5fc28b548cf74721b595ea0ba90d5b))
70
-
71
- ## [1.0.0](https://github.com/googleapis/google-cloud-node/compare/routing-v0.6.0...routing-v1.0.0) (2023-08-06)
72
-
73
-
74
- ### ⚠ BREAKING CHANGES
75
-
76
- * migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443))
77
-
78
- ### Bug Fixes
79
-
80
- * [Many APIs] fix typings for IAM methods ([#4466](https://github.com/googleapis/google-cloud-node/issues/4466)) ([fa1520c](https://github.com/googleapis/google-cloud-node/commit/fa1520c3eb526efd3523d9cea349ed31683d5889))
81
-
82
-
83
- ### Miscellaneous Chores
84
-
85
- * Migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443)) ([2260f12](https://github.com/googleapis/google-cloud-node/commit/2260f12543d171bda95345e53475f5f0fdc45770))
86
-
87
- ## [0.6.0](https://github.com/googleapis/google-cloud-node/compare/routing-v0.5.1...routing-v0.6.0) (2023-07-04)
88
-
89
-
90
- ### Features
91
-
92
- * [routing] Add HTML Navigation Instructions feature to ComputeRoutes ([#4381](https://github.com/googleapis/google-cloud-node/issues/4381)) ([8414c84](https://github.com/googleapis/google-cloud-node/commit/8414c8458133ecc654d25eeb8b0b90c4dac9ff04))
93
-
94
- ## [0.5.1](https://github.com/googleapis/google-cloud-node/compare/routing-v0.5.0...routing-v0.5.1) (2023-04-13)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * **deps:** Bump `google-gax` to ^3.5.8 ([#4117](https://github.com/googleapis/google-cloud-node/issues/4117)) ([0b67d88](https://github.com/googleapis/google-cloud-node/commit/0b67d883963643ce1b4f6d2ccd3e8d37adf6e029))
100
- * Minify JSON and JS files, and remove .map files ([#4143](https://github.com/googleapis/google-cloud-node/issues/4143)) ([170f7d5](https://github.com/googleapis/google-cloud-node/commit/170f7d57b8fd344d182a8e758867b8124722eebc))
101
-
102
- ## [0.5.0](https://github.com/googleapis/google-cloud-node/compare/routing-v0.4.0...routing-v0.5.0) (2023-03-28)
103
-
104
-
105
- ### Features
106
-
107
- * [routing] adds support for specifying region_code in the ComputeRoutesRequest ([#4103](https://github.com/googleapis/google-cloud-node/issues/4103)) ([1106a82](https://github.com/googleapis/google-cloud-node/commit/1106a824dbddc7296f069a0a3e063b0ec9fc914f))
108
- * [routing] moved speed in SpeedReadingInterval into a oneof speed_type, this is a breaking change for Go client libraries ([#4121](https://github.com/googleapis/google-cloud-node/issues/4121)) ([9878d72](https://github.com/googleapis/google-cloud-node/commit/9878d722f634f356590014ea8f2f035bb1b134db))
109
-
110
- ## [0.4.0](https://github.com/googleapis/google-cloud-node/compare/routing-v0.3.1...routing-v0.4.0) (2023-03-13)
111
-
112
-
113
- ### Features
114
-
115
- * [routing] added support for specifying waypoints as addresses ([#4065](https://github.com/googleapis/google-cloud-node/issues/4065)) ([e325ac5](https://github.com/googleapis/google-cloud-node/commit/e325ac51cf2550cc9d9dba6a8145d4affe766930))
116
-
117
- ## [0.3.1](https://github.com/googleapis/google-cloud-node/compare/routing-v0.3.0...routing-v0.3.1) (2023-02-15)
118
-
119
-
120
- ### Bug Fixes
121
-
122
- * [Many APIs] changing format of the jsdoc links ([#3991](https://github.com/googleapis/google-cloud-node/issues/3991)) ([c6326d9](https://github.com/googleapis/google-cloud-node/commit/c6326d90abb9b649b25052e4afe7b3eb0f65bcb4))
123
-
124
- ## [0.3.0](https://github.com/googleapis/google-cloud-node/compare/routing-v0.2.1...routing-v0.3.0) (2023-01-28)
125
-
126
-
127
- ### Features
128
-
129
- * Add ExtraComputations feature to ComputeRoutes and ComputeRouteMatrix ([#3868](https://github.com/googleapis/google-cloud-node/issues/3868)) ([3b646fa](https://github.com/googleapis/google-cloud-node/commit/3b646fabd5aa4f29a176817d5ed6a23de9583ccb))
130
- * Added SuggestConversationSummary RPC ([#3854](https://github.com/googleapis/google-cloud-node/issues/3854)) ([9e4b7f8](https://github.com/googleapis/google-cloud-node/commit/9e4b7f8d27dbb1ac011267f9b96ce90d2ff7a74b))
131
-
132
- ## [0.2.1](https://github.com/googleapis/google-cloud-node/compare/routing-v0.2.0...routing-v0.2.1) (2022-11-10)
133
-
134
-
135
- ### Bug Fixes
136
-
137
- * Regenerated proto JS and TS definitions (generator update) ([#3472](https://github.com/googleapis/google-cloud-node/issues/3472)) ([5e2230d](https://github.com/googleapis/google-cloud-node/commit/5e2230dfc4302bb2ac9628ff4200eb46509e103d))
138
-
139
- ## [0.2.0](https://github.com/googleapis/google-cloud-node/compare/routing-v0.1.1...routing-v0.2.0) (2022-11-03)
140
-
141
-
142
- ### Features
143
-
144
- * Add Eco Routes feature to ComputeRoutes ([#3467](https://github.com/googleapis/google-cloud-node/issues/3467)) ([44bfca5](https://github.com/googleapis/google-cloud-node/commit/44bfca543e2663c0bbc956dafbd5f9eaea61818f))
145
-
146
-
147
- ### Bug Fixes
148
-
149
- * **deps:** Use google-gax v3.5.2 ([#3478](https://github.com/googleapis/google-cloud-node/issues/3478)) ([09305e0](https://github.com/googleapis/google-cloud-node/commit/09305e06548b89dc17bb3d3167e2d1e69588caa4))
150
-
151
- ## [0.1.1](https://github.com/googleapis/google-cloud-node/compare/routing-v0.1.0...routing-v0.1.1) (2022-09-30)
152
-
153
-
154
- ### Bug Fixes
155
-
156
- * **docs:** Add pretty name for API ([#3382](https://github.com/googleapis/google-cloud-node/issues/3382)) ([84db53b](https://github.com/googleapis/google-cloud-node/commit/84db53b4843df2511fee9da794b5429bd40b214d))
157
-
158
- ## 0.1.0 (2022-09-30)
159
-
160
-
161
- ### Features
162
-
163
- * add initial files for google.maps.routing.v2 ([1671258](https://github.com/googleapis/google-cloud-node/commit/1671258fe7d2ad326ed105107d788fb3c295fb3b))