Skip to content

Releases: PhpGt/Input

getBodyJson() and `with*` deprecations

13 Feb 14:55
f5096b5
Compare
Choose a tag to compare

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

Full Changelog: v1.2.5...v1.3.0

October 2024 release

14 Oct 12:28
03777c5
Compare
Choose a tag to compare

What's Changed

April 2024 release

30 Apr 17:52
fea0d65
Compare
Choose a tag to compare

What's Changed

  • Make getFile consistent with other functions by @g105b in #298

Full Changelog: v1.2.3...v1.2.4

CI and QA improvements

02 May 17:16
7e82009
Compare
Choose a tag to compare

What's Changed

  • Upgrade CI matrix build and add QA tests by @g105b in #292

Full Changelog: v1.2.2...v1.2.3

PSR-7 v2 compatibility

02 May 16:39
7dbc7a0
Compare
Choose a tag to compare

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

27 Sep 10:37
fbcd560
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

Type safe getters for "mutliple" inputs

28 Mar 11:49
95136bc
Compare
Choose a tag to compare

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

PHP 8.1 improvements

26 Feb 15:45
d2d2701
Compare
Choose a tag to compare
  • Upgrade internal dependencies
  • Upgrade CI
  • Set correct test class namespaces by @peter279k in #139
  • Update documentation to show use of InputData by @g105b in #140
  • Using assertSame to improve assertEquals by @peter279k in #142
  • fix: deprecation notices by @g105b in #189
  • Type improvements by @g105b in #190

New Contributors

Full Changelog: v1.1.2...v1.1.3

Loosen dependencies

29 Nov 11:24
ae78931
Compare
Choose a tag to compare

For consistency, all PHP.Gt repositories are adopting a "* by default" dependency policy for internal dependencies. This will make future merges simpler.

Dependency bump

28 Nov 11:59
bc70b65
Compare
Choose a tag to compare

A number of internal PhpGt releases are made this week. This patch release synchronises all repositories.