anycable 1.4.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a43ce8cb15634b736154e766f0024ca8a72e52df962114e400e8bef33b789642
|
4
|
+
data.tar.gz: f0d458a944554eee5d7613f1012df47f4ebf0d85937e355a02d0b921b4bdea7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
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-
|
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.
|
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.
|
26
|
+
version: 1.5.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: grpc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|