Releases: phpgt/Input
April 2026 release
There are many small changes implemented here. Beside the small CI and build improvements and documentation updates, the following improvements have been made:
whenwith KVP data by @g105b in #309- Steaming large files by @g105b in #312
- Input enctype by @g105b in #314
The following changes are minor tweaks or documentation related:
- Ci march 26 by @g105b in #313
- tidy: Gt->GT consistency by @g105b in #320
- Add JetBrains sponsorship to README with H1 heading by @g105b in #311
Full Changelog: v1.3.2...v1.4.0
May 2025 release
This release is being made to bring compatibility between GT/Input, GT/Http, and GT/Fetch. There are some cyclic dependencies between these repos, and with the release of the improved GT/Promise functionality, everything is getting improved at the same time here.
What's Changed
Full Changelog: v1.3.1...v1.3.2
New selectPrefix function
Now we've deprecated the Input::with* functions in favour of Input::select, there's a new select function in town: selectPrefix is used to select a trigger when any of the input parameters begin with the provided prefix. The original issue was described in #13
What's Changed
Full Changelog: v1.3.0...v1.3.1
getBodyJson() and `with*` deprecations
This release deprecates all with* functions, because typically functions beginning with with are reserved for immutable object usage. Input has been using with functions to call callback functions with different input parameters selected - instead, we are now naming these functions select.
There's a 1:1 mapping between the deprecated functions - see @deprecated notices in code.
What's Changed
- ci-2025 by @g105b in #303
- Input::getBodyJson() by @g105b in #304
- Deprecate
withfunctions by @g105b in #305
Full Changelog: v1.2.5...v1.3.0
October 2024 release
April 2024 release
What's Changed
Full Changelog: v1.2.3...v1.2.4
CI and QA improvements
What's Changed
Full Changelog: v1.2.2...v1.2.3
PSR-7 v2 compatibility
PSR-7 has a v2 release which introduces a proper type system. This is now integrated in the areas that touch File Uploads and Body Streams.
What's Changed
Full Changelog: v1.2.1...v1.2.2
Maintenance release: September 2022
What's Changed
- build: hard dependencies by @g105b in #235
- Bump phpstan/phpstan from 1.8.0 to 1.8.1 by @dependabot in #236
- maintenance: dependabot by @g105b in #247
- ci: upgrade workflow by @g105b in #249
- Bump phpgt/http from 1.1.2 to 1.1.6 by @dependabot in #248
Full Changelog: v1.2.0...v1.2.1
Type safe getters for "mutliple" inputs
In this minor release, new type-safe getters have been introduced for working with "multiple" inputs (the type of input with a square bracket in the "name" attribute").
Along with the scalar types int, bool, float, and string, DateTime and FileUpload are supported.
Full Changelog: v1.1.3...v1.2.0