Skip to content

Commit

Permalink
Depend on anycable-core to avoid installing grpc without need
Browse files Browse the repository at this point in the history
Fixes #43
  • Loading branch information
Envek committed May 7, 2024
1 parent d75e7a4 commit 39bb733
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## Unreleased

### Changed

- Depend on `anycable-core` gem instead of `anycable`.

This allows to avoid installing `grpc` gem when using alternate AnyCable broadcasting adapters (like HTTP).

See https://github.com/anycable/graphql-anycable/issues/43 for details.

### Removed

- Handling of client-provided channel identifiers. **BREAKING CHANGE**
Expand Down
2 changes: 1 addition & 1 deletion graphql-anycable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "anycable", "~> 1.0"
spec.add_dependency "anycable-core", "~> 1.1"
spec.add_dependency "anyway_config", ">= 1.3", "< 3"
spec.add_dependency "graphql", ">= 1.11", "< 3"
spec.add_dependency "redis", ">= 4.2.0"
Expand Down

0 comments on commit 39bb733

Please sign in to comment.