diff --git a/CHANGES b/CHANGES index c24c2b2223f..e3e50b6bc85 100644 --- a/CHANGES +++ b/CHANGES @@ -1,14 +1,262 @@ Apache Thrift Changelog -Breaking Changes since 0.11.0 [for 0.12.0]: +================================================================================ +Thrift 0.12.0 -------------------------------------------------------------------------------- +## New Languages + * Common LISP (cl) + * Swift + * Typescript (nodets) + +## Deprecated Languages + * Cocoa + +## Breaking Changes (since 0.11.0) * [THRIFT-4529] - Rust enum variants are now camel-cased instead of uppercased to conform to Rust naming conventions * [THRIFT-4448] - Support for golang 1.6 and earlier has been dropped. * [THRIFT-4474] - PHP now uses the PSR-4 loader by default instead of class maps. * [THRIFT-4532] - method signatures changed in the compiler's t_oop_generator. * [THRIFT-4648] - The C (GLib) compiler's handling of namespaces has been improved. - +## Known Issues (Blocker or Critical) + * [THRIFT-4037] - build: use a single build system for thrift + * [THRIFT-4119] - build: bootstrap.sh is missing from source tarball + * [THRIFT-3289] - csharp: socket exhaustion in csharp implementation + * [THRIFT-3029] - cocoa: Getters for fields defined with uppercase names do not work + * [THRIFT-3325] - cocoa: Extended services aren't subclasses in generated Cocoa + * [THRIFT-4116] - cocoa: Thrift de-capitalizes the name of IsSet property in Cocoa + * [THRIFT-3877] - cpp: the http implementation is not standard; interop with other languages is spotty at best + * [THRIFT-4180] - cpp: Impossible to build Thrift C++ library for Android (NDK) + * [THRIFT-4384] - cpp: Using multiple async services simultaneously is not thread-safe + * [THRIFT-3108] - haskell: Defaulted struct parameters on a service generates invalid Haskell + * [THRIFT-3990] - nodejs: Exception swallowed by deserialization function + * [THRIFT-4214] - nodejs: map key treated as hex value in JavaScript + * [THRIFT-4602] - nodejs: ERROR in ./node_modules/thrift/lib/nodejs/lib/thrift/connection.js Module not found: Error: Can't resolve 'child_process' + * [THRIFT-4639] - nodejs: Sequence numbering for multiplexed protocol broken + * [THRIFT-1310] - php: sequence and reconnection management issues + * [THRIFT-1538] - php: Error during deserialization int64 on 32-bit architecture + * [THRIFT-1580] - php: thrift type i64 java to php serialize/deserealize not working + * [THRIFT-1950] - php: PHP gets stuck in infinite loop + * [THRIFT-2954] - python: sending int or float in a double field breaks the connection + * [THRIFT-4080] - python: unix sockets can get stuck forever + * [THRIFT-4281] - python: generated code is out of order and causes load issues + * [THRIFT-4677] - py3: UnicodeDecideError in Python3 + +## Build Process + * [THRIFT-4308] - D language docker images need demios for libevent and openssl fixed to re-enable make cross on dlang + * [THRIFT-4579] - Use Ubuntu Bionic (18.04 LTS) for CI builds instead of Artful (17.10) + * [THRIFT-4508] - Define CI operating system coverage rules for the project and (hopefully) simplify CI a little more + * [THRIFT-4397] - ubuntu install instructions broken on 16.04 + * [THRIFT-4545] - Appveyor builds are failing due to a haskell / cabal update in chocolatey + * [THRIFT-4452] - optimize Dockerfile (only onetime apt-get update) + * [THRIFT-4440] - rm `build/docker/ubuntu-trusty/Dockerfile.orig` + * [THRIFT-4352] - Ubuntu Artful doesn't appear to be compatible with Thrift and Haxe 3.4.2 + * [THRIFT-4666] - DLang Client Pool Test fails sporadically + * [THRIFT-4676] - CL tutorial build fails sporadically + * [THRIFT-4456] - Make haxelib download quiet so it doesn't blow up the build log + * [THRIFT-4605] - bootstrap.sh fails if automake=1.16.1 + +## c_glib + * [THRIFT-4648] - The C (GLib) compiler's handling of namespaces has been improved. + * [THRIFT-4622] - glibC compilation issue + * [THRIFT-4671] - c glib is unable to handle client close unexpectedly + +## cl (new language support in 0.12.0) + * [THRIFT-82] - Common Lisp support + +## csharp + * [THRIFT-4558] - reserved Csharp keywords are not escaped in some cases + * [THRIFT-4637] - C# async mode generates incorrect code with inherited services + * [THRIFT-4672] - IAsyncResult style methods not being supported by certain transports leads to issues in mixed ISync/IAsync use cases + * [THRIFT-4539] - Allow TBufferedTransport to be used as base class + * [THRIFT-4535] - XML docs; code cleanup (tabs->spaces; String->string) + * [THRIFT-4492] - protected ExceptionType type member of TApplicationException cannot be accessed + * [THRIFT-4446] - JSONProtocol Base64 Encoding Trims Padding + * [THRIFT-4455] - Missing dispose calls in ThreadedServer & ThreadpoolServer + * [THRIFT-4609] - keep InnerException wherever appropriate + * [THRIFT-4673] - IAsyncResult not supported by layered transports (buffered/framed) + +## cpp + * [THRIFT-4476] - Typecasting problem on list items + * [THRIFT-4465] - TNonblockingServer throwing THRIFT LOGGER: TConnection::workSocket(): THRIFT_EAGAIN (unavailable resources) + * [THRIFT-4680] - TBufferTransports.h does not compile under Visual Studio 2017 + * [THRIFT-4618] - TNonblockingServer crash because of limitation of select() + * [THRIFT-4620] - TZlibTransport.cpp doesn't ensure that there is enough space for the zlib flush marker in the buffer. + * [THRIFT-4571] - ZeroMQ contrib library needs a refresh + * [THRIFT-4559] - TSSLServerSocket incorrectly prints errors + * [THRIFT-4578] - Move `TAsyncProtocolProcessor` into main thrift library + * [THRIFT-4418] - evhttp_connection_new is deprecated; use evhttp_connection_base_new + +## compiler + * [THRIFT-4644] - Compiler cannot be compiled on macOS(maybe also on other platforms with clang) + * [THRIFT-4531] - Thrift generates wrong Python code for immutable structures with optional members + * [THRIFT-4513] - thrift generated code is not stable for constants + * [THRIFT-4532] - Avoid updating Thrift compiler generated code if the output has not changed + * [THRIFT-4400] - Visual Studio Compiler project should link runtime statically in release builds + * [THRIFT-4399] - plugin.thrift t_const_value is not used as a union in C++ code -- fix this + * [THRIFT-4496] - Dealing with language keywords in Thrift (e.g. service method names) + * [THRIFT-4393] - repeated runs of compiler produce different binary output at plugin interface + +## dlang + * [THRIFT-4478] - Thrift will not build with dlang 2.078 or later + * [THRIFT-4503] - dlang servers logError on normal client disconnection + * [THRIFT-4308] - D language docker images need demios for libevent and openssl fixed to re-enable make cross on dlang + +## dart + * [THRIFT-4646] - Effective Dart and Exceptions + * [THRIFT-4439] - Shouldn't download dart.deb directly. + +## delphi + * [THRIFT-4562] - Calling wrong exception CTOR leads to "call failed: unknown result" instead of the real exception being thrown + * [THRIFT-4554] - uncompileable code with member names that are also types under specific conditions + * [THRIFT-4422] - Add Async implementation via IFuture + * [THRIFT-4485] - Possible invalid ptr AV with overlapped read/write on pipes + * [THRIFT-4549] - Thrift exceptions should derive from TException + * [THRIFT-4540] - buffered transport broken when trying to re-open a formerly closed transport + * [THRIFT-4473] - Move Thrift.Console.pas out of the Library + * [THRIFT-4490] - Allow a default service as fallback for multiplex processors connected by old clients + * [THRIFT-4454] - Large writes/reads may cause range check errors in debug mode + * [THRIFT-4461] - Compiler directive should match Delphi XE4 + * [THRIFT-4462] - First line in Console duplicated + * [THRIFT-4642] - FPU ctrl word settings may cause an unexpected "denormalized" error + +## erlang + * [THRIFT-4497] - Erlang records should use map() for map type + * [THRIFT-4495] - Erlang records should allow 'undefined' for non-required fields + * [THRIFT-4580] - Fix erlang tutorial unpack on Windows + * [THRIFT-4582] - Ubuntu Xenial erlang 18.3 "make check" fails + +## golang + * [THRIFT-4448] - Support for golang 1.6 and earlier has been dropped. + * [THRIFT-4253] - Go generator assigns strings to field in const instead of pointers. + * [THRIFT-4573] - Unions Field Count Does Not Consider Binary + * [THRIFT-4447] - Golang: Panic on p.c.Call when using deprecated initializers + * [THRIFT-4650] - Required field incorrectly marked as set when fieldType does not match + * [THRIFT-4486] - Golang: -remote.go client cleanup + * [THRIFT-4537] - TSimpleServer can exit Accept loop with lock still acquired + * [THRIFT-4516] - Add support for go 1.10 + * [THRIFT-4421] - golang tests rely on gomock, which has change behaviour, causing tests to fail + * [THRIFT-4626] - Communication crash when using binary/compact protocol and zlib transport + * [THRIFT-4659] - golang race detected when closing listener socket + +## haskell + * [THRIFT-4634] - Haskell builds with older cabal cannot reconcile complex version requirements + +## java + * [THRIFT-4259] - Thrift does not compile due to Ant Maven task errors + * [THRIFT-1418] - Compiling Thrift from source: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element + * [THRIFT-4530] - proposal: add nullability annotations to generated Java code + * [THRIFT-4614] - Generate missing @Nullable annotations for Java iterator getters + * [THRIFT-4555] - Getter of binary field in Java creates unnecessary copy + * [THRIFT-3983] - libthrift is deployed on central with pom packaging instead of jar + * [THRIFT-4294] - Java Configure Fails for Ant >= 1.10 + * [THRIFT-4178] - Java libraries missing from package when using cmake + * [THRIFT-4120] - pom files are not generated or provided in the build + * [THRIFT-1507] - Maven can't download resource from central when behind a proxy and won't use local repository + * [THRIFT-4556] - Optional rethrow of unhandled exceptions in java processor + * [THRIFT-4337] - Able to set keyStore and trustStore as InputStream in the TSSLTransportFactory.TSSLTransportParameters + * [THRIFT-4566] - Pass message of unhandled exception to optional rethrow. + * [THRIFT-4506] - Remove assertion in Java SASL code that would be ignored in release builds + * [THRIFT-4470] - Include popular IDE file templates to gitignore + * [THRIFT-4429] - Make TThreadPoolServer.executorService_ available in inherited classes and refactor methods to be able customization + * [THRIFT-3769] - Fix logic of THRIFT-2268 + * [THRIFT-4494] - Increase Java Socket Buffer Size + * [THRIFT-4499] - Remove Magic Number In TFIleTransport + +## js + * [THRIFT-4406] - JavaScript: Use modern Promise implementations + * [THRIFT-4625] - let / const variable decorators for es6 compiler + * [THRIFT-4653] - ES6 Classes + * [THRIFT-4592] - JS: readI32 performance on large arrays is very poor in Chrome + * [THRIFT-4509] - js and nodejs libraries need to be refreshed with current libraries + * [THRIFT-4403] - thrift.js: Incorrect usage of 'this' in TWebSocketTransport.__onOpen + * [THRIFT-4436] - Deserialization of nested list discards content + * [THRIFT-4437] - JS WebSocket client callbacks invoked twice on parallel requests + * [THRIFT-4679] - Duplicate declaration of InputBufferUnderrunError in lib/nodejs/lib/thrift/json_protocol.js + * [THRIFT-4551] - Add prettier for consistent JS code formatting + +## lua + * [THRIFT-4591] - lua client uses two write() calls per framed message send + * [THRIFT-3863] - Can't "make install" Lua Library + +## netcore + * [THRIFT-4524] - .NET Core Server doesn't close properly when cancelled + * [THRIFT-4434] - Update .NET Core components, add tests for .Net Core library and .Net Core compiler, fix bugs and build process + * [THRIFT-4446] - JSONProtocol Base64 Encoding Trims Padding + +## node.js + * [THRIFT-4225] - Error handling malformed arguments leaks memory, corrupts transport buffers causing next RPC to fail + * [THRIFT-3950] - Memory leak while calling oneway method + * [THRIFT-3143] - add typescript directory support + * [THRIFT-4564] - TBufferedTransport can leave corrupt data in the buffer + * [THRIFT-4647] - Node.js Fileserver webroot path + * [THRIFT-4489] - Unix domain socket support for NodeJS client + * [THRIFT-4443] - node.js json_protocol throws error in skip function + * [THRIFT-4604] - NodeJS: Expose Int64 from browser.js for consumption by browser + * [THRIFT-4480] - NodeJS warning on binary_protocol writeMessageEnd when seqid = 0 + +## perl + * [THRIFT-4382] - Replace the use of Perl Indirect Object Syntax calls to new() + * [THRIFT-4471] - Thrift CPAN release is missing Makefile.PL and the clients are unable to build the module + * [THRIFT-4416] - Perl CPAN Packaging Improvements + +## php + * [THRIFT-4474] - PHP generator use PSR-4 default + * [THRIFT-4463] - PHP generated code match PSR-2 + * [THRIFT-4373] - Extending Thrift class results in "Attempt serialize from non-Thrift object" + * [THRIFT-4354] - TSocket block on read + * [THRIFT-4423] - migrate php library to psr-4 + * [THRIFT-4656] - infinite loop in latest PHP library + * [THRIFT-4477] - TBufferedTransport must have underlying transport + * [THRIFT-4475] - lib/php/test should be checked for PSR-2 + * [THRIFT-4498] - add phpcs back + * [THRIFT-4460] - php library use PSR-2 + * [THRIFT-4641] - TCurlClient doesn't check for HTTP status code + * [THRIFT-4645] - TCurlClient: show actual error message when throwing TTransportException + * [THRIFT-4674] - Add stream context support into PHP/THttpClient + * [THRIFT-4459] - reduce php library directory depth + +## python + * [THRIFT-4670] - Twisted, slots, and void method fails with "object has no attribute 'success'" + * [THRIFT-4464] - Potentially server-crashing typo in Python TNonblockingServer + * [THRIFT-4548] - Supporting TBinaryProtocolAccelerated protocol when using TMultiplexedProcessor in Python + * [THRIFT-4577] - Outdated cipher string in python unit test + * [THRIFT-4505] - python build on Vagrant Windows boxes fails + * [THRIFT-4621] - THeader for Python + * [THRIFT-4668] - make socket backlog configurable for python + * [THRIFT-4561] - Python: cleanup socket timeout settings + +## ruby + * [THRIFT-4289] - Thrift RSpec test suite fails with Ruby 2.4.x due to Fixnum deprecation + * [THRIFT-4342] - Support ruby rspec 3 + * [THRIFT-4525] - Add ssl socket option to ruby cross tests + * [THRIFT-4450] - Add seek support to TCompactInputProtocol in Rust + * [THRIFT-4631] - Codegen Creates Invalid Ruby for Recursive Structs + * [THRIFT-4472] - Fix the genspec for ruby so it does not complain about an invalid license + +## rust + * [THRIFT-4662] - Rust const string calls function at compile time + * [THRIFT-4661] - Rust enum name wrong case in generated structs + * [THRIFT-4617] - Avoid generating conflicting struct names in Rust code + * [THRIFT-4529] - Rust generation should include #![allow(non_snake_case)] or force conform to Rust style guidelines + * [THRIFT-4390] - Rust binary protocol and buffered transport cannot handle writes above 4096 bytes + * [THRIFT-4419] - Rust framed transport cannot handle writes above 4096 bytes + * [THRIFT-4658] - Rust's TBinaryInputProtocol fails when strict is false + * [THRIFT-4187] - Dart -> Rust Framed cross tests fail + * [THRIFT-4664] - Rust cannot create ReadHalf/WriteHalf to implement custom tranports + +## swift (new language support in 0.12.0) + * [THRIFT-3773] - Swift Library + +## test suite + * [THRIFT-4515] - Gracefully shutdown cross-test servers to fully test teardown + * [THRIFT-4085] - Add .NET Core to the make cross standard test suite + * [THRIFT-4358] - Add unix domain sockets in ruby to cross test - code exists + +## typescript (new language support in 0.12.0) + * [THRIFT-3143] - add typescript directory support + +================================================================================ Thrift 0.11.0 -------------------------------------------------------------------------------- ## Sub-task diff --git a/Thrift-swift3.podspec b/Thrift-swift3.podspec index e13d1718fce..126c00b24af 100644 --- a/Thrift-swift3.podspec +++ b/Thrift-swift3.podspec @@ -1,16 +1,16 @@ Pod::Spec.new do |s| - s.name = "Thrift-swift3" - s.version = "1.1.0" + s.name = "Thrift-swift3" + s.version = "1.0.0" s.summary = "Apache Thrift is a lightweight, language-independent software stack with an associated code generation mechanism for RPC." s.description = <<-DESC -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. +The Apache Thrift scalable cross-language software framework for networked services development combines a software stack with a code generation engine to build services that work efficiently and seamlessly between many programming languages. DESC s.homepage = "http://thrift.apache.org" - s.license = { :type => 'Apache License, Version 2.0', :url => 'https://raw.github.com/apache/thrift/thrift-0.9.0/LICENSE' } - s.author = { "The Apache Software Foundation" => "apache@apache.org" } + s.license = { :type => 'Apache License, Version 2.0', :url => 'https://www.apache.org/licenses/LICENSE-2.0' } + s.author = { "Apache Thrift Developers" => "dev@thrift.apache.org" } s.ios.deployment_target = '9.0' s.osx.deployment_target = '10.10' s.requires_arc = true - s.source = { :git => "https://github.com/apache/thrift.git", :tag => "thrift-1.0.0" } + s.source = { :git => "https://github.com/apache/thrift.git", :tag => "v1.0.0" } s.source_files = "lib/swift/Sources/*.swift" end diff --git a/Thrift.podspec b/Thrift.podspec index 39d378053ac..a406eec230b 100644 --- a/Thrift.podspec +++ b/Thrift.podspec @@ -3,16 +3,16 @@ Pod::Spec.new do |s| s.version = "1.0.0" s.summary = "Apache Thrift is a lightweight, language-independent software stack with an associated code generation mechanism for RPC." s.description = <<-DESC -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. +The Apache Thrift scalable cross-language software framework for networked services development combines a software stack with a code generation engine to build services that work efficiently and seamlessly between many programming languages. DESC s.homepage = "http://thrift.apache.org" - s.license = { :type => 'Apache License, Version 2.0', :url => 'https://raw.github.com/apache/thrift/thrift-0.9.0/LICENSE' } - s.author = { "The Apache Software Foundation" => "apache@apache.org" } + s.license = { :type => 'Apache License, Version 2.0', :url => 'https://www.apache.org/licenses/LICENSE-2.0' } + s.author = { "Apache Thrift Developers" => "dev@thrift.apache.org" } s.requires_arc = true s.ios.deployment_target = '7.0' s.osx.deployment_target = '10.8' s.ios.framework = 'CFNetwork' s.osx.framework = 'CoreServices' - s.source = { :git => "https://github.com/apache/thrift.git", :tag => "thrift-1.0.0" } + s.source = { :git => "https://github.com/apache/thrift.git", :tag => "v1.0.0" } s.source_files = 'lib/cocoa/src/**/*.{h,m,swift}' -end \ No newline at end of file +end diff --git a/appveyor.yml b/appveyor.yml index 121fe1cc7b6..e021479e102 100755 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,7 +19,7 @@ # build Apache Thrift on AppVeyor - https://ci.appveyor.com -version: '1.0.0-dev.{build}' +version: '1.0.0.{build}' shallow_clone: true @@ -107,4 +107,4 @@ test_script: # # also need: # environment: -# APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ \ No newline at end of file +# APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ diff --git a/bower.json b/bower.json index 6f3c126a840..ff70611b78a 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,11 @@ { "name": "thrift", +<<<<<<< HEAD "homepage": "https://github.com/apache/thrift.git", +======= + "version": "0.12.0", + "homepage": "https://git-wip-us.apache.org/repos/asf/thrift.git", +>>>>>>> origin/0.12.0 "authors": [ "Apache Thrift " ], diff --git a/build/cmake/DefineCMakeDefaults.cmake b/build/cmake/DefineCMakeDefaults.cmake index 28999379f6c..65ccc69a121 100644 --- a/build/cmake/DefineCMakeDefaults.cmake +++ b/build/cmake/DefineCMakeDefaults.cmake @@ -35,7 +35,7 @@ set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) set(CMAKE_COLOR_MAKEFILE ON) # Define the generic version of the libraries here -set(GENERIC_LIB_VERSION "0.1.0") +set(GENERIC_LIB_VERSION "1.0.0") set(GENERIC_LIB_SOVERSION "0") # Set the default build type to release with debug info diff --git a/composer.json b/composer.json index 9a3833161a6..1d3a6c0cc51 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,11 @@ { "name": "apache/thrift", "description": "Apache Thrift RPC system", - "homepage": "http://thrift.apache.org/", + "homepage": "http://thrift.apache.org", "type": "library", + "keywords": ["RPC"], "license": "Apache-2.0", + "readme": "README.md", "authors": [ { "name": "Apache Thrift Developers", @@ -28,10 +30,10 @@ "autoload-dev": { "psr-4": {"Test\\Thrift\\": "lib/php/test/"} }, - "minimum-stability": "dev", + "minimum-stability": "stable", "extra": { "branch-alias": { - "dev-master": "1.0.0-dev" + "dev-master": "1.0.x-dev" } } } diff --git a/configure.ac b/configure.ac index aca6f30fd47..f53fc3f472d 100755 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ(2.65) AC_CONFIG_MACRO_DIR([./aclocal]) -AC_INIT([thrift], [1.0.0-dev]) +AC_INIT([thrift], [1.0.0]) AC_CONFIG_AUX_DIR([.]) diff --git a/contrib/fb303/py/setup.py b/contrib/fb303/py/setup.py index 4321ce258d5..d27c2962f71 100644 --- a/contrib/fb303/py/setup.py +++ b/contrib/fb303/py/setup.py @@ -26,9 +26,9 @@ from distutils.core import setup, Extension, Command setup(name='thrift_fb303', - version='1.0.0-dev', + version='1.0.0', description='Python bindings for the Apache Thrift FB303', - author=['Thrift Developers'], + author=['Apache Thrift Developers'], author_email=['dev@thrift.apache.org'], url='http://thrift.apache.org', license='Apache License 2.0', @@ -37,7 +37,7 @@ 'fb303_scripts', ], classifiers=[ - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 7 - Inactive', 'Environment :: Console', 'Intended Audience :: Developers', 'Programming Language :: Python', diff --git a/contrib/thrift-maven-plugin/pom.xml b/contrib/thrift-maven-plugin/pom.xml index 0af595764bb..d364cfc1f27 100644 --- a/contrib/thrift-maven-plugin/pom.xml +++ b/contrib/thrift-maven-plugin/pom.xml @@ -27,7 +27,7 @@ thrift-maven-plugin maven-plugin thrift-maven-plugin - 1.0-SNAPSHOT + 1.0.0 diff --git a/contrib/thrift.spec b/contrib/thrift.spec index 5cfe88802f2..be526e238be 100644 --- a/contrib/thrift.spec +++ b/contrib/thrift.spec @@ -28,7 +28,7 @@ Name: thrift License: Apache License v2.0 Group: Development Summary: RPC and serialization framework -Version: 0.11.0 +Version: 1.0.0 Release: 0 URL: http://thrift.apache.org Packager: Thrift Developers diff --git a/contrib/vagrant/centos-6.5/README.md b/contrib/vagrant/centos-6.5/README.md index 76dca44391e..55583f90148 100644 --- a/contrib/vagrant/centos-6.5/README.md +++ b/contrib/vagrant/centos-6.5/README.md @@ -11,7 +11,7 @@ This will download and launch the base box VM under VirtualBox and run the Apach $ vagrant ssh [vagrant@thrift ~]$ cd /thrift [vagrant@thrift thrift]$ compiler/cpp/thrift --version - Thrift version 1.0.0-dev + Thrift version The provisioning script (inside the Vagrantfile) runs ./bootstrap.sh, ./configure, make and make check, but does not install thrift. To install thrift run "make install". diff --git a/contrib/zeromq/csharp/ThriftZMQ.csproj b/contrib/zeromq/csharp/ThriftZMQ.csproj index 6b465306554..80ad1dbd613 100755 --- a/contrib/zeromq/csharp/ThriftZMQ.csproj +++ b/contrib/zeromq/csharp/ThriftZMQ.csproj @@ -25,7 +25,7 @@ false true 0 - 1.0.0.%2a + 1.0.0.0 false false true @@ -88,4 +88,4 @@ - \ No newline at end of file + diff --git a/debian/changelog b/debian/changelog index f2da2327e3c..69b5f208383 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,26 @@ -thrift (1.0.0-dev) stable; urgency=low - * update version - * fix libthrift0.install +thrift (0.12.0) stable; urgency=low - -- Roger Meier Tue, 08 Jan 2013 22:40:12 +0100 + * update to 0.12.0 + + -- Apache Thrift Developers Wed, 28 Dec 2018 12:00:00 -0500 + +thrift (0.11.0) stable; urgency=low + + * update to 0.11.0 + + -- Jake Farrell Wed, 07 Dec 2017 20:07:00 -0500 + +thrift (0.10.0) stable; urgency=low + + * update to 0.10.0 + + -- Jake Farrell Wed, 03 Jan 2017 16:52:00 -0500 + +thrift (0.9.3) stable; urgency=low + + * update to 0.9.3 + + -- Jake Farrell Wed, 11 Oct 2015 17:22:00 -0500 thrift (0.9.0) stable; urgency=low diff --git a/doap.rdf b/doap.rdf index 91231554a2f..cb76facfaf5 100755 --- a/doap.rdf +++ b/doap.rdf @@ -58,6 +58,16 @@ + + Apache Thrift + 2018-12-28 + 0.12.0 + + + Apache Thrift + 2017-11-30 + 0.11.0 + Apache Thrift 2017-03-01 diff --git a/lib/cocoa/src/Thrift.h b/lib/cocoa/src/Thrift.h index 6fc594a4b22..d01826dbe65 100644 --- a/lib/cocoa/src/Thrift.h +++ b/lib/cocoa/src/Thrift.h @@ -17,4 +17,4 @@ * under the License. */ -#define ThriftVersion @"1.0.0-dev" +#define ThriftVersion @"1.0.0" diff --git a/lib/csharp/ThriftMSBuildTask/Properties/AssemblyInfo.cs b/lib/csharp/ThriftMSBuildTask/Properties/AssemblyInfo.cs index 974cf27956a..c741b724fda 100644 --- a/lib/csharp/ThriftMSBuildTask/Properties/AssemblyInfo.cs +++ b/lib/csharp/ThriftMSBuildTask/Properties/AssemblyInfo.cs @@ -56,5 +56,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.11.0.*")] -[assembly: AssemblyFileVersion("0.11.0.*")] +[assembly: AssemblyVersion("1.0.0.*")] +[assembly: AssemblyFileVersion("1.0.0.*")] diff --git a/lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj b/lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj index ae8608159dc..a319df2e00f 100644 --- a/lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj +++ b/lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj @@ -45,7 +45,7 @@ false true 0 - 1.0.0.%2a + 1.0.0.0 false false true @@ -115,4 +115,4 @@ --> - \ No newline at end of file + diff --git a/lib/csharp/src/Properties/AssemblyInfo.cs b/lib/csharp/src/Properties/AssemblyInfo.cs index dcbe74738b8..7e86781c8b0 100644 --- a/lib/csharp/src/Properties/AssemblyInfo.cs +++ b/lib/csharp/src/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.1")] -[assembly: AssemblyFileVersion("1.0.0.1")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/lib/csharp/src/Thrift.csproj b/lib/csharp/src/Thrift.csproj index 83bc4f7d011..2a469eddabe 100644 --- a/lib/csharp/src/Thrift.csproj +++ b/lib/csharp/src/Thrift.csproj @@ -45,7 +45,7 @@ false true 0 - 1.0.0.%2a + 1.0.0.0 false false true @@ -153,4 +153,4 @@ - \ No newline at end of file + diff --git a/lib/csharp/test/Multiplex/Client/MultiplexClient.csproj b/lib/csharp/test/Multiplex/Client/MultiplexClient.csproj index 6221e141836..21e1ce17710 100644 --- a/lib/csharp/test/Multiplex/Client/MultiplexClient.csproj +++ b/lib/csharp/test/Multiplex/Client/MultiplexClient.csproj @@ -46,7 +46,7 @@ false true 0 - 1.0.0.%2a + 1.0.0.0 false true @@ -145,4 +145,4 @@ for %25%25I in ("%25THRIFT_FILE%25") do set THRIFT_SHORT=%25%25~fsI - \ No newline at end of file + diff --git a/lib/csharp/test/Multiplex/Server/MultiplexServer.csproj b/lib/csharp/test/Multiplex/Server/MultiplexServer.csproj index dc1d123e4fa..c4a4394af8d 100644 --- a/lib/csharp/test/Multiplex/Server/MultiplexServer.csproj +++ b/lib/csharp/test/Multiplex/Server/MultiplexServer.csproj @@ -46,7 +46,7 @@ false true 0 - 1.0.0.%2a + 1.0.0.0 false true @@ -145,4 +145,4 @@ for %25%25I in ("%25THRIFT_FILE%25") do set THRIFT_SHORT=%25%25~fsI - \ No newline at end of file + diff --git a/lib/csharp/test/ThriftMVCTest/Properties/AssemblyInfo.cs b/lib/csharp/test/ThriftMVCTest/Properties/AssemblyInfo.cs index 1b1b833d998..cfe8894f55c 100644 --- a/lib/csharp/test/ThriftMVCTest/Properties/AssemblyInfo.cs +++ b/lib/csharp/test/ThriftMVCTest/Properties/AssemblyInfo.cs @@ -49,5 +49,5 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.1")] -[assembly: AssemblyFileVersion("1.0.0.1")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/lib/d/src/thrift/base.d b/lib/d/src/thrift/base.d index 38034a7b87f..d5ece738ad1 100644 --- a/lib/d/src/thrift/base.d +++ b/lib/d/src/thrift/base.d @@ -50,7 +50,7 @@ class TCompoundOperationException : TException { /// The Thrift version string, used for informative purposes. // Note: This is currently hardcoded, but will likely be filled in by the build // system in future versions. -enum VERSION = "1.0.0 dev"; +enum VERSION = "1.0.0"; /** * Functions used for logging inside Thrift. diff --git a/lib/dart/LICENSE_HEADER b/lib/dart/LICENSE similarity index 100% rename from lib/dart/LICENSE_HEADER rename to lib/dart/LICENSE diff --git a/lib/dart/pubspec.yaml b/lib/dart/pubspec.yaml index f7aa8768a64..fdc4a0dec39 100644 --- a/lib/dart/pubspec.yaml +++ b/lib/dart/pubspec.yaml @@ -16,7 +16,7 @@ # under the License. name: thrift -version: 1.0.0-dev +version: 1.0.0 description: > A Dart library for Apache Thrift author: Apache Thrift Developers diff --git a/lib/delphi/src/Thrift.pas b/lib/delphi/src/Thrift.pas index ddd4c11f976..62481e7ec3e 100644 --- a/lib/delphi/src/Thrift.pas +++ b/lib/delphi/src/Thrift.pas @@ -27,7 +27,7 @@ interface Thrift.Protocol; const - Version = '1.0.0-dev'; + Version = '1.0.0'; type TException = Thrift.Exception.TException; // compatibility alias diff --git a/lib/erl/src/thrift.app.src b/lib/erl/src/thrift.app.src index 1a23f0dd479..b3b225fb70a 100644 --- a/lib/erl/src/thrift.app.src +++ b/lib/erl/src/thrift.app.src @@ -22,7 +22,7 @@ {description, "Thrift bindings"}, % The version of the applicaton - {vsn, "1.0.0-dev"}, + {vsn, "1.0.0"}, % All modules used by the application. {modules, [ diff --git a/lib/go/thrift/serializer_types_test.go b/lib/go/thrift/serializer_types_test.go index c8e3b3be466..e5472bbffc3 100644 --- a/lib/go/thrift/serializer_types_test.go +++ b/lib/go/thrift/serializer_types_test.go @@ -19,7 +19,7 @@ package thrift -// Autogenerated by Thrift Compiler (1.0.0-dev) +// Autogenerated by Thrift Compiler (FIXME) // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING /* THE FOLLOWING THRIFT FILE WAS USED TO CREATE THIS diff --git a/lib/haxe/README.md b/lib/haxe/README.md index 19bbbaabfd4..e74b7734fc6 100644 --- a/lib/haxe/README.md +++ b/lib/haxe/README.md @@ -69,10 +69,10 @@ Thrift Haxe bindings Thrift Haxe bindings can be set up via the `haxelib` tool either from the official ASF repo, or via the github mirror. -- To set up any **stable version**, choose the appropriate branch (e.g. `0.10.0`): +- To set up any **stable version**, choose the appropriate branch (e.g. `1.0.0`, etc.): - - `haxelib git thrift https://git.apache.org/thrift.git 0.10.0 lib/haxe` - - `haxelib git thrift https://github.com/apache/thrift.git 0.10.0 lib/haxe` + - `haxelib git thrift https://git.apache.org/thrift.git 1.0.0 lib/haxe` + - `haxelib git thrift https://github.com/apache/thrift.git 1.0.0 lib/haxe` - To set up the current **development version**, use the `master` branch: diff --git a/lib/haxe/haxelib.json b/lib/haxe/haxelib.json index f76990e8b81..992ad901529 100644 --- a/lib/haxe/haxelib.json +++ b/lib/haxe/haxelib.json @@ -4,7 +4,7 @@ "license": "Apache", "tags": ["thrift", "rpc", "serialization", "cross", "framework"], "description": "Haxe bindings for the Apache Thrift RPC and serialization framework", - "version": "1.0.0-dev", + "version": "1.0.0", "releasenote": "Licensed under Apache License, Version 2.0. The Apache Thrift compiler needs to be installed separately.", "contributors": ["Apache Software Foundation (ASF)"], "dependencies": { }, diff --git a/lib/hs/thrift.cabal b/lib/hs/thrift.cabal index a907d78e81c..5515556db03 100644 --- a/lib/hs/thrift.cabal +++ b/lib/hs/thrift.cabal @@ -18,7 +18,7 @@ -- Name: thrift -Version: 0.99.0 +Version: 1.0.0 Cabal-Version: 1.24 License: OtherLicense Category: Foreign diff --git a/lib/java/gradle.properties b/lib/java/gradle.properties index e99788f0db5..056a96e8d7c 100644 --- a/lib/java/gradle.properties +++ b/lib/java/gradle.properties @@ -3,7 +3,7 @@ # the properties to minimize the changes in the dependencies. thrift.version=1.0.0 thrift.groupid=org.apache.thrift -release=false +release=true # Local Install paths install.path=/usr/local/lib diff --git a/lib/js/src/thrift.js b/lib/js/src/thrift.js index 39e6db19bc9..9bf8127dee5 100644 --- a/lib/js/src/thrift.js +++ b/lib/js/src/thrift.js @@ -46,7 +46,7 @@ var Thrift = { * @const {string} Version * @memberof Thrift */ - Version: '1.0.0-dev', + Version: '1.0.0', /** * Thrift IDL type string to Id mapping. diff --git a/lib/lua/THttpTransport.lua b/lib/lua/THttpTransport.lua index 5bbfece2526..2951db79ff8 100644 --- a/lib/lua/THttpTransport.lua +++ b/lib/lua/THttpTransport.lua @@ -25,7 +25,7 @@ THttpTransport = TTransportBase:new{ wBuf = '', rBuf = '', CRLF = '\r\n', - VERSION = '1.0.0', + VERSION = version, isServer = true } diff --git a/lib/lua/Thrift.lua b/lib/lua/Thrift.lua index a9a90780007..68d4ba8ecbd 100644 --- a/lib/lua/Thrift.lua +++ b/lib/lua/Thrift.lua @@ -48,7 +48,7 @@ function ttable_size(t) return count end -version = 1.0 +version = '1.0.0' TType = { STOP = 0, diff --git a/lib/netcore/Thrift/Properties/AssemblyInfo.cs b/lib/netcore/Thrift/Properties/AssemblyInfo.cs index e3118ab23be..83417238317 100644 --- a/lib/netcore/Thrift/Properties/AssemblyInfo.cs +++ b/lib/netcore/Thrift/Properties/AssemblyInfo.cs @@ -52,5 +52,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.1")] -[assembly: AssemblyFileVersion("1.0.0.1")] \ No newline at end of file +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/lib/netcore/Thrift/Transports/Client/THttpClientTransport.cs b/lib/netcore/Thrift/Transports/Client/THttpClientTransport.cs index 16754b25885..60671414e9a 100644 --- a/lib/netcore/Thrift/Transports/Client/THttpClientTransport.cs +++ b/lib/netcore/Thrift/Transports/Client/THttpClientTransport.cs @@ -149,7 +149,7 @@ private HttpClient CreateClient() } httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/x-thrift")); - httpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("THttpClientTransport", "1.0.0")); + httpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("THttpClientTransport", "0.12.0")); if (CustomHeaders != null) { @@ -223,4 +223,4 @@ protected override void Dispose(bool disposing) _isDisposed = true; } } -} \ No newline at end of file +} diff --git a/lib/ocaml/_oasis b/lib/ocaml/_oasis index 4dd95e5ceb5..5ad90df2699 100644 --- a/lib/ocaml/_oasis +++ b/lib/ocaml/_oasis @@ -1,5 +1,5 @@ Name: libthrift-ocaml -Version: 1.0 +Version: 1.0.0 OASISFormat: 0.3 Synopsis: OCaml bindings for the Apache Thrift RPC system Authors: Apache Thrift Developers diff --git a/lib/perl/lib/Thrift.pm b/lib/perl/lib/Thrift.pm index 592d1ddcdbc..ab40930d6bb 100644 --- a/lib/perl/lib/Thrift.pm +++ b/lib/perl/lib/Thrift.pm @@ -31,6 +31,6 @@ use warnings; # package Thrift; -use version 0.77; our $VERSION = version->declare("v1.0_0"); +use version 0.77; our $VERSION = version->declare("v1.0.0"); 1; diff --git a/lib/py/setup.py b/lib/py/setup.py index 4c2877abcea..3cf1469d399 100644 --- a/lib/py/setup.py +++ b/lib/py/setup.py @@ -90,9 +90,9 @@ def run_setup(with_binary): twisted_deps = ['twisted'] setup(name='thrift', - version='1.0.0-dev', + version='1.0.0', description='Python bindings for the Apache Thrift RPC system', - author='Thrift Developers', + author='Apache Thrift Developers', author_email='dev@thrift.apache.org', url='http://thrift.apache.org', license='Apache License 2.0', diff --git a/lib/rb/thrift.gemspec b/lib/rb/thrift.gemspec index 0f96c3fcc3b..e53194ee789 100644 --- a/lib/rb/thrift.gemspec +++ b/lib/rb/thrift.gemspec @@ -3,8 +3,8 @@ $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = 'thrift' - s.version = '1.0.0.0' - s.authors = ['Thrift Developers'] + s.version = '1.0.0' + s.authors = ['Apache Thrift Developers'] s.email = ['dev@thrift.apache.org'] s.homepage = 'http://thrift.apache.org' s.summary = %q{Ruby bindings for Apache Thrift} diff --git a/lib/st/package.xml b/lib/st/package.xml index 72194fc9347..f83936aca03 100644 --- a/lib/st/package.xml +++ b/lib/st/package.xml @@ -17,7 +17,7 @@ specific language governing permissions and limitations under the License. --> - + libthrift-st thrift.st diff --git a/package-lock.json b/package-lock.json index e93b896412d..b265aa6f299 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "thrift", - "version": "1.0.0-dev", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6d548d7afbf..99553eee73b 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "type": "git", "url": "https://github.com/apache/thrift.git" }, - "version": "1.0.0-dev", + "version": "1.0.0", "author": { "name": "Apache Thrift Developers", "email": "dev@thrift.apache.org", diff --git a/sonar-project.properties b/sonar-project.properties index 06e97ae8ddd..bd5ecc2ad92 100755 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -16,7 +16,7 @@ development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between all major languages. # Apache Thrift Version -sonar.projectVersion=1.0.0-dev +sonar.projectVersion=1.0.0 # use this to set another version string # $ sonar-runner -D sonar.projectVersion=`git rev-parse HEAD` # set projectDate in combination with projectVersion for imports of old releases diff --git a/test/csharp/ThriftTest.csproj b/test/csharp/ThriftTest.csproj index 65c0daf7d08..363627fdfe2 100644 --- a/test/csharp/ThriftTest.csproj +++ b/test/csharp/ThriftTest.csproj @@ -46,7 +46,7 @@ false true 0 - 1.0.0.%2a + 0.12.0.%2a false true @@ -138,4 +138,4 @@ for %25%25I in ("%25THRIFT_FILE%25") do set THRIFT_SHORT=%25%25~fsI "$(ProjectDir)\..\..\compiler\cpp\thrift.exe" --gen csharp -o %25SHORT_DIR%25 %25THRIFT_SHORT%25 $(MSBuildToolsPath)\Csc.exe /t:library /out:"$(ProjectDir)ThriftImpl.dll" /recurse:"$(ProjectDir)gen-csharp"\* /reference:"$(ProjectDir)..\..\lib\csharp\bin\Debug\Thrift.dll" - \ No newline at end of file + diff --git a/test/dart/test_client/pubspec.yaml b/test/dart/test_client/pubspec.yaml index a91aa455a04..d1642f88b70 100644 --- a/test/dart/test_client/pubspec.yaml +++ b/test/dart/test_client/pubspec.yaml @@ -16,7 +16,7 @@ # under the License. name: thrift_test_client -version: 1.0.0-dev +version: 1.0.0 description: A client integration test for the Dart Thrift library author: Apache Thrift Developers homepage: http://thrift.apache.org diff --git a/test/erl/src/thrift_test.app.src b/test/erl/src/thrift_test.app.src index 7896a9525ab..80ef996e513 100644 --- a/test/erl/src/thrift_test.app.src +++ b/test/erl/src/thrift_test.app.src @@ -22,7 +22,7 @@ {description, "Thrift cross language test"}, % The version of the applicaton - {vsn, "1.0.0-dev"}, + {vsn, "1.0.0"}, % All modules used by the application. {modules, [ diff --git a/tutorial/dart/client/pubspec.yaml b/tutorial/dart/client/pubspec.yaml index db64afcfc71..d8ede14409a 100644 --- a/tutorial/dart/client/pubspec.yaml +++ b/tutorial/dart/client/pubspec.yaml @@ -16,7 +16,7 @@ # under the License. name: tutorial_client -version: 1.0.0-dev +version: 1.0.0 description: A Dart client implementation of the Apache Thrift tutorial author: Apache Thrift Developers homepage: http://thrift.apache.org diff --git a/tutorial/dart/console_client/pubspec.yaml b/tutorial/dart/console_client/pubspec.yaml index cea13acd55b..a34e26f607e 100644 --- a/tutorial/dart/console_client/pubspec.yaml +++ b/tutorial/dart/console_client/pubspec.yaml @@ -16,7 +16,7 @@ # under the License. name: tutorial_console_client -version: 1.0.0-dev +version: 1.0.0 description: > A Dart console client to implementation of the Apache Thrift tutorial author: Apache Thrift Developers diff --git a/tutorial/dart/server/pubspec.yaml b/tutorial/dart/server/pubspec.yaml index 4833a4af8f5..18d0737f314 100644 --- a/tutorial/dart/server/pubspec.yaml +++ b/tutorial/dart/server/pubspec.yaml @@ -16,7 +16,7 @@ # under the License. name: tutorial_server -version: 1.0.0-dev +version: 1.0.0 description: A Dart server to support the Apache Thrift tutorial author: Apache Thrift Developers homepage: http://thrift.apache.org diff --git a/tutorial/delphi/DelphiClient/DelphiClient.dproj b/tutorial/delphi/DelphiClient/DelphiClient.dproj index ead7bceb742..d067992b932 100644 --- a/tutorial/delphi/DelphiClient/DelphiClient.dproj +++ b/tutorial/delphi/DelphiClient/DelphiClient.dproj @@ -82,8 +82,8 @@ True False - 1 - 0 + 0 + 12 0 0 False diff --git a/tutorial/delphi/DelphiServer/DelphiServer.dproj b/tutorial/delphi/DelphiServer/DelphiServer.dproj index a26d95295a7..e34a6a10119 100644 --- a/tutorial/delphi/DelphiServer/DelphiServer.dproj +++ b/tutorial/delphi/DelphiServer/DelphiServer.dproj @@ -81,8 +81,8 @@ True False - 1 - 0 + 0 + 12 0 0 False diff --git a/tutorial/hs/ThriftTutorial.cabal b/tutorial/hs/ThriftTutorial.cabal index 88f1379405d..62e682fbb65 100755 --- a/tutorial/hs/ThriftTutorial.cabal +++ b/tutorial/hs/ThriftTutorial.cabal @@ -18,7 +18,7 @@ -- Name: ThriftTutorial -Version: 0.1.0 +Version: 1.0.0 Cabal-Version: >= 1.4 License: OtherLicense Category: Foreign diff --git a/tutorial/ocaml/_oasis b/tutorial/ocaml/_oasis index 4cab0806394..745c096ae5b 100644 --- a/tutorial/ocaml/_oasis +++ b/tutorial/ocaml/_oasis @@ -1,5 +1,5 @@ Name: tutorial -Version: 1.0 +Version: 1.0.0 OASISFormat: 0.3 Synopsis: OCaml Tutorial example Authors: Apache Thrift Developers