jwt_sessions 3.3.0 → 3.4.0

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: a1d64a93985f3ada50556e0d6b411b4452e8496363c99e72429ad44adf48bdf8
4
- data.tar.gz: d8d8c55c021199059141fd392478c8c65896fec65df88ebbeab16d1d48035b9d
3
+ metadata.gz: c99c093627138bd70752a3e6ce94aa726f0d93e66ecf5426ad1325e350d3820f
4
+ data.tar.gz: a1165b1ba975b3a47b378733a4016d67676f4293820cc7aa0397a133e01e57fb
5
5
  SHA512:
6
- metadata.gz: ccabd8a853a29a58b95c6ad66b8ed3d77437bc4c3ab4c107c935659639b0995e2f3463cbc1c66df1ad1f773d041148c66ff86cbc1276535998281d8e065783b4
7
- data.tar.gz: 12d1e412ff49d36585c059447bffda9349ac7fdbb73bb5a6346207d5e75c3ec579830106a3d1255874b0debe3321d474359c41aa47fa5fac87fd6c34ec3babd2
6
+ metadata.gz: 8ad77f343a7eafcc56965f227a084297f31b48b4b3df7803eb4d43ca47e39dff33a1c60066e54f3d6483bcdf5640834cc7e45e83fe152624a8b76cb505741bf2
7
+ data.tar.gz: 5237d17898a27a33726b69fca0d4ec234f8c0c37671c8058c2d9afe4044251c5558917dbeff95846835b96fd835d089ca1d204006e4c1486c92c6fb8289e11b6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 3.4.0 (November 16, 2026)
2
+
3
+ Support:
4
+
5
+ - allow `jwt` 3.x (`>= 2.9, < 4`)
6
+ - with `jwt` 3.x, HS512256 is not supported and ED25519 requires the `jwt-eddsa` gem; keep `jwt` below 3 to use HS512256
7
+
1
8
  ## 3.3.0 (October 13, 2026)
2
9
 
3
10
  Fixes:
data/README.md CHANGED
@@ -405,7 +405,7 @@ JWTSessions.private_key = "abcd"
405
405
  JWTSessions.public_key = "efjh"
406
406
  ```
407
407
 
408
- NOTE: ED25519 and HS512256 require `rbnacl` installation in order to make it work.
408
+ NOTE: with `jwt` 2.x, ED25519 and HS512256 require `rbnacl` installation in order to make it work. `jwt` 3.x drops HS512256, and ED25519 requires the [`jwt-eddsa`](https://github.com/jwt/ruby-jwt-eddsa) gem.
409
409
 
410
410
  jwt_sessions only uses `exp` claim by default when it decodes tokens and you can specify which additional claims to use by
411
411
  setting `jwt_options`. You can also specify leeway to account for clock skew.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JWTSessions
4
- VERSION = "3.3.0"
4
+ VERSION = "3.4.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt_sessions
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julija Alieckaja
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '2.9'
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
- version: '3'
21
+ version: '4'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '2.9'
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
- version: '3'
31
+ version: '4'
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: bundler
34
34
  requirement: !ruby/object:Gem::Requirement