Skip to content

Commit

Permalink
Release v1.0.1 (#118)
Browse files Browse the repository at this point in the history
# Change Log

## v1.0.1 (2023-10-20)

### Features

- all: update copyright headers (#95) 
- workflows: use github-hosted runner to speed up PR checks (#99) 
- go.mod: update dependencies to v1.0.0 (#98) 

### Bug Fixes

- transport: should register stream server transport for go-net (#101) 
- gomod: fix go.mod of examples (#105) 

### Enhancements

- gomod: upgrade golang.org/x/net to latest version (#106) 
- example: improve stream example (#110) 
- client: remove internal info (#103) 

### Documentations

- examples: update makefiles (#115) 
- docs: update server dev links (#113) 
- docs: fix go doc links in quick_start (#109)
- server: rewrite package comments in English (#96) 
- docs: fix broken http links (#97) 
- readme: replace invalid links (#94) 
- docs: make links relative to the project's root in markdown files
(#93)
- docs: add benchmarking result (#92) 

### Refactors

- all: import renaming("gopkg.in/yaml.v3" => yaml "gopkg.in/yaml.v3")
(#112)

### Integration Tests

- test: update go.mod (#111)
  • Loading branch information
sandyskies authored Oct 20, 2023
2 parents cbdbbdb + 0e34bd4 commit 51b2ec9
Show file tree
Hide file tree
Showing 515 changed files with 5,224 additions and 1,351 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
CLAAssistant:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/prc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
golangci:
name: lint
runs-on: self-hosted
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
Expand All @@ -42,14 +43,14 @@ jobs:
skip-cache: true # To prevent occasional failure of this action.
typos:
name: typos
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: typos
uses: crate-ci/typos@master
go-apidiff:
if: github.event_name == 'pull_request'
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
Expand Down
15 changes: 11 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ When opening an issue, make sure to answer these five questions:
4. What did you expect to see?
5. What did you see instead?

For change proposals, see Proposing Changes To [tRPC-Go-Proposals](https://github.com/trpc-group/trpc/tree/main/proposal).
For change proposals, see Proposing Changes To [tRPC-Proposals](https://github.com/trpc-group/trpc/tree/main/proposal).

## Contributing code

Expand Down Expand Up @@ -110,11 +110,18 @@ Instead, your name will appear in the change log.
New files that you contribute should use the standard copyright header:

```go
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC-Go source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//
```

Files in the repository are copyrighted the year they are added.
Expand Down
19 changes: 13 additions & 6 deletions CONTRIBUTING.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## 在贡献代码之前

项目欢迎代码补丁,但为了确保事情得到良好协调,您应该在开始工作之前讨论任何重大变更。
建议您在 issue 跟踪器中表明您的贡献意图,可以通过[认领现有 issue](https://github.com/golang/go/issues)[创建新 issue](https://github.com/trpc-group/trpc-go/issues/new) 来实现。
建议您在 issue 跟踪器中表明您的贡献意图,可以通过[认领现有 issue](https://github.com/trpc-group/trpc-go/issues)[创建新 issue](https://github.com/trpc-group/trpc-go/issues/new) 来实现。

### 查看 issue 跟踪器

Expand All @@ -21,7 +21,7 @@ issue 会被分类以管理工作流程。

大多数 issue 都会被标记为以下工作流标签之一:
- **NeedsInvestigation**:issue 尚未完全理解,需要分析以了解根本原因。
- **NeedsDecision**:issue 相对已经理解得很好,但tRPC-Go团队尚未决定解决 issue 的最佳方法。
- **NeedsDecision**:issue 相对已经理解得很好,但 tRPC-Go 团队尚未决定解决 issue 的最佳方法。
在编写代码之前最好等待决策。
如果一段时间内没有决策且您有兴趣处理处于这种状态的 issue,请随时在 issue 评论中“ping”维护者。
- **NeedsFix**:issue 已完全理解,可以编写代码进行修复。
Expand All @@ -40,7 +40,7 @@ issue 会被分类以管理工作流程。
4. 您期望看到什么?
5. 您实际看到的是什么?

关于变更提案,请参阅向 [tRPC-Go-Proposals](https://github.com/trpc-group/trpc/tree/main/proposal) 提议变更。
关于变更提案,请参阅向 [tRPC-Proposals](https://github.com/trpc-group/trpc/tree/main/proposal) 提议变更。

## 贡献代码

Expand Down Expand Up @@ -100,11 +100,18 @@ tRPC-Go 代码仓库中的文件不列出作者姓名,以避免混乱并避免

您贡献的新文件应使用标准版权声明:
```go
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC-Go source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//
```

代码仓库中的文件在添加时受版权保护。
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ English | [中文](README.zh_CN.md)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-go)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-go)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-group/trpc-go/blob/main/LICENSE)
[![Releases](https://img.shields.io/github/release/trpc-group/trpc-go.svg?style=flat-square)](https://github.com/trpc-group/trpc-go/releases)
[![Docs](https://img.shields.io/badge/docs-latest-green)](https://trpc.group)
[![Docs](https://img.shields.io/badge/docs-latest-green)](https://trpc.group/docs/languages/go/)
[![Tests](https://github.com/trpc-group/trpc-go/actions/workflows/prc.yml/badge.svg)](https://github.com/trpc-group/trpc-go/actions/workflows/prc.yml)
[![Coverage](https://codecov.io/gh/trpc-group/trpc-go/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc-group/trpc-go/tree/main)

Expand Down
2 changes: 1 addition & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-go)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-go)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-group/trpc-go/blob/main/LICENSE)
[![Releases](https://img.shields.io/github/release/trpc-group/trpc-go.svg?style=flat-square)](https://github.com/trpc-group/trpc-go/releases)
[![Docs](https://img.shields.io/badge/docs-latest-green)](https://trpc.group/zh/)
[![Docs](https://img.shields.io/badge/docs-latest-green)](https://trpc.group/zh/docs/languages/go/)
[![Tests](https://github.com/trpc-group/trpc-go/actions/workflows/prc.yml/badge.svg)](https://github.com/trpc-group/trpc-go/actions/workflows/prc.yml)
[![Coverage](https://codecov.io/gh/trpc-group/trpc-go/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc-group/trpc-go/tree/main)

Expand Down
12 changes: 10 additions & 2 deletions admin/admin.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

// Package admin provides management capabilities for trpc services,
// including but not limited to health checks, logging, performance monitoring, RPCZ, etc.
Expand Down
12 changes: 10 additions & 2 deletions admin/admin_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions admin/admin_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

//go:build !windows
// +build !windows
Expand Down
12 changes: 10 additions & 2 deletions admin/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions admin/mux.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions admin/options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions admin/options_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions admin/router.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions admin/router_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package admin

Expand Down
12 changes: 10 additions & 2 deletions client/attachment.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package client

Expand Down
12 changes: 10 additions & 2 deletions client/attachment_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package client

Expand Down
12 changes: 10 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

// Package client is tRPC-Go clientside implementation,
// including network transportation, resolving, routing etc.
Expand Down
14 changes: 11 additions & 3 deletions client/client_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package client_test

Expand All @@ -15,7 +23,7 @@ import (
"github.com/stretchr/testify/require"
trpcpb "trpc.group/trpc/trpc-protocol/pb/go/trpc"

"trpc.group/trpc-go/trpc-go"
trpc "trpc.group/trpc-go/trpc-go"
"trpc.group/trpc-go/trpc-go/client"
"trpc.group/trpc-go/trpc-go/codec"
"trpc.group/trpc-go/trpc-go/errs"
Expand Down
12 changes: 10 additions & 2 deletions client/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//
//
// Tencent is pleased to support the open source community by making tRPC available.
// Copyright (C) 2023 THL A29 Limited, a Tencent company. All rights reserved.
//
// Copyright (C) 2023 THL A29 Limited, a Tencent company.
// All rights reserved.
//
// If you have downloaded a copy of the tRPC source code from Tencent,
// please note that tRPC source code is licensed under the Apache 2.0 License that can be found in the LICENSE file.
// please note that tRPC source code is licensed under the Apache 2.0 License,
// A copy of the Apache 2.0 License is included in this file.
//
//

package client

Expand Down
Loading

0 comments on commit 51b2ec9

Please sign in to comment.