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
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
dependabot[bot]
ccfb91e260
Bump actions/setup-go from 3 to 4 ( #2795 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 08:46:40 +08:00
dependabot[bot]
9141c0c999
Bump actions/setup-python from 3 to 4 ( #2792 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 08:45:46 +08:00
Bogdan Drutu
172ad9b5b0
Migration to JakartaEE 8 ( #2777 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Jiayu Liu <Jimexist@users.noreply.github.com>
2023-04-27 08:45:30 +08:00
Fokko Driesprong
67de2f5542
THRIFT-5701: Add dependabot ( #2784 )
...
* THRIFT-5701: Add dependabot
To keep up to date with the latest dependencies
* Update dependabot.yml
* Change to monthly
* Add `/lib/kotlin`
2023-04-27 08:44:33 +08:00
Jens Geyer
6945c4e1c7
THRIFT-5703 Haxe 4.30 emits "Local variable retval used without being initialized" on generated code
...
Client: hx
Patch: Jens Geyer
2023-04-20 18:20:52 +02:00
Jens Geyer
2891e4a7dc
THRIFT-5704 Superfluous block scope in generated write() code
...
Client: hx
Patch: Jens Geyer
2023-04-20 18:20:52 +02:00
Jiayu Liu
6fefbf437c
Upgrade java mockito from version 1.x to version 5 ( #2781 )
...
* use mockito 5
* remove unnecessary flag
* fix java annotation test file name
2023-04-20 07:41:11 +08:00
Jiayu Liu
6f339004e6
THRIFT-5564: add GitHub action for python 2.x and 3.x ( #2787 )
...
* update .github workflow to consolidate config
* add lib python
* Update build.yml
update
* rust => rs
* Update build.yml
update
* update
install openssl
remove 3.6
setup daemon
try 3.6
fix lib path
add backports of py
Update build.yml
use sudo
add install-exec-hook
* add ssl test skip
2023-04-20 07:39:35 +08:00
Jiayu Liu
1e3d90d8fd
update .github workflow to consolidate config ( #2786 )
...
* update .github workflow to consolidate config
* rust => rs
2023-04-14 23:57:33 +08:00
Jiayu Liu
be73a570e2
THRIFT-5699: java lib and build tool chain: gradle 8.0.2 ( #2779 )
2023-04-14 11:02:43 +08:00
Jiayu Liu
79a4b1e9a3
update gradle to version 7.6 ( #2744 )
...
* update gradle to version 7.6
* update hash
2023-04-09 15:39:20 +08:00
Jiayu Liu
c82d0c2101
reduce java logging ( #2659 )
2023-04-08 16:42:48 +07:00
Riza Suminto
cb60265ec1
THRIFT-5696: Allow custom TConfiguration for TByteBuffer.java
2023-04-06 11:46:34 -07:00
Yuxuan 'fishy' Wang
12ab079ecf
Bump test/go dependency
...
This replaces and closes https://github.com/apache/thrift/pull/2774 .
2023-04-05 17:00:05 -07:00