Skip to content

Commit d42ae9d

Browse files
authored
v1: Mentioned v2 in README; fixed CI; removed changelog (we will use release notes for this). (#542)
* v1: Mentioned v2 in README and removed changelog (we will use release notes for this). Signed-off-by: bwplotka <[email protected]> * Fixed CI. Signed-off-by: bwplotka <[email protected]> --------- Signed-off-by: bwplotka <[email protected]>
1 parent da1b13e commit d42ae9d

File tree

4 files changed

+41
-72
lines changed

4 files changed

+41
-72
lines changed

.github/workflows/go.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: go
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
pull_request:
9+
10+
jobs:
11+
tests:
12+
runs-on: ${{ matrix.platform }}
13+
name: Unit tests on Go ${{ matrix.go }} / ${{ matrix.platform }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
go: [ '1.18.x', '1.19.x', '1.20.x' ]
18+
platform: [ubuntu-latest, macos-latest]
19+
steps:
20+
- name: Checkout code into the Go module directory.
21+
uses: actions/checkout@v2
22+
23+
- name: Install Go
24+
uses: actions/setup-go@v2
25+
with:
26+
go-version: ${{ matrix.go }}
27+
28+
- uses: actions/cache@v1
29+
with:
30+
path: ~/go/pkg/mod
31+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
32+
33+
- name: Run unit tests.
34+
run: make test

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111

1212
[gRPC Go](https://github.com/grpc/grpc-go) Middleware: interceptors, helpers, utilities.
1313

14+
## ⚠️ Status
15+
16+
Version [v2](https://github.com/grpc-ecosystem/go-grpc-middleware/tree/v2) is about to be released, with migration guide, which will replace v1. Try v2 and give us feedback!
17+
18+
Version v1 is currently in deprecation mode, which means only critical and safety bug fixes will be merged.
19+
20+
1421
## Middleware
1522

1623
[gRPC Go](https://github.com/grpc/grpc-go) recently acquired support for
@@ -80,11 +87,6 @@ _Please send a PR to add new interceptors or middleware to this list_
8087
- [`grpc_recovery`](recovery/) - turn panics into gRPC errors
8188
- [`ratelimit`](ratelimit/) - grpc rate limiting by your own limiter
8289

83-
## Status
84-
85-
This code has been running in _production_ since May 2016 as the basis of the gRPC microservices stack at [Improbable](https://improbable.io).
86-
87-
Additional tooling will be added, and contributions are welcome.
8890

8991
## License
9092

0 commit comments

Comments
 (0)