Http: July 2023 patch release
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/Http/compare/v1.2.1...v1.2.2
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/Http/compare/v1.2.1...v1.2.2
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/Dom/compare/v4.1.2...v4.1.3
Published on by Greg Bowler
This release introduces a helper attribute, data-element, which can be used to remove unbound elements from the document. Documentation here: https://github.com/PhpGt/DomTemplate/wiki/automatically-remove-unbound-elements
Full Changelog: https://github.com/PhpGt/DomTemplate/compare/v3.2.0...v3.2.1
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/DataObject/compare/v1.0.6...v1.0.7
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/DataObject/compare/v1.0.5...v1.0.6
Published on by Greg Bowler
This release refactors the web API classes used in this repository into the upstream phpgt/http library.
Full Changelog: https://github.com/PhpGt/Fetch/compare/v1.1.0...v1.1.1
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/Build/compare/v1.2.1...v1.2.2
Published on by Greg Bowler
In this minor release, a new feature is added: sync a directory/file by symlinking it in place. This is built specifically to address a common web development pattern: serving content from outside of the web root, without having to synchronise all files/directories every time there’s a change.
Full Changelog: https://github.com/PhpGt/Sync/compare/v1.2.9...v1.2.10
Published on by Greg Bowler
This change is to help php.gt/fetch upload files using FormData, to closely match the HTTP spec.
Full Changelog: https://github.com/PhpGt/Http/compare/v1.2.0...v1.2.1
Published on by Greg Bowler
When you have a Response object, you can now call the standard text(), json(), etc. functions, which return a Promise that will resolve with the appropriate type. When set up with an async loop, this can achieve multiple concurrent response streaming.
This was implemented for usage within https://www.php.gt/fetch
Full Changelog: https://github.com/PhpGt/Http/compare/v1.1.10...v1.2.0
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/Async/compare/v0.1.0...v1.0.0
Published on by Greg Bowler
In this minor patch release, exceptions that are handled in the chain already are stored. This is to prevent an rejection being handled more than once per call.
Published on by Greg Bowler
In this minor patch release, to match the expectations of working with code that throws exceptions, when there is no catch() method in the promise chain, any exceptions that are raised will be thrown to the main thread, causing a fatal error.
Full Changelog: https://github.com/PhpGt/Promise/compare/v2.2.1...v2.2.2
Published on by Greg Bowler
After enhancing the default security options in v1.1.5, this has added difficulty to some users when developing locally (as a strict same-site cookie option causes lots of issues on localhost or 127.* IPs). The default option is now changed to Same-site: Lax, which introduces the cookie option but doesn’t enforce the strict policy on localhost.
Published on by Greg Bowler
This minor patch release introduces compatibility changes for PSR-7 v2, which defines type safety throughout the HTTP classes.
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/Input/compare/v1.2.2...v1.2.3
Published on by Greg Bowler
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.
Full Changelog: https://github.com/PhpGt/Input/compare/v1.2.1...v1.2.2
Published on by Greg Bowler
The only change in this minor patch release is a loosening of types on the CurlInterface, which allows for test frameworks to inject their own CurlInterface implementation - the purpose of this library is to help test endpoints without requiring an internet connection, so this is a vital feature.
Full Changelog: https://github.com/PhpGt/Curl/compare/v3.1.0...v3.1.1
Published on by Greg Bowler
This release introduces much more QA tooling and matrix builds in Github Actions.
There has been significant effort put into the refactoring of handleChain() function, so that it is easier to understand and debug. This was done because of an outstanding bug with the Fetch library.
Every effort has been put in place to retain the same footprint, as the unit tests show.
Full Changelog: https://github.com/PhpGt/Promise/compare/v2.2.0...v2.2.1
Published on by Greg Bowler
Matrix builds are now standard for every push, building on all supported PHP versions concurrently.
During the CI process, three QA tools are introduced: Mess Detector, Code Sniffer and PHPStan.
Have fun!
Published on by Greg Bowler
Matrix builds are now standard for every push, building on all supported PHP versions concurrently.
During the CI process, three QA tools are introduced: Mess Detector, Code Sniffer and PHPStan.
Have fun!
Published on by Greg Bowler
In this minor patch release, a bug is fixed that allows getDateTime to deal with floating point values, to preserve the microsecond accuracy of the timestamp.
Published on by Greg Bowler
For inclusion by other dependent libraries, the terminology getObject has been renamed to getInstance. This is to avoid the clash with PHP.Gt/DataObject’s existing getObject() function.
Published on by Greg Bowler
Full Changelog: https://github.com/PhpGt/TypeSafeGetter/compare/v1.2.4...v1.3.0
Published on by Greg Bowler
This minor release was made following on from the documentation being finalised, after everything has been tested with real usage.
The only functionality introduced/changed is in regards to the header/write function callback usage - now, if there is an existing write function, a new one will not be added when adding a Curl to a CurlMulti.
Read about concurrent curl requests here: https://github.com/PhpGt/Curl/wiki/Concurrent-Curl-requests