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

Latest commit

 

History

History
98 lines (74 loc) · 3.48 KB

CHANGELOG.md

File metadata and controls

98 lines (74 loc) · 3.48 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

  • Fix issue for Location with absolute path outside the locator main path.
  • 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
  • Replaced Travis with GitHub Action for build
  • Upgrade deprecation in tests
  • Provides better exception message when scheme doesn't exist
  • Fix issue where extra / would be present in the calculated path for stream with empty ('') path (#16).
  • Update PHP7 type hinting & DocBloc
  • Fix RocketTheme integration
  • Version bump
  • Added PHP 7.4 test to Travis
  • Added stream_set_option to support PHP 7.4
  • Added ResourceLocator::registerSharedStream method
  • 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
  • Dropping support for PHP 5.6 & 7.0
  • Updated rockettheme/toolbox to 1.4.x
  • Updated Laravel Illuminate packages to 5.8
  • Updated PHPUnit to 7.5
  • Added sort param to listResources method #4
  • Normalize base path to fix Windows paths separator issue
  • Added AppVeyor config for Windows based CI
  • Added ResourceInterface, ResourceLocationInterface, ResourceLocatorInterface & ResourceStreamInterface

4.2.0

  • Initial Release