Sergei Elin
4576409657
THRIFT-5635 Update erlang client for Erlang 23-25
...
Client: erl
Patch: Sergey Yelin
This closes #2677
Summary of changes:
- Add useful compiler options
- Format sources using erlfmt
- Switch to modern callbacks in thrift_* modules
- Add static analysis (dialyzer), disabled by default
- Add/fix types for API calls
NOTE: Enabling static analysis requires additional tweaks in multiplexer module.
2023-07-22 13:16:08 +02:00
Jens Geyer
8e89abee17
THRIFT-5726 package upgrades and consolidation/improvement of build targets checks
...
Client: netstd
Patch: Jens Geyer
2023-07-21 22:32:03 +02:00
tsxiaofang
cfb4a80cfc
Setting TCP_ NODELAY option for rust server ( #2832 )
...
Resolve TFramedWriteTransport write message size 4 bytes causing approximately 40 milliseconds delay
2023-07-17 06:16:32 -04:00
dependabot[bot]
2cfde6b440
Bump org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 in /lib/kotlin
...
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-jdk8](https://github.com/Kotlin/kotlinx.coroutines ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.1...1.7.2 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-jdk8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-16 10:56:01 +02:00
Jiayu Liu
a4e1136541
fix gradle format
2023-07-16 10:55:25 +02:00
Jiayu Liu
8a5a440b71
reformat kotlin files
2023-07-16 10:55:25 +02:00
Jens Geyer
30b31aaecb
Release 0.19.0
2023-07-15 11:48:39 +02:00
Jens Geyer
f5a67528d8
Release 0.19.0
2023-07-15 11:32:12 +02:00
Jens Geyer
0d5b4f9fa1
created reöease branch 0.19.0
2023-07-08 12:49:11 +02:00
Prasenjit Sarkar
bccca9301d
THRIFT-5725: Fix the comparison check for bio_get_fd
...
Client: cpp
Patch: Prasenjit Sarkar
This closes #2831
2023-07-08 10:18:33 +02:00
Katie Atkinson
ff9850eda6
THRIFT-5715 Python Exceptions mutable with slots
...
In Python 3.11 exceptions generated by the compiler can't be used with a
context manager because they are immutable. As of Python 3.11
`contextlib.contextmanager` sets `exc.__traceback__` in the event that
the code in the context manager errors.
As of Thrift v0.18.1 exceptions are generated as immutable by default.
See [PR#1835](https://github.com/apache/thrift/pull/1835 ) for more
information about why exceptions were made immutable by default.
This change makes all non-Thrift fields mutable when slots is used
without dynamic. This will allow exceptions to be re-raised properly by
the contextmanager in Python 3.11.
2023-07-07 16:26:00 -07:00
vladimir.panivko
3abf7ecbda
THRIFT-5723
...
Php8.1 fix warnings
2023-07-07 21:34:31 +02:00
Roshan Rajan
284e6b30b8
Use Enum not Enum.name in Struct serialization/deserialization
2023-07-06 08:20:35 -07:00
Artemy
774b824ef3
THRIFT-5671: return dependencies to POM ( #2782 )
...
Client: ["java"]
2023-07-05 15:43:57 +08:00
Roshan Rajan
b2c5805b40
Fix typename for value in map for python gen code
2023-06-29 09:51:19 -07:00
Yuxuan 'fishy' Wang
e497030b49
Remove py2 from github actions
...
Although we haven't removed py2 support yet, it's no longer available in
github actions so it's been consistently failing in recent github action
runs.
Also add `fail-fast: false` to all matrices in github actions.
2023-06-27 12:47:44 -07:00
Yuxuan 'fishy' Wang
abf3fc3147
Fix spotlessJavaCheck failures
...
Those are failing CI for a while.
2023-06-27 12:47:44 -07:00
Jens Geyer
a31208823a
Update contrib/thrift-maven-plugin/pom.xml
...
Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
2023-06-22 22:20:30 +02:00
Jens Geyer
0335450be4
misc dependabot alerts: java, dart, ruby
2023-06-22 22:20:30 +02:00
Jens Geyer
4b8bf783ca
bumping certain JS modules
2023-06-22 22:20:30 +02:00
Jens Geyer
34d04083a4
bumping certain TS modules
2023-06-22 22:20:30 +02:00
Jens Geyer
669532189f
bumping certain JS modules
2023-06-22 22:20:30 +02:00
dependabot[bot]
5582f31f50
Bump com.ncorti.ktfmt.gradle from 0.8.0 to 0.12.0 in /lib/kotlin
...
Bumps com.ncorti.ktfmt.gradle from 0.8.0 to 0.12.0.
---
updated-dependencies:
- dependency-name: com.ncorti.ktfmt.gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:29:52 +02:00
stiga-huang
d665e284df
THRIFT-5716: Fix uint32_t overflow in TMemoryBuffer
2023-06-21 22:28:00 +02:00
Fokko Driesprong
0b14a1bb01
THRIFT-5702 Support Java 8
...
Client: Java
Patch: Fokko Driesprong
This closes #2785
2023-06-21 22:25:13 +02:00
Jens Geyer
d1d8ae29e6
THRIFT-5717 uuid sets and map keys may throw on some Haxe targets
...
Client: hx
Patch: Jens Geyer
2023-06-17 22:24:19 +02:00
stiga-huang
6e767e6635
THRIFT-5670: Fix wrong usage of GlobalOutput.perror()
2023-06-16 21:25:12 +08:00
HojjatK 💾
a2a1f53581
Replace TJSONProtocolTests.swift file header by std ASF license header
2023-06-15 22:02:40 +02:00
HojjatK 💾
d67e5c26e4
add TJSONProtocol support
...
The code contains the changes required to support TJSONProtocol in the Thrift-Swift. The codes are ported from C#.NET Thrift official library
2023-06-15 22:02:40 +02:00
dependabot[bot]
9b4e75a342
Bump guava from 30.0-jre to 32.0.0-jre in /contrib/thrift-maven-plugin ( #2817 )
...
Bumps [guava](https://github.com/google/guava ) from 30.0-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 12:52:46 -04:00
Lukas Barth
1d6a3262cf
Use one TU-wide locale instead of three
2023-06-10 14:48:30 +02:00
Lukas Barth
46b1283d18
Don't create a new locale on every to_string() call.
...
Creating locales is surprisingly expensive. We have an application where we - especially during tests - write large amounts of Thrift dumps to disk, and is this application we currently spend around 17% of total CPU time in std::locale's constructor. With this change, it's basically down to zero.
2023-06-10 14:48:30 +02:00
dependabot[bot]
dd2e0d4ae2
Bump com.diffplug.spotless from 6.18.0 to 6.19.0 in /lib/java
...
Bumps com.diffplug.spotless from 6.18.0 to 6.19.0.
---
updated-dependencies:
- dependency-name: com.diffplug.spotless
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-10 14:46:28 +02:00
Nick Gavalas
dd53b94c0b
Stop sharing write headers across all instances of transports
2023-06-04 10:44:22 +02:00
dependabot[bot]
fcf4ba5c8a
Bump org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 in /lib/kotlin ( #2813 )
...
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-jdk8](https://github.com/Kotlin/kotlinx.coroutines ) from 1.6.4 to 1.7.1.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.1 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-jdk8
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 19:53:27 -04:00
nicolasb29
285e39c242
THRIFT-5700: Migrate to JakartaEE and Apache HttpComponents 5 ( #2746 )
...
- Migrate to JakartaEE and Apache HttpComponents 5
- Modify C code to choose which namespace choose for "Generated" annotations (jakarta by default)
2023-05-25 17:59:11 -04:00
Bogdan Drutu
cfede86314
Cleanup extend client logic for sync and async clients ( #2808 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-05-22 17:38:41 -04:00
Bogdan Drutu
5a19e433fb
THRIFT-5711: Fix FutureClient implementation when service extends another service ( #2810 )
...
* Fix FutureClient implementation when service extends another service
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-05-19 00:13:22 -04:00
Bogdan Drutu
017ba92381
Remove unnecessary empty spaces form t_java_generator.cc ( #2809 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-05-17 10:59:56 -04:00
Robert Pająk
2c927b5297
Fix NewTZlibTransportFactoryWithFactory comment
2023-05-15 21:52:15 +02:00
Jens Geyer
b5a8a883a1
THRIFT-5707 deprecation warning fixes for extern and enum
...
Client: hx
Patch: Jens Geyer
2023-05-11 23:29:07 +02:00
dependabot[bot]
3880a09565
Bump org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 in /lib/kotlin ( #2798 )
...
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-jdk8](https://github.com/Kotlin/kotlinx.coroutines ) from 1.6.1 to 1.6.4.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.1...1.6.4 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-jdk8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:35:26 +08:00
dependabot[bot]
c58acf5d57
Bump jvm from 1.6.10 to 1.8.21 in /lib/kotlin ( #2803 )
...
Bumps [jvm](https://github.com/JetBrains/kotlin ) from 1.6.10 to 1.8.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.8.21 )
---
updated-dependencies:
- dependency-name: jvm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:35:10 +08:00
Klemen Košir
4f63573f5a
THRIFT-4086: Use true type when generating field meta data ( #2765 )
...
Client: java
2023-04-27 14:13:18 +08:00
Jiayu Liu
a4156083c3
Revert "THRIFT-5564: [CI] use GitHub workflow matrix to parallel cros… ( #2802 )
...
* Revert "THRIFT-5564: [CI] use GitHub workflow matrix to parallel cross tests (#2801 )"
This reverts commit 790d4cb86c
.
* keep action file change
2023-04-27 11:39:47 +08:00
Jiayu Liu
790d4cb86c
THRIFT-5564: [CI] use GitHub workflow matrix to parallel cross tests ( #2801 )
...
* use github to parallel cross tests
* fix syntax
* correct syntax
* split more
* update fail-fast
* fix swift'
2023-04-27 11:35:17 +08:00
dependabot[bot]
33662eea9a
Bump com.github.spotbugs from 4.7.1 to 5.0.14 in /lib/kotlin ( #2796 )
2023-04-27 10:12:48 +08:00
dependabot[bot]
c05549f196
Bump com.github.spotbugs from 4.7.1 to 5.0.14 in /lib/java ( #2797 )
2023-04-27 10:12:34 +08:00
dependabot[bot]
1287f23317
Bump com.diffplug.spotless from 6.5.2 to 6.18.0 in /lib/java ( #2791 )
2023-04-27 09:15:31 +08:00
Sutou Kouhei
fe1f69ab2e
THRIFT-5668: Install FindLibevent.cmake ( #2726 )
...
Client: cpp
ThriftConfig.cmake uses our FindLibevent.cmake but "make install"
doesn't install FindLibevent.cmake. It causes an error with
find_package(Thrift) like the following:
-- Found thrift: /tmp/xxx/tmp/local
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.13")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.7")
CMake Warning at /usr/share/cmake-3.24/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
By not providing "FindLibevent.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Libevent",
but CMake did not find one.
Could not find a package configuration file provided by "Libevent" with any
of the following names:
LibeventConfig.cmake
libevent-config.cmake
Add the installation prefix of "Libevent" to CMAKE_PREFIX_PATH or set
"Libevent_DIR" to a directory containing one of the above files. If
"Libevent" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
/tmp/xxx/tmp/local/lib/cmake/thrift/ThriftConfig.cmake:93 (find_dependency)
2023-04-27 08:48:04 +08:00