File: CHANGELOG.md

package info (click to toggle)
ruby-google-cloud-env 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: ruby: 994; makefile: 3
file content (160 lines) | stat: -rw-r--r-- 4,140 bytes parent folder | download
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
# Release History

### 2.3.1 (2025-05-23)

#### Bug Fixes

* Compatibility fix for JRuby 10 on non-Windows systems ([#86](https://github.com/googleapis/ruby-cloud-env/issues/86)) 

### 2.3.0 (2025-04-30)

#### Features

* updated required ruby version to 3.1 ([#84](https://github.com/googleapis/ruby-cloud-env/issues/84)) 

### 2.2.2 (2025-03-13)

#### Bug Fixes

* Updated dependencies to include base64 for Ruby 3.4 ([#81](https://github.com/googleapis/ruby-cloud-env/issues/81)) 

### 2.2.1 (2024-10-04)

#### Bug Fixes

* Fixed edge cases in token expiration extraction ([#73](https://github.com/googleapis/ruby-cloud-env/issues/73)) 

### 2.2.0 (2024-08-22)

#### Features

* Provide a query for whether a logging agent is expected in the current environment ([#70](https://github.com/googleapis/ruby-cloud-env/issues/70)) 
* Require Ruby 3.0 or later ([#71](https://github.com/googleapis/ruby-cloud-env/issues/71)) 

### 2.1.1 (2024-02-01)

#### Bug Fixes

* Setting non-empty overrides simulates metadata server existence setting ([#64](https://github.com/googleapis/ruby-cloud-env/issues/64)) 

### 2.1.0 (2023-12-12)

#### Features

* Provide retrieval_monotonic_time on compute metadata response objects ([#62](https://github.com/googleapis/ruby-cloud-env/issues/62)) 

### 2.0.1 (2023-12-01)

#### Bug Fixes

* Bad response status or flavor headers no longer signal positive metadata existence ([#61](https://github.com/googleapis/ruby-cloud-env/issues/61)) 
* Increase token expiry buffer to three and a half minutes ([#59](https://github.com/googleapis/ruby-cloud-env/issues/59)) 

### 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

* Update minimum Ruby version to 2.6 ([#34](https://github.com/googleapis/ruby-cloud-env/issues/34)) 

### 1.6.0 (2022-03-21)

* Support for Faraday 2

### 1.5.0 (2021-03-08)

#### Features

* Drop support for Ruby 2.4 and add support for Ruby 3.0

### 1.4.0 / 2020-10-12

#### Features

* Honor GCE_METADATA_HOST environment variable

### 1.3.3 / 2020-07-10

#### Bug Fixes

* Project ID logic honors GOOGLE_CLOUD_PROJECT

### 1.3.2 / 2020-05-28

#### Documentation

* Fix a few broken links

### 1.3.1 / 2020-03-02

#### Bug Fixes

* support faraday 1.x

### 1.3.0 / 2019-10-23

Now requires Ruby 2.4 or later.

#### Features

* Recognize App Engine Standard and Knative

### 1.2.1 / 2019-08-23

#### Bug Fixes

* Send Metadata-Flavor header when testing the metadata server root

#### Documentation

* Update documentation

### 1.2.0 / 2019-06-19

* Support separate timeout for connecting to the metadata server vs the entire request

### 1.1.0 / 2019-05-29

* Support disabling of the metadata cache
* Support configurable retries when querying the metadata server
* Support configuration of the metadata request timeout

### 1.0.5 / 2018-09-20

* Update documentation.
  * Change documentation URL to googleapis GitHub org.

### 1.0.4 / 2018-09-12

* Add missing documentation files to package.

### 1.0.3 / 2018-09-10

* Update documentation.

### 1.0.2 / 2018-06-28

* Use Kubernetes Engine names.
  * Alias old method names for backwards compatibility.
* Handle EHOSTDOWN error when connecting to env.

### 1.0.1 / 2017-07-11

* Update gem spec homepage links.

### 1.0.0 / 2017-03-31

* Initial release