Skip to content

Releases: crwlrsoft/url

v2.1.3

06 Nov 00:49
Compare
Choose a tag to compare

Fixed

  • Improvement for PHP 8.4.
  • Update schemes and suffixes lists.

v2.1.2

24 Oct 21:53
Compare
Choose a tag to compare

Fixed

  • Update schemes and suffixes lists.

v2.1.1

31 Jan 16:23
Compare
Choose a tag to compare

Fixed

  • An issue in the Validator, when trying to validate an absolute URL that contains non-ASCII characters.

v2.1.0

21 Oct 13:57
Compare
Choose a tag to compare

Added

  • Method toPsr7() to conveniently get a PSR-7 compatible instance from an Url instance. Basically wrapper for new Uri($urlInstance).

v2.0.5

19 Sep 11:00
Compare
Choose a tag to compare

Fixed

  • Issue with resolving relative URLs.
  • Update schemes and suffixes lists.

v2.0.4

28 Jun 14:39
Compare
Choose a tag to compare

Fixed

  • Support psr/http-message v2.0.

v2.0.3

30 Jan 14:35
Compare
Choose a tag to compare

Fixed

  • As there is the new query string package, replace the last usage of the Helpers::queryStringToArray() method with the Query class from the package, to not have duplicate logic. Also, the package already contains some fixes.

v2.0.2

14 Jan 13:45
Compare
Choose a tag to compare

Changed

  • Updated lists of schemes, suffixes and default ports.

v2.0.1

10 Oct 23:22
Compare
Choose a tag to compare

Fixed

  • When a URL doesn't contain a subdomain part, the subdomain() method returns null.

v2.0.0

14 Sep 23:29
Compare
Choose a tag to compare

Removed

  • BREAKING: Removed access to URL components (scheme, host, path,...) via magic class properties ($this->scheme, $this->host,...). Use method calls instead ($this->scheme(), $this->host(),...).

Changed

  • Required PHP version is now 8.0.
  • Updated schemes and suffixes lists.

Added

  • As the PHP version requirement allows it now, the crwlr/query-string package now is a dependency of this package and doesn't have to be required separately anymore in order for the Url::queryString() method to work.