Skip to content

Releases: crwlrsoft/url

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.

v1.2.0

01 Jun 19:01
Compare
Choose a tag to compare

Added

  • The new queryString() method can be used to access and manipulate the query via a Query object when the crwlr/query-string package is installed.

Changed

  • Update schemes and suffixes lists.

v1.1.1

12 Feb 11:59
ba7b44f
Compare
Choose a tag to compare

Fixed

  • Resolving relative paths without leading slash against a base url with an empty path.

Changed

  • Update schemes and suffixes lists.