Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.7.0"
".": "2.0.0"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Release History

### 2.0.0 (2023-11-14)

This is a major overhaul of the mechanisms underlying this gem, to improve reliability and provide better mocking interfaces. Environment interrogation calls are unchanged, but the mocking override parameters from 1.x have been removed in favor of the new interfaces, hence the semver-major version bump.

This version has not yet added explicit calls for detecting newer runtimes such as Cloud Run and Cloud Functions. Those will come in the near future.

#### Features

* Update minimum Ruby version to 2.7
* Provide access objects for information sources (such as environment variables, file system, and metadata server)
* Each access object has an interface for providing mock data for testing
* Much more robust retry policy and detection mechanisms for the metadata server
* Provide ensure_metadata and lookup_metadata_response calls at the top level interface

### 1.7.0 (2023-05-15)

#### Features
Expand Down
2 changes: 1 addition & 1 deletion lib/google/cloud/env/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Env
# Library version
# @return [String]
#
VERSION = "1.6.0".freeze
VERSION = "2.0.0".freeze
end
end
end