Yuxuan 'fishy' Wang
dc733faff4
Update supported go versions to 1.20 and 1.21
2023-08-08 11:33:22 -07: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
Jens Geyer
0d5b4f9fa1
created reöease branch 0.19.0
2023-07-08 12:49:11 +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
Roshan Rajan
284e6b30b8
Use Enum not Enum.name in Struct serialization/deserialization
2023-07-06 08:20:35 -07:00
Roshan Rajan
b2c5805b40
Fix typename for value in map for python gen code
2023-06-29 09:51:19 -07:00
Jens Geyer
0335450be4
misc dependabot alerts: java, dart, ruby
2023-06-22 22:20:30 +02: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
Yuxuan 'fishy' Wang
5cdf89019c
Fix github actions error on go tests
2023-04-05 16:19:16 -07:00
dependabot[bot]
bb80ef4e7d
Bump golang.org/x/sys in /test/go
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.0.0-20210510120138-977fb7262007 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 12:37:53 +01:00
Jens Geyer
51fc54f8c1
THRIFT-5684 upgrade to net7.0:
...
Client: netstd
Patch: Jens Geyer
2023-02-16 09:06:37 +01:00
Jens Geyer
c6fd86d9f2
bump version number
2023-02-06 23:42:52 +01:00
Yuxuan 'fishy' Wang
b94eac7ca0
Update supported go versions
...
Following our policy regarding supported go releases, change the
supported go versions to 1.19.* and 1.20.* with the release of go 1.20.
2023-02-02 12:59:53 -08:00
Yuxuan 'fishy' Wang
e8353cb46e
Use multi-module to cleanup top level go.mod
...
Client: go
The go library itself does not have any third-party dependencies. We
have one third party dependency from the test code, which kind of
polluted from top-level go.mod file to the users of thrift go library.
We previous tried to clean that up by creating go.mod file at
lib/go/thrift, which caused issues to the release process and thus
reverted.
Use multi-module to separate tests requiring mock to their own modules
so that we can keep the top-level go.mod file clean.
Also some minor fixes on the github actions go workflow.
2022-11-02 15:44:07 -07:00
Yuxuan 'fishy' Wang
2acfe0fc7a
THRIFT-5650: Implement UUID in Go compiler
...
Client: go
2022-10-26 14:40:10 -07:00
Jens Geyer
0b1e9513b4
THRIFT-5652 IDL uuid literals can be improved
...
Compiler (general)
Patch: Jens Geyer
This closes #2714
2022-10-16 12:04:49 +02:00
Kino Roy
a9da9eb059
THRIFT-4547: Swift crosstests ( #2670 )
...
Co-authored-by: Jiayu Liu <Jimexist@users.noreply.github.com>
2022-10-08 14:13:01 +08:00
Jens Geyer
76c6c3758f
Merge branch '0.17.0' into upstream
2022-09-18 15:42:27 +02:00
Jens Geyer
944b8e68a0
fixed a ton of missing ASF headers in *.thrift files
2022-09-11 12:31:26 +02:00
Jens Geyer
154d1548a8
THRIFT-5626 Parser should not confuse data types and field names
...
Patch: Jens Geyer
2022-09-10 23:17:47 +02:00
Jens Geyer
60970c4e10
THRIFT-5624 suboptimal performance of the c# named pipe server transport in multithread servers
...
Client: netstd
Patch: Jens Geyer
2022-09-09 23:00:09 +02:00
Jens Geyer
5e37d5751e
THRIFT-5623 ref to disposed instance should be set to null
...
Client: netstd
Patch: Jens Geyer
plus some improvements regarding error outputs
2022-09-08 23:18:02 +02:00
Jiayu Liu
aa85593c89
THRIFT-5600: rust lib to upgrade to edition 2021
...
Client: rs
Patch: Jiayu Liu
This closes #2628
2022-09-05 22:56:04 +02:00
Jens Geyer
f066d84ffb
Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to allow for merging the partially completed uuid implementation to master
2022-09-05 22:04:22 +02:00
Jens Geyer
18564d29cf
THRIFT-5593 Implement uuid for Haxe
...
Client: hx
Patch: Jens Geyer
Relies on https://github.com/flashultra/uuid/issues/4 being fixed, thus may require using the most recent uuid package from Github instead of the Haxelib package.
2022-09-05 22:04:21 +02:00
Jens Geyer
62445c1d2e
THRIFT-5591 Add uuid type to IDL and implement reference code (+ improved self-tests)
...
Client: compiler general, netstd, Delphi
Patch: Jens Geyer
2022-09-05 22:04:20 +02:00
Tdxdxoz
85d82bfd0c
THRIFT-5600: upgrade rust toolchain to 1.61 and edition 2021
...
THRIFT-5606: Wrong indent for const double
Client: rs
Patch: Ommy Zhang <tdxdxoz@gmail.com>
This closes #2634
2022-09-01 22:05:45 +02:00
Jens Geyer
4d493e867b
fixing missing EXTRA_DISTs
2022-08-31 22:29:16 +02:00
Max-Gerd Retzlaff
75bdba5d25
THRIFT-5410 CL build broken: Component :NET.DIDIERVERNA.CLON.TERMIO not found
...
Client: cl
Patch: Max-Gerd Retzlaff
This closes #2646
2022-08-30 23:58:58 +02:00
Max-Gerd Retzlaff
04057ac28a
Revert "THRIFT-5501 Remove Common Lisp support"
...
This reverts commit d88d4f93b3
.
2022-08-30 23:58:57 +02:00
Jens Geyer
c75646a359
version bump
2022-08-30 23:55:34 +02:00
Jens Geyer
7a5f29d48d
script to regenerate server/client keys
2022-07-01 21:15:57 +02:00
Jens Geyer
b18964e135
script to regenerate server/client keys
2022-07-01 21:14:12 +02:00
Jens Geyer
5476585487
eplaced outdated TLS test keys
2022-07-01 14:46:47 +02:00
Jens Geyer
7628392dff
THRIFT-5590 Haxe complex inits
...
Client: hx
Patch: Jens Geyer
This closes #2622
2022-06-13 23:05:02 +02:00
Jens Geyer
ce1d314ef3
THRIFT-5589 Haxe compiler/runtime fixes
...
Client: hx
Patch: Jens Geyer
2022-06-07 08:56:54 +02:00
Jens Geyer
0b1eb6bcab
THRIFT-5588 Remove slist/senum from IDL
...
Patch: Jens Geyer
This closes #2615
2022-06-06 01:44:16 +02:00
Christopher Tubbs
4646a3557b
Remove execute bit from plain text files in git ( #2611 )
...
Trivially change file mode from 755 to 644 for files in git that
shouldn't be marked as executable. These were probably marked as
executable due to some contributors developing on Windows using a
filesystem that doesn't support POSIX file modes, or aggressively marks
everything as executable.
2022-05-24 05:19:41 -04:00
Jiayu Liu
ab83ffc894
THRIFT-5564: setup cross test in GitHub action ( #2602 )
...
* include java and kotlin into precross
2022-05-09 13:56:30 -04:00
Jiayu Liu
5fdfd0cae0
THRIFT-5580: refactor kotlin cross tests ( #2600 )
...
refactor kotlin cross test to:
* use proper cli framework,
* add more transport/protocol cases
2022-05-08 22:52:26 -04:00
Yuxuan 'fishy' Wang
8045d82f0d
Update Go versions used in travis and LANGUAGES.md
...
Per our support policy, drop support of go 1.16 and add support of go
1.18.
Also enable go vet in make check, and fix issues reported by go vet.
2022-04-25 16:00:53 -07:00
Jiayu Liu
49b2d6b888
THRIFT-5548: add kotlin code gen
...
Client: kotlin
Patch: Jiayu Liu
This closes #2556
2022-04-20 23:49:33 +02:00
Jiayu Liu
1eb361a893
THRIFT-5521: [java gen] use jdk8 option type in java generator code
...
Client: Java
Patch: Jiayu Liu
This closes #2525
2022-04-16 09:58:32 +02:00
tokcum
f0336417ca
THRIFT-5283: add support for Unix Domain Sockets in lib/rs ( #2545 )
...
Client: rs
2022-03-30 05:39:08 -04:00
Aki Sukegawa
7594da8d7a
THRIFT-5536 Fix cross language tests
2022-03-08 16:06:00 -05:00
Jens Geyer
d88d4f93b3
THRIFT-5501 Remove Common Lisp support
...
Client: cl
Patch: Jens Geyer
2022-03-06 14:58:37 +01:00
Kevin Wojniak
b8920b01cb
update makefile
2022-03-05 09:58:27 +01:00
Kevin Wojniak
d0e49f01ca
add tests
2022-03-05 09:58:27 +01:00
Alex Kormukhin
c9b7bd7b12
THRIFT-5519 Java async client loses exceptions in void methods
...
Client: java
(cherry picked from commit c4d3e36ed4db97fb6213cc13a4e611a4e658b4b7)
2022-03-02 22:14:55 +01:00
郑桐
2fa907e84b
THRIFT-5495: close client when shutdown server in go lib
...
Client: go
2022-02-16 14:14:40 -10:00