Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Releases: userfrosting/UniformResourceLocator

4.5.1

03 Jun 01:38
2461c73
Compare
Choose a tag to compare

Fix issue for Location with absolute path outside the locator main path.

4.5.0

20 Apr 02:16
fb818fe
Compare
Choose a tag to compare
  • Fix path issue on Windows
  • Added new Normalizer::normalize static class to help with path normalization. All paths are now transmormed to / to make comparison easier when OS pass path contains \ or C:\.
  • Reworked Resource class :
    • Added setPath, setLocation & setStream methods
    • Removed getSeparator & setSeparator
  • Removed setLocatorBasePath, getSeparator and setSeparator from ResourceInterface
  • Removed normalize from ResourceLocator. Replaced by Normalizer::normalize
  • Added type hint across code

4.4.3

28 Dec 19:09
691274f
Compare
Choose a tag to compare
  • Replaced Travis with GitHub Action for build
  • Upgrade deprecation in tests
  • Provides better exception message when scheme doesn't exist

4.4.2

12 Apr 02:54
aeb34e0
Compare
Choose a tag to compare
  • Fix issue where extra / would be present in the calculated path for stream with empty ('') path (#16).
  • Update PHP7 type hinting & DocBloc

4.4.1

19 Mar 23:51
eb5a35f
Compare
Choose a tag to compare
  • Fix RocketTheme integration

4.3.4

19 Mar 23:45
7c82c82
Compare
Choose a tag to compare
  • Fix RocketTheme integration

4.4.0

18 Mar 00:46
15957e9
Compare
Choose a tag to compare
  • Version bump

4.3.3

08 Jan 01:30
d737b55
Compare
Choose a tag to compare
  • Added PHP 7.4 test to Travis
  • Added stream_set_option to support PHP 7.4

4.3.2

10 Nov 01:44
72bd843
Compare
Choose a tag to compare

Added ResourceLocator::registerSharedStream method

4.3.1

21 Oct 23:53
bff67c8
Compare
Choose a tag to compare
  • Added __tostring to ResourceInterface
  • Added __invoke to ResourceLocatorInterface
  • ResourceLocationInterface::setPath don't accept a null value anymore (produced an error anyway)
  • Added proper PHP7 type hints
  • Misc code quality and docblock fix