oauth2 2.0.16 → 2.0.18

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da97472c8338b07cf3f6022363d67d76766eaf2a321de6371d3549580115a636
4
- data.tar.gz: 9fd1a0061596425903a1e820b3db93ea80e1b60fce9a5e3f0fc7fdbf3b075631
3
+ metadata.gz: f43a3e156646bef90634677d617a155cff1f87d57ca030674f3ee05c160fa4d9
4
+ data.tar.gz: 5a2d29e7cd920d4e2f515afc23896795477e5cb357e47b6f5c3d0c797194d54c
5
5
  SHA512:
6
- metadata.gz: 36ee9469a338201a06e52ef7a6d3a7390bc6f72e4362a7a14e604e53550b35a3d2fe6f27f15ee66e6e6500a56da3963e009b005ba4ccf28db42ff98b0302f23b
7
- data.tar.gz: ea6734018d8a32ce265a33f39d2151cb42dc8d2b76282e3788fdd4806dc719aa82c7052ffd5653e855e9a105004fa3cc6a7dc02fdf6265bd45cd12412b6cbbec
6
+ metadata.gz: 471a77bbc0bd8a428ce01ba42ba8e9cb0ad35793eb5f7ae352946b9dda9a448152280c3bdf445255adb47b7f45d65efa11bff2affc2c2200f8e43f57f2a19a91
7
+ data.tar.gz: 6bae92dd35b1bf9efd38b4d3eceb2451c1016dbd9270947f74ba4ff389fa78420558df095acd8ff7404a2b8b2cdb9438983d1feb59751dd4252f2b7bc75c8d31
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -17,20 +17,77 @@ Please file a bug if you notice a violation of semantic versioning.
17
17
  [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
18
18
 
19
19
  ## [Unreleased]
20
+
20
21
  ### Added
22
+
21
23
  ### Changed
24
+
22
25
  ### Deprecated
26
+
23
27
  ### Removed
28
+
24
29
  ### Fixed
30
+
25
31
  ### Security
26
32
 
33
+ ## [2.0.18] - 2025-11-08
34
+
35
+ - TAG: [v2.0.18][2.0.18t]
36
+ - COVERAGE: 100.00% -- 526/526 lines in 14 files
37
+ - BRANCH COVERAGE: 100.00% -- 178/178 branches in 14 files
38
+ - 90.48% documented
39
+
40
+ ### Added
41
+
42
+ - [gh!683][gh!683], [gh!684][gh!684] - Improve documentation by @pboling
43
+ - [gh!686][gh!686]- Add Incident Response Plan by @pboling
44
+ - [gh!687][gh!687]- Add Threat Model by @pboling
45
+
46
+ ### Changed
47
+
48
+ - [gh!685][gh!685] - upgrade kettle-dev v1.1.24 by @pboling
49
+ - upgrade kettle-dev v1.1.52 by @pboling
50
+ - Add open collective donors to README
51
+
52
+ ### Fixed
53
+
54
+ - [gh!690][gh!690], [gh!691][gh!691], [gh!692][gh!692] - Add yard-fence
55
+ - handle braces within code fences in markdown properly by @pboling
56
+
57
+ ### Security
58
+
59
+ [gh!683]: https://github.com/ruby-oauth/oauth2/pull/683
60
+ [gh!684]: https://github.com/ruby-oauth/oauth2/pull/684
61
+ [gh!685]: https://github.com/ruby-oauth/oauth2/pull/685
62
+ [gh!686]: https://github.com/ruby-oauth/oauth2/pull/686
63
+ [gh!687]: https://github.com/ruby-oauth/oauth2/pull/687
64
+ [gh!690]: https://github.com/ruby-oauth/oauth2/pull/690
65
+ [gh!691]: https://github.com/ruby-oauth/oauth2/pull/691
66
+ [gh!692]: https://github.com/ruby-oauth/oauth2/pull/692
67
+
68
+ ## [2.0.17] - 2025-09-15
69
+
70
+ - TAG: [v2.0.17][2.0.17t]
71
+ - COVERAGE: 100.00% -- 526/526 lines in 14 files
72
+ - BRANCH COVERAGE: 100.00% -- 178/178 branches in 14 files
73
+ - 90.48% documented
74
+
75
+ ### Added
76
+
77
+ - [gh!682][gh!682] - AccessToken: support Hash-based verb-dependent token transmission mode (e.g., `{get: :query, post: :header}`)
78
+
79
+ [gh!682]: https://github.com/ruby-oauth/oauth2/pull/682
80
+
27
81
  ## [2.0.16] - 2025-09-14
82
+
28
83
  - TAG: [v2.0.16][2.0.16t]
29
- - COVERAGE: 96.33% -- 394/409 lines in 14 files
30
- - BRANCH COVERAGE: 86.49% -- 64/74 branches in 14 files
84
+ - COVERAGE: 100.00% -- 520/520 lines in 14 files
85
+ - BRANCH COVERAGE: 100.00% -- 176/176 branches in 14 files
31
86
  - 90.48% documented
87
+
32
88
  ### Added
33
- - [gh!680—][gh!680]E2E example using mock test server added in v2.0.11 by @pboling
89
+
90
+ - [gh!680][gh!680] - E2E example using mock test server added in v2.0.11 by @pboling
34
91
  - mock-oauth2-server upgraded to v2.3.0
35
92
  - https://github.com/navikt/mock-oauth2-server
36
93
  - `docker compose -f docker-compose-ssl.yml up -d --wait`
@@ -39,10 +96,12 @@ Please file a bug if you notice a violation of semantic versioning.
39
96
  - mock server readiness wait is 90s
40
97
  - override via E2E_WAIT_TIMEOUT
41
98
  - [gh!676][gh!676], [gh!679][gh!679] - Apache SkyWalking Eyes dependency license check by @pboling
99
+
42
100
  ### Changed
101
+
43
102
  - [gh!678][gh!678] - Many improvements to make CI more resilient (past/future proof) by @pboling
44
103
  - [gh!681][gh!681] - Upgrade to kettle-dev v1.1.19
45
- ### Security
104
+
46
105
  [gh!676]: https://github.com/ruby-oauth/oauth2/pull/676
47
106
  [gh!678]: https://github.com/ruby-oauth/oauth2/pull/678
48
107
  [gh!679]: https://github.com/ruby-oauth/oauth2/pull/679
@@ -50,11 +109,14 @@ Please file a bug if you notice a violation of semantic versioning.
50
109
  [gh!681]: https://github.com/ruby-oauth/oauth2/pull/681
51
110
 
52
111
  ## [2.0.15] - 2025-09-08
112
+
53
113
  - TAG: [v2.0.15][2.0.15t]
54
114
  - COVERAGE: 100.00% -- 519/519 lines in 14 files
55
115
  - BRANCH COVERAGE: 100.00% -- 174/174 branches in 14 files
56
116
  - 90.48% documented
117
+
57
118
  ### Added
119
+
58
120
  - [gh!671][gh!671] - Complete documentation example for Instagram by @pboling
59
121
  - .env.local.example for contributor happiness
60
122
  - note lack of builds for JRuby 9.2, 9.3 & Truffleruby 22.3, 23.0
@@ -62,12 +124,15 @@ Please file a bug if you notice a violation of semantic versioning.
62
124
  - [community/discussions/15452][GHA-allow-failure]
63
125
  - [gh!670][gh!670] - AccessToken: verb-dependent token transmission mode by @mrj
64
126
  - e.g., Instagram GET=:query, POST/DELETE=:header
127
+
65
128
  ### Changed
129
+
66
130
  - [gh!669][gh!669] - Upgrade to kettle-dev v1.1.9 by @pboling
131
+
67
132
  ### Fixed
133
+
68
134
  - Remove accidentally duplicated lines, and fix typos in CHANGELOG.md
69
135
  - point badge to the correct workflow for Ruby 2.3 (caboose.yml)
70
- ### Security
71
136
 
72
137
  [gh!669]: https://github.com/ruby-oauth/oauth2/pull/669
73
138
  [gh!670]: https://github.com/ruby-oauth/oauth2/pull/670
@@ -76,11 +141,14 @@ Please file a bug if you notice a violation of semantic versioning.
76
141
  [GHA-allow-failure]: https://github.com/orgs/community/discussions/15452
77
142
 
78
143
  ## [2.0.14] - 2025-08-31
144
+
79
145
  - TAG: [v2.0.14][2.0.14t]
80
146
  - COVERAGE: 100.00% -- 519/519 lines in 14 files
81
147
  - BRANCH COVERAGE: 100.00% -- 174/174 branches in 14 files
82
148
  - 90.48% documented
149
+
83
150
  ### Added
151
+
84
152
  - improved documentation by @pboling
85
153
  - [gh!665][gh!665] - Document Mutual TLS (mTLS) usage with example in README (connection_opts.ssl client_cert/client_key and auth_scheme: :tls_client_auth) by @pboling
86
154
  - [gh!666][gh!666] - Document usage of flat query params using Faraday::FlatParamsEncoder, with example URI, in README by @pboling
@@ -103,11 +171,14 @@ Please file a bug if you notice a violation of semantic versioning.
103
171
  [gh!666]: https://github.com/ruby-oauth/oauth2/pull/666
104
172
 
105
173
  ## [2.0.13] - 2025-08-30
174
+
106
175
  - TAG: [v2.0.13][2.0.13t]
107
176
  - COVERAGE: 100.00% -- 519/519 lines in 14 files
108
177
  - BRANCH COVERAGE: 100.00% -- 174/174 branches in 14 files
109
178
  - 90.48% documented
179
+
110
180
  ### Added
181
+
111
182
  - [gh!656][gh!656] - Support revocation with URL-encoded parameters
112
183
  - [gh!660][gh!660] - Inline yard documentation by @pboling
113
184
  - [gh!660][gh!660] - Complete RBS types documentation by @pboling
@@ -115,11 +186,16 @@ Please file a bug if you notice a violation of semantic versioning.
115
186
  - [gh!657][gh!657] - Updated documentation for org-rename by @pboling
116
187
  - More funding links by @Aboling0
117
188
  - Documentation: Added docs/OIDC.md with OIDC 1.0 overview, example, and references
189
+
118
190
  ### Changed
191
+
119
192
  - Upgrade Code of Conduct to Contributor Covenant 2.1 by @pboling
120
193
  - [gh!660][gh!660] - Shrink post-install message by 4 lines by @pboling
194
+
121
195
  ### Fixed
196
+
122
197
  - [gh!660][gh!660] - Links in README (including link to HEAD documentation) by @pboling
198
+
123
199
  ### Security
124
200
 
125
201
  [gh!660]: https://github.com/ruby-oauth/oauth2/pull/660
@@ -127,31 +203,40 @@ Please file a bug if you notice a violation of semantic versioning.
127
203
  [gh!656]: https://github.com/ruby-oauth/oauth2/pull/656
128
204
 
129
205
  ## [2.0.12] - 2025-05-31
206
+
130
207
  - TAG: [v2.0.12][2.0.12t]
131
208
  - Line Coverage: 100.0% (520 / 520)
132
209
  - Branch Coverage: 100.0% (174 / 174)
133
210
  - 80.00% documented
211
+
134
212
  ### Added
213
+
135
214
  - [gh!652][gh!652] - Support IETF rfc7515 JSON Web Signature - JWS by @mridang
136
215
  - Support JWT `kid` for key discovery and management
137
216
  - More Documentation by @pboling
138
217
  - Documented Serialization Extensions
139
218
  - Added Gatzo.com FLOSS logo by @Aboling0, CC BY-SA 4.0
140
219
  - Documentation site @ https://oauth2.galtzo.com now complete
220
+
141
221
  ### Changed
222
+
142
223
  - Updates to gemspec (email, funding url, post install message)
224
+
143
225
  ### Fixed
144
- - Documentation Typos by @pboling
145
226
 
227
+ - Documentation Typos by @pboling
146
228
 
147
229
  [gh!652]: https://github.com/ruby-oauth/oauth2/pull/652
148
230
 
149
231
  ## [2.0.11] - 2025-05-23
232
+
150
233
  - TAG: [v2.0.11][2.0.11t]
151
234
  - COVERAGE: 100.00% -- 518/518 lines in 14 files
152
235
  - BRANCH COVERAGE: 100.00% -- 172/172 branches in 14 files
153
236
  - 80.00% documented
237
+
154
238
  ### Added
239
+
155
240
  - [gh!651](https://github.com/ruby-oauth/oauth2/pull/651) - `:snaky_hash_klass` option (@pboling)
156
241
  - More documentation
157
242
  - Codeberg as ethical mirror (@pboling)
@@ -165,20 +250,27 @@ Please file a bug if you notice a violation of semantic versioning.
165
250
  - [!649](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/649) - Test compatibility with all key minor versions of Hashie v0, v1, v2, v3, v4, v5, HEAD (@pboling)
166
251
  - [gh!651](https://github.com/ruby-oauth/oauth2/pull/651) - Mock OAuth2 server for testing (@pboling)
167
252
  - https://github.com/navikt/mock-oauth2-server
253
+
168
254
  ### Changed
255
+
169
256
  - [gh!651](https://github.com/ruby-oauth/oauth2/pull/651) - Upgraded to snaky_hash v2.0.3 (@pboling)
170
257
  - Provides solution for serialization issues
171
258
  - Updated `spec.homepage_uri` in gemspec to GitHub Pages YARD documentation site (@pboling)
259
+
172
260
  ### Fixed
261
+
173
262
  - [gh!650](https://github.com/ruby-oauth/oauth2/pull/650) - Regression in return type of `OAuth2::Response#parsed` (@pboling)
174
263
  - Incorrect documentation related to silencing warnings (@pboling)
175
264
 
176
265
  ## [2.0.10] - 2025-05-17
266
+
177
267
  - TAG: [v2.0.10][2.0.10t]
178
268
  - COVERAGE: 100.00% -- 518/518 lines in 14 files
179
269
  - BRANCH COVERAGE: 100.00% -- 170/170 branches in 14 files
180
270
  - 79.05% documented
271
+
181
272
  ### Added
273
+
182
274
  - [gh!632](https://github.com/ruby-oauth/oauth2/pull/632) - Added `funding.yml` (@Aboling0)
183
275
  - [!635](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/635) - Added `.gitlab-ci.yml` (@jessieay)
184
276
  - [#638](https://gitlab.com/ruby-oauth/oauth2/-/issues/638) - Documentation of support for **ILO Fundamental Principles of Rights at Work** (@pboling)
@@ -198,14 +290,18 @@ Please file a bug if you notice a violation of semantic versioning.
198
290
  - See: https://datatracker.ietf.org/doc/html/rfc7009
199
291
  - [gh!644](https://github.com/ruby-oauth/oauth2/pull/644), [gh!645](https://github.com/ruby-oauth/oauth2/pull/645) - Added CITATION.cff (@Aboling0)
200
292
  - [!648](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/648) - Improved documentation (@pboling)
293
+
201
294
  ### Changed
295
+
202
296
  - Default value of `OAuth2.config.silence_extra_tokens_warning` was `false`, now `true` (@pboling)
203
297
  - Gem releases are now cryptographically signed, with a 20-year cert (@pboling)
204
298
  - Allow linux distros to build release without signing, as their package managers sign independently
205
299
  - [!647](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/647) - `OAuth2::AccessToken#refresh` now supports block param pass through (@pboling)
206
300
  - [!647](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/647) - `OAuth2.config` is no longer writable (@pboling)
207
301
  - [!647](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/647) - Errors raised by `OAuth2::AccessToken` are now always `OAuth2::Error` and have better metadata (@pboling)
302
+
208
303
  ### Fixed
304
+
209
305
  - [#95](https://gitlab.com/ruby-oauth/oauth2/-/issues/95) - restoring an access token via `AccessToken#from_hash` (@pboling)
210
306
  - This was a 13 year old bug report. 😘
211
307
  - [#619](https://gitlab.com/ruby-oauth/oauth2/-/issues/619) - Internal options (like `snaky`, `raise_errors`, and `parse`) are no longer included in request (@pboling)
@@ -221,37 +317,58 @@ Please file a bug if you notice a violation of semantic versioning.
221
317
  - [gh!646](https://github.com/ruby-oauth/oauth2/pull/646) - Change `require` to `require_relative` (improve performance) (@Aboling0)
222
318
 
223
319
  ## [2.0.9] - 2022-09-16
320
+
224
321
  - TAG: [v2.0.9][2.0.9t]
322
+
225
323
  ### Added
324
+
226
325
  - More specs (@pboling)
326
+
227
327
  ### Changed
328
+
228
329
  - Complete migration to main branch as default (@pboling)
229
330
  - Complete migration to Gitlab, updating all links, and references in VCS-managed files (@pboling)
230
331
 
231
332
  ## [2.0.8] - 2022-09-01
333
+
232
334
  - TAG: [v2.0.8][2.0.8t]
335
+
233
336
  ### Changed
337
+
234
338
  - [!630](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/630) - Extract snaky_hash to external dependency (@pboling)
339
+
235
340
  ### Added
341
+
236
342
  - [!631](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/631) - New global configuration option OAuth2.config.silence_extra_tokens_warning (default: false) fixes [#628](https://gitlab.com/ruby-oauth/oauth2/-/issues/628)
237
343
 
238
344
  ## [2.0.7] - 2022-08-22
345
+
239
346
  - TAG: [v2.0.7][2.0.7t]
347
+
240
348
  ### Added
349
+
241
350
  - [!629](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/629) - Allow POST of JSON to get token (@pboling, @terracatta)
351
+
242
352
  ### Fixed
353
+
243
354
  - [!626](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/626) - Fixes a regression in 2.0.6. Will now prefer the key order from the lookup, not the hash keys (@rickselby)
244
355
  - Note: This fixes compatibility with `omniauth-oauth2` and AWS
245
356
  - [!625](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/625) - Fixes the printed version in the post install message (@hasghari)
246
357
 
247
358
  ## [2.0.6] - 2022-07-13
359
+
248
360
  - TAG: [v2.0.6][2.0.6t]
361
+
249
362
  ### Fixed
363
+
250
364
  - [!624](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/624) - Fixes a [regression](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/623) in v2.0.5, where an error would be raised in refresh_token flows due to (legitimate) lack of access_token (@pboling)
251
365
 
252
366
  ## [2.0.5] - 2022-07-07
367
+
253
368
  - TAG: [v2.0.5][2.0.5t]
369
+
254
370
  ### Fixed
371
+
255
372
  - [!620](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/620) - Documentation improvements, to help with upgrading (@swanson)
256
373
  - [!621](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/621) - Fixed [#528](https://gitlab.com/ruby-oauth/oauth2/-/issues/528) and [#619](https://gitlab.com/ruby-oauth/oauth2/-/issues/619) (@pboling)
257
374
  - All data in responses is now returned, with the access token removed and set as `token`
@@ -261,35 +378,52 @@ Please file a bug if you notice a violation of semantic versioning.
261
378
  - There is now 100% test coverage, for lines _and_ branches, and it will stay that way.
262
379
 
263
380
  ## [2.0.4] - 2022-07-01
381
+
264
382
  - TAG: [v2.0.4][2.0.4t]
383
+
265
384
  ### Fixed
385
+
266
386
  - [!618](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/618) - In some scenarios the `snaky` option default value was not applied (@pboling)
267
387
 
268
388
  ## [2.0.3] - 2022-06-28
389
+
269
390
  - TAG: [v2.0.3][2.0.3t]
391
+
270
392
  ### Added
393
+
271
394
  - [!611](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/611) - Proper deprecation warnings for `extract_access_token` argument (@pboling)
272
395
  - [!612](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/612) - Add `snaky: false` option to skip conversion to `OAuth2::SnakyHash` (default: true) (@pboling)
396
+
273
397
  ### Fixed
398
+
274
399
  - [!608](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/608) - Wrap `Faraday::TimeoutError` in `OAuth2::TimeoutError` (@nbibler)
275
400
  - [!615](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/615) - Fix support for requests with blocks, see `Faraday::Connection#run_request` (@pboling)
276
401
 
277
402
  ## [2.0.2] - 2022-06-24
403
+
278
404
  - TAG: [v2.0.2][2.0.2t]
405
+
279
406
  ### Fixed
407
+
280
408
  - [!604](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/604) - Wrap `Faraday::TimeoutError` in `OAuth2::TimeoutError` (@stanhu)
281
409
  - [!606](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/606) - Ruby 2.7 deprecation warning fix: Move `access_token_class` parameter into `Client` constructor (@stanhu)
282
410
  - [!607](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/607) - CHANGELOG correction, reference to `OAuth2::ConnectionError` (@zavan)
283
411
 
284
412
  ## [2.0.1] - 2022-06-22
413
+
285
414
  - TAG: [v2.0.1][2.0.1t]
415
+
286
416
  ### Added
417
+
287
418
  - Documentation improvements (@pboling)
288
419
  - Increased test coverage to 99% (@pboling)
289
420
 
290
421
  ## [2.0.0] - 2022-06-21
422
+
291
423
  - TAG: [v2.0.0][2.0.0t]
424
+
292
425
  ### Added
426
+
293
427
  - [!158](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/158), [!344](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/344) - Optionally pass raw response to parsers (@niels)
294
428
  - [!190](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/190), [!332](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/332), [!334](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/334), [!335](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/335), [!360](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/360), [!426](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/426), [!427](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/427), [!461](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/461) - Documentation (@josephpage, @pboling, @meganemura, @joshRpowell, @elliotcm)
295
429
  - [!220](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/220) - Support IETF rfc7523 JWT Bearer Tokens Draft 04+ (@jhmoore)
@@ -316,7 +450,9 @@ Please file a bug if you notice a violation of semantic versioning.
316
450
  - [!571](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/571) - Support Ruby 3.1 (@pboling)
317
451
  - [!575](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/575) - Support IETF rfc7231, section 7.1.2 - relative location in redirect (@pboling)
318
452
  - [!581](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/581) - _Documentation_: of breaking changes (@pboling)
453
+
319
454
  ### Changed
455
+
320
456
  - [!191](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/191) - **BREAKING**: Token is expired if `expired_at` time is `now` (@davestevens)
321
457
  - [!312](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/312) - **BREAKING**: Set `:basic_auth` as default for `:auth_scheme` instead of `:request_body`. This was default behavior before 1.3.0. (@tetsuya, @wy193777)
322
458
  - [!317](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/317) - _Dependency_: Upgrade `jwt` to 2.x.x (@travisofthenorth)
@@ -332,7 +468,9 @@ Please file a bug if you notice a violation of semantic versioning.
332
468
  - As of version 2.0.4 you can turn key transformation off with the `snaky: false` option.
333
469
  - [!576](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/576) - **BREAKING**: Stop rescuing parsing errors (@pboling)
334
470
  - [!591](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/576) - _DEPRECATION_: `OAuth2::Client` - `:extract_access_token` option is deprecated
471
+
335
472
  ### Fixed
473
+
336
474
  - [!158](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/158), [!344](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/344) - Handling of errors when using `omniauth-facebook` (@niels)
337
475
  - [!294](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/294) - Fix: "Unexpected middleware set" issue with Faraday when `OAUTH_DEBUG=true` (@spectator, @gafrom)
338
476
  - [!300](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/300) - _Documentation_: `Oauth2::Error` - Error codes are strings, not symbols (@NobodysNightmare)
@@ -351,7 +489,9 @@ Please file a bug if you notice a violation of semantic versioning.
351
489
  - [!595](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/595) - Graceful handling of empty responses from `Client#get_token`, respecting `:raise_errors` config (@stanhu)
352
490
  - [!596](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/596) - Consistency between `AccessToken#refresh` and `Client#get_token` named arguments (@stanhu)
353
491
  - [!598](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/598) - Fix unparseable data not raised as error in `Client#get_token`, respecting `:raise_errors` config (@stanhu)
492
+
354
493
  ### Removed
494
+
355
495
  - [!341](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/341) - Remove Rdoc & Jeweler related files (@josephpage)
356
496
  - [!342](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/342) - **BREAKING**: Dropped support for Ruby 1.8 (@josephpage)
357
497
  - [!539](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/539) - Remove reliance on globally included OAuth2 in tests, analog of [!538](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/538) for 1-4-stable (@anderscarling)
@@ -360,15 +500,18 @@ Please file a bug if you notice a violation of semantic versioning.
360
500
  - [!590](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/590) - _Dependency_: Removed `multi_json` (@stanhu)
361
501
 
362
502
  ## [1.4.11] - 2022-09-16
503
+
363
504
  - TAG: [v1.4.11][1.4.11t]
364
505
  - Complete migration to main branch as default (@pboling)
365
506
  - Complete migration to Gitlab, updating all links, and references in VCS-managed files (@pboling)
366
507
 
367
508
  ## [1.4.10] - 2022-07-01
509
+
368
510
  - TAG: [v1.4.10][1.4.10t]
369
511
  - FIPS Compatibility [!587](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/587) (@akostadinov)
370
512
 
371
513
  ## [1.4.9] - 2022-02-20
514
+
372
515
  - TAG: [v1.4.9][1.4.9t]
373
516
  - Fixes compatibility with Faraday v2 [572](https://gitlab.com/ruby-oauth/oauth2/-/issues/572)
374
517
  - Includes supported versions of Faraday in test matrix:
@@ -378,6 +521,7 @@ Please file a bug if you notice a violation of semantic versioning.
378
521
  - Add Windows and MacOS to test matrix
379
522
 
380
523
  ## [1.4.8] - 2022-02-18
524
+
381
525
  - TAG: [v1.4.8][1.4.8t]
382
526
  - MFA is now required to push new gem versions (@pboling)
383
527
  - README overhaul w/ new Ruby Version and Engine compatibility policies (@pboling)
@@ -388,16 +532,19 @@ Please file a bug if you notice a violation of semantic versioning.
388
532
  - [!543](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/543) - Support for more modern Open SSL libraries (@pboling)
389
533
 
390
534
  ## [1.4.7] - 2021-03-19
535
+
391
536
  - TAG: [v1.4.7][1.4.7t]
392
537
  - [!541](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/541) - Backport fix to expires_at handling [!533](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/533) to 1-4-stable branch. (@dobon)
393
538
 
394
539
  ## [1.4.6] - 2021-03-19
540
+
395
541
  - TAG: [v1.4.6][1.4.6t]
396
542
  - [!540](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/540) - Add VERSION constant (@pboling)
397
543
  - [!537](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/537) - Fix crash in OAuth2::Client#get_token (@anderscarling)
398
544
  - [!538](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/538) - Remove reliance on globally included OAuth2 in tests, analogous to [!539](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/539) on main branch (@anderscarling)
399
545
 
400
546
  ## [1.4.5] - 2021-03-18
547
+
401
548
  - TAG: [v1.4.5][1.4.5t]
402
549
  - [!535](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/535) - Compatibility with range of supported Ruby OpenSSL versions, Rubocop updates, Github Actions, analogous to [!536](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/536) on main branch (@pboling)
403
550
  - [!518](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/518) - Add extract_access_token option to OAuth2::Client (@jonspalmer)
@@ -405,10 +552,12 @@ Please file a bug if you notice a violation of semantic versioning.
405
552
  - [!500](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/500) - Fix YARD documentation formatting (@olleolleolle)
406
553
 
407
554
  ## [1.4.4] - 2020-02-12
555
+
408
556
  - TAG: [v1.4.4][1.4.4t]
409
557
  - [!408](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/408) - Fixed expires_at for formatted time (@Lomey)
410
558
 
411
559
  ## [1.4.3] - 2020-01-29
560
+
412
561
  - TAG: [v1.4.3][1.4.3t]
413
562
  - [!483](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/483) - add project metadata to gemspec (@orien)
414
563
  - [!495](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/495) - support additional types of access token requests (@SteveyblamFreeagent, @thomcorley, @dgholz)
@@ -416,11 +565,13 @@ Please file a bug if you notice a violation of semantic versioning.
416
565
  - [!433](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/433) - allow field names with square brackets and numbers in params (@asm256)
417
566
 
418
567
  ## [1.4.2] - 2019-10-01
568
+
419
569
  - TAG: [v1.4.2][1.4.2t]
420
570
  - [!478](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/478) - support latest version of faraday & fix build (@pboling)
421
571
  - Officially support Ruby 2.6 and truffleruby
422
572
 
423
573
  ## [1.4.1] - 2018-10-13
574
+
424
575
  - TAG: [v1.4.1][1.4.1t]
425
576
  - [!417](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/417) - update jwt dependency (@thewoolleyman)
426
577
  - [!419](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/419) - remove rubocop dependency (temporary, added back in [!423](https://gitlab.com/ruby-oauth/oauth2/-/merge_requests/423)) (@pboling)
@@ -448,6 +599,7 @@ Please file a bug if you notice a violation of semantic versioning.
448
599
  [jruby-9.2]: https://www.jruby.org/2018/05/24/jruby-9-2-0-0.html
449
600
 
450
601
  ## [1.4.0] - 2017-06-09
602
+
451
603
  - TAG: [v1.4.0][1.4.0t]
452
604
  - Drop Ruby 1.8.7 support (@sferik)
453
605
  - Fix some RuboCop offenses (@sferik)
@@ -455,11 +607,13 @@ Please file a bug if you notice a violation of semantic versioning.
455
607
  - _Dependency_: Upgrade Faraday to 0.12 (@sferik)
456
608
 
457
609
  ## [1.3.1] - 2017-03-03
610
+
458
611
  - TAG: [v1.3.1][1.3.1t]
459
612
  - Add support for Ruby 2.4.0 (@pschambacher)
460
613
  - _Dependency_: Upgrade Faraday to Faraday 0.11 (@mcfiredrill, @rhymes, @pschambacher)
461
614
 
462
615
  ## [1.3.0] - 2016-12-28
616
+
463
617
  - TAG: [v1.3.0][1.3.0t]
464
618
  - Add support for header-based authentication to the `Client` so it can be used across the library (@bjeanes)
465
619
  - Default to header-based authentication when getting a token from an authorisation code (@maletor)
@@ -470,26 +624,36 @@ Please file a bug if you notice a violation of semantic versioning.
470
624
  - Add support for Faraday 0.10 (@rhymes)
471
625
 
472
626
  ## [1.2.0] - 2016-07-01
627
+
473
628
  - TAG: [v1.2.0][1.2.0t]
474
629
  - Properly handle encoding of error responses (so we don't blow up, for example, when Google's response includes a ∞) (@Motoshi-Nishihira)
475
630
  - Make a copy of the options hash in `AccessToken#from_hash` to avoid accidental mutations (@Linuus)
476
631
  - Use `raise` rather than `fail` to throw exceptions (@sferik)
477
632
 
478
633
  ## [1.1.0] - 2016-01-30
634
+
479
635
  - TAG: [v1.1.0][1.1.0t]
480
636
  - Various refactors (eliminating `Hash#merge!` usage in `AccessToken#refresh!`, use `yield` instead of `#call`, freezing mutable objects in constants, replacing constants with class variables) (@sferik)
481
637
  - Add support for Rack 2, and bump various other dependencies (@sferik)
482
638
 
483
639
  ## [1.0.0] - 2014-07-09
640
+
484
641
  - TAG: [v1.0.0][1.0.0t]
642
+
485
643
  ### Added
644
+
486
645
  - Add an implementation of the MAC token spec.
646
+
487
647
  ### Fixed
648
+
488
649
  - Fix Base64.strict_encode64 incompatibility with Ruby 1.8.7.
489
650
 
490
651
  ## [0.5.0] - 2011-07-29
652
+
491
653
  - TAG: [v0.5.0][0.5.0t]
654
+
492
655
  ### Changed
656
+
493
657
  - *breaking* `oauth_token` renamed to `oauth_bearer`.
494
658
  - *breaking* `authorize_path` Client option renamed to `authorize_url`.
495
659
  - *breaking* `access_token_path` Client option renamed to `token_url`.
@@ -497,65 +661,88 @@ Please file a bug if you notice a violation of semantic versioning.
497
661
  - *breaking* `web_server` renamed to `auth_code`.
498
662
 
499
663
  ## [0.4.1] - 2011-04-20
664
+
500
665
  - TAG: [v0.4.1][0.4.1t]
501
666
 
502
667
  ## [0.4.0] - 2011-04-20
668
+
503
669
  - TAG: [v0.4.0][0.4.0t]
504
670
 
505
671
  ## [0.3.0] - 2011-04-08
672
+
506
673
  - TAG: [v0.3.0][0.3.0t]
507
674
 
508
675
  ## [0.2.0] - 2011-04-01
676
+
509
677
  - TAG: [v0.2.0][0.2.0t]
510
678
 
511
679
  ## [0.1.1] - 2011-01-12
680
+
512
681
  - TAG: [v0.1.1][0.1.1t]
513
682
 
514
683
  ## [0.1.0] - 2010-10-13
684
+
515
685
  - TAG: [v0.1.0][0.1.0t]
516
686
 
517
687
  ## [0.0.13] - 2010-08-17
688
+
518
689
  - TAG: [v0.0.13][0.0.13t]
519
690
 
520
691
  ## [0.0.12] - 2010-08-17
692
+
521
693
  - TAG: [v0.0.12][0.0.12t]
522
694
 
523
695
  ## [0.0.11] - 2010-08-17
696
+
524
697
  - TAG: [v0.0.11][0.0.11t]
525
698
 
526
699
  ## [0.0.10] - 2010-06-19
700
+
527
701
  - TAG: [v0.0.10][0.0.10t]
528
702
 
529
703
  ## [0.0.9] - 2010-06-18
704
+
530
705
  - TAG: [v0.0.9][0.0.9t]
531
706
 
532
707
  ## [0.0.8] - 2010-04-27
708
+
533
709
  - TAG: [v0.0.8][0.0.8t]
534
710
 
535
711
  ## [0.0.7] - 2010-04-27
712
+
536
713
  - TAG: [v0.0.7][0.0.7t]
537
714
 
538
715
  ## [0.0.6] - 2010-04-25
716
+
539
717
  - TAG: [v0.0.6][0.0.6t]
540
718
 
541
719
  ## [0.0.5] - 2010-04-23
720
+
542
721
  - TAG: [v0.0.5][0.0.5t]
543
722
 
544
723
  ## [0.0.4] - 2010-04-22
724
+
545
725
  - TAG: [v0.0.4][0.0.4t]
546
726
 
547
727
  ## [0.0.3] - 2010-04-22
728
+
548
729
  - TAG: [v0.0.3][0.0.3t]
549
730
 
550
731
  ## [0.0.2] - 2010-04-22
732
+
551
733
  - TAG: [v0.0.2][0.0.2t]
552
734
 
553
735
  ## [0.0.1] - 2010-04-22
736
+
554
737
  - TAG: [v0.0.1][0.0.1t]
555
738
 
556
739
  [gemfiles/readme]: gemfiles/README.md
557
740
 
558
- [Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.16...HEAD
741
+ [Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.18...HEAD
742
+ [2.0.18]: https://github.com/ruby-oauth/oauth2/compare/v2.0.17...v2.0.18
743
+ [2.0.18t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.18
744
+ [2.0.17]: https://github.com/ruby-oauth/oauth2/compare/v2.0.16...v2.0.17
745
+ [2.0.17t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.17
559
746
  [2.0.16]: https://github.com/ruby-oauth/oauth2/compare/v2.0.15...v2.0.16
560
747
  [2.0.16t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.16
561
748
  [2.0.15]: https://github.com/ruby-oauth/oauth2/compare/v2.0.14...v2.0.15