anycable 1.4.4 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 754b5d2c4c45fa0cb5740d2d303b6d5693e1757fde2464434cbd01e2273d5fd1
4
- data.tar.gz: 2522a2077d71e6414dfd0e726f99482ca4fb7b818bd6db8ff88abc5bfd0da9d1
3
+ metadata.gz: a43ce8cb15634b736154e766f0024ca8a72e52df962114e400e8bef33b789642
4
+ data.tar.gz: f0d458a944554eee5d7613f1012df47f4ebf0d85937e355a02d0b921b4bdea7f
5
5
  SHA512:
6
- metadata.gz: 99f0a042edb94470d3cfc8a291fa3e47089d9faef562e14e95a316d478ec3aee19f0e12a5c631f0964a8b4ac3f1d045eca293b3386bb298d517cadb3707cc946
7
- data.tar.gz: 9af7b89195d77df445e1e0c0079eb1bef609bb9611afa186ecdf0b34950ce9b3d1c5ad66e6a19eef4bfcb2cc2f0a5816994627d330ddc1263ec01e5d00151885
6
+ metadata.gz: 05a6edfdd226e4621aabf4c6211769a71cd85decf8a2d42105c83e7183579f719c96d6939e821f04cf277c14840ac843e9575c3d24e80615feb1fe5226b68cdf
7
+ data.tar.gz: f96ea61203cfb1565dc612d2cb85585e6383a8658926938d1348823d4a7e688ea93c804e14c55a5767a7436093d3da74371a7fb7833399990345c97376043240
data/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.5.0 (2024-04-01)
6
+
7
+ - Fixed gRPC keepalive settings to align with the Go server client. ([@palkan][])
8
+
9
+ - Added JWT utils. ([@palkan][])
10
+
11
+ You can now generate and verify AnyCable JWT tokens without using additional dependencies:
12
+
13
+ ```ruby
14
+ token = AnyCable::JWT.encode({user_id: "1"})
15
+
16
+ identifiers = AnyCable::JWT.decode(token)
17
+ ```
18
+
19
+ This change will deprecate `anycable-rails-jwt`.
20
+
21
+ - Added signed streams support. ([@palkan][])
22
+
23
+ You can generate signed stream names as follows:
24
+
25
+ ```ruby
26
+ signed_name = AnyCable::Streams.sign("chat/2024")
27
+ ```
28
+
29
+ - Added `secret` and `broadcast_key` configuration parameters. ([@palkan][])
30
+
5
31
  ## 1.4.3 (2023-10-15)
6
32
 
7
33
  - Add broadcast options support. ([@palkan][])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-13 00:00:00.000000000 Z
11
+ date: 2024-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: anycable-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.4
19
+ version: 1.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.4.4
26
+ version: 1.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: grpc
29
29
  requirement: !ruby/object:Gem::Requirement