summaryrefslogtreecommitdiff
path: root/CHANGES.md
diff options
context:
space:
mode:
authorAndrew Boyle <pacejackson@users.noreply.github.com>2020-04-27 11:32:24 -0700
committerGitHub <noreply@github.com>2020-04-27 19:32:24 +0100
commit00c039adeb551b297276fcb88131f1cfe82be1cd (patch)
tree0c47005559fb05eb2663da67e030c6e45c521ecb /CHANGES.md
parent52655cec793a5f2d276942e79de219e299436535 (diff)
downloadthrift-00c039adeb551b297276fcb88131f1cfe82be1cd.tar.gz
THRIFT-5164: Add middleware framework for Go servers
This commit adds a simple middleware framework for Go servers. It provides: * A `ProcessorMiddleware` function interface used to define the actual middleware * `WrapProcessor`, the function that you use to wrap a `TProcessor` in a list of middleware * A helper `WrappedTProcessorFunction` struct to help with developing middleware This is a breaking change for any custom implementations of the `TProcessor` interface, but does not effect the code generated by compiling Thrift files. It adds two functions to the interface that are a part of the generated `TProcessor` code, but were not defined in the interface explicitly.
Diffstat (limited to 'CHANGES.md')
-rw-r--r--CHANGES.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md
index ca84cb7d2..b8bef21e2 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -10,6 +10,7 @@
- [THRIFT-5006](https://issues.apache.org/jira/browse/THRIFT-5006) - Implement DEFAULT_MAX_LENGTH at TFramedTransport
- [THRIFT-5069](https://issues.apache.org/jira/browse/THRIFT-5069) - In Go library TDeserializer.Transport is now typed \*TMemoryBuffer instead of TTransport
- [THRIFT-5072](https://issues.apache.org/jira/browse/THRIFT-5072) - Haskell generator fails to distinguish between multiple enum types with conflicting enum identifiers
+- [THRIFT-5164](https://issues.apache.org/jira/browse/THRIFT-5164) - In Go library TProcessor interface now includes ProcessorMap and AddToProcessorMap functions.
### Java
@@ -18,6 +19,7 @@
### Go
- [THRIFT-5069](https://issues.apache.org/jira/browse/THRIFT-5069) - Add TSerializerPool and TDeserializerPool, which are thread-safe versions of TSerializer and TDeserializer.
+- [THRIFT-5164](https://issues.apache.org/jira/browse/THRIFT-5164) - Add ProcessorMiddleware function type and WrapProcessor function to support wrapping a TProcessor with middleware functions.
## 0.13.0