Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.97 KB

CHANGELOG.md

File metadata and controls

56 lines (37 loc) · 1.97 KB

Parable Http

1.0.0

Just a re-release locking the interface in place. First final release!

0.5.2

Changes

  • Added static analysis through psalm.

0.5.1

Changes

  • Request can now be instantiated without passing all values, in which cases it will set itself up by using RequestFactory::getValuesFromServer.

0.5.0

Changes

  • dispatch now terminates by default, dispatchAndTerminate has been removed, and dispatchWithoutTerminate has been added.
  • Parable\Http\Exception has been renamed to Parable\Http\HttpException for clearer usage.

0.4.0

Changes

  • Dropped support for php7, php8 only from now on.

0.3.1

Fixes

  • Uri could not deal with double ports, i.e. devvoh.com:8000:8000 and would set devvoh.com:8000 as the host, causing issues. This is now fixed. The host is no longer allowed to have port numbers in it.

0.3.0

Changes

  • Uri now accepts a null value on withPort(), withUser(), withPass(), withPath(), withQuery() and withFragment() to reset these values properly.
  • Uri also accepts an empty array in withQueryArray()
  • Urls generated now always have a / between query parts, fragments and the actual url.

0.2.1

Changes

  • Uri has gained 2 methods: getUriBaseString() and getUriRestString. Now it's easily possible to get the base uri, or only the path/query/fragment side of one.

0.2.0

Changes

  • Removed all with methods from Response, replaced with set methods. It's no longer immutable.
  • Traits have been renamed to HasHeaders and HasStatusCode. HasHeaders only provides get methods.
  • Methods on SupportsOutputBuffers have been suffixed with OutputBuffer(s) for clairity when used within a class using it.
  • Dispatcher has been renamed to ResponseDispatcher because Dispatcher is kinda generic.
  • ResponseDispatcher::setShouldTerminate() has been removed. ->dispatch() now never terminates, and ->dispatchAndTerminate() always does.

0.1.0

Changes

  • First release.