./devel/thrift, Cross-language data serialization

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.21.0, Package name: thrift-0.21.0, Maintainer: pkgsrc-users

The Apache Thrift software framework, for scalable cross-language services
development, combines a software stack with a code generation engine to build
services that work efficiently and seamlessly between C++, Java, Python, PHP,
Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml
and Delphi and other languages.


Required to build:
[devel/boost-headers] [pkgtools/cwrappers]

Master sites:

Filesize: 4294.992 KB

Version history: (Expand)


CVS history: (Expand)


   2025-03-04 14:05:53 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
thrift: add patch
   2025-03-04 14:05:20 by Adam Ciarcinski | Files touched by this commit (15) | Package updated
Log message:
thrift: updated to 0.21.0

0.21.0

Build Process

THRIFT-5815 - veralign.sh broken and incomplete
THRIFT-5810 - Wrong installation path for static MSVC libs.
THRIFT-5755 - Docker image build fail

C++

THRIFT-5272 - printTo does not properly handle i8 datatypes
THRIFT-5492 - Bogus END_OF_FILE exception
THRIFT-5678 - TConnectedClient: warning due to non-virtual dtor
THRIFT-5682 - UB in generated C++ code stops compiling with C++20"
THRIFT-5709 - Drastically improve to_num() performace
THRIFT-5772 - Add UUID support for C++
THRIFT-5773 - UUID wrapper for C++
THRIFT-5816 - Fix UUID for boost 1.86.0 (change in data member usage)

Compiler (General)

THRIFT-5800 - "Could not find include file foo.thrift" probably should \ 
be failure instead of warning
THRIFT-5766 - Replace std::endl with "\n"

Delphi

THRIFT-5789 - Refactor test suite client implementation
THRIFT-5782 - implement full deprecation support
THRIFT-5750 - Remove "ansistr_binary_" option
THRIFT-5788 - Refactor and streamline hash set implementation
THRIFT-5765 - Extra override for WriteBinary() to avoid unnecessary memory \ 
allocations when using COM types
THRIFT-5764 - Extra CTOR for TThriftBytesImpl

Go

THRIFT-5786 - Full deprecation support for go
THRIFT-5654 - LNK4042 and LNK2019 in go_validator_generator.cc
THRIFT-5784 - go: Add THeaderTransforms to TConfiguration

Java

THRIFT-5762 - Expose service result objects in Java
THRIFT-5530 - could not resolve plugin artifact \ 
'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:4 \ 
.0.4'
THRIFT-5230 - Fix connection leak and CancelledKeyException when handling Epoll bug
THRIFT-4847 - CancelledKeyException causes TThreadedSelectorServer to fail.

JSON

THRIFT-5761 - Lib/json tests fail

netstd

THRIFT-5798 - Expand netstd compile tests to fully cover all current target \ 
environments
THRIFT-5797 - HashSet() CTOR takes no argument for net < 5
THRIFT-5796 - Indicate target environment via #if check
THRIFT-5795 - namespace not properly escaped
THRIFT-5794 - Uncompilable C# code in 0.20.0
THRIFT-5781 - implement full deprecation support
THRIFT-5780 - Prevent certain warnings related to net8
THRIFT-5787 - .NET ApacheThrift client v20.0 breaks compatibility in \ 
TBinaryProtocol.Factory constructor
THRIFT-5783 - drop net7 support

Node.js

THRIFT-5769 - Large messages crash Node.js client when using TFramedTransport

PHP

THRIFT-5760 - Update minimal version of php
THRIFT-5758 - PHP 8.2 Deprecate dynamic properties
THRIFT-5756 - Run php tests in github actions

Python

THRIFT-4181 - PEP 484 Type Hinting on generated code
THRIFT-5813 - Clarify TSocket state after isOpen
THRIFT-5777 - timeout exception mismatched
THRIFT-5139 - Type hinting for Python library

Rust

THRIFT-5812 - Capacity overflow in Rust server
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-25 18:49:37 by Adam Ciarcinski | Files touched by this commit (10) | Package updated
Log message:
thrift: updated to 0.15.0

0.15.0

Known Open Issues (Blocker or Critical)

THRIFT-3877 - C++: library don't work with HTTP (csharp server, cpp client; need \ 
cross test enhancement)
Removed Languages

THRIFT-5229 - ActionScript 3 support dropped
THRIFT-5347 - Haskell support dropped
Breaking Changes

THRIFT-5381 - possible collisions at VOID type with some 3rd-party libraries on \ 
Haxe cpp targets
THRIFT-5396 - deprecate netstd "Async" method postfix
THRIFT-5453 - go: NewTSocketConf and NewTSSLSocketConf no longer return an error
AS3

THRIFT-5229 - Deprecate/remove ActionScript 3 support
Build Process

THRIFT-5334 - version of thrift-maven-plugin is not sync with the main project
THRIFT-5394 - AppVeyor CI tries to download outdated cmake
THRIFT-5429 - build: autotools: add foreign to AM_INIT_AUTOMAKE
C glib

THRIFT-5244 - Dynamic exception specifications are deprecated in C++11[-Wdeprecated]
THRIFT-5265 - Add the zlib transport to c_glib
THRIFT-5399 - Fix socket leak in abnormal situation
THRIFT-5421 - Fix the problem of incorrect setting of errno in some files
C++

THRIFT-5341 - Fix Old-Style-Cast, Missing override and Possible noexcept
THRIFT-5342 - Apply 'noexcept' attribute to Init/Copy/Move Constructors and \ 
Assignments
THRIFT-5355 - Do not rely on compiler and check boundaries
D language

THRIFT-4303 - D deprecation warnings
THRIFT-4979 - Still D deprecation warnings about std.datetime.* in current master
THRIFT-5376 - Fix deprecation warnings in D library
Dart

THRIFT-5285 - Update to dart 2, widen range on http package
Delphi

THRIFT-5350 - 0.14.0 fails to build on non-x86
THRIFT-5438 - Inconsistent handling of exceptions during message read vs. \ 
message write phase
THRIFT-5384 - Improved error message for HTTP transports
THRIFT-5385 - XML-HTTP client reports IsOpen=TRUE even if it is not
THRIFT-5386 - XML-HTTP client may throw "max message size reached" \ 
incorrectly
THRIFT-5387 - Improved and simplified Delphi test setup
THRIFT-5390 - Named Pipes transport hardening
THRIFT-5428 - Prevent costly reallocations to improve performance
THRIFT-5437 - Make TProtocolImpl CTOR virtual
Documentation

THRIFT-5332 - Question: list all the reserved words in thrift doc
THRIFT-5348 - Update debian/copyright
Erlang

THRIFT-5377 - Remove Erlang R16 support
Go

THRIFT-5337 - Go set fields write improvement
THRIFT-5353 - Namespace from type is ignored in generated code
THRIFT-5358 - Add go.mod file(s)
THRIFT-5369 - Malformed payload can still cause huge allocations
THRIFT-5389 - Thrift compiler generates uncompilable go code around optional \ 
constants
THRIFT-5404 - TTransportException.Timeout would correctly return true when it's \ 
connect timeout during TSocket.Open call
THRIFT-5447 - Update supported Go versions before 0.15.0 release
THRIFT-5453 - go: NewTSocketConf should not call net.ResolveTCPAddr
THRIFT-5459 - Adding a new exception to an endpoint is kinda breaking in go
THRIFT-5453 - Defer DNS lookups from NewTSocketConf (without any timeout check) \ 
to TSocket.Open (subject to ConnectTimeout set in TConfiguration)
THRIFT-5459 - Client calls will return TApplicationException with MISSING_RESULT \ 
when the result is a struct but is unset, and no other error is known.
Haskell

THRIFT-5347 - Deprecate Haskell bindings
Haxe

THRIFT-5370 - Haxe 4 compatibility
THRIFT-5381 - possible collisions at VOID type with some 3rd-party libraries on \ 
Haxe cpp targets
THRIFT-5393 - Incorrect namespaces for included types
THRIFT-3036 - create official haxelib Thrift package
THRIFT-5413 - Int vs String in method get_size required by property size
Java

THRIFT-5375 - Put org.apache.tomcat.embed:tomcat-embed-core into scope test
THRIFT-5383 - TJSONProtocol Java readString throws on bounds check
THRIFT-5400 - Java library does not export the .annotation package
THRIFT-5425 - Throw an exception when reading TSimpleJson in Java
THRIFT-5430 - FieldMetaData synchronized method can trigger deadlock during \ 
static class initialization in JVM native code
THRIFT-5432 - TSaslTransport throw TTransportException of MaxMessageSize reached
THRIFT-5433 - Add Counter To Thread Name of TThreadPoolServer
JavaScript

THRIFT-3508 - JS:TS Generator set all fields of the struct as required
Lua

THRIFT-5417 - Fix Lua compiler omitting default values in Lua service functions
THRIFT-5439 - Lua Generator does not support const i64
netstd

THRIFT-5354 - disable IDE0083 warning
THRIFT-5382 - Netstd default list/set enums values are generated incorrectly in \ 
some cases
THRIFT-5395 - inconsistent treatment of methods ending in "Async"
THRIFT-5396 - deprecate "Async" method postfix
THRIFT-5408 - Support for deprecated methods (via annotation)
THRIFT-5414 - Use of specific parameter names generates uncompileable code
THRIFT-5442 - Separate client service calls into send/recv methods and make them \ 
public
THRIFT-5444 - Netstd generator produces uncompileable code for enums ending with \ 
"_result" or "_args"
THRIFT-5445 - "cancellationToken" cannot be used as argument name
THRIFT-5236 - THttpTransport.cs still has bad timeout code
THRIFT-5349 - Add net5.0 as supported platform
THRIFT-5373 - HTTP status in case of Protocol/Transport exceptions
THRIFT-5391 - Named pipes transport hardening
THRIFT-5398 - ThreadPoolServer not stoppable via CancellationToken
THRIFT-5407 - Keep support for .NET Core 3.1
THRIFT-5419 - Incorrect usage of thread pool in TThreadPoolAsyncServer may lead \ 
to poor performance
THRIFT-5422 - add threadpool server to netstd test suite impl
THRIFT-5431 - Response should include 'content-type' header
THRIFT-5436 - Timeout.Infinite is not a good default
PHP

THRIFT-5318 - PHP 8 compatible version of binary protocol
THRIFT-5440 - Add php8 to composer.json
Python

THRIFT-5352 - Python: IDL exceptions with no fields can't be instantiated
Ruby

THRIFT-5312 - The Ruby compilation configuration in the .gemspec file is \ 
modified to be compatible with later bundler versions.
THRIFT-5367 - Ruby library crashes when using GC.compact
Rust

THRIFT-4098 - Support user-defined output namespaces in generated Rust modules
THRIFT-4101 - Make auto-generated Rust enums and unions more user-extensible
THRIFT-5314 - Enum forward compatibility
THRIFT-5363 - All-caps constant rendered incorrectly
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-04-12 21:23:27 by Adam Ciarcinski | Files touched by this commit (7) | Package updated
Log message:
thrift: updated to 0.14.1

0.14.1

Known Open Issues (Blocker or Critical)

THRIFT-3877 - C++: library don't work with HTTP (csharp server, cpp client; need \ 
cross test enhancement)
THRIFT-5098 - Deprecated: "The high level Network interface is no longer \ 
supported. Please use Network.Socket." and other Haskell issues
THRIFT-5245 - NPE when the value of map's key is null

Deprecated Languages

THRIFT-5347 - Deprecate Haskell bindings

Build Process

THRIFT-5334 - version of thrift-maven-plugin is not sync with the main project

Delphi

THRIFT-5350 - 0.14.0 fails to build on non-x86

Go

THRIFT-5353 - Namespace from type is ignored in generated code

Python

THRIFT-5352 - Python: IDL exceptions with no fields can't be instantiated

Rust

THRIFT-5299 - rs implementation compact protocol seq_id should not use zigzag \ 
encoding.
   2021-03-21 13:41:11 by Takahiro Kambe | Files touched by this commit (5) | Package updated
Log message:
devel/thrift: update to 0.14.0

0.14.0 (2021-03-08)

Deprecated Languages

* THRIFT-5229 - Deprecate ActionScript 3 support

Removed Languages

* THRIFT-4980 - Remove deprecated C# and netcore bindings from the code base
* THRIFT-4981 - Remove deprecated netcore bindings from the code base
* THRIFT-4982 - Remove deprecated C# bindings from the code base

Breaking Changes

* THRIFT-4981 - Remove deprecated netcore bindings from the code base
* THRIFT-4982 - Remove deprecated csharp bindings from the code base
* THRIFT-4990 - Upgrade to .NET Core 3.1 (LTS)
* THRIFT-5006 - Implement DEFAULT_MAX_LENGTH at TFramedTransport
* THRIFT-5069 - In Go library TDeserializer.Transport is now typed
  *TMemoryBuffer instead of TTransport
* THRIFT-5072 - Haskell generator fails to distinguish between multiple enum
  types with conflicting enum identifiers
* THRIFT-5116 - Upgrade NodeJS to 10.x
* THRIFT-5138 - Swift generator does not escape keywords properly
* THRIFT-5164 - In Go library TProcessor interface now includes ProcessorMap
  and AddToProcessorMap functions.
* THRIFT-5186 - cpp: use all getaddrinfo() results when retrying failed
  bind() in T{Nonblocking,}ServerSocket
* THRIFT-5233 - go: Now all Read*, Write* and Skip functions in TProtocol
  accept context arg
* THRIFT-5152 - go: TSocket and TSSLSocket now have separated connect
  timeout and socket timeout
* c++: dropped support for Windows XP
* THRIFT-5326 - go: TException interface now has a new function: TExceptionType
* THRIFT-4914 - go: TClient.Call now returns ResponseMeta in addition to error

Known Open Issues (Blocker or Critical)

* THRIFT-3877 - C++: library don't work with HTTP (csharp server, cpp
  client; need cross test enhancement)
* THRIFT-5098 - Deprecated: "The high level Network interface is no longer
  supported. Please use Network.Socket." and other Haskell issues
* THRIFT-5245 - NPE when the value of map's key is null
* THRIFT-4687 - Add thrift 0.12.0 to pypi and/or enable more maintainers

Build Process

* THRIFT-4976 - Docker build: Test failure for StalenessCheckTest on MacOS
* THRIFT-5087 - test/test.py fails with "AssertionError: Python 3.3 or later
  is required for proper operation."
* THRIFT-5097 - Incorrect THRIFT_VERSION in ThriftConfig.cmake
* THRIFT-5109 - Misc CMake improvements
* THRIFT-5147 - Add uninstall function
* THRIFT-5218 - Automated Github release artifacts do not match checksums
  provided
* THRIFT-5249 - travis-ci : Failed to run FastbinaryTest.py

Compiler (General)

* THRIFT-4173 - Go: thrift compiler generates wrong code for list of aliased
  type
* THRIFT-4938 - Issues with version.h treatment
* THRIFT-4973 - Add deprecation messages for csharp and netcore
* THRIFT-4980 - Remove deprecated C# and netcore bindings from the code base
* THRIFT-4982 - Remove deprecated C# bindings from the code baseï…‚
* THRIFT-5153 - Deprecate byte
* THRIFT-5225 - Use nullptr instead of NULL
* THRIFT-5302 - Add recursive function name uniqueness check
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.