Releases: TankerHQ/sdk-ruby
Releases · TankerHQ/sdk-ruby
v4.3.2
v4.3.1
- Fix: the Faraday adapter passed to Tanker::Core::Options was not actually used.
v4.3.0
- Add
prehash_and_encrypt_passwordhelper to hash passwords client-side and transmit it to an untrusted medium so it can be used to enroll an identity using the newPrehashedAndEncryptedPassphraseVerificationmethod, available in python and ruby only. - Add
PrehashedAndEncryptedPassphraseVerificationverification method, can only be used to enroll new identities. - Add support for Ruby 3.4
- Drop support for Ruby 3.1
v4.2.1
Fix deadlock after process fork, through a hook on Process.fork. It is not recommended to call fork while using the SDK, but such uses are now less likely to deadlock.
v4.2.0
- Add new OpenID Connect verification flow through the new
OIDCAuthorizationCodeVerificationmethod, see the updated guide for details - OIDC is now a valid pre-verified verification method with the new
PreverifiedOIDCVerificationmethod - Deprecate
create_oidc_nonce,oidc_test_nonce=, andOIDCIDTokenVerificationas they are now obsolete with the new OIDC verification flow - Invalid responses that do not come from the Tanker backend can now result in a
NetworkError, instead of anInternalError - The Ruby SDK now requires Ruby >= 3.1, as Ruby 3.0 has stopped receiving security updates.
v4.1.0
v4.0.0
This release is strictly speaking a semver break, but does not introduce any major API changes.
- The
OIDCIDTokenVerificationMethodobjects
now contain theprovider_idandprovider_display_nameattributes, corresponding to the verification method's OIDC provider.
v3.3.2
v3.3.1
- The Ruby SDK now requires Ruby >= 3.0. Ruby 2.7 is no longer supported.
- The Ruby SDK now supports Faraday v1 and v2, in addition to v0.
If you switch to Faraday v2 in your project, and use persistent HTTP connections, you need to perform the following changes:
# Gemfile
- gem 'net-http-persistent'
+ gem 'faraday-net_http_persistent'
Ruby sources
+ require 'faraday/net_http_persistent'
require 'tanker-core'
config = Tanker::Core::Options.new(faraday_adapter: :net_http_persistent)
tanker = Tanker::Core.new(config)v3.3.0
Add support for SDK downgrade between compatible versions even in case of changes to the local storage schema, see manage sdk versions for more details.