Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream v0.7.0 version and prepare v0.9.0 release #16

Merged
merged 16 commits into from
Jan 29, 2024

Conversation

jeffutter
Copy link
Collaborator

No description provided.

thanabodee-c and others added 16 commits January 11, 2023 13:11
Since PR elixir-grpc#289, the `GRPC.ServerInterceptor` and
`GRPC.ClientInterceptor` is suddenly remove. This could make breaking
changes. This changes restore it and add deprecated to `@moduledoc` to
those interceptors.
* ci: add Elixir 1.14

* chore: update interop ci

---------

Co-authored-by: Paulo Valente <[email protected]>
…grpc#308)

* feat: add support for ranch_tcp socket opts

* Update lib/grpc/server/adapters/cowboy.ex

* Update lib/grpc/server/adapters/cowboy.ex

* Update Elixir versions for asdf and mix project

* Format

* Update mix.exs

---------

Co-authored-by: Paulo Valente <[email protected]>
…ir-grpc#309)

* feat: add support for ranch_tcp socket opts

* Update lib/grpc/server/adapters/cowboy.ex

* Update lib/grpc/server/adapters/cowboy.ex

* Update Elixir versions for asdf and mix project

* Format

* Update mix.exs

* Document new cowboy/ranch opts

* Format

---------

Co-authored-by: Paulo Valente <[email protected]>
* Update gun and add a cowlib override temporary

* chore: update deps

* chore: ensure ca files are present

* Use certs_keys for TLS compatibility with OTP >= 25

* fix: verify_none

* fix: use factory

* fix: use same cred

* chore: remove unused var

* more verify_none

* chore: format

* chore: attempt to pass test

* chore: format

* chore: use erlang 25.1.x

* Apply suggestions from code review

* docs: remove notice from ToC

---------

Co-authored-by: Paulo Valente <[email protected]>
* feat: add server telemetry

* fix: restore call arg

* feat: add clien-side telemetry

* test: add tests

* wip: add livebook for grpc_prometheus replacement

* feat: add server telemetry prometheus conversion example

* chore: format

* test: test client telemetry events

* refactor: use :telemetry.span for server telemetry

* refactor: use telemetry span for client telemetry
* Docs: Improves the module docs for error statuses.

Adds a markdown table to detail each code status and its related message.

Closes elixir-grpc#170

* Docs: Updates the reference link to see more details about GRPC status code

* Feat: Adds `is_rpc_error/2` guard clause to check if it's an RPCError struct

Fix and add some missing specs.

* Test: Add GRPC.Status and GRPC.RPCError unit tests

* Fix: Applies suggestions from the code review

* Adds examples about `is_rpc_error/2` clause in `GRPC.RPCError` module doc.
* Improves @SPEC with variable names.
*  Renames error_test.exs to rpc_error_test.exs file.
* Fixes markdown table syntax in `GRPC.Status` module doc.

* Fix: Use `mix format` on status_test.exs file

* Test: Refactor tests related to the expected status code and expected error message using a common factory function.

* update ex_doc and some formatting

* docs: improve docs for error handling

* test: improve testing

* dialyzer

---------

Co-authored-by: Paulo Valente <[email protected]>
* Upgrade mint to 1.5.0 version

* Update mix.exs

---------

Co-authored-by: Paulo Valente <[email protected]>
…-grpc#326)

* reverse logger level comparison logic

* add more details to example

* remove accepted_comparator

* adjust client tests

* adjust server tests

* prevent log level from being changed globally

* mix format

* adjust tests to (hopefully) pass for all elixir/otp versions

* one more attempt to have tests working for all elixir versions
@jeffutter jeffutter merged commit b5b7ffa into master Jan 29, 2024
25 checks passed
@jeffutter jeffutter deleted the merge-upstream-v0.7.0 branch January 29, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

9 participants