This is an automated email from the ASF dual-hosted git repository. Jens-G pushed a commit to branch release/0.25.0 in repository https://gitbox.apache.org/repos/asf/thrift.git
commit 3bd6bfbe6b0072ebc18c16a18e7479431c4c2747 Author: Jens Geyer <[email protected]> AuthorDate: Wed Sep 23 22:56:17 2026 +0200 keep branch at 0.25.0 --- .github/workflows/chocolatey.yml | 2 +- .github/workflows/winget.yml | 2 +- build/windows/README.md | 14 +++++++------- build/windows/build-chocolatey-package.ps1 | 4 ++-- build/windows/build-dotnet-tool.ps1 | 4 ++-- build/windows/build-installer.ps1 | 4 ++-- build/windows/build-winget-manifests.ps1 | 4 ++-- build/windows/dotnet-tool/test-dotnet-tool.ps1 | 2 +- build/windows/installer/test-installer.ps1 | 2 +- build/windows/installer/thrift.iss | 4 ++-- lib/php/README.md | 8 +++----- 11 files changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/workflows/chocolatey.yml b/.github/workflows/chocolatey.yml index 6fd898995..bd6c0b16e 100644 --- a/.github/workflows/chocolatey.yml +++ b/.github/workflows/chocolatey.yml @@ -45,7 +45,7 @@ on: workflow_dispatch: inputs: version: - description: "Released version to package, for example 0.26.0. Taken from CMakeLists.txt when empty." + description: "Released version to package, for example 0.25.0. Taken from CMakeLists.txt when empty." required: false type: string diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml index ba3dc7dae..8a8863cc8 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -41,7 +41,7 @@ on: workflow_dispatch: inputs: version: - description: "Released version to submit, for example 0.26.0. Taken from CMakeLists.txt when empty." + description: "Released version to submit, for example 0.25.0. Taken from CMakeLists.txt when empty." required: false type: string release_date: diff --git a/build/windows/README.md b/build/windows/README.md index f3d4c0023..e99ae0e04 100644 --- a/build/windows/README.md +++ b/build/windows/README.md @@ -72,7 +72,7 @@ Packages a built `thrift.exe` into a Windows installer with preinstalled on the GitHub Windows runner images. ```powershell -PS C:\thrift> .\build\windows\build-installer.ps1 -Version 0.26.0 -Compiler C:\install\bin\thrift.exe -OutputDir dist +PS C:\thrift> .\build\windows\build-installer.ps1 -Version 0.25.0 -Compiler C:\install\bin\thrift.exe -OutputDir dist ``` It writes `thrift-<version>-setup.exe` into the output directory and prints its @@ -109,7 +109,7 @@ It changes the `PATH` of the user it runs as, so run it in CI or on a throwaway machine. ```powershell -PS C:\thrift> .\build\windows\installer\test-installer.ps1 -Installer dist\thrift-0.26.0-setup.exe +PS C:\thrift> .\build\windows\installer\test-installer.ps1 -Installer dist\thrift-0.25.0-setup.exe ``` ## `build-dotnet-tool.ps1` @@ -118,7 +118,7 @@ Packs a built `thrift.exe` as a [.NET tool](https://learn.microsoft.com/en-us/do published to NuGet as `Apache.Thrift.Compiler`. ```powershell -PS C:\thrift> .\build\windows\build-dotnet-tool.ps1 -Version 0.26.0 -Compiler C:\install\bin\thrift.exe -OutputDir nupkg +PS C:\thrift> .\build\windows\build-dotnet-tool.ps1 -Version 0.25.0 -Compiler C:\install\bin\thrift.exe -OutputDir nupkg ``` As with the installer, the version is passed in rather than stored in the @@ -148,7 +148,7 @@ Looks inside a packed `.nupkg`, then installs it into a throwaway directory and runs it. ```bash -$ pwsh build/windows/dotnet-tool/test-dotnet-tool.ps1 -Package nupkg/Apache.Thrift.Compiler.0.26.0.nupkg -Version 0.26.0 +$ pwsh build/windows/dotnet-tool/test-dotnet-tool.ps1 -Package nupkg/Apache.Thrift.Compiler.0.25.0.nupkg -Version 0.25.0 ``` Two things can go wrong with a tool package that wraps a native executable, and @@ -167,7 +167,7 @@ Builds the [Chocolatey](https://chocolatey.org/) package, so that the compiler can be installed with `choco install thrift`. ```powershell -PS C:\thrift> .\build\windows\build-chocolatey-package.ps1 -Version 0.26.0 +PS C:\thrift> .\build\windows\build-chocolatey-package.ps1 -Version 0.25.0 ``` The package does not carry the compiler. It downloads the installer published @@ -198,7 +198,7 @@ the templates in `winget/`, so that the compiler can be installed with `winget install Apache.Thrift`. ```bash -$ pwsh build/windows/build-winget-manifests.ps1 -Version 0.26.0 +$ pwsh build/windows/build-winget-manifests.ps1 -Version 0.25.0 ``` The manifest points at `archive.apache.org`, which keeps every release. @@ -226,5 +226,5 @@ match is otherwise rejected only after the pull request has been opened. ```bash $ python3 -m pip install pyyaml jsonschema -$ python3 build/windows/winget/validate_manifests.py winget-manifests/manifests/a/Apache/Thrift/0.26.0 +$ python3 build/windows/winget/validate_manifests.py winget-manifests/manifests/a/Apache/Thrift/0.25.0 ``` diff --git a/build/windows/build-chocolatey-package.ps1 b/build/windows/build-chocolatey-package.ps1 index e39809688..30d05cf1c 100644 --- a/build/windows/build-chocolatey-package.ps1 +++ b/build/windows/build-chocolatey-package.ps1 @@ -31,7 +31,7 @@ release has reached the archive. .PARAMETER Version - The released version, for example 0.26.0. + The released version, for example 0.25.0. .PARAMETER InstallerUrl Where the installer is published. Defaults to the Apache archive, which @@ -52,7 +52,7 @@ reviewed on a machine that has no Chocolatey. .EXAMPLE - pwsh build/windows/build-chocolatey-package.ps1 -Version 0.26.0 + pwsh build/windows/build-chocolatey-package.ps1 -Version 0.25.0 #> [CmdletBinding()] diff --git a/build/windows/build-dotnet-tool.ps1 b/build/windows/build-dotnet-tool.ps1 index cd56c4abe..4f12e1e2b 100644 --- a/build/windows/build-dotnet-tool.ps1 +++ b/build/windows/build-dotnet-tool.ps1 @@ -29,7 +29,7 @@ so that nothing new has to be kept in step by build/veralign.sh. .PARAMETER Version - The package version, for example 0.26.0. + The package version, for example 0.25.0. .PARAMETER Compiler The thrift.exe to bundle. @@ -42,7 +42,7 @@ the checkout this script lives in. .EXAMPLE - pwsh build\windows\build-dotnet-tool.ps1 -Version 0.26.0 -Compiler C:\install\bin\thrift.exe -OutputDir nupkg + pwsh build\windows\build-dotnet-tool.ps1 -Version 0.25.0 -Compiler C:\install\bin\thrift.exe -OutputDir nupkg #> [CmdletBinding()] diff --git a/build/windows/build-installer.ps1 b/build/windows/build-installer.ps1 index e343552ed..6abecd45c 100644 --- a/build/windows/build-installer.ps1 +++ b/build/windows/build-installer.ps1 @@ -30,7 +30,7 @@ nothing new has to be kept in step by build/veralign.sh. .PARAMETER Version - The version to stamp into the installer, for example 0.26.0. + The version to stamp into the installer, for example 0.25.0. .PARAMETER Compiler The thrift.exe to package. @@ -46,7 +46,7 @@ Full path to ISCC.exe. Found automatically when omitted. .EXAMPLE - pwsh build\windows\build-installer.ps1 -Version 0.26.0 -Compiler C:\install\bin\thrift.exe -OutputDir dist + pwsh build\windows\build-installer.ps1 -Version 0.25.0 -Compiler C:\install\bin\thrift.exe -OutputDir dist #> [CmdletBinding()] diff --git a/build/windows/build-winget-manifests.ps1 b/build/windows/build-winget-manifests.ps1 index 063aa8660..9493c2126 100644 --- a/build/windows/build-winget-manifests.ps1 +++ b/build/windows/build-winget-manifests.ps1 @@ -31,7 +31,7 @@ before the release has reached the archive. .PARAMETER Version - The released version, for example 0.26.0. + The released version, for example 0.25.0. .PARAMETER InstallerUrl Where the installer is published. Defaults to the Apache archive, which @@ -50,7 +50,7 @@ winget-pkgs uses and wingetcreate expects. .EXAMPLE - pwsh build/windows/build-winget-manifests.ps1 -Version 0.26.0 + pwsh build/windows/build-winget-manifests.ps1 -Version 0.25.0 #> [CmdletBinding()] diff --git a/build/windows/dotnet-tool/test-dotnet-tool.ps1 b/build/windows/dotnet-tool/test-dotnet-tool.ps1 index c0fece88b..a95e8b999 100644 --- a/build/windows/dotnet-tool/test-dotnet-tool.ps1 +++ b/build/windows/dotnet-tool/test-dotnet-tool.ps1 @@ -45,7 +45,7 @@ Windows. Optional. .EXAMPLE - pwsh build\windows\dotnet-tool\test-dotnet-tool.ps1 -Package nupkg\Apache.Thrift.Compiler.0.26.0.nupkg -Version 0.26.0 + pwsh build\windows\dotnet-tool\test-dotnet-tool.ps1 -Package nupkg\Apache.Thrift.Compiler.0.25.0.nupkg -Version 0.25.0 #> [CmdletBinding()] diff --git a/build/windows/installer/test-installer.ps1 b/build/windows/installer/test-installer.ps1 index fdfabb95a..a6a41246a 100644 --- a/build/windows/installer/test-installer.ps1 +++ b/build/windows/installer/test-installer.ps1 @@ -42,7 +42,7 @@ Version thrift.exe is expected to report. Optional. .EXAMPLE - pwsh build\windows\installer\test-installer.ps1 -Installer dist\thrift-0.26.0-setup.exe + pwsh build\windows\installer\test-installer.ps1 -Installer dist\thrift-0.25.0-setup.exe #> [CmdletBinding()] diff --git a/build/windows/installer/thrift.iss b/build/windows/installer/thrift.iss index 36b1ab544..b38c97a75 100644 --- a/build/windows/installer/thrift.iss +++ b/build/windows/installer/thrift.iss @@ -22,7 +22,7 @@ ; Requires Inno Setup 6.3 or later, which is what the GitHub Windows runner ; images ship. Build it with build/windows/build-installer.ps1, or by hand: ; -; iscc /DAppVersion=0.26.0 ^ +; iscc /DAppVersion=0.25.0 ^ ; /DSourceExe=C:\install\bin\thrift.exe ^ ; /DSourceRoot=C:\thrift ^ ; /DOutputDir=C:\out ^ @@ -32,7 +32,7 @@ ; release tag, so that build/veralign.sh has nothing extra to keep in step. #ifndef AppVersion - #error Pass the version on the command line, for example /DAppVersion=0.26.0 + #error Pass the version on the command line, for example /DAppVersion=0.25.0 #endif #ifndef SourceExe #error Pass the compiler on the command line, for example /DSourceExe=C:\install\bin\thrift.exe diff --git a/lib/php/README.md b/lib/php/README.md index 28841d361..4c627e406 100644 --- a/lib/php/README.md +++ b/lib/php/README.md @@ -53,17 +53,15 @@ apcu_fetch(), apcu_store() # Breaking Changes -## 0.26.0 +## 0.25.0 1. `TJSONProtocol` now holds a string, binary or numeric value to the same maximum string size as `TBinaryProtocol` and `TCompactProtocol`, and reports a longer one with a `TProtocolException` of type `SIZE_LIMIT`. A JSON value carries no length in front of it, so the maximum applies to the bytes it takes on the wire while it is read. The maximum defaults to `TProtocol::DEFAULT_MAX_STRING_SIZE`, 16384000 bytes; it is an optional constructor argument of `TJSONProtocol` and of `TJSONProtoc [...] -2. `TCurlClient` follows a redirect only within the origin of the URL it is configured with, that is to the same scheme, host and port. It sends the request again there, with its headers and body, and follows at most one redirect, as before. A redirect to another origin, including one from `http` to `https`, now fails the request with a `TTransportException`, as any redirect does with `THttpClient`. Configure the client with the scheme, host and port that serve the requests. - -## 0.25.0 +1. `TCurlClient` follows a redirect only within the origin of the URL it is configured with, that is to the same scheme, host and port. It sends the request again there, with its headers and body, and follows at most one redirect, as before. A redirect to another origin, including one from `http` to `https`, now fails the request with a `TTransportException`, as any redirect does with `THttpClient`. Configure the client with the scheme, host and port that serve the requests. 1. `TBinaryProtocol`, `TBinaryProtocolAccelerated` and `TCompactProtocol` now refuse a string or binary field longer than their maximum string size before reading it, with a `TProtocolException` of type `SIZE_LIMIT`. The maximum defaults to `TProtocol::DEFAULT_MAX_STRING_SIZE`, 16384000 bytes, the frame size limit the framed transports apply. It is an optional constructor argument of the three protocols and of their factories; pass `0` to read strings of any length, as before. -2. The legacy callable/string `$debugHandler` argument has been removed from `TSocket`, `TSSLSocket` and `TSocketPool`. The constructors now accept a PSR-3 logger via the `$logger` parameter instead. `TSocket::setDebug()`, `TSocket::DEFAULT_DEBUG_HANDLER` and `TSSLServerSocket::getSSLHost()` have also been removed. The `ssl://` prefix is still applied automatically by `TSSLServerSocket` and `TSSLSocket`. Additionally, `TSocket::open()` no longer falls back to the send timeout for the con [...] +1. The legacy callable/string `$debugHandler` argument has been removed from `TSocket`, `TSSLSocket` and `TSocketPool`. The constructors now accept a PSR-3 logger via the `$logger` parameter instead. `TSocket::setDebug()`, `TSocket::DEFAULT_DEBUG_HANDLER` and `TSSLServerSocket::getSSLHost()` have also been removed. The `ssl://` prefix is still applied automatically by `TSSLServerSocket` and `TSSLSocket`. Additionally, `TSocket::open()` no longer falls back to the send timeout for the con [...] ## 0.12.0
