Releases: trpc-group/trpc-go
Releases · trpc-group/trpc-go
Release list
v1.1.0
Highlights
This release adds FastHTTP transports, stream and HTTP enhancements, LZ4 compression, a trie-backed REST router, connection prewarming, server precooling, keep-order requests, overload-control hooks, stability fixes, and expanded documentation and examples.
See the changelog for the categorized release history and migration details.
Compatibility
MajorVersion,MinorVersion,PatchVersion, andVersionSuffixare no longer exported. Usetrpc.Version()to obtain the complete version string.server.Serviceno longer requiresServiceName. Code written specifically against the v1.0.4 interface can use a local interface assertion to access the optional method.- Adding overload-control configuration changed the exact anonymous type of
Config.Server; normal field access and YAML configuration remain compatible. transport.ListenServeOptionsandhttp.ClientRspHeaderare no longer comparable after adding callback fields.- The REST router now gives static segments precedence over parameters, and parameters precedence over wildcards.
What's Changed
- typo: replace typo "an" with "a" by @Alan-MQ in #178
- workflows: bump cla from v2.3.2 to v2.4.0 by @liuzengh in #179
- all: run go mod tidy to update go.sum by @liuzengh in #182
- http: fix TestHTTPGotConnectionRemoteAddr by @liuzengh in #195
- admin: remove duplicate calls code by @Jzow in #193
- .resource: disable git-lfs to support synchronization to Gitee by @liuzengh in #199
- lsc: update copyright to tencent by @Flash-LHR in #203
- admin: sync internal bugfixes and enhancements by @liuzengh in #206
- all: sync selected internal bug fixes by @Rememorio in #214
- all: sync selected stream and http features by @Rememorio in #215
- codec: support lz4 compression by @Rememorio in #216
- router: implement trie-based router by @Rememorio in #217
- all: sync selected config http and restful fixes by @Rememorio in #218
- all: sync selected codec and metrics fixes by @Rememorio in #219
- transport: avoid dispatching closed multiplex responses by @Rememorio in #220
- all: sync selected stability fixes by @Rememorio in #221
- log: add DisableTrace by @Rememorio in #222
- all: sync stability and http features by @Rememorio in #223
- all: internalize protocol names by @Rememorio in #226
- transport: report partial read timeout as read failure by @Rememorio in #224
- http: support FastHTTP transport by @Rememorio in #225
- client: support connection prewarming by @Rememorio in #227
- server: support precool checks by @Rememorio in #228
- transport: support keep-order requests by @Rememorio in #229
- http: preserve cookie jar for TLS clients by @Rememorio in #231
- ci: require patch coverage status by @Rememorio in #232
- overloadctrl: add overload control hooks by @Rememorio in #230
- http: export default serialization tag by @Rememorio in #233
- restful: cap pooled body buffers by @Rememorio in #234
- client: avoid private IP in prewarm tests by @Rememorio in #235
- transport/tnet: update tnet dependency by @Rememorio in #236
- restful: wrap custom routes with server filters by @Rememorio in #237
- docs: clarify HTTP routes and client examples by @Rememorio in #238
- examples: add FastHTTP and precool examples by @Rememorio in #240
- examples: add RPC lifecycle examples by @Rememorio in #242
- examples: add keep-order examples by @Rememorio in #243
- examples: add TLS transport examples by @Rememorio in #244
- examples: expand timeout scenarios by @Rememorio in #245
- examples: add prewarm and SSE examples by @Rememorio in #246
- examples: add HTTP feature examples by @Rememorio in #241
- server: restore Service compatibility and fix API check by @Rememorio in #247
- release v1.1.0 by @Rememorio in #248
New Contributors
- @Alan-MQ made their first contribution in #178
- @Jzow made their first contribution in #193
- @Flash-LHR made their first contribution in #203
- @Rememorio made their first contribution in #214
Full Changelog: v1.0.3...v1.1.0
v1.0.3
What's Changed
- log: provide registration for custom format encoder by @WineChord in #146
- docs: add note on listen to all addresses for a service by @WineChord in #144
- all: sync "Bug Fixes" of the intranet version by @liuzengh in #161
- docs: add comments informing that global variable JSONAPI should not be modified (#157) by @Andrew-M-C in #160
- docs: correct the spelling error by @iutx in #163
- docs: add notes on service idle timeout by @WineChord in #166
- pool: fix typos by @WineChord in #167
- docs: add notes on client connpool idletimeout by @WineChord in #170
- go.mod: upgrade tnet version to handle negative idle timeout by @WineChord in #169
- http: improve stability of http test by @WineChord in #168
- {trpc, examples, test}: upgrade google.golang.org/protobuf v1.30.0 => v1.33.0 by @liuzengh in #171
- github-action: allow dependabot to contribute and bump cla to v2.3.2 by @liuzengh in #174
- docs: refine idle timeout settings documentation for clarity by @WineChord in #172
- {client, naming}: allow selector to define its own net.Addr parser by @YoungFr in #176
New Contributors
- @Andrew-M-C made their first contribution in #160
- @iutx made their first contribution in #163
- @YoungFr made their first contribution in #176
Full Changelog: v1.0.2...v1.0.3
release v1.0.2
v1.0.2 (2023-12-05)
Documentations
- docs: add requirements for PR labels in contribution guide (#134)
- docs: fix label name in 03-proposal.md and add question issue template (#125)
- readme: update description of trpc-go to keep concise and clear (#122)
- docs: a guide about how to use api-testing to try tRPC (#129)
- test: add English version of README document (#133)
- server: explain more aboud MaxRoutines option (#137)
Bug Fixes
- examples: fix plugin and metadata sample code (#128)
- {stream,transport}: fix connection overwriting when a client uses the same port to connect. (#131)
- test(healthcheck): fix flaky tests by adding clean up operation in watch_test.go file (#126)
Features
- workflow: add coverage check configuration (#114)
- workflow: add proposal process link for proposal issue template (#124)
- workflow: add pull request template (#130)
- http: invite back default http server transport (#140)
Enhancements
Release v1.0.1
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)
Release first version
Release tRPC-Go first version, hello world!