Skip to content

Releases: nette/http

Released version 3.3.2

12 Jan 12:01
@dg dg
Compare
Choose a tag to compare
  • UrlImmutable, UrlScript: added resolve()
  • Url: added isAbsolute() & removeDotSegments()
  • UrlImmutable, UrlScript: removed build() method
  • Url::canonicalize() char " does not need to be encoded
  • Url, UrlImmutable: user & password are deprecated
  • FileUpload::__construct() accepts path
  • SessionPanel: convert templates to Latte-like syntax

Released version 3.3.1

04 Nov 16:34
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.4
  • FileUpload::getSanitizedName() changes the extension only for image files #239
  • RequestFactory: extract port from x-forwarded-host (#230)
  • FileUpload: Initialize properties (#235)(#195)
  • Session: keep exceptions chain on session_start (#240)
  • Session: SessionSection class template annotation #225
  • IResponse: added DateTimeInterface to setCookie $expire param (#237)
  • readonly properties

Released version 3.3.0

21 Jan 22:20
@dg dg
Compare
Choose a tag to compare
  • requires PHP 8.1
  • uses PHP 8.1 features

Released version 3.2.4

30 Jan 18:24
@dg dg
Compare
Choose a tag to compare
  • FileUpload: added getSuggestedExtension()
  • RequestFactory: unify and fix host parsing (#229)

Released version 3.2.3

02 Nov 02:42
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.3
  • FileUpload: detects supported images
  • RequestFactory: fixed port detection when HTTP_HOST & SERVER_PORT are used #223
  • removed fix for IE

Released version 3.2.2

18 Mar 15:05
@dg dg
Compare
Choose a tag to compare
  • SessionExtension: don't set readAndClose if null (#213)
  • Improved https recognition behind load balancer (#221)
  • RequestFactory: fix X-Forwarded-Host mixup with remote host (#222)
  • RequestFactory: performance optimization #220
  • RequestFactory: fixed filter detection
  • Url: host can end with dot #198
  • added Session::getSectionNames(), replacement for getIterator()

Released version 3.1.8

18 Mar 15:03
@dg dg
Compare
Choose a tag to compare
  • SessionExtension: don't set readAndClose if null (#213)
  • Improved https recognition behind load balancer (#221)
  • RequestFactory: fix X-Forwarded-Host mixup with remote host (#222)
  • RequestFactory: performance optimization
  • RequestFactory: fixed filter detection
  • Url: host can end with dot #198

Released version 3.2.0

27 Nov 20:53
@dg dg
Compare
Choose a tag to compare

BC break:

  • RequestFactory: removed HTTP authentication credential from Url to prevent leak it (#211 #215)
$httpRequest->getUrl()->getUser() + getPassword()
// changed to 
[$user, $pass] = $httpRequest->getBasicCredentials();

New features:

  • Request: added getBasicCredentials()
  • Url, UrlImmutable: added getDefaultPort()
  • RequestFactory::getHeaders() recreates Authorization header
  • support for full_path upload (#207 #212)
  • HttpExtension: dynamic options cookiePath, cookieDomain, cookieSecure (#216)
  • constants are PascalCase

Deprecations:

  • IRequest::getRemoteHost() is silently deprecated (#218)
  • SessionSection: magic accessors & ArrayAccess are silently deprecated
  • Session::getIterator() is deprecated

Released version 3.1.7

18 Nov 03:07
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.2
  • Request::getReferer() is deprecated #210
  • cs

Released version 3.1.6

02 Apr 16:08
@dg dg
Compare
Choose a tag to compare