-
Notifications
You must be signed in to change notification settings - Fork 31
/
RELEASE_NOTES
7028 lines (4818 loc) · 250 KB
/
RELEASE_NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Google Cloud SDK - Release Notes
Copyright 2014-2018 Google Inc. All rights reserved.
Subscribe to these release notes at [https://groups.google.com/forum/#!forum/google-cloud-sdk-announce](https://groups.google.com/forum/#!forum/google-cloud-sdk-announce).
## 195.0.0 (2018-03-28)
### Breaking Changes
* **(Kubernetes Engine)** Fixed issue where `--service-account` flag did not add `userinfo.email` scope
in `gcloud container`.
### App Engine
* Updated the Go SDK to version 1.9.64.
* Update go-app-stager to use Go version 1.10 for staging App Engine Flexible apps with `runtime: go` in app.yaml.
### Cloud Dataproc
* Added PREEMPTIBLE_WORKER_COUNT to gcloud dataproc clusters list.
* Removed unnecessary zone flag from dataproc workflow-templates create.
### Cloud Endpoints
* Updated the `gcloud endpoints services deploy` command to recognize files
ending in `.proto.bin` as protobuf binary descriptor files, improving
interoperability with [Bazel](https://bazel.build/)'s
[`proto_library`](https://docs.bazel.build/versions/master/be/protocol-buffer.html#proto_library)
rule which outputs protobuf descriptors with this extension.
### Cloud Machine Learning Engine
* Added `--python-version` flag to `gcloud beta ml-engine versions create`.
### Cloud SQL
* Promoted `--availability-type` of `gcloud sql instances <create|patch>` to GA.
### Compute Engine
* Add support for internationalized domain names to alpha ssl-certificates.
* Promoted `--source-instance-template` flag of `gcloud compute instances
create` command to GA.
* Promoted `gcloud compute images export` to GA.
* Promoted QUIC support to beta
* Promoted `--quic-override` flag of `compute target-https-proxies
<create|update>` to beta.
## 194.0.0 (2018-03-21)
### Breaking Changes
* Removed --disable-addons in gcloud container clusters create.
### Cloud Machine Learning Engine
* Added `--python-version` flag to `gcloud ml-engine jobs submit training`.
### Compute Engine
* Added `--disk-scope` flag to `detach-disk` operation in alpha.
* Promoted `gcloud compute networks subnets list-usable` to beta.
* Promoted `--guest-os-features` flag of `gcloud compute disks create` to GA.
This flag allows create disks with additional specified GuestOS features.
* Removed `gcloud compute networks switch-mode`. Please use `gcloud compute
networks update --switch-to-custom-mode` instead.
* Removed `--mode` flag from `gcloud compute networks create`. Please use
`--subnet-mode` instead.
* Promoted `gcloud compute images export` to beta.
## 193.0.0 (2018-03-14)
### Breaking Changes
* (REMOVED) Removed gcloud sql instances set-root-password command.
* (MODIFIED) Changed default scopes for Kubernetes 1.10 when creating clusters
or node pools: `compute-rw` and `devstorage-ro` are no longer always added.
(This is the default behavior for all Kubernetes versions for alpha and beta
tracks or if `container/new_scopes_behavior` property is set to true.) The
version of Kubernetes does not affect the behavior of
`--[no-]enable-cloud-endpoints`.
### App Engine
* Show server side warnings to the user.
### BigQuery
* Added DEFLATE and SNAPPY compression types for Avro exports.
* Added flag 'require\_partition\_filter' for creating and updating partitioned
tables. This will require a partition filter for any queries over the table.
* Added flags to filter jobs based on creation time when running `bq ls -j`:
'min\_creation\_time' and 'max\_creation\_time'.
### Cloud Dataproc
* Added `get-iam-policy` and `set-iam-policy` commands to the
`gcloud beta dataproc jobs`, `gcloud beta dataproc operations`, and
`gcloud beta dataproc workflow-templates` command groups.
### Cloud Machine Learning Engine
* Added `gcloud alpha ml-engine locations` command group.
### Cloud Tools For PowerShell
* Updated Cloud Tools for PowerShell to version 1.0.1.6.
* Added `region` support for Google Compute Engine Managed Instance cmdlets.
### Compute Engine
* Add rhel-sap-cloud project to the default public image list.
* Promote Flexible Route Advertisement commands and flags to GA:
* `gcloud compute routers update`
* `--advertisement-mode`, `--set-advertisement-groups`,
`--set-advertisement-ranges` in `gcloud compute routers create` and
`gcloud compute routers add-bgp-peer`
* `--advertisement-mode`, `--set-advertisement-groups`,
``--set-advertisement-ranges`, `--add-advertisement-groups`,
`--add-advertisement-ranges`, `--remove-advertisement-groups`,
`--remove-advertisement-ranges` in
`gcloud compute routers update-bgp-peer`
* Promoted `--source-snapshot` flag of `gcloud compute images create` command to
GA. This flag allows creating images from snapshots.
### Deployment Manager
* Added `--create-policy` to `gcloud <alpha|beta> deployment-manager
deployments create`.
* Added the create-policy CREATE to Deployment Manager alpha and beta tracks.
### Firebase Test Lab
* Added `--robo-script` flag to `gcloud beta firebase test android run` to support running a Robo test with a Robo Script.
## 192.0.0 (2018-03-07)
### Breaking Changes
* **(REMOVED)** Removed the deprecated `--port` flag from
`gcloud compute backend-services`. Use `--port-name` instead.
* Changed the flags used with `gcloud compute images import`. This command now
requires the user to specify either the `--os` or `--no-translate` flag.
* Removed `gcloud compute images translate`. The functionality of this command
is now a part of the `gcloud compute images import` command.
### App Engine
* Updated the Java SDK to version 1.9.63.
Please visit the following release notes for details:
https://cloud.google.com/appengine/docs/java/release-notes
### Compute Engine
* Promoted `gcloud compute images import` to beta; removed `gcloud alpha compute
images translate`. The translate command was combined with the import command.
* Added `--shielded-vm-integrity-monitoring` flag to
`gcloud compute instance-templates create` in alpha to support the
configuration of shielded VMs.
* Added `--shielded-vm-learn-integrity-policy` flag to
`gcloud compute instance update` in alpha to support configuration of the
shielded VM integrity policy.
* Modified `gcloud compute sign-url` to accept HTTP URLs in addition to HTTPS URLs
for signing.
* Added support for managed ssl certificates to `gcloud alpha compute
ssl-certificates`
### Container Registry
* Fixed a bug with `auth configure-docker` when `~/.docker` doesn't exist.
### Kubernetes Engine
* Added `--private-cluster` flag to enable PrivateCluster creation:
`gcloud {alpha,beta} container clusters {create} --private-cluster --master-ipv4-cidr <CIDR>
* Added `--workload-metadata-from-node` flag to `gcloud beta container
<clusters|node-pools> create` to allow enabling metadata concealment on
clusters and node pools. See
[https://cloud.google.com/kubernetes-engine/docs/how-to/metadata-proxy](https://cloud.google.com/kubernetes-engine/docs/how-to/metadata-proxy)
for more information. This feature is scheduled to be deprecated in the
future and later removed.
## 191.0.0 (2018-02-28)
### Breaking Changes
* **(DEPRECATED)** Deprecated `--instance-type` flag for `gcloud beta bigtable
instances update`. Use `gcloud beta bigtable instances upgrade` instead.
* **(DEPRECATED)** Renamed the `--description` flag to `--display-name` for
`gcloud beta bigtable instances <create|update>`.
* **(MODIFIED)** The behavior of `--trigger-bucket` flag for
`gcloud functions deploy` has changed and now corresponds to the new
`object.finalize` event on file creation. To get the legacy behavior, use the
`--trigger-event` and `--trigger-resource` flags e.g.
gcloud functions deploy --trigger-event \
providers/cloud.storage/eventTypes/object.change \
--trigger-resource <your_bucket_name>
* **(MODIFIED)** The schema for pub/sub events has changed. `eventId`,
`timestamp`, `resource`, and `eventType` have all been moved inside the
context property e.g., context.timestamp. All functions deployed using
`--trigger-topic` flag will use the new schema. To get the legacy behavior,
use the `--trigger-event` and `--trigger-resource` flags e.g.
gcloud functions deploy --trigger-event \
providers/cloud.pubsub/eventTypes/topic.publish \
--trigger-resource <your_topic_name>
* Please see https://cloud.google.com/storage/docs/pubsub-notifications for more
information on storage event types.
* **(REMOVED)** Removed `functions/use_new_pubsub_trigger` and
`functions/use_new_object_trigger` properties.
* Deprecated `gcloud sql instances export`. Use `gcloud sql export sql` instead.
* Deprecated `gcloud sql instances import`. Use `gcloud sql import sql` instead.
* Region is now inferred from `--gce-zone` flag during `gcloud sql instances
create` calls, and will override any value set with `--region`.
* **(REMOVED)** Removed the deprecated `--port` flag from
`gcloud compute backend-services`. Use `--port-name` instead.
* (DEPRECATED) Deprecated `--additional-zones` (replaced by `--node-locations`)
### App Engine
* The Python SSL 2.7 library will be decommissioned on 2 April 2018. After this
date, apps will be blocked from deploying until you specify the SSL library
(latest) or (2.7.11).
* Updated the Go SDK to version 1.9.63.
Please visit the following release notes for details:
https://cloud.google.com/appengine/docs/go/release-notes
### Cloud Bigtable
* Added `gcloud beta bigtable instances upgrade` command which upgrades
an existing development instance to a production instance.
### Cloud Datastore
* Promoted `gcloud datastore import` and `gcloud datastore export` to GA.
### Cloud Machine Learning Engine
* Added `--framework` flag to `gcloud ml-engine versions create` to specify
the machine learning framework (TensorFlow, scikit-learn, or XGboost) for ML
Engine versions.
### Cloud SQL
* Promoted `gcloud sql export` to GA.
* Promoted `gcloud sql import` to GA.
* Added warnings when calling `gcloud sql instances create` with both the
`--region` and `--gce-zone` flags, or with neither. These flags will become
mutually exclusive, with exactly one being required for create calls.
### Container Engine
* Added `container/use_v1_api_client` property as an alias of `container/use_v1_api`.
`container/use_v1_api` is still supported.
### Kubernetes Engine
* Added `--enable-pod-security-policy` flag to enable PodSecurityPolicy enforcement in clusters:
`gcloud <alpha|beta> container clusters <create|update> --enable-pod-security-policy`
### Stackdriver Debugger
* Changed `gcloud beta source upload` command to use the `.gcloudignore` file if
present. If not present and `.gitignore` is, `.gitignore` will still be used.
See `gcloud topic gcloudignore` to learn more.
## 190.0.1 (2018-02-22)
* Hotfix for UnicodeDecodeError issue affecting logging.
## 190.0.0 (2018-02-21)
### Breaking Changes
* The `--class` and `--jar` flags for the `hadoop` and `spark` commands in
`gcloud dataproc jobs submit` are now mutually exclusive. The previous usage
had been deprecated for more than a year.
* **(MODIFIED)** Soon changing the default event schema returned by Cloud
Functions with a pub/sub trigger(e.g. `--trigger-topic`). The `eventId`,
`timestamp`, `eventType`, and `resource` properties will all be moved into
the `event.context` property.
* To opt-in to the new behavior early, run
`gcloud config set functions/use_new_pubsub_trigger True`.
* To restore old behavior, run
`gcloud config set functions/use_new_pubsub_trigger False` or use
the `--trigger-event` flag e.g. `gcloud functions deploy --trigger-
event providers/cloud.pubsub/eventTypes/topic.publish \
--trigger-resource <TOPIC_NAME>`
* Please see
https://cloud.google.com/functions/docs/writing/background#event_parameter
for more information on the new schema.
* In alpha and beta:
* Removed `iot <configs|credentials>` command groups. Please use
`iot devices <configs|credentials>` instead.
* Removed the `--enable-device` flag from `iot devices <create|update>`. Please
use `--blocked` instead.
* Removed the `--pubsub-topic` flag and deprecated the `--event-pubsub-topic`
flag from `iot registries <create|update>`. Please use the
`--event-notification-config` flag instead.
* **(REMOVED)** Removed `NAME` and `--regexp` args from
`compute target-ssl-proxies list`. Please use the `--filter` flag instead.
* Added the `container/use_v1_api` property, which replaces the
`container/use_v1_api_client` property. If true, all gcloud Kubernetes Engine
commands (regardless of release track) will use the v1 API; otherwise,
gcloud beta track commands will use v1beta1 API and gcloud alpha track
commands will use v1alpha1 API. By default, it is set to true. The default
will be changed to false by the end of March.
### App Engine
* Updated the Python SDK to version 1.9.67.
Please visit the following release notes for details:
https://cloud.google.com/appengine/docs/python/release-notes
* `gcloud app deploy` can now deploy App Engine Java Standard apps, by providing
the path to appengine-web.xml.
* Staging is now supported in appengine-web.xml. Information on staging tags is
available in the [appengine-web.xml reference](https://cloud.google.com/appengine/docs/standard/java/config/appref).
### Cloud Datalab
* Updated the `datalab` component to the 20180213 release.
Released changes are documented in its tracking issue at
[https://github.com/googledatalab/datalab/issues/1959](https://github.com/googledatalab/datalab/issues/1959).
### Cloud Dataproc
* Added `--image` flag to `gcloud beta dataproc clusters` and `gcloud beta
dataproc workflow-templates`.
### Cloud IoT
* Promoted `gcloud iot` commands to GA.
### Cloud Machine Learning Engine
* Added `--description` flag to `gcloud <models|versions> <create|update>`
to manage model and version descriptions, respectively.
### Cloud SDK
* Modified `--log-http` to redact oauth tokens by default.
### Cloud SQL
* Added `--database` flag to `gcloud beta sql connect`.
* Change `gcloud sql instances list` default table format REGION column to
LOCATION, containing either the gceZone if defined or the region.
### Compute Engine
* Promoted `public-ptr` and `public-ptr-domain` flags of
`gcloud compute instances <create|add-access-config|update-access-config>` to
GA. These flags allow setting up the PTR record for the external IPs of
Compute Engine instances.
* Added `--shielded-vm-secure-boot` and `--shielded-vm-vtpm` flags to
`gcloud compute instance-templates create` in alpha to support the
configuration of shielded VMs.
* Added `--enable-flow-logs` flag to `gcloud compute networks subnets create`
and `gcloud compute networks subnets update` to toggle between enabling and
disabling flow logs for the subnet.
* Changed `gcloud alpha compute images vulnerabilities list` to display the
image name instead of image id to match images command group usage.
* Promoted `--create-disk` flag of `gcloud compute instances create` to beta.
These flags allow creating new disks during instance creation.
* Modified `gcloud compute machine-types list` to filter out OBSOLETE types by
default. Specify a `--filter`=... flag, or `--filter=""` to list all types.
### Container Builder
* Modified `gcloud container builds submit` such that if no source is specified
and the `--no-source` flag is omitted, the current working directory will be
used.
### Container Engine
* `gcloud container clusters list` changed to display `initialNodeCount` in the
*NUM_NODES* column if `currentNodeCount` is undefined. This shows a usable
value during upgrading.
* The `--region` flag is now available in all 'gcloud beta|alpha container' commands.
### Kubernetes Engine
* Added `--issue-client-certificate` to `gcloud container clusters create` in
GA. This allows users to create clusters without global admin key pair (using
`--no-issue-client-certificate`) to improve security.
## 189.0.0 (2018-02-14)
### Breaking Changes
* **(REMOVED)** Removed the `--ssl-certificate` flag from `gcloud compute <target-https-proxies|target-ssl-proxies> <create|update>`. Use `--ssl-certificates` instead.
### App Engine
* Updated the Java SDK to version 1.9.62.
Please visit the following release notes for details:
https://cloud.google.com/appengine/docs/java/release-notes
* Fixed the [issue with missing QuickStartGenerator class](https://issuetracker.google.com/issues/72808542)
* Changed `gcloud app deploy` to use a new runtime build pipeline to deploy apps for
Go (in the Flexible Environment). This enables more robust and flexible
deployments in some cases. To revert to the legacy builder, run
`gcloud config set app/use_runtime_builders false` from the command line.
### BigQuery
* Added experimental support for import of ORC files into BigQuery.
* Added Cloud KMS key rotating for customer-managed encryption key protected
BigQuery tables.
* Added `--location` flag to specify the geographic location in which BigQuery
jobs will run. No changes are required for commands in the existing US and EU
regions.
### Cloud Datalab
* Updated the `datalab` component to the 20180206 release.
Released changes are documented in its tracking issue at
[https://github.com/googledatalab/datalab/issues/1945](https://github.com/googledatalab/datalab/issues/1945).
### Cloud Datastore Emulator
* Released Cloud Datastore Emulator version 1.4.1.
* Recommended: Use the health check endpoint to confirm
emulator startup instead of relying on the "Dev App Server is now
running." message.
* Fixed issue where the emulator server would close HTTP connections
before shutting down, which was a problem for /shutdown. This issue
can be tracked at [https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/188](https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/188).
### Compute Engine
* Modified the preview field to be optional when importing using
`gcloud compute security-policies import` or
`gcloud compute security-policies create`.
### Container Engine
* Promoted `--cluster-secondary-range-name`, `--create-subnetwork`,
`--enable-autorepair`, `--enable-ip-alias`, `--enable-kubernetes-alpha`,
`--enable-legacy-authorization`, `--enable-network-policy`, `--labels`,
`--local-ssd-count`, `--maintenance-window`,
`--enable-master-authorized-networks`, `--master-authorized-networks`,
`--min-cpu-platform`, `--node-locations`, `--node-taints`, `--node-version`,
`--preemptible`, `--service-account`, `--services-ipv4-cidr`,
`--services-secondary-range-name` of `gcloud container clusters create` to GA.
* Promoted `--complete-ip-rotation`, `--enable-legacy-authorization`,
`--enable-master-authorized-networks`, `--enable-network-policy`,
`--logging-service`, `--maintenance-window`, `--remove-labels`,
`--start-ip-rotation`, `--update-labels`, `--node-locations`,
`--master-authorized-networks` of `gcloud container clusters update` to GA.
* Promoted `--enable-autorepair`, `--local-ssd-count`, `--min-cpu-platform`,
`--node-taints`, `--preemptible`, `--node-version` of
`gcloud container node-pools create` to GA.
* Promoted `--enable-autorepair` of `gcloud container node-pools update` to GA.
## 188.0.1 (2018-02-08)
* Hotfix for https://issuetracker.google.com/73044966 affecting Cloud SDK
installations in environments with inconsistent access to the Compute Engine
metadata server.
## 188.0.0 (2018-02-07)
### Breaking Changes
* **(REMOVED)** Removed deprecated `gcloud service-management`. Use
`gcloud endpoints` and `gcloud services` instead.
* **(MODIFIED)** The default trigger event behavior for `--trigger-bucket` flag
on the `gcloud functions deploy` command will soon change.
`google.storage.object.finalize` will replace
`providers/cloud.storage/eventTypes/object.change` as default trigger event.
To opt-in to the new behavior early, run
`gcloud config set functions/use_new_object_trigger True`.
### Cloud SDK
* Added `gcloud topic command-conventions` for details on command line
conventions and processing.
### Compute Engine
* Promoted `gcloud compute security-policies rules` to beta.
* Added `--file-name` and `--file-format` flags to
`gcloud compute security-policies create`. These flags allow creating security
policies from predefined templates by importing from the specified file.
* Modified the default file format for `gcloud compute security-policies import`
and `gcloud compute security-policies export` from json to yaml.
### Container Builder
* Fixed issue where a `.gcloudignore` entry matching "." caused `gcloud
container builds submit` to not upload any files.
### Firebase Test Lab
* Added default`as a possible device orientation. When orientation is
`default`, the most appropriate orientation for your app is picked.
Usually, this is any app-specified orientation for the main activity or
`portrait`, if none is specified in the app manifest.
### Identity and Access Management
* **(MODIFIED)** Promoted `gcloud beta iam roles`,
`gcloud beta iam list-testable-permissions` to GA.
### Miscellaneous
* Updated the Pubsub Emulator
* Pubsub emulator now spams the console less.
* Pubsub emulator properly sets the default value for Subscription.message_retention_duration.
Subscribe to these release notes at [https://groups.google.com/forum/#!forum/google-cloud-sdk-announce](https://groups.google.com/forum/#!forum/google-cloud-sdk-announce).
## 187.0.0 (2018-01-31)
### App Engine
* Updated the Java SDK to version 1.9.61.
Please visit the following release notes for details:
[https://cloud.google.com/appengine/docs/java/release-notes](https://cloud.google.com/appengine/docs/java/release-notes)
### App Engine Flexible Environment
* Added `--use-container-optimized-os` flag to `gcloud alpha|beta app update` to
enable [Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/)
as Flex VM base image by default on new deployments.
### Cloud DNS
* Added Cloud labels flags to `gcloud beta managed-zones <create|update>`
commands.
### Cloud Interconnect
* Promoted support for labels on interconnects to beta.
### Cloud PubSub
* Added `gcloud alpha pubsub snapshots describe` command.
### Cloud TPU
* Promoted `gcloud compute tpus` to beta.
### Compute Engine
* Promoted `gcloud compute target-vpn-gateways update` and `gcloud compute
vpn-tunnels update` to beta. These commands allow adding/modifying/clearing
labels.
* Promoted `stackdriver-metric` flag family of `gcloud compute instance-groups
managed set-autoscaling` to beta. These flags allow setting up per-group
autoscaling and metric filtering, as well as provide an improved interface to
the existing per-instance autoscaling.
* Promoted `--source-snapshot` flag of `gcloud compute images create` command to
beta. This flag allows creating images from snapshots.
* Promoted `--guest-os-features` flag of `gcloud compute disks create` to beta.
This flag allows create disks with additional specified GuestOS features.
* Promoted `--licenses` flag of `gcloud compute disks create` to GA.
This flag allows create disks with additional specified licenses.
### Container Builder
* Changed `gcloud container builds submit` command to no longer create a
`.gcloudignore` file on disk. Git files are still ignored by default, see
`gcloud topic gcloudignore` to learn more.
### Container Engine
* Promoted `--accelerator` flag of `gcloud container clusters create` and `gcloud container node-pools create` to beta.
### Container Registry
* Removed public read-only endpoints from default registries used by
`gcloud docker` and `docker-credential-gcloud` for authentication.
### Kubernetes Engine
* Fixed an issue causing relative `KUBECONFIG` paths to fail when used with the
`gcloud container clusters get-credentials` command.
### Miscellaneous
* Fixed crash when attempting to use a SOCKS proxy [https://issuetracker.google.com/72407295](https://issuetracker.google.com/72407295).
## 186.0.0 (2018-01-24)
### Breaking Changes
* **(REMOVED)** Removed support for the format `--scopes=[ACCOUNT=]SCOPE,[[ACCOUNT=]SCOPE,…]]` in `gcloud compute instances <create|create-with-container>` and `gcloud compute instance-templates <create|create-with-container>`. Please use `--scopes=[SCOPE, …]` and `--service-account=ACCOUNT` instead.
* **(MODIFIED)** Added cautionary 'y/n' prompts to
`gcloud beta iam roles create`, `gcloud beta iam roles update`, and
`gcloud beta iam roles copy` commands when using permissions with `TESTING`
`customRolesSupportLevel`. The prompt needs to be answered to finish the
request. Specify `--quiet` to prevent prompting confirming intent.
### Cloud Datalab
* Updated the `datalab` component to the 20180119 release.
Released changes are documented in its tracking issue at
[https://github.com/googledatalab/datalab/issues/1921](https://github.com/googledatalab/datalab/issues/1921).
### Cloud Datastore Emulator
* Released Cloud Datastore Emulator version 1.4.0.
* The emulator now returns error codes that match the Cloud Datastore
service for two scenarios: inserts of entities that already exist and
updates to ones that don't.
### Cloud Functions
* Modified behaviour of `gcloud beta functions deploy` when
re-deploying existing function without --source flag. `beta functions deploy`
will now always upload source code (whether or not --source flag is supplied)
from current directory if function was previously deployed from local source.
### Cloud SDK
* The `[all-box]` attribute has been added to the table format. It draws a rule
around all table cells and may be useful for visualizing list data or data
with embedded newlines. Usage: `--format="table[all-box](...)`
* Added `gcloudignore/enabled` property to allow turning off default
file-skipping behavior on commands that upload source. Run
`$ gcloud config set gcloudignore/enabled false` (and see
`$ gcloud topic gcloudignore` for more details).
## 185.0.0 (2018-01-17)
### Cloud Datalab
* Updated the `datalab` component to the 20180105 release.
Released changes are documented in its tracking issue at
[https://github.com/googledatalab/datalab/issues/1892](https://github.com/googledatalab/datalab/issues/1892).
### Compute Engine
* Promoted `gcloud compute os-login` commands to GA.
* Promoted SSL policy commands to beta
* Promoted `compute ssl-policies` to beta.
* Promoted `--ssl-policy` flag in `compute target-https-proxies create`
and `compute target-ssl-proxies create` to beta.
* Promoted `--ssl-policy` and `--clear-ssl-policy` flags in
`compute target-https-proxies update` and
`compute target-ssl-proxies update` to beta.
### Container Registry
* Added `staging-k8s.gcr.io` to the default set of registries authenticated by
`gcloud docker`.
### Kubernetes Engine
* Removed `--disable-addons` flag in gcloud container alpha|beta clusters create.
* Added `--addons` flag to gcloud container clusters create.
* Deprecated `--disable-addons` flag in gcloud container clusters create.
## 184.0.0 (2018-01-10)
### Breaking Changes
* (REMOVED) Removed `gcloud ml-engine init-project`. This step is now performed
automatically.
* Removed `--discard-local-ssd` flag from `gcloud compute instances stop`
(beta and GA). This flag wasn't working as intended. Stopping an instance
that uses a local SSD is not currently supported; delete and recreate the
instance instead.
* (DEPRECATED) Deprecated the `gcloud container` `--[no-]enable-cloud-endpoints`
flag (removed in alpha and beta).
* (MODIFIED) Added the `gcloud container` `container/new_scopes_behavior`
property, which will, in a future release, be the default behavior. If set
to true, `compute-rw`, `devstorage-ro`, `service-control`, and
`service-management` scopes are no longer added to what is specified in
`--scopes`, `compute-rw` is no longer inluded in the default scopes, and
`--[no-]enable-cloud-endpoints` flags are not allowed. This is now the
default behavior for alpha and beta, so this property has no effect for
those tracks.
### App Engine
* Fixed an issue where `queue.yaml` deployments failed due to a permission
error.
* Updated the Python SDK for App Engine to version 1.9.65.
* Added [SetupTools version 36.6.0](https://pypi.python.org/pypi/setuptools/36.6.0){: target="_blank" class="external"}
to the built-in third-party libraries.
* Updated Java SDK to version 1.9.60.
Please visit the following release notes for details:
https://cloud.google.com/appengine/docs/java/release-notes
* Updated the Go SDK for App Engine to version 1.9.62
* Includes internal updates for how applications are deployed.
* Fixed inaccurate warning about "module" in `app.yaml` configuration file
### BigQuery
* Fixed issue where page token switch (`-k` or `--page_token`) was not passed to
`list --transfer_config` command.
* Fixed issue where `list --transfer_run` command filter condition failed due
to field name error.
* Added time partitioning field to `show` command.
### Cloud Datalab
* Updated the `datalab` component to the 20171222 release.
Released changes are documented in its tracking issue at
[https://github.com/googledatalab/datalab/issues/1868](https://github.com/googledatalab/datalab/issues/1868).
### Cloud Dataproc
* Added boot disk type configuration flags to the
`gcloud beta dataproc clusters create` command:
* `--master-boot-disk-type`
* `--worker-boot-disk-type`
* `--preemptible-worker-boot-disk-type`
### Cloud Machine Learning Engine
* Added `--labels` flag to `gcloud ml-engine <models|versions> create`.
* Added `--labels` flag to `gcloud ml-engine jobs <prediction|training> submit`.
* Added `gcloud ml-engine <models|versions|jobs> update` commands which update
Cloud Machine Learning resources.
### Cloud PubSub
* Added `--wait` flag to `gcloud beta pubsub subscriptions pull`.
### Cloud SQL
* Added `--user` flag to `gcloud beta sql import sql` to add support for
specifying a Postgres user to import with.
* Added `--user` flag to `gcloud beta sql import csv` to add support for
specifying a Postgres user to import with.
### Container Builder
Added support for `.gcloudignore` files to `container builds submit` command.
### Container Engine
* Updated Google Kubernetes Engine's kubectl from version 1.8.4 to 1.8.6.
* Promoted `--node-version` flag of `gcloud container <clusters|node-pools>
create` to GA. Clusters/node-pools can now be created with a node version
different from that of the master, via the `--node-version` flag.
### Container Registry
* Updated `docker-credential-gcr` to v1.4.2:
* Refreshes the cloud SDK's access token when retrieving it, when configured
to use `gcloud` as a token source.
## 183.0.0 (2017-12-13)
### Breaking Changes
* Modified the default output for `gcloud beta logging metrics list` to display
in YAML format. To view metrics in the previous table format, use
`gcloud beta logging metrics list --format
"table(name, description, filter)"`.
* Deprecated the `gcloud alpha source captures` group. Please see the `gcloud
debug source upload` command.
* Made 'gke-default' the default for --scopes in `gcloud container
[clusters|node-pools] create`. It includes storage-ro, logging-write,
monitoring, service-control, service-management, and trace.
* Fixed issue in `gcloud container [clusters|node-pools] create` where, if
--scopes included cloud endpoints scopes and --no-enable-cloud-endpoints
was also specified, the cloud endpoints scopes were still included. They
are now filtered out.
* **(MODIFIED)** Modified `gcloud alpha deployment-manager deployments
<create|update|describe>` and `gcloud alpha deployment-manager resources list`
commands to show the 'RUNTIME_POLICIES' instead of 'INTENT' of the resources
under deployment that have not been previewed.
### App Engine
* Updated App Engine Python components to 1.9.64.
Please visit the following release notes for details:
<https://cloud.google.com/appengine/docs/python/release-notes>
### Cloud Dataproc
* Promoted `--num-masters` flag for Dataproc Cluster High Availability mode
in the `gcloud dataproc clusters create` command to GA.
* Promoted `--graceful-decommission-timeout` flag of `gcloud dataproc clusters
update` command for Dataproc Graceful Downscale to GA.
* Added `--master-min-cpu-platform` and `--worker-min-cpu-platform` flags to
`gcloud beta dataproc clusters create
### Cloud Logging
* Added a `--config-from-file` flag to the `gcloud logging metrics create` and
`update` commands in beta. This flag is mutually exclusive with
`--description` and `--log-filter` and can be used to configure a new metric
or update the configuration of a metric.
### Cloud ML Product Search
* Launched ML Product Search (`gcloud ml products`) to ALPHA.
### Compute Engine
* Added the `gcloud beta compute os-login ssh-keys describe` command, which
displays the details of an OS Login user profile SSH key.
* Promoted `--labels` flag of `gcloud compute instance-templates` create to
GA.
* Added `--configure-disk` flag to beta command
`compute instance-templates create`.
* Added `gcloud beta compute os-login remove-profile` command which removes
posix account information for OS Login users.
### Deployment Manager
* Modified `gcloud alpha deployment-manager deployments
<create|update|describe>` and 'gcloud alpha deployment-manager
resources list' commands to show additional 'TO_RUN' or
'NOT_RUN' intent for action resources under previewed
deployment.
### Speech API
* Promoted `gcloud ml speech` to GA.
### Stackdriver Debugger
* Added `gcloud beta debug source upload` to replace the `gcloud alpha source
captures` group.
### Vision API
* Promoted `gcloud ml vision` to GA.
## 182.0.0 (2017-12-06)
### Breaking Changes
* Renamed the `--language` flag to `--language-code` for the
`gcloud beta ml speech` commands.
* For `gcloud [alpha|beta] container [clusters|node-pools] create`,
`--service-account` is now mutually exclusive with `--scopes` and
`--[no-]enable-cloud-endpoints`, and sets the `cloud-platform` scope when
specified.
* **(REMOVED)** Removed ability to use `--backup-pool` flag without an
argument in `gcloud compute target-pools set-backup`. Use
`--no-backup-pool` instead.
* **(REMOVED)** Removed ability to use `--bucket` flag without an argument in
`gcloud compute project-info set-usage-bucket`. Use `--no-bucket` instead.
### Cloud Video Intelligence API
* Promoted `gcloud ml video` to GA.
### Cloud Natural Language API
* Promoted `gcloud ml language classify-text` to GA.
### Speech API
* Added the `--include-word-time-offsets` flag to the `gcloud beta ml speech`
commands.
### Google Container Engine
* Regional clusters are in beta. The `--region` flag is now supported in the
`gcloud beta container clusters` surface.
* Added the `--machine-type` and `--disk-size` flags to the
`gcloud container builds submit` command.
* Updated Google Container Engine's kubectl from version 1.8.3 to 1.8.4.
* Added `--allow-route-overlap` flag in `gcloud beta container clusters create`
to allow the provided cluster CIDRs to overlap with some existing routes.
### Google Cloud Bigtable
* Updated the version of `cbt` to 0.2.3. Changes in this version:
* Fixed spurious error message for many commands
* Added the ability to apply a regex to `read` command
### Google Container Builder
* Updated the version to 0.2.6. Changes in this version:
* Added build's timing information: build steps, image pulls and pushes.
* Simplified logs package.
### Google Cloud Functions
* The `--stage-bucket` flag of the beta `functions deploy` command is now
optional, even when deploying from local sources. The command now uploads
sources to signed URLs generated by the API.
## 181.0.0 (2017-11-30)
* NOTE: This release was hidden and the Cloud SDK was rolled back to version
180.0.1.
### Breaking Changes
* Promoted `gcloud pubsub` to GA. There are breaking changes in beta.
* `pubsub subscriptions modify-ack-deadline` has been renamed to
`pubsub subscriptions modify-message-ack-deadline`.
* **(BETA - DEPRECATED)** Deprecated `modify-ack-deadline`. It will be
removed in the future.
* In `pubsub subscriptions <ack|modify-message-ack-deadline|modify-ack-deadline>`,
the positional argument `ACK_ID` has been replaced by `--ack-ids`.
* **(BETA - DEPRECATED)** Deprecated the positional. It will be removed
in the future.
* Removed the `--max-messages` flag from `pubsub subscriptions pull`.
Use the `--limit` flag to achieve the same behavior.
* **(BETA - DEPRECATED)** Deprecated `--max-messages`. It will be removed
in the future.
* Replaced the positional argument `MESSAGE_BODY` with `--message` in
`pubsub topics publish` .
* **(BETA - DEPRECATED)** Deprecated the positional. It will be removed
in the future.
* Added `pubsub <subscriptions|topics> describe` commands to all
release tracks.
* All commands in `pubsub <subscriptions|topics>` now output exactly the
API response. Extra fields have been removed. See the following for
output
documentation: https://cloud.google.com/pubsub/docs/reference/rest/
* **(BETA)**, this is also the new default behavior. You can set the
`pubsub/legacy_output` property to get the old output. This will
eventually be removed.
* **(ALPHA - DEPRECATED)** `gcloud alpha shell` has been renamed
`gcloud alpha interactive`.
### Google Cloud SDK
* `gcloud alpha interactive` has been added with these features:
* auto-completion and active help for *gcloud* commands, flags and resource
arguments
* auto-completion and active help for *bq*, *gsutil* and *kubectl*
* support for running non-gcloud commands
* state preservation across commands: *cd*, *pwd*, local and environment
variables
### Compute Engine
* Promoted `--source-instance-template` flag of `gcloud compute instances
create` command to beta.
* Added `--async` flag to `gcloud alpha compute instances suspend`.
* Added wait polling for synchronous case.
* Removed zone prompting support.
* Moved tests to autogen test framework.
### Cloud Machine Learning
* `gcloud beta ml vision suggest-crop` is now available.
### Google App Engine
* Fixed issue where Python 2.7 apps using App Engine managed libraries, such as
Django and Flask, would result in ImportError when running `dev_appserver.py`.
Now, `dev_appserver.py` offers to install the `app-engine-python-extras`
component which contain the missing libraries. Only applies to apps specifying
the `libraries`-section in app.yaml.
### Google Cloud Dataproc
* Renamed `run` to `instantiate` in `gcloud beta dataproc workflow-templates`
command group.
### Google Cloud Source Repositories