Skip to content

Conversation

pboling
Copy link
Member

@pboling pboling commented May 16, 2025

Mirror of https://gitlab.com/oauth-xx/oauth2/-/merge_requests/648

In this release

2.0.10 - 2025-05-16

  • TAG: [v2.0.10][2.0.10t]
  • COVERAGE: 100.00% -- 518/518 lines in 14 files
  • BRANCH COVERAGE: 100.00% -- 170/170 branches in 14 files
  • 79.05% documented

Added

Changed

  • Default value of OAuth2.config.silence_extra_tokens_warning was false, now true (@pboling)
  • Gem releases are now cryptographically signed, with a 20-year cert (@pboling)
    • Allow linux distros to build release without signing, as their package managers sign independently
  • !647 - OAuth2::AccessToken#refresh now supports block param pass through (@pboling)
  • !647 - OAuth2.config is no longer writable (@pboling)
  • !647 - Errors raised by OAuth2::AccessToken are now always OAuth2::Error and have better metadata (@pboling)

Fixed

  • #95 - restoring an access token via AccessToken#from_hash (@pboling)
    • This was a 13 year old bug report. 😘
  • #619 - Internal options (like snaky, raise_errors, and parse) are no longer included in request (@pboling)
  • !633 - Spaces will now be encoded as %20 instead of + (@nov.matake)
  • !634 - CHANGELOG.md documentation fix (@skuwa229)
  • !638 - fix expired? when expires_in is 0 (@disep)
  • !639 - Only instantiate OAuth2::Error if raise_errors option is true (@glytch2)
  • #639 - AccessToken#to_hash is now serializable, just a regular Hash (@pboling)
  • !640 - README.md documentation fix (@martinezcoder)
  • !641 - Do not include sensitive information in the inspect (@manuelvanrijn)
  • #641 - Made default JSON response parser more resilient (@pboling)
  • #645 - Response no longer becomes a snaky hash (@pboling)
  • gh!646 - Change require to require_relative (improve performance) (@Aboling0)

TODOs

  • Test against multiple versions of runtime dependencies
    • faraday
      • v0
      • v1
      • v2
      • head
    • jwt
      • v1
      • v2
      • v3 (beta)
      • head
    • rack
      • v1.2
      • v1.6
      • v2
      • v3
      • head
    • multi_xml
      • v0.5
      • v0.6
      • v0.7
      • head
  • Add gems that Ruby 3.5 will remove from Standard Lib as dependencies, and add to test matrix
    • logger
      • v1.2
      • v1.5
      • v1.7
      • head
  • Document dependencies
  • Fix Code Coverage PR comments
  • Release documentation
  • Document that GitHub is a Federated Mirror that accepts issues and pull requests

Please help me support open source by sponsoring me - @pboling

@pboling pboling self-assigned this May 16, 2025
@coveralls
Copy link

coveralls commented May 16, 2025

Pull Request Test Coverage Report for Build 15079079691

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 15066689858: 0.0%
Covered Lines: 518
Relevant Lines: 518

💛 - Coveralls

Copy link

Code Coverage

Package Line Rate Branch Rate Health
oauth2 100% 100%
Summary 100% (518 / 518) 100% (170 / 170)

Minimum allowed line rate is 100%

@pboling pboling merged commit 63123e5 into main May 16, 2025
33 checks passed
@pboling pboling deleted the release/v2.0.10 branch May 16, 2025 23:31
Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (6568de9) to head (075cc1f).
Report is 41 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #647   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants