Skip to content

version 7.0.0

Compare
Choose a tag to compare
@nyamsprod nyamsprod released this 10 Aug 14:42
· 41 commits to master since this release

Added

  • League\Uri\Uri::new
  • League\Uri\Uri::fromComponents
  • League\Uri\Uri::fromServer
  • League\Uri\Uri::fromWindowsPath
  • League\Uri\Uri::fromUnixPath
  • League\Uri\Uri::fromFileContents
  • League\Uri\Uri::fromClient
  • League\Uri\Uri::fromTemplate
  • League\Uri\Http::new
  • League\Uri\Http::fromComponents
  • League\Uri\Http::fromBaseUri
  • League\Uri\Http::fromServer
  • League\Uri\Http::fromTemplate
  • League\Uri\UriTemplate::expandOrFail
  • League\Uri\UriTemplate\Template::expandOrFail
  • League\Uri\UriTemplate\TemplateCanNotBeExpanded
  • League\Uri\UriString::parseAuthority
  • League\Uri\UriString::buildAuthority
  • League\Uri\BaseUri

Fixed

  • League\Uri\UriInfo uri input now supports Stringable and string type.
  • League\Uri\UriTemplate\VariableBag implements the IteratorAggregate interface
  • League\Uri\UriTemplate\Operator to improve internal representation when using UriTemplate features.

Deprecated

  • League\Uri\UriResolver use League\Uri\BaseUri instead
  • League\Uri\Uri::createFromString use League\Uri\Uri::new
  • League\Uri\Uri::createFromUri use League\Uri\Uri::new
  • League\Uri\Uri::createFromComponents use League\Uri\Uri::fromComponents
  • League\Uri\Uri::createFromBaseUri use League\Uri\Uri::fromBaseUri
  • League\Uri\Uri::createFromServer use League\Uri\Uri::fromServer
  • League\Uri\Uri::createFromWindowsPath use League\Uri\Uri::fromWindowsPath
  • League\Uri\Uri::createFromUnixPath use League\Uri\Uri::fromUnixPath
  • League\Uri\Uri::createFromDataPath use League\Uri\Uri::fromFileContents
  • League\Uri\Http::createFromString use League\Uri\Http::new
  • League\Uri\Http::createFromUri use League\Uri\Http::new
  • League\Uri\Http::createFromComponents use League\Uri\Http::fromComponents
  • League\Uri\Http::createFromBaseUri use League\Uri\Http::fromBaseUri
  • League\Uri\Http::createFromServer use League\Uri\Http::fromServer
  • League\Uri\UriTemplate\Template::createFromString use League\Uri\UriTemplate\Template::new

Remove

  • Support for __set_state
  • Support for __debugInfo
  • League\Uri\UriTemplate\VariableBag::all
  • League\Uri\Exceptions\TemplateCanNotBeExpanded use League\Uri\UriTemplate\TemplateCanNotBeExpanded instead
  • League\Uri\UriString class. Class moved to the uri-interfaces package.

Full Changelog: 7.0.0-beta.2...7.0.0