summaryrefslogtreecommitdiff
path: root/CHANGES.md
Commit message (Collapse)AuthorAgeFilesLines
* version 0.14.1v0.14.10.14.1Jens Geyer2021-03-021-0/+33
|
* Version 0.14.0Jens Geyer2021-02-041-0/+1
|
* Updated CHANGES to reflect Version 0.14.0Jens Geyer2021-02-041-6/+298
|
* THRIFT-4914: Make TClient.Call to return the response metaYuxuan 'fishy' Wang2021-01-221-0/+2
| | | | | | | | | Client: go Make a breaking change so that TClient.Call returns the response meta, currently only contains headers but could be expanded in the future, and make a compiler change to compiler generated clients to take advantage of that and provide access to response metadata to users.
* THRIFT-5326: Expand TException interface in go libraryYuxuan 'fishy' Wang2021-01-171-0/+1
| | | | | | | | | | | | Client: go Add TExceptionType enum type, and add TExceptionType() TExceptionType function to TException definition. Also make TProtocolException unwrap-able.
* THRIFT-5322: Implement TConfiguration in Go libraryYuxuan 'fishy' Wang2021-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client: go Define TConfiguration following the spec, and also move the following configurations scattered around different TTransport/TProtocol into it: - connect and socket timeouts for TSocket and TSSLSocket - tls config for TSSLSocket - max frame size for TFramedTransport - strict read and strict write for TBinaryProtocol - proto id for THeaderTransport Also add TConfiguration support for the following and their factories: - THeaderTransport and THeaderProtocol - TBinaryProtocol - TCompactProtocol - TFramedTransport - TSocket - TSSLSocket Also define TConfigurationSetter interface for easier TConfiguration propagation between wrapped TTransports/TProtocols , and add implementations to the following for propagation (they don't use anything from TConfiguration themselves): - StreamTransport - TBufferedTransport - TDebugProtocol - TJSONProtocol - TSimpleJSONProtocol - TZlibTransport TConfigurationSetter are not implemented by the factories of the "propagation only" TTransports/TProtocols, if they have a factory. For those use cases, TTransportFactoryConf and TProtocolFactoryConf are provided to wrap a factory with the ability to propagate TConfiguration. Also add simple sanity check for TBinaryProtocol and TCompactProtocol's ReadString and ReadBinary functions. Currently it only report error if the header length is larger than MaxMessageSize configured in TConfiguration, for simplicity.
* Deprecated WinXP and Server2003 methodsMario Emmenlauer2020-09-121-0/+1
| | | | | | | Client: cpp Patch: Mario Emmenlauer This closes #2165
* THRIFT-5240: Do connectivity check in Go serverYuxuan 'fishy' Wang2020-07-011-0/+1
| | | | | | | | | | | | Client: go In compiler generated TProcessorFunction implementations, add a goroutine after read the request to do connectivity check on the input transport. If the transport is no longer open, cancel the context object passed into the handler implementation. Also define ErrAbandonRequest error, to help TSimpleServer closing client connections that's already closed on the other end.
* THRIFT-5152: Separate timeout in TSSLSocketYuxuan 'fishy' Wang2020-06-301-0/+1
| | | | | | | | | | | | | | | | | | Client: go We separated timeout in go's TSocket into connect timeout and socket timeout in 81334cd, this change does the same for TSSLSocket to keep them consistent. Also rename the arg in NewTSocketFromConnTimeout from connTimeout to socketTimeout, because in that function we already have a connection, so connect timeout is never used again. The timeout passed into that function is really for socket timeout, not connect timeout. The name of that function actually means "New TSocket From Conn (with) Timeout", not "New TSocket From ConnTimeout" (I guess that's where the original confusion came from). Also add the missing change note for the breaking change.
* THRIFT-5233: Handle I/O timeouts in go libraryYuxuan 'fishy' Wang2020-06-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Client: go As discussed in the JIRA ticket, this commit changes how we handle I/O timeouts in the go library. This is a breaking change that adds context to all Read*, Write*, and Skip functions to TProtocol, along with the compiler change to support that, and also adds context to TStandardClient.Recv, TDeserializer, TStruct, and a few others. Along with the function signature changes, this commit also implements context cancellation check in the following TProtocol's ReadMessageBegin implementations: - TBinaryProtocol - TCompactProtocol - THeaderProtocol In those ReadMessageBegin implementations, if the passed in context object has a deadline attached, it will keep retrying the I/O timeout errors, until the deadline on the context object passed. They won't retry I/O timeout errors if the passed in context does not have a deadline attached (still return on the first error).
* THRIFT-5186: Rewrite address resolution in T{Nonblocking,}ServerSocketmax ulidtko2020-06-091-0/+1
| | | | | | | Client: cpp Patch: Max Ulidtko This closes #2151
* Added breaking change notice for "THRIFT-5138 Swift keywords may be used as ↵Jens Geyer2020-05-201-3/+4
| | | | identifiers if escaped" because it is labelled as such in JIRA
* Update NodeJS to oldest supported version on Ubuntu XenialMario Emmenlauer2020-05-111-0/+1
|
* THRIFT-5164: Small cleanup on example codeYuxuan 'fishy' Wang2020-05-011-0/+1
| | | | | | | | | | | | | | | | | | Client: go Godoc requires at least one other exported type/function to render the whole example file in the example, so export simpleProcessorLoggingMiddleware to make the example of ProcessorMiddleware more helpful. Currently it's rendered in a not very helpful way: https://pkg.go.dev/github.com/apache/thrift@v0.13.1-0.20200430141240-5cffef964a08/lib/go/thrift?tab=doc#example-ProcessorMiddleware Compare to the client middleware example rendering: https://pkg.go.dev/github.com/apache/thrift@v0.13.1-0.20200430141240-5cffef964a08/lib/go/thrift?tab=doc#example-ClientMiddleware While I'm here, also update CHANGES.md to mention ClientMiddleware. [skip ci]
* THRIFT-5164: Add middleware framework for Go serversAndrew Boyle2020-04-271-0/+2
| | | | | | | | | | | | | | | 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.
* fix typos in CHANGES.mdzeshuai0072020-03-101-9/+9
| | | | | | Patch: zeshuai007 This closes #2053
* THRIFT-4982 Remove deprecated C# bindings from the code baseJens Geyer2020-02-281-0/+1
| | | | | | | Client: csharp Patch: Jens Geyer This closes #2027
* THRIFT-5072 Fix data type generation.Homarechan2020-02-061-0/+1
| | | | | | | Client: hs Patch: Homarechan <tikuwakunn@icloud.com> This closes #1974
* THRIFT-5069: Make TDeserializer resource pool friendlyYuxuan 'fishy' Wang2020-01-181-0/+6
| | | | | | | | | | | | | | | | | | | Client: go This change improves performance when using TDeserializer with a resource pool. See https://issues.apache.org/jira/browse/THRIFT-5069 for more context. Also add TSerializerPool and TDeserializerPool, which are thread-safe versions of TSerializer and TDeserializer. Benchmark result shows that they are both faster and use less memory than the plain version: $ go test -bench Serializer -benchmem goos: darwin goarch: amd64 BenchmarkSerializer/baseline-8 577558 1930 ns/op 512 B/op 6 allocs/op BenchmarkSerializer/plain-8 452712 2638 ns/op 2976 B/op 16 allocs/op BenchmarkSerializer/pool-8 591698 2032 ns/op 512 B/op 6 allocs/op PASS
* THRIFT-4990 Upgrade to .NET Core 3.1 (LTS)Jens Geyer2019-12-071-1/+1
| | | | | | | Client: netstd Patch: Jens Geyer This closes #1961
* THRIFT-5022: Fix TIOStreamTransport.isOpen for input or output only useAndy Seaborne2019-11-251-0/+3
| | | | | Client: java This closes #1942.
* THRIFT-5006 Implement DEFAULT_MAX_LENGTH at TFramedTransportJens Geyer2019-11-131-1/+1
| | | | | Client: Delphi Patch: Jens Geyer
* THRIFT-4990 Switch to .NET core 3.0Jens Geyer2019-11-021-0/+8
| | | | | | | Client: netstsd Patch: Jens Geyer This closes #1909
* Version 0.13.0Jens Geyer2019-10-171-0/+271
|
* THRIFT-2530: Fix TIOStreamTransport#isOpenwineandcheeze2019-10-101-0/+1
| | | | | | | isOpen should return false when close is called. Client: java This closes #1878.
* THRIFT-4805: Fixed readme filesJames E. King III2019-07-081-1/+1
|
* THRIFT-4805: Suppress excessive logging of SASL TTransportExceptions in case ↵Mithun RK2019-07-081-0/+1
| | | | | | | | | | | | | | of END_OF_FILE Two fixes here: 1. Additional logic to properly catch and handle TTransportException. Currently, T(SASL)TransportException gets caught and handled in the wrong catch-block. 2. The fix for THRIFT-3769 mutes _all_ TTransportExceptions in TThreadPoolServer. This might mute legitimate failures. The intent of THRIFT-3769 (and THRIFT-2268) was to mute the noise caused by TTransportException.END_OF_FILE. This commit lets legitimate failures to be bubbled upwards.
* THRIFT 4536: Rust 1.34.0Danny Browning2019-04-151-0/+1
| | | | | Update dockerfiles to use rust stable, call out required rust version in breaking changes.
* THRIFT-4841 THTTPTransport relies on activeX componentJens Geyer2019-04-061-5/+4
| | | | | | | Client: Delphi Patch: Jens Geyer This closes #1778
* Merge changelog from 0.9.3.1 release to master [ci skip]James E. King III2019-03-131-0/+7
|
* THRIFT-4405: sanity tests relating to sequence numbersJames E. King III2019-02-011-2/+2
| | | | | - prove all servers return the sequence ID given - prove that sequences that wrap around the int32_t space are handled ok
* THRIFT-4762: Applied some C++11 refactorings to the runtime library and ↵Sebastian Zenker2019-01-291-0/+1
| | | | | | | | | | | | compiler (#1719) * make use of C++11 override keyword * added const specifier to TTransport::getOrigin() * added more const correctness to the compiler * make use of auto keyword * replaced usage of NULL with nullptr * make use of explicitly-defaulted function definition * extended changelog
* THRIFT-4723 Consolidate C#/netcore into new netstd language targetJens Geyer2019-01-281-1/+5
| | | | | | | Client: netstd Patch: Jens Geyer This closes #1710
* Update changes with removal of compiler plugin [ci skip].James E. King III2019-01-271-0/+1
|
* THRIFT-4717: fix up make clean with autoconfJames E. King III2019-01-251-10/+11
|
* change doccyy2019-01-221-0/+1
|
* THRIFT-4725: Change Return Type Signature of Process MethodsBeluga Behr2019-01-141-0/+1
|
* update changes.md with cocoa info and fix a typo [ci skip]James E. King III2019-01-141-1/+8
|
* THRIFT-4735: Remove Qt4 build supportJames E. King III2019-01-131-0/+4
|
* THRIFT-4720: documenting breaking changes, minor cleanupJames E. King III2019-01-091-0/+2916