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
|
# Release History
### 2.6.1 (2025-11-04)
#### Documentation
* add warning about loading unvalidated credentials ([#32121](https://github.com/googleapis/google-cloud-ruby/issues/32121))
### 2.6.0 (2025-03-04)
#### Features
* Update minimum Ruby version to 3.0 ([#29261](https://github.com/googleapis/google-cloud-ruby/issues/29261))
### 2.5.0 (2024-07-09)
#### Features
* compatibility with GA releases of underlying versioned clients ([#26361](https://github.com/googleapis/google-cloud-ruby/issues/26361))
### 2.4.0 (2024-03-07)
#### Features
* Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))
### 2.3.3 (2023-05-19)
#### Documentation
* Fixed broken links in authentication documentation ([#21619](https://github.com/googleapis/google-cloud-ruby/issues/21619))
### 2.3.2 (2022-10-18)
#### Bug Fixes
* update list logs response ([#19285](https://github.com/googleapis/google-cloud-ruby/issues/19285))
### 2.3.1 (2022-07-24)
#### Bug Fixes
* update resource descriptor to handle paged enum ([#18856](https://github.com/googleapis/google-cloud-ruby/issues/18856))
### 2.3.0 (2022-06-30)
#### Features
* Update minimum Ruby version to 2.6 ([#18444](https://github.com/googleapis/google-cloud-ruby/issues/18444))
### 2.2.2 / 2021-10-21
#### Documentation
* Add documentation for quota_project Configuration attribute
### 2.2.1 / 2021-07-08
#### Documentation
* Update AUTHENTICATION.md in handwritten packages
### 2.2.0 / 2021-03-10
#### Features
* Drop support for Ruby 2.4 and add support for Ruby 3.0
### 2.1.0 / 2020-09-16
#### Features
* quota_project can be set via library configuration
### 2.0.0 / 2020-07-21
This is a major update that removes the "low-level" client interface code, and
instead adds the new `google-cloud-logging-v2` gem as a dependency.
The new dependency is a rewritten low-level client, produced by a next-
generation client code generator, with improved performance and stability.
This change should have no effect on the high-level interface that most users
will use. The one exception is that the (mostly undocumented) `client_config`
argument, for adjusting low-level parameters such as RPC retry settings on
client objects, has been removed. If you need to adjust these parameters, use
the configuration interface in `google-cloud-logging-v2`.
Substantial changes have been made in the low-level interfaces, however. If you
are using the low-level classes under the `Google::Cloud::Logging::V2` module,
please review the docs for the new `google-cloud-logging-v2` gem. In
particular:
* Some classes have been renamed, notably the client class itself.
* The client constructor takes a configuration block instead of configuration
keyword arguments.
* All RPC method arguments are now keyword arguments.
### 1.10.9 / 2020-06-17
#### Documentation
* Improved field descriptions in the low-level interface.
### 1.10.8 / 2020-06-12
#### Documentation
* Provide more details on low-level monitored resource data types
### 1.10.7 / 2020-05-28
#### Documentation
* Fix a few broken links
### 1.10.6 / 2020-05-19
#### Bug Fixes
* Adjusted some default timeout and retry settings
### 1.10.5 / 2020-05-05
#### Bug Fixes
* Prevent error when calling stop! on unused AsyncWriter
### 1.10.4 / 2020-04-20
#### Documentation
* Fix some broken links in the Project and Sink docs
### 1.10.3 / 2020-04-06
#### Documentation
* Fix some broken links in the low-level interface documentation.
### 1.10.2 / 2020-04-01
#### Bug Fixes
* Restore some path helpers in the low-level interface.
### 1.10.1 / 2020-03-19
#### Bug Fixes
* Restore billing, folder, and organization path helpers in low-level interface
### 1.10.0 / 2020-03-16
#### Features
* support separate project setting for quota/billing
#### Low-level interface updates
* Add LogBucket
* Add ConfigServiceV2Client#list_buckets
* Add ConfigServiceV2Client#get_bucket
* Add ConfigServiceV2Client#update_bucket
* Add LifecycleState enum
* Change name to positional param in ConfigServiceV2Client#get_cmek_settings
* Change name and cmek_settings to positional params in ConfigServiceV2Client#update_cmek_settings
* Remove billing, folder, and organization path helpers from ConfigServiceV2Client
* Remove LogEntry#metadata
* Remove previously deprecated project_ids from LoggingServiceV2Client#list_log_entries
* Remove log_path helpers from LoggingServiceV2Client
* Rename ConfigServiceV2Client#billing_path to #billing_account_path
* Rename LoggingServiceV2Client#billing_path to #billing_account_path
* Rename MetricsServiceV2Client#metric_path to #log_metric_path
* Update network configuration settings
### 1.9.5 / 2020-02-24
#### Documentation
* Fix doc links to Cmek methods in lower-level client
### 1.9.4 / 2020-01-23
#### Documentation
* Update copyright year
### 1.9.3 / 2019-12-20
#### Documentation
* Update description of MetricDescriptor#unit in lower-level API
### 1.9.2 / 2019-12-18
#### Bug Fixes
* Fix MonitorMixin usage on Ruby 2.7
* Ruby 2.7 will error if new_cond is called before super().
* Make the call to super() be the first call in initialize
#### Documentation
* Update docs for lower-level API call MetricDescriptorMetadata#unit
### 1.9.1 / 2019-11-06
#### Bug Fixes
* Update minimum runtime dependencies
### 1.9.0 / 2019-10-29
This release requires Ruby 2.4 or later.
#### Documentation
* Clarify which Google Cloud Platform environments support automatic authentication
### 1.8.0 / 2019-10-03
#### Features
* Support additional fields of LogSink in the low-level interface
* Add LogSink#create_time field
* Add LogSink#update_time field
* Add LogSink#bigquery_options field
* Add BigQueryOptions type
* Update documentation
### 1.7.0 / 2019-08-23
#### Features
* Support overriding of service endpoint
### 1.6.6 / 2019-07-31
* Fix max threads setting in thread pools
* Thread pools once again limit the number of threads allocated.
* Update documentation links
### 1.6.5 / 2019-07-08
* Support overriding service host and port in the low-level interface.
### 1.6.4 / 2019-06-11
* Add documentation for MetricDescriptor#launch_stage and
MonitoredResourceDescriptor#launch_stage.
* Deprecate MetricDescriptor:: MetricDescriptorMetadata#launch_stage
* Use VERSION constant in GAPIC client
### 1.6.3 / 2019-04-29
* Add AUTHENTICATION.md guide.
* Update generated documentation.
* Update generated code examples.
* Extract gRPC header values from request.
### 1.6.2 / 2019-02-13
* Fix bug (typo) in retrieving default on_error proc.
### 1.6.1 / 2019-02-07
* Update concurrent-ruby dependency
### 1.6.0 / 2019-01-22
* AsyncWriter buffer entries and make batch API calls
* Update AsyncWriter to buffer log entries and batch API calls.
* Maintain backwards compatibility with the previous AsyncWriter's public API,
although the implementation is changed.
* Back pressure is applied by limiting the number of queued API calls.
Errors will now be raised when there are not enough resources.
* Errors are reported using the AsyncWriter#on_error callback.
* Pending log entries are sent before the process closes using at_exit.
* Add Logging on_error configuration.
* Add default insert_id value for Entry
* Add Entry.insert_id
* Add default insert_id value for Entry
An Entry object is assigned an insert_id when created so that if the
Entry object gets persisted multiple times it would know its insert_id
value and not attempt to generate a new one for each persist attempt.
An Entry object will still be considered empty if the only value it has
is the insert_id.
* (This change does not use SecureRandom for performance reasons.)
* Add Logging trace_sampled
* Add Entry#trace_sampled attribute
* Add trace_sampled to Logger::RequestInfo
* Changes to Rails default Logger
* Delay updating the Rails default logger until the first web request.
* This will avoid issues with forking processes and gRPC resources.
* This is accomplished by adding the on_init argument to middleware.
* Add Railtie.set_default_logger
* This method can be called post-fork to update the Rails default logger.
* Make use of Credentials#project_id
* Use Credentials#project_id
If a project_id is not provided, use the value on the Credentials object.
This value was added in googleauth 0.7.0.
* Loosen googleauth dependency
Allow for new releases up to 0.10.
The googleauth devs have committed to maintaining the current API
and will not make backwards compatible changes before 0.10.
* Direct logs for "/healthz" requests to the health check log.
* Update documentation.
### 1.5.7 / 2018-11-15
* Add Google::Logging::V2::LogEntry#trace_sampled.
* Update low-level documentation.
### 1.5.6 / 2018-10-03
* Use concurrent-ruby and ThreadLocalVar in Logger.
* Remove Monitor and synchronize blocks.
* Logger#thread_ids now only returns the current thread.
### 1.5.5 / 2018-09-20
* Make Logger thread-safe.
* Update Logging generated files.
* Add Metric's MetricDescriptorMetadata.
* Update documentation.
* Change documentation URL to googleapis GitHub org.
* Fix circular require warning.
### 1.5.4 / 2018-09-12
* Add missing documentation files to package.
### 1.5.3 / 2018-09-10
* Update documentation.
### 1.5.2 / 2018-08-21
* Update documentation.
### 1.5.1 / 2018-07-05
* Fix bug in List classes by propagating arguments needed for pagination calls.
* Fix issue when disabling Stackdriver components with Rails.env.production.
* Reduce string memory usage.
* Add documentation for enabling gRPC logging.
### 1.5.0 / 2018-02-27
* Use Google Cloud Shared Configuration.
* Deprecated Logging Sink attributes.
### 1.4.0 / 2017-12-19
* Update google-gax dependency to 1.0.
### 1.3.2 / 2017-11-20
* Refresh GAPIC layer (low-level API) based on updates to Protobuf types.
### 1.3.1 / 2017-11-15
* Fix credentials verification bug in Railtie.
### 1.3.0 / 2017-11-14
* Add `Google::Cloud::Logging::Credentials` class.
* Rename constructor arguments to `project_id` and `credentials`.
(The previous arguments `project` and `keyfile` are still supported.)
* Document `Google::Auth::Credentials` as `credentials` value.
* Add `partial_success` optional argument to `Project#write_entries`.
* Deprecate `HttpRequest#method`, use `HttpRequest#request_method` instead.
* Update generated low level GAPIC code.
* Updated `google-gax` (`grpc`, `google-protobuf`), `googleauth` dependencies.
### 1.2.3 / 2017-09-27
* Updated protobuf classes.
* Updated README.
### 1.2.2 / 2017-09-08
* Add `labels` configuration option to `Google::Cloud::Logging::Middleware` for Rails and other Rack-based framework integrations.
### 1.2.1 / 2017-07-11
* stackdriver-core 1.2.0 release
### 1.2.0 / 2017-07-11
* Update `labels` parameter in `Google::Cloud::Logging::Logger#initialize` to default to empty hash.
* Update `Google::Cloud::Logging::Logger` to support the following `ActiveSupport::Logger` methods: `:local_level`, `:local_level=`, `:silence`, `:silencer`, and `:unknown?`.
* Update GAPIC configuration to exclude `UNAVAILABLE` errors from automatic retry.
* Update gem spec homepage links.
### 1.1.0 / 2017-05-25
* Introduce new `Google::Cloud::Logging.configure` instrumentation configuration interface.
* Google::Cloud::Logger now sends extra trace context information in log entries.
### 1.0.1 / 2017-04-21
* Middleware constructor can be called without an explicit logger. This should make integration in non-Rails applications simpler.
* If Rails integration fails due to an auth error, the notice is now printed to STDOUT rather than STDERR, which should make it a bit less scary when displayed in Docker output.
### 1.0.0 / 2017-03-31
* Release 1.0
* Added `#trace` and `#source_location` to Entry
* Added listing of logs for the project
* Updated documentation
* Automatic retry on `UNAVAILABLE` errors
### 0.24.2 / 2017-03-03
* No public API changes.
* Update GRPC header value sent to the Logging API.
### 0.24.1 / 2017-03-01
* No public API changes.
* Update GRPC header value sent to the Logging API.
* Low level API adds new Protobuf types and GAPIC methods.
### 0.24.0 / 2017-02-21
* Fix GRPC retry bug
* The client_config data structure has replaced retry_codes/retry_codes_def with retry_codes
* Update GRPC/Protobuf/GAX dependencies
### 0.23.2 / 2016-12-27
* `Google::Cloud::Logging::Logger` depended on standard logger but didn't require it. Fixed.
### 0.23.1 / 2016-12-22
* Use the `stackdriver-core` gem to obtain Trace ID, for compatibility with the `google-cloud-trace` gem.
* `Google::Cloud::Logging::Logger` now understands all remaining standard Logger methods.
* Clean up `AsyncWriter` threads on VM exit, to prevent gRPC from crashing if it's still in the middle of a call.
* Support setting log name by path, and direct App Engine health checks to a separate log by default.
* Minor improvements to warning messages.
### 0.23.0 / 2016-12-8
* Add `resources` method argument to `Project#entries`
* Deprecate `projects` method argument from `Project#entries`
* Add `start_at`, `end_at`, and `writer_identity` attributes to `Sink`
* Add `start_at`, `end_at`, and `unique_writer_identity` parameters to `Project#create_sink`
* Add `unique_writer_identity` parameter to `Sink#save`
* Many documentation improvements
* Add documentation for Low Level API
### 0.21.2 / 2016-11-15
* Fix issue with uninitialized VERSION (remi)
### 0.21.1 / 2016-11-4
* Upgraded Google::Cloud::Logging::Railtie to use AsyncWriter
* Added Rails configuration for custom monitored resource
### 0.21.0 / 2016-10-20
* New service constructor Google::Cloud::Logging.new
* New constructor argument client_config
* Logger is now asynchronous
* AsyncWriter added
* Rails and Rack integration added
### 0.20.1 / 2016-09-02
* Fix an issue with the GRPC client and forked sub-processes
### 0.20.0 / 2016-08-26
This gem contains the Stackdriver Logging service implementation for the `google-cloud` gem. The `google-cloud` gem replaces the old `gcloud` gem. Legacy code can continue to use the `gcloud` gem.
* Namespace is now `Google::Cloud`
* The `google-cloud` gem is now an umbrella package for individual gems
|