Commit Graph

7023 Commits

Author SHA1 Message Date
Anatolii Karlov
c4d5c4e4ee
Merge pull request #18 from valitydev/ft/disable-pypl
disable pypl workflow
2024-06-24 17:13:04 +07:00
Anatoly Karlov
a4fd4937b9 disable pypl workflow 2024-06-21 23:11:25 +07:00
Anatolii Karlov
800235fed3
Merge pull request #17 from valitydev/ft/0.20.0
Upgrade to 0.20.0
2024-06-21 14:22:47 +07:00
Anatoly Karlov
0c496d9e8f Merge remote-tracking branch 'apache/0.20.0' into ft/0.20.0 2024-06-20 16:13:33 +07:00
Egor Cherniak
85cab54341
Merge pull request #15 from valitydev/ft/0.19.0
Upgrade to 0.19.0
2024-05-24 12:56:44 +03:00
Egor Cherniak
10cf5d268e
Fix deprecated call 2024-05-24 11:58:31 +03:00
Egor Cherniak
d03e151d9a
Bump woody 2024-03-18 16:01:18 +03:00
Jens Geyer
0d0ac75347 Preparing 0.20.0 2024-03-12 22:33:15 +01:00
Yuxuan 'fishy' Wang
417eafd480 Add license header to pypi workflow file 2024-02-21 23:34:31 +01:00
Yuxuan 'fishy' Wang
9a253e7002 THRIFT-5688: Add PyPI publishing github actions
This is tested with https://github.com/apache/thrift/pull/2927, which
published to https://test.pypi.org/project/thrift-test/. I tested
locally with:

    (venv) fishy@penguin:~/work/test$ pip install -i https://test.pypi.org/simple/ thrift-test
    Looking in indexes: https://test.pypi.org/simple/
    Collecting thrift-test
      Downloading 5885ea1406/thrift-test-0.21.0.tar.gz (62 kB)
         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.3/62.3 kB 1.4 MB/s eta 0:00:00
      Preparing metadata (setup.py) ... done
    Collecting six>=1.7.2 (from thrift-test)
      Downloading 238e259082/six-1.10.0.tar.gz (29 kB)
      Preparing metadata (setup.py) ... done
    Building wheels for collected packages: thrift-test, six
      Building wheel for thrift-test (setup.py) ... done
      Created wheel for thrift-test: filename=thrift_test-0.21.0-cp311-cp311-linux_x86_64.whl size=416914 sha256=3a972bc562be7ed19cb37399e444ed0d373cde5319023974080b625e550901d4
      Stored in directory: /home/fishy/.cache/pip/wheels/45/20/1f/d3e1b869ac068d63ca2b2c13a2f4e33a80b360fae7091c8a9b
      Building wheel for six (setup.py) ... done
      Created wheel for six: filename=six-1.10.0-py2.py3-none-any.whl size=9942 sha256=74014380446ccf331366316cec0b1aaf40e0162e70307622b493e38e8451115f
      Stored in directory: /home/fishy/.cache/pip/wheels/e4/18/d0/e02474c90dcf14c511c0f52145d7e72e41ff3fb80b330ba58e
    Successfully built thrift-test six
    Installing collected packages: six, thrift-test
    Successfully installed six-1.10.0 thrift-test-0.21.0
    (venv) fishy@penguin:~/work/test$ python3
    Python 3.11.7 (main, Dec  8 2023, 14:22:46) [GCC 13.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from thrift.transport import TSocket
    >>> transport = TSocket.TSocket('localhost', 9090)
    >>> transport
    <thrift.transport.TSocket.TSocket object at 0x785b18d83690>
    >>> transport.open()
    Could not connect to any of [('::1', 9090, 0, 0), ('127.0.0.1', 9090)]
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/fishy/work/test/venv/lib/python3.11/site-packages/thrift/transport/TSocket.py", line 149, in open
        raise TTransportException(type=TTransportException.NOT_OPEN, message=msg)
    thrift.transport.TTransport.TTransportException: Could not connect to any of [('::1', 9090, 0, 0), ('127.0.0.1', 9090)]
    >>> from thrift.protocol import fastbinary
    >>> fastbinary
    <module 'thrift.protocol.fastbinary' from '/home/fishy/work/test/venv/lib/python3.11/site-packages/thrift/protocol/fastbinary.cpython-311-x86_64-linux-gnu.so'>
    >>> fastbinary.decode_compact
    <built-in function decode_compact>
    >>>

If we want to merge this version, I'll enable pending publishing with
`pypi.yml` from this repo on pypi [1].

[1]: https://pypi.org/manage/account/publishing/
2024-02-21 23:34:31 +01:00
Yuxuan 'fishy' Wang
dd1217fc9a THRIFT-5745: Implement slog.LogValuer on go TStructs
Client: go

Implement slog.LogValuer for all TStruct and TException generated by the
compiler for go code. Also add SlogTStructWrapper in the library so we
don't have to repeat it in the compiler generated go code.
2024-02-07 22:30:19 +01:00
Yuxuan 'fishy' Wang
ab6f3ef1f4 THRIFT-5744: Switch to slog for go library
Client: go
2024-02-07 22:30:19 +01:00
Jens Geyer
318731b119 Updated manual version info and CHANGES 2024-02-04 15:05:30 +01:00
dependabot[bot]
0c637d7aa5 Bump com.diffplug.spotless from 6.23.3 to 6.25.0 in /lib/java
Bumps com.diffplug.spotless from 6.23.3 to 6.25.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>
2024-02-01 09:15:37 -08:00
adrianhelvikspond
9d96f200ad Fix ambigous typescript definitions 2024-01-24 23:33:13 +01:00
Jens Geyer
7d4c7fa69b THRIFT-5750 deprecate "ansistr_binary_" option
Client: delphi
Patch: Jens Geyer
2024-01-22 08:55:31 +01:00
Pavel Kvach
7507fa01c2 THRIFT-5753 PHP 8.1 deprecated warning about return type in jsonSerialize functions 2024-01-19 23:15:13 +01:00
Pavel Kvach
8238364c6b THRIFT-5754: Fix PHP 8.1 deprecates passing null to non-nullable internal function parameters 2024-01-18 10:30:47 +01:00
Yuxuan 'fishy' Wang
3dcc0cdeb9 Revert "Bump upload/download-artifacts from v3 to v4"
This reverts commit 8540066800.

https://github.com/actions/upload-artifact/issues/478 will impact us.
2024-01-09 12:58:47 -08:00
Volodymyr Panivko
c2738d058e [THRIFT-5752] Add TTransportFactoryInterface 2024-01-09 21:55:22 +01:00
dependabot[bot]
8ea1a483f5 Bump org.codehaus.plexus:plexus-utils in /contrib/thrift-maven-plugin
Bumps [org.codehaus.plexus:plexus-utils](https://github.com/codehaus-plexus/plexus-utils) from 3.0.16 to 3.0.24.
- [Release notes](https://github.com/codehaus-plexus/plexus-utils/releases)
- [Commits](https://github.com/codehaus-plexus/plexus-utils/compare/plexus-utils-3.0.16...plexus-utils-3.0.24)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 11:00:38 -08:00
Yuxuan 'fishy' Wang
8540066800 Bump upload/download-artifacts from v3 to v4
This is the combination of https://github.com/apache/thrift/pull/2910 &
https://github.com/apache/thrift/pull/2912. It looks like these 2
changes need to be done together, doing them individually will break CI.
2024-01-03 10:24:06 -08:00
dependabot[bot]
8004c375df Bump jvm from 1.9.21 to 1.9.22 in /lib/kotlin
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.9.21 to 1.9.22.
- [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.9.21...v1.9.22)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 09:32:18 -08:00
dependabot[bot]
30c2845fdc Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
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>
2024-01-03 09:31:55 -08:00
dependabot[bot]
781c590457 Bump com.diffplug.spotless from 6.23.2 to 6.23.3 in /lib/java
Bumps com.diffplug.spotless from 6.23.2 to 6.23.3.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 09:31:07 -08:00
dependabot[bot]
1ebfcf8e0b Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
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>
2024-01-03 09:20:40 -08:00
Yuxuan 'fishy' Wang
be1c8fd836 Fix github actions for python3 tests
Add a dummy test in test_sslsocket.py to workaround an issue in Python
3.12.
2024-01-03 08:57:52 -08:00
Jens Geyer
5cf71b2bee THRIFT-5749 Option to enable RTTI info (2nd attempt)
Client: Delphi
Patch: Jens Geyer
2023-12-18 22:23:34 +01:00
Jens Geyer
f1584f5f61 FIX: Unused import Map
Client: hx
Patch: Jens Geyer
2023-12-16 22:23:49 +01:00
Jens Geyer
93222f62dc THRIFT-5749 Option to enable RTTI info
Client: Delphi
Patch: Jens Geyer
2023-12-16 02:50:09 +01:00
Yuxuan 'fishy' Wang
20e3124cae Revert "lib: cpp: automake: ship thrift/numeric_cast.h"
This reverts commit 779deabf0e.
2023-12-08 09:08:39 -08:00
Yuxuan 'fishy' Wang
9a9e60ed26 Downgrade spotbugs to 5.2.5
6.x has breaking changes need extra care to upgrade.
2023-12-08 08:50:26 -08:00
Yuxuan 'fishy' Wang
022d0278eb Github Actions: Remove --disable-tests
With --disable-tests, for example for Go the `make check` under `lib/go`
would only run unit tests under `lib/go/thrift` but not the unit tests
under `lib/go/test`.

Also some changes in lib/go/test/fuzz/Makefile.am so it works in both go
1.20 and 1.21 (The current state breaks in 1.21 but because of
`--disable-tests` we never noticed that).
2023-12-04 06:57:25 -08:00
dependabot[bot]
697c08badc Bump com.github.spotbugs from 5.2.1 to 6.0.1 in /lib/kotlin
Bumps com.github.spotbugs from 5.2.1 to 6.0.1.

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-03 22:01:51 +01:00
dependabot[bot]
f4b6d96008 Bump actions/setup-java from 3 to 4
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-03 22:00:40 +01:00
dependabot[bot]
a58e915338 Bump jvm from 1.9.20 to 1.9.21 in /lib/kotlin
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.9.20 to 1.9.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.9.20...v1.9.21)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-03 22:00:12 +01:00
dependabot[bot]
87e7be7541 Bump com.diffplug.spotless from 6.22.0 to 6.23.2 in /lib/kotlin
Bumps com.diffplug.spotless from 6.22.0 to 6.23.2.

---
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-12-03 21:59:51 +01:00
Jens Geyer
8a6bcc76f3 THRIFT-5747 warning: The macro `AC_HELP_STRING' is obsolete.
Patch: Jens Geyer
2023-11-27 09:27:22 +01:00
Jens Geyer
ac2deed0fc THRIFT-5746 Upgrade to net8
Client: netstd
Patch: Jens Geyer

This updates certain packages that became available now for 8.0.0
2023-11-25 14:20:37 +01:00
Jens Geyer
4115e952b5 THRIFT-5746 Upgrade to net8
Client: netstd
Patch: Jens Geyer
2023-11-23 19:51:35 +01:00
Jens Geyer
a06eedcbfc THRIFT-5743 add TLS1.3 to default protocols where available
Client: netstd
Patch: Jens Geyer
2023-11-17 09:11:23 +01:00
Jens Geyer
fa123f950d THRIFT-5742 Add addRange() function to Set helper classes to support adding data from arbitrary enumerable source containers
Client: hx
Patch: Jens Geyer
2023-11-12 00:55:26 +01:00
Jiayu Liu
fbfa52cd04
THRIFT-5741: use rust 1.65 (#2870)
* use rust 1.65

* fix clippy

* fix alert

* fix protocol

* fix one more dereference

* fix more lint

* fix over-fix

* fix match &*server_type {
2023-11-07 13:47:24 +08:00
Jens Geyer
0eab6e0ae5 THRIFT-5740 inherited interfaces should be explicitly listed in Delphi class decl
Client: Delphi
Patch: Jens Geyer
2023-11-03 11:19:47 +01:00
dependabot[bot]
2b00c0ae99 Bump jvm from 1.9.10 to 1.9.20 in /lib/kotlin
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.9.10 to 1.9.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 22:14:21 +01:00
dependabot[bot]
ce7ae32e80 Bump com.github.spotbugs from 5.1.3 to 5.2.1 in /lib/kotlin
Bumps com.github.spotbugs from 5.1.3 to 5.2.1.

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 22:13:17 +01:00
dependabot[bot]
fb9ffd2ad4 Bump browserify-sign from 4.0.4 to 4.2.2 in /lib/ts
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.0.4 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.0.4...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 17:51:07 +02:00
dependabot[bot]
dd1c1115b2 Bump browserify-sign from 4.0.4 to 4.2.2 in /lib/js
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.0.4 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.0.4...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 17:50:46 +02:00
dependabot[bot]
44a7233cf9 Bump @babel/traverse from 7.8.4 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.8.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 14:37:08 +02:00
Mario Emmenlauer
7f37c2d0df
Merge pull request #2732 from stiga-huang/fix-perror
THRIFT-5670: lib: cpp: Fix wrong timeout error message
2023-10-20 02:34:22 -07:00