anycable 1.2.3 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -2
  3. data/MIT-LICENSE +1 -1
  4. data/README.md +3 -2
  5. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 170c5b56ad16deb449389a72ebb8e27d47cc62668a931a969ea98f130999583a
4
- data.tar.gz: d4b0e5d837387bd6e506d42fcea7b876ba6b162844b99f95c038b3be4d600f47
3
+ metadata.gz: 914b8772ad9a8fb7d7fef18a8d7e0b1c9331bdf748a330e00567bd07576ca6f3
4
+ data.tar.gz: 726d2dccc220252010f516687ece0776d5374dc82a9e4fce57cc611d4c90f97f
5
5
  SHA512:
6
- metadata.gz: f1dde5e8d36d938126aa3f6e4a721a7e61e6eb29bc3992a17b364ce38b524f5c77f5e59b4e8a4c79be218923083edd858f862dbd9d95845d87186aac905caa6c
7
- data.tar.gz: fa2311e4b0db31d73c4a6c03f2481713ca812bded5888f5d129cafccfd56a1b00914ba9ffebe9eea226baf04643fa204e22822d39c70e8137d1e9b23c25573d0
6
+ metadata.gz: 475d7436017625c4b06547b76ba89064dd841891a79162eb8ad74e3f6b7707e07693fbdbfe66a4374f05a87a6d802eced499b7132d7f00c44d0158ef0bda0eb6
7
+ data.tar.gz: c479cf5363a8a882d64322e5f7483e677b946a6026b6f2ca8d5e594d1c70939ec02066b89c0c7cd5cf7274804b29adb0ad4e80854472e1eedec823f0c008f9b2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.3.0 (2023-02-28)
6
+
7
+ - Add configuration presets. ([@palkan][])
8
+
9
+ Provide sensible defaults matching current platform (e.g., Fly.io).
10
+
11
+ - Require Ruby 2.7+ and Anyway Config 2.2+.
12
+
13
+ - Add `rpc_max_connection_age` option (if favour of `rpc_server_args.max_connection_age_ms`) and configured its **default value to be 300 (5 minutes)**. ([@palkan][])
14
+
15
+ - (_Experimental_) Add support for [grpc_kit](https://github.com/cookpad/grpc_kit) as an alternative gRPC implementation. ([@palkan][], [@cylon-v][])
16
+
17
+ Add `grpc_kit` to your Gemfile and specify `ANYCABLE_GRPC_IMPL=grpc_kit` env var to use it.
18
+
19
+ - Setting the redis driver to ruby specified. ([@smasry][])
20
+
21
+ - Add mutual TLS support for connections to Redis. ([@Envek][])
22
+
23
+ `ANYCABLE_REDIS_TLS_CLIENT_CERT_PATH` and `ANYCABLE_REDIS_TLS_CLIENT_KEY_PATH` settings to specify client certificate and key when connecting to Redis server that requires clients to authenticate themselves.
24
+
25
+ ## 1.2.5 (2022-12-01)
26
+
27
+ - Add `ANYCABLE_REDIS_TLS_VERIFY` setting to disable validation of Redis server TLS certificate. ([@Envek][])
28
+
29
+ ## 1.2.4 (2022-08-10)
30
+
31
+ - Add NATS pub/sub adapter. ([@palkan][])
32
+
33
+ - Setting the redis adapter to use the ruby driver. ([@smasry][])
34
+
5
35
  ## 1.2.3 (2022-04-20)
6
36
 
7
37
  - Pass unique connection id (_session id_) in the `anycable.sid` Rack env field. ([@palkan][])
@@ -122,5 +152,6 @@ See [#71](https://github.com/anycable/anycable/pull/71).
122
152
  See [Changelog](https://github.com/anycable/anycable/blob/0-6-stable/CHANGELOG.md) for versions <1.0.0.
123
153
 
124
154
  [@palkan]: https://github.com/palkan
125
- [@sponomarev]: https://github.com/sponomarev
126
- [@bibendi]: https://github.com/bibendi
155
+ [@smasry]: https://github.com/smasry
156
+ [@Envek]: https://github.com/Envek
157
+ [@cylon-v]: https://github.com/cylon-v
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2017-2022 Vladimir Dementyev
1
+ Copyright 2017-2023 Vladimir Dementyev
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/anycable.svg)](https://rubygems.org/gems/anycable)
2
2
  [![Build](https://github.com/anycable/anycable/workflows/Build/badge.svg)](https://github.com/anycable/anycable/actions)
3
+ [![Coverage Status](https://coveralls.io/repos/github/anycable/anycable/badge.svg?branch=master)](https://coveralls.io/github/anycable/anycable?branch=master)
3
4
  [![Documentation](https://img.shields.io/badge/docs-link-brightgreen.svg)](https://docs.anycable.io/v1)
4
5
 
5
6
  # AnyCable
@@ -18,8 +19,8 @@ AnyCable uses the same protocol as ActionCable, so you can use its [JavaScript c
18
19
 
19
20
  ## Requirements
20
21
 
21
- - Ruby >= 2.6
22
- - Redis (for broadcasting **in production**, [discuss other options](https://github.com/anycable/anycable/issues/2) with us!)
22
+ - Ruby >= 2.7
23
+ - Redis or NATS (for broadcasting **in production**, [discuss other options](https://github.com/anycable/anycable/issues/2) with us!)
23
24
 
24
25
  ## Usage
25
26
 
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.2.3
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-20 00:00:00.000000000 Z
11
+ date: 2023-03-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.2.3
19
+ version: 1.3.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.2.3
26
+ version: 1.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: grpc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 2.6.0
69
+ version: 2.7.0
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.3.7
76
+ rubygems_version: 3.4.6
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: AnyCable is a polyglot replacement for ActionCable-compatible servers