anycable 1.2.5 → 1.3.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +29 -2
  3. data/MIT-LICENSE +1 -1
  4. data/README.md +5 -2
  5. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d2a825a7fb404e6d56b73694b10baf858ea9219695ee7d754a8fde974ea5659
4
- data.tar.gz: dc6ad90916bcc939e0f0966e297b9b8b17e0d85e5dc2d8b25c75c97ec1df035c
3
+ metadata.gz: 377fa05912a5ec44787439552b324281e01937db5b2982e38fa9dae5cd003d70
4
+ data.tar.gz: cf1ab4cda407abf137cc79ea1c430f8a7fb19f5a02d1a322d85a1b0c8f81a391
5
5
  SHA512:
6
- metadata.gz: 1f66d38986fcf2100b39c3532c652b81ead67bfc8b57517642a49d322604d1b89b24b0434aa95de44d3d60f7d8d45ede892982af34dbda61a8b9098682116dbe
7
- data.tar.gz: 7dfb43270b5a39f094d39a0bb193fecbd4601a862b0b908d404d561082fcaeccddf896d5b82b284ee91f44e7937cf4ae107dd1f8866dabb2570bcc91232b6511
6
+ metadata.gz: 29822005b0c2a360dbf2e1ccb7741c34b727a94812c54af285efa81a836f271103fb1b2ed7ff28f2f718e80edc2de1b81f3095d715c4de6d41762b91651b7aa7
7
+ data.tar.gz: 6a0c72e504259e91718a86c77e3a224b1cf4981eacb0ec95b3e20d5c949f7a962fbc3a8a005af9f249805d89a1198c929a2a6cf510d438ea4bad27bb0325bfd1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.3.1 (2023-05-12)
6
+
7
+ - Fix gRPC health check response for an empty service. ([@palkan][])
8
+
9
+ As per [docs](https://github.com/grpc/grpc/blob/master/doc/health-checking.md), an empty service is used as the key for server's overall health status. So, if we serve any services, we should return `SERVING` status.
10
+
11
+ - Add gRPC health check when using grpc_kit. ([@palkan][])
12
+
13
+ ## 1.3.0 (2023-02-28)
14
+
15
+ - Add configuration presets. ([@palkan][])
16
+
17
+ Provide sensible defaults matching current platform (e.g., Fly.io).
18
+
19
+ - Require Ruby 2.7+ and Anyway Config 2.2+.
20
+
21
+ - 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][])
22
+
23
+ - (_Experimental_) Add support for [grpc_kit](https://github.com/cookpad/grpc_kit) as an alternative gRPC implementation. ([@palkan][], [@cylon-v][])
24
+
25
+ Add `grpc_kit` to your Gemfile and specify `ANYCABLE_GRPC_IMPL=grpc_kit` env var to use it.
26
+
27
+ - Setting the redis driver to ruby specified. ([@smasry][])
28
+
29
+ - Add mutual TLS support for connections to Redis. ([@Envek][])
30
+
31
+ `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.
32
+
5
33
  ## 1.2.5 (2022-12-01)
6
34
 
7
35
  - Add `ANYCABLE_REDIS_TLS_VERIFY` setting to disable validation of Redis server TLS certificate. ([@Envek][])
@@ -132,7 +160,6 @@ See [#71](https://github.com/anycable/anycable/pull/71).
132
160
  See [Changelog](https://github.com/anycable/anycable/blob/0-6-stable/CHANGELOG.md) for versions <1.0.0.
133
161
 
134
162
  [@palkan]: https://github.com/palkan
135
- [@sponomarev]: https://github.com/sponomarev
136
- [@bibendi]: https://github.com/bibendi
137
163
  [@smasry]: https://github.com/smasry
138
164
  [@Envek]: https://github.com/Envek
165
+ [@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
 
@@ -27,6 +28,8 @@ Check out our 📑 [Documentation](https://docs.anycable.io/v1).
27
28
 
28
29
  ## Links
29
30
 
31
+ - [AnyCable off Rails: connecting Twilio streams with Hanami](https://evilmartians.com/chronicles/anycable-goes-off-rails-connecting-twilio-streams-with-hanami)
32
+
30
33
  - [AnyCable 1.0: Four years of real-time web with Ruby and Go](https://evilmartians.com/chronicles/anycable-1-0-four-years-of-real-time-web-with-ruby-and-go)
31
34
 
32
35
  - [AnyCable: Action Cable on steroids!](https://evilmartians.com/chronicles/anycable-actioncable-on-steroids)
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.5
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-01 00:00:00.000000000 Z
11
+ date: 2023-05-12 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.5
19
+ version: 1.3.1
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.5
26
+ version: 1.3.1
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.11
76
+ rubygems_version: 3.4.8
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: AnyCable is a polyglot replacement for ActionCable-compatible servers